/* ============================================
   GGIGGL.com - Pop-Art Comic Humor Anthology
   ============================================ */

/* CSS Custom Properties */
:root {
    --cloud-mist: #E8F0FE;
    --pale-periwinkle: #C5D5F7;
    --ink-midnight: #1B2A4A;
    --lichtenstein-red: #E63946;
    --warhol-yellow: #FFD166;
    --dreamer-blue: #7BA7D9;
    --ice-whisper: #B8D4F0;
    --clean-white: #FFFFFF;
    --charcoal-wash: #2D3142;

    --dot-size: 10px;
    --dot-spacing: 28px;
    --dot-color: #7BA7D9;

    --font-headline: 'Permanent Marker', cursive;
    --font-body: 'Patrick Hand', cursive;
    --font-accent: 'Bangers', cursive;
    --font-ui: 'Nunito', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    color: var(--ink-midnight);
    background-color: var(--cloud-mist);
    overflow-x: hidden;
    /* Paper texture overlay */
    background-image:
        repeating-conic-gradient(
            var(--ink-midnight) 0% 25%, transparent 0% 50%
        );
    background-size: 3px 3px;
    background-blend-mode: overlay;
}

/* Override the body background to layer paper texture on top of the base color */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-conic-gradient(
            rgba(27, 42, 74, 0.03) 0% 25%, transparent 0% 50%
        );
    background-size: 4px 4px;
    pointer-events: none;
    z-index: 10000;
}

/* ============================================
   PAGE TURN OVERLAY
   ============================================ */
#page-turn-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: var(--ink-midnight);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#page-turn-overlay.revealed {
    animation: pageTurnAway 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-turn-inner {
    width: 100%;
    height: 100%;
    background: var(--ink-midnight);
    transform-origin: left center;
}

@keyframes pageTurnAway {
    0% {
        transform: perspective(1200px) rotateY(0deg);
        opacity: 1;
    }
    100% {
        transform: perspective(1200px) rotateY(-90deg);
        opacity: 0;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: var(--clean-white);
    border-bottom: 4px solid var(--ink-midnight);
    /* Torn paper edge using clip-path */
    clip-path: polygon(
        0% 0%, 100% 0%, 100% 75%,
        98% 80%, 96% 72%, 94% 82%, 92% 74%, 90% 80%,
        88% 70%, 86% 78%, 84% 72%, 82% 82%, 80% 74%,
        78% 80%, 76% 70%, 74% 78%, 72% 72%, 70% 82%,
        68% 74%, 66% 80%, 64% 70%, 62% 78%, 60% 72%,
        58% 82%, 56% 74%, 54% 80%, 52% 70%, 50% 78%,
        48% 72%, 46% 82%, 44% 74%, 42% 80%, 40% 70%,
        38% 78%, 36% 72%, 34% 82%, 32% 74%, 30% 80%,
        28% 70%, 26% 78%, 24% 72%, 22% 82%, 20% 74%,
        18% 80%, 16% 70%, 14% 78%, 12% 72%, 10% 82%,
        8% 74%, 6% 80%, 4% 70%, 2% 78%, 0% 75%
    );
    padding-bottom: 18px;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.nav-logo {
    font-family: var(--font-headline);
    font-size: 32px;
    color: var(--lichtenstein-red);
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 var(--ink-midnight);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-bubble {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-midnight);
    text-decoration: none;
    padding: 8px 18px;
    background: var(--cloud-mist);
    border: 2px solid var(--ink-midnight);
    border-radius: 20px 20px 20px 6px;
    position: relative;
    transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 200ms ease;
    display: inline-block;
}

.nav-bubble:hover {
    transform: scale(1.08);
    background: var(--warhol-yellow);
}

/* ============================================
   HERO SPLASH PANEL
   ============================================ */
.splash-panel {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--cloud-mist);
    padding-top: 80px;
}

.halftone-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        circle,
        var(--dreamer-blue) var(--dot-size),
        transparent var(--dot-size)
    );
    background-size: var(--dot-spacing) var(--dot-spacing);
    opacity: 0.18;
    z-index: 1;
}

.dot-pulse-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        circle,
        var(--lichtenstein-red) 6px,
        transparent 6px
    );
    background-size: 60px 60px;
    background-position: 15px 15px;
    opacity: 0.06;
    z-index: 1;
    animation: dotPulse 6s infinite ease-in-out;
}

@keyframes dotPulse {
    0%, 100% {
        background-size: 60px 60px;
    }
    50% {
        background-size: 48px 48px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}

.hero-title {
    font-family: var(--font-headline);
    font-size: clamp(64px, 12vw, 140px);
    color: var(--lichtenstein-red);
    text-transform: uppercase;
    text-shadow: 4px 4px 0 var(--ink-midnight), 6px 6px 0 var(--charcoal-wash);
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 16px;
    -webkit-text-stroke: 2px var(--ink-midnight);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(20px, 3vw, 32px);
    color: var(--ink-midnight);
    margin-bottom: 40px;
}

/* Speech Bubbles */
.speech-bubbles-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 200px;
    margin: 0 auto;
}

.speech-bubble {
    position: absolute;
    background: var(--clean-white);
    border: 3px solid var(--ink-midnight);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble-text {
    font-family: var(--font-accent);
    font-size: 20px;
    letter-spacing: 0.04em;
    color: var(--ink-midnight);
    text-transform: uppercase;
}

.bubble-oval {
    border-radius: 50%;
    width: 130px;
    height: 80px;
}

.bubble-oval::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 25px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid var(--ink-midnight);
}

.bubble-oval::before {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 27px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 16px solid var(--clean-white);
    z-index: 1;
}

.bubble-cloud {
    border-radius: 40px;
    width: 140px;
    height: 75px;
    box-shadow:
        -20px 10px 0 -3px var(--clean-white),
        -20px 10px 0 0px var(--ink-midnight),
        20px 8px 0 -3px var(--clean-white),
        20px 8px 0 0px var(--ink-midnight);
}

.bubble-shout {
    clip-path: polygon(
        0% 20%, 8% 0%, 15% 22%, 25% 3%, 35% 18%,
        50% 0%, 65% 18%, 75% 3%, 85% 22%, 92% 0%,
        100% 20%, 95% 50%, 100% 80%, 85% 100%,
        15% 100%, 0% 80%, 5% 50%
    );
    width: 150px;
    height: 85px;
    background: var(--lichtenstein-red);
    border: none;
}

.bubble-shout .bubble-text {
    color: var(--clean-white);
    font-size: 24px;
}

/* Bubble positions */
#bubble1 { top: 10px; left: 5%; animation-delay: 0s; }
#bubble2 { top: 60px; left: 28%; animation-delay: 0.5s; }
#bubble3 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
#bubble4 { top: 50px; right: 22%; animation-delay: 1.5s; }
#bubble5 { top: 10px; right: 3%; animation-delay: 2s; }

/* Wobble Animation */
.wobble-anim {
    animation: wobble 4s infinite ease-in-out;
}

@keyframes wobble {
    0%, 100% {
        transform: rotate(-2deg) scale(0.98);
    }
    25% {
        transform: rotate(1deg) scale(1.01);
    }
    50% {
        transform: rotate(2deg) scale(1.02);
    }
    75% {
        transform: rotate(-1deg) scale(1.0);
    }
}

#bubble3 {
    animation: wobbleCenter 4s infinite ease-in-out 1s;
}

@keyframes wobbleCenter {
    0%, 100% {
        transform: translateX(-50%) rotate(-2deg) scale(0.98);
    }
    25% {
        transform: translateX(-50%) rotate(1deg) scale(1.01);
    }
    50% {
        transform: translateX(-50%) rotate(2deg) scale(1.02);
    }
    75% {
        transform: translateX(-50%) rotate(-1deg) scale(1.0);
    }
}

/* Hero cultural motifs watermarks */
.hero-motifs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.06;
}

.hero-motifs svg {
    position: absolute;
    width: 120px;
    height: auto;
}

.motif-daruma { top: 15%; left: 8%; }
.motif-calavera { bottom: 20%; right: 10%; }
.motif-jester { top: 30%; right: 5%; }

/* ============================================
   PANEL GUTTER DIVIDERS
   ============================================ */
.panel-gutter {
    width: 100%;
    height: 24px;
    background: var(--ink-midnight);
    position: relative;
    overflow: hidden;
}

.gutter-motifs {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Ccircle cx='10' cy='10' r='4' fill='%23FFFFFF' opacity='0.08'/%3E%3Cpolygon points='30,2 34,10 30,18 26,10' fill='%23FFFFFF' opacity='0.08'/%3E%3C/svg%3E");
    background-size: 40px 20px;
    animation: gutterShimmer 20s linear infinite;
}

@keyframes gutterShimmer {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    background: var(--pale-periwinkle);
    padding: 80px 24px;
    position: relative;
    /* Ben-Day dots background */
    background-image:
        radial-gradient(
            circle,
            var(--dreamer-blue) var(--dot-size),
            transparent var(--dot-size)
        );
    background-size: var(--dot-spacing) var(--dot-spacing);
    background-color: var(--pale-periwinkle);
    background-blend-mode: normal;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pale-periwinkle);
    opacity: 0.82;
    z-index: 0;
}

.section-title {
    font-family: var(--font-headline);
    font-size: clamp(36px, 6vw, 72px);
    color: var(--ink-midnight);
    text-transform: uppercase;
    text-shadow: 2px 2px 0 var(--charcoal-wash);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Card Containers */
.card-container {
    perspective: 1000px;
    cursor: pointer;
    min-height: 360px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card-container.card-visible {
    opacity: 1;
    transform: translateY(0);
}

.card-rotate-cw {
    transform: translateY(40px) rotate(1.5deg);
}

.card-rotate-ccw {
    transform: translateY(40px) rotate(-1.5deg);
}

.card-container.card-visible.card-rotate-cw {
    transform: translateY(0) rotate(1.5deg);
}

.card-container.card-visible.card-rotate-ccw {
    transform: translateY(0) rotate(-1.5deg);
}

.card-tall {
    grid-row: span 1;
    min-height: 420px;
}

.card-wide {
    grid-column: span 2;
    min-height: 340px;
}

.card-medium {
    min-height: 360px;
}

/* Card Flip */
.card-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.card-container.flipped .card-flipper {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: inherit;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 4px;
    overflow: hidden;
}

/* Card Front */
.card-front {
    background: var(--clean-white);
    border: 2px solid var(--clean-white);
    outline: 4px solid var(--ink-midnight);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}

.card-halftone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        circle,
        var(--dreamer-blue) 4px,
        transparent 4px
    );
    background-size: 16px 16px;
    opacity: 0.1;
    pointer-events: none;
}

.card-thumb {
    width: 140px;
    height: 120px;
    margin-bottom: 16px;
}

.card-thumb svg {
    width: 100%;
    height: 100%;
}

.card-speech-tag {
    background: var(--lichtenstein-red);
    color: var(--clean-white);
    border: 2px solid var(--ink-midnight);
    border-radius: 16px 16px 16px 4px;
    padding: 4px 14px;
    margin-bottom: 10px;
    position: relative;
}

.tag-text {
    font-family: var(--font-accent);
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.card-title {
    font-family: var(--font-headline);
    font-size: 22px;
    color: var(--ink-midnight);
    text-transform: uppercase;
    text-shadow: 1px 1px 0 var(--charcoal-wash);
    text-align: center;
}

/* Card Back */
.card-back {
    background: var(--warhol-yellow);
    border: 2px solid var(--clean-white);
    outline: 4px solid var(--ink-midnight);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 24px;
    text-align: center;
}

.back-motif {
    width: 70px;
    height: auto;
    margin-bottom: 16px;
    opacity: 0.7;
}

.back-description {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-midnight);
    margin-bottom: 20px;
}

/* Giggle Rating (Daruma dolls) */
.giggle-rating {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.daruma-icon {
    display: inline-block;
    width: 28px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 32'%3E%3Cellipse cx='14' cy='18' rx='12' ry='13' fill='none' stroke='%231B2A4A' stroke-width='2'/%3E%3Ccircle cx='10' cy='14' r='3' fill='none' stroke='%231B2A4A' stroke-width='1.5'/%3E%3Ccircle cx='18' cy='14' r='3' fill='none' stroke='%231B2A4A' stroke-width='1.5'/%3E%3Cellipse cx='14' cy='22' rx='5' ry='3' fill='none' stroke='%231B2A4A' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.daruma-icon.filled {
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 32'%3E%3Cellipse cx='14' cy='18' rx='12' ry='13' fill='%23E63946' stroke='%231B2A4A' stroke-width='2'/%3E%3Ccircle cx='10' cy='14' r='3' fill='%23FFFFFF' stroke='%231B2A4A' stroke-width='1.5'/%3E%3Ccircle cx='18' cy='14' r='3' fill='%231B2A4A' stroke='%231B2A4A' stroke-width='1.5'/%3E%3Cellipse cx='14' cy='22' rx='5' ry='3' fill='none' stroke='%231B2A4A' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* ============================================
   ORIGIN STORY SECTION
   ============================================ */
.origin-section {
    background: var(--cloud-mist);
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.origin-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    max-width: 1200px;
    margin: 0 auto;
}

.origin-panel {
    background: var(--clean-white);
    border: 4px solid var(--ink-midnight);
    padding: 30px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 320px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.origin-panel.panel-visible {
    opacity: 1;
    transform: translateY(0);
}

.panel-number {
    font-family: var(--font-accent);
    font-size: 28px;
    color: var(--lichtenstein-red);
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.panel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.origin-illustration {
    width: 140px;
    height: auto;
    margin-bottom: 20px;
}

.panel-text {
    font-family: var(--font-body);
    font-size: 19px;
    color: var(--ink-midnight);
    line-height: 1.65;
}

/* ============================================
   CREDITS / FOOTER
   ============================================ */
.credits-section {
    background: linear-gradient(180deg, var(--ink-midnight) 0%, var(--charcoal-wash) 100%);
    color: var(--clean-white);
    padding: 80px 24px 40px;
    position: relative;
    overflow: hidden;
}

.credits-halftone-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        circle,
        var(--dreamer-blue) 5px,
        transparent 5px
    );
    background-size: 30px 30px;
    opacity: 0.08;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 60%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 60%);
}

.credits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.credits-title {
    font-family: var(--font-headline);
    font-size: 48px;
    text-transform: uppercase;
    color: var(--warhol-yellow);
    text-shadow: 2px 2px 0 var(--lichtenstein-red);
    margin-bottom: 20px;
}

.credits-text {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ice-whisper);
    margin-bottom: 14px;
}

.credits-cultural-refs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.credit-tag {
    font-family: var(--font-accent);
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--lichtenstein-red);
    color: var(--clean-white);
    padding: 4px 12px;
    border-radius: 12px;
    border: 2px solid var(--warhol-yellow);
}

.colophon-title {
    font-family: var(--font-headline);
    font-size: 28px;
    text-transform: uppercase;
    color: var(--warhol-yellow);
    margin-bottom: 16px;
}

.colophon-text {
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.7;
    color: var(--ice-whisper);
    margin-bottom: 12px;
}

.credits-copyright {
    margin-top: 30px;
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--dreamer-blue);
    opacity: 0.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .card-wide {
        grid-column: span 1;
    }

    .origin-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .credits-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .speech-bubbles-container {
        height: 300px;
    }

    #bubble1 { top: 0; left: 2%; }
    #bubble2 { top: 80px; left: 15%; }
    #bubble3 { top: 160px; left: 50%; }
    #bubble4 { top: 80px; right: 10%; }
    #bubble5 { top: 200px; right: 5%; }
}

@media (max-width: 600px) {
    .nav-inner {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .card-container {
        min-height: 340px;
    }

    .card-tall {
        min-height: 380px;
    }

    .origin-strip {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 48px;
    }

    .speech-bubbles-container {
        height: 400px;
        position: relative;
    }

    #bubble1 { top: 0; left: 5%; }
    #bubble2 { top: 80px; left: 35%; }
    #bubble3 { top: 160px; left: 20%; }
    #bubble4 { top: 240px; left: 45%; }
    #bubble5 { top: 320px; left: 10%; }

    .speech-bubble {
        width: 110px !important;
        height: 65px !important;
    }

    .bubble-text {
        font-size: 16px;
    }

    .credits-content {
        grid-template-columns: 1fr;
    }

    #main-nav {
        clip-path: polygon(
            0% 0%, 100% 0%, 100% 85%,
            96% 90%, 92% 84%, 88% 90%, 84% 84%,
            80% 90%, 76% 84%, 72% 90%, 68% 84%,
            64% 90%, 60% 84%, 56% 90%, 52% 84%,
            48% 90%, 44% 84%, 40% 90%, 36% 84%,
            32% 90%, 28% 84%, 24% 90%, 20% 84%,
            16% 90%, 12% 84%, 8% 90%, 4% 84%, 0% 88%
        );
    }
}

/* ============================================
   UTILITY / HIDDEN STATE
   ============================================ */
.card-container.card-rotate-cw:hover,
.card-container.card-rotate-ccw:hover {
    z-index: 10;
}

/* Collage-style overlapping depth */
.card-container:nth-child(even) {
    margin-top: -8px;
}

.card-container:nth-child(3n) {
    box-shadow: 8px 8px 0 var(--charcoal-wash);
}

.card-container:nth-child(3n+1) {
    box-shadow: 6px 6px 0 var(--ink-midnight);
}

.card-container:nth-child(3n+2) {
    box-shadow: 4px 4px 0 var(--dreamer-blue);
}
