.font-comic {
    font-family: 'Bangers', cursive;
}

.font-action {
    font-family: 'Roboto Condensed', sans-serif;
}

.comic-bg {
    background-color: #fca5a5;
    background-image:
        radial-gradient(#fecaca 15%, transparent 16%),
        radial-gradient(#fecaca 15%, transparent 16%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.hero-panel {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 4px solid #000;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 1);
}

.villain-panel {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
    border: 4px solid #000;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 1);
}

.speech-bubble {
    position: relative;
    background: #fff;
    border: 3px solid #000;
    border-radius: .4em;
}

.speech-bubble:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-right-color: #000;
    border-left: 0;
    border-top: 0;
    margin-top: -7.5px;
    margin-left: -15px;
}

.card-pop {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-pop:active {
    transform: scale(0.95);
}

.pow-flash {
    animation: flash 0.5s ease-out;
}

@keyframes flash {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.5) rotate(15deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0;
    }
}

/* High-quality claymation background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('clay_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}