/* ----- RESET & BASE ----- */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --color-bg: #f7f2e9;
            --color-text: #1a1a1a;
            --color-primary: #ffd54f;
            --color-secondary: #ff6b6b;
            --color-accent: #4ecdc4;
            --color-highlight: #a29bfe;
            --color-border: #1a1a1a;
            --shadow-offset: 6px 6px 0px #1a1a1a;
            --shadow-offset-sm: 4px 4px 0px #1a1a1a;
            --border-thick: 4px solid var(--color-border);
            --border-medium: 3px solid var(--color-border);
            --font: 'Space Grotesk', sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font);
            background-color: var(--color-bg);
            color: var(--color-text);
            line-height: 1.6;
            padding: 2rem 1.5rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* ----- NEOBRUTALIST UTILITIES ----- */
        .neo-box {
            background: white;
            border: var(--border-thick);
            box-shadow: var(--shadow-offset);
            padding: 1.8rem 2rem;
            transition: transform 0.15s ease, box-shadow 0.15s ease;
        }

        .neo-box:hover {
            transform: translate(-2px, -2px);
            box-shadow: 8px 8px 0px var(--color-border);
        }

        .neo-box-sm {
            padding: 1.2rem 1.5rem;
            box-shadow: var(--shadow-offset-sm);
        }

        .neo-btn {
            display: inline-block;
            background: var(--color-primary);
            border: var(--border-medium);
            box-shadow: var(--shadow-offset-sm);
            padding: 0.6rem 1.6rem;
            font-family: var(--font);
            font-weight: 700;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            color: var(--color-text);
            cursor: pointer;
            transition: transform 0.1s ease, box-shadow 0.1s ease;
            text-decoration: none;
        }

        .neo-btn:hover {
            transform: translate(-2px, -2px);
            box-shadow: 6px 6px 0px var(--color-border);
        }

        .neo-btn--secondary {
            background: var(--color-secondary);
            color: white;
        }

        .neo-btn--accent {
            background: var(--color-accent);
        }

        /* ----- TYPOGRAPHY ----- */
        h1,
        h2,
        h3,
        h4 {
            font-weight: 700;
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        h1 {
            font-size: 3.2rem;
            text-transform: uppercase;
            border-bottom: var(--border-thick);
            padding-bottom: 0.4rem;
            margin-bottom: 1.8rem;
            display: inline-block;
        }

        h2 {
            font-size: 2.2rem;
            margin-top: 2.8rem;
            margin-bottom: 1.2rem;
            display: inline-block;
            background: var(--color-primary);
            padding: 0.1rem 1rem 0.2rem 1rem;
            border: var(--border-medium);
            box-shadow: var(--shadow-offset-sm);
        }

        h2 .emoji {
            font-style: normal;
        }

        h3 {
            font-size: 1.5rem;
            margin-top: 1.8rem;
            margin-bottom: 0.8rem;
            font-weight: 700;
        }

        p {
            margin-bottom: 1.2rem;
        }

        a {
            color: var(--color-text);
            text-decoration: underline wavy var(--color-secondary);
            text-underline-offset: 4px;
            font-weight: 600;
        }

        a:hover {
            background: var(--color-primary);
        }

        .highlight {
            background: var(--color-primary);
            padding: 0.1rem 0.4rem;
            border: 2px solid var(--color-border);
            font-weight: 700;
        }

        /* ----- LAYOUT ----- */
        .container {
            display: flex;
            flex-direction: column;
            gap: 2.2rem;
        }

        /* ----- HEADER / HERO ----- */
        .hero {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .hero-tagline {
            font-size: 1.2rem;
            font-weight: 600;
            background: white;
            border: var(--border-medium);
            box-shadow: var(--shadow-offset-sm);
            padding: 0.4rem 1.2rem;
            display: inline-block;
        }

        .hero-tagline span {
            background: var(--color-secondary);
            color: white;
            padding: 0 0.5rem;
        }

        /* ----- GRID SECTIONS ----- */
        .grid-2col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .grid-2col .neo-box {
            height: fit-content;
        }

        /* ----- LIST STYLING ----- */
        .favorite-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .favorite-list li {
            padding: 0.6rem 0.8rem;
            margin-bottom: 0.6rem;
            background: white;
            border: var(--border-medium);
            box-shadow: var(--shadow-offset-sm);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .favorite-list li::before {
            content: "\2726";
            font-size: 1.4rem;
            color: var(--color-secondary);
        }

        .favorite-list li:nth-child(2)::before {
            content: "\266B";
            color: var(--color-accent);
        }

        .favorite-list li:nth-child(3)::before {
            content: "\2764";
            color: var(--color-highlight);
        }

        .favorite-list li:nth-child(4)::before {
            content: "\2605";
            color: var(--color-primary);
        }

        /* ----- GALLERY ----- */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1.8rem;
            margin-top: 1.2rem;
        }

        .gallery-card {
            background: white;
            border: var(--border-thick);
            box-shadow: var(--shadow-offset);
            overflow: hidden;
            transition: transform 0.15s ease, box-shadow 0.15s ease;
            display: flex;
            flex-direction: column;
        }

        .gallery-card:hover {
            transform: translate(-4px, -4px);
            box-shadow: 10px 10px 0px var(--color-border);
        }

        .gallery-card .img-wrapper {
            position: relative;
            width: 100%;
            padding-bottom: 100%;
            /* 1:1 square */
            background: #e8e0d6;
            overflow: hidden;
            border-bottom: var(--border-medium);
        }

        .gallery-card .img-wrapper img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: opacity 0.4s ease;
            opacity: 0;
            background: #e8e0d6;
        }

        .gallery-card .img-wrapper img.loaded {
            opacity: 1;
        }

        /* lazy placeholder shimmer */
        .gallery-card .img-wrapper .lazy-placeholder {
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(45deg,
                    #ddd8d0 0px,
                    #ddd8d0 12px,
                    #e8e0d6 12px,
                    #e8e0d6 24px);
            z-index: 0;
        }

        .gallery-card .card-body {
            padding: 0.8rem 1rem 1rem 1rem;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }

        .gallery-card .card-body .card-title {
            font-weight: 700;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            border-bottom: 2px solid var(--color-border);
            padding-bottom: 0.2rem;
        }

        .gallery-card .card-body .card-desc {
            font-size: 0.85rem;
            font-weight: 400;
            opacity: 0.8;
        }

        .gallery-card .card-body .card-tag {
            display: inline-block;
            margin-top: 0.3rem;
            background: var(--color-primary);
            border: 2px solid var(--color-border);
            padding: 0.1rem 0.6rem;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            align-self: flex-start;
        }

        /* ----- RESPONSIVE ----- */
        @media (max-width: 820px) {
            .grid-2col {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            h1 {
                font-size: 2.4rem;
            }

            h2 {
                font-size: 1.8rem;
            }

            .hero {
                flex-direction: column;
                align-items: flex-start;
            }

            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 1rem 0.8rem;
            }

            .neo-box {
                padding: 1.2rem 1rem;
            }

            h1 {
                font-size: 1.8rem;
            }

            h2 {
                font-size: 1.4rem;
                padding: 0.1rem 0.6rem;
            }

            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 1rem;
            }
        }

        /* ----- SCROLLBAR (fun) ----- */
        ::-webkit-scrollbar {
            width: 14px;
            background: var(--color-bg);
        }

        ::-webkit-scrollbar-track {
            border: var(--border-medium);
            background: white;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--color-primary);
            border: var(--border-medium);
            box-shadow: var(--shadow-offset-sm);
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--color-secondary);
        }

        /* footer */
        .footer {
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: var(--border-thick);
            text-align: center;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .footer span {
            background: var(--color-primary);
            padding: 0.1rem 0.6rem;
            border: 2px solid var(--color-border);
        }
        
        /* ----- DONATION FLOATING DROPDOWN (neobrutalist) ----- */
.donation-float {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: var(--font, 'Space Grotesk', sans-serif);
}

.donation-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-secondary, #ff6b6b);
    color: white;
    border: var(--border-medium, 3px solid #1a1a1a);
    box-shadow: var(--shadow-offset-sm, 4px 4px 0px #1a1a1a);
    padding: 0.7rem 1.4rem 0.7rem 1.2rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    border-radius: 0;
    position: relative;
    user-select: none;
}

.donation-toggle:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--color-border, #1a1a1a);
}

.donation-toggle:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--color-border, #1a1a1a);
}

.donation-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.donation-label {
    font-weight: 700;
}

.donation-arrow {
    font-size: 0.8rem;
    margin-left: 0.2rem;
    transition: transform 0.25s ease;
    display: inline-block;
}

.donation-arrow.open {
    transform: rotate(180deg);
}

/* ----- dropdown panel ----- */
.donation-dropdown {
    margin-top: 0.6rem;
    background: white;
    border: var(--border-medium, 3px solid #1a1a1a);
    box-shadow: var(--shadow-offset-sm, 4px 4px 0px #1a1a1a);
    padding: 0.4rem;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0s 0.25s;
    transform-origin: top right;
    pointer-events: none;
}

.donation-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0s 0s;
    pointer-events: auto;
}

.donation-option {
    display: block;
    padding: 0.7rem 1rem;
    background: var(--color-bg, #f7f2e9);
    border: 2px solid var(--color-border, #1a1a1a);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--color-text, #1a1a1a);
    transition: background 0.15s ease, transform 0.1s ease;
    text-align: left;
    font-family: inherit;
}

.donation-option:hover {
    background: var(--color-primary, #ffd54f);
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0px var(--color-border, #1a1a1a);
}

.donation-option:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px var(--color-border, #1a1a1a);
}

/* ----- responsive tweaks ----- */
@media (max-width: 640px) {
    .donation-float {
        top: 0.8rem;
        right: 0.8rem;
    }

    .donation-toggle {
        padding: 0.5rem 1rem 0.5rem 0.9rem;
        font-size: 0.85rem;
        gap: 0.35rem;
    }

    .donation-dropdown {
        min-width: 170px;
        margin-top: 0.4rem;
    }

    .donation-option {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .donation-label {
    }

    .donation-toggle {
        padding: 0.5rem 0.8rem;
    }

    .donation-toggle .donation-icon {
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .donation-float {
        top: 0.5rem;
        right: 0.5rem;
    }

    .donation-toggle {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .donation-dropdown {
        min-width: 150px;
    }

    .donation-option {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* ── LOADING OVERLAY ── */
#loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #f7f2e9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    opacity: 1;
    visibility: visible;
}

#loader-overlay.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-box {
    background: #ffffff;
    border: 5px solid #1e1e2a;
    border-radius: 28px;
    box-shadow: 14px 14px 0 #1e1e2a;
    padding: 2.5rem 3.5rem;
    text-align: center;
    max-width: 440px;
    width: 90%;
    animation: loaderPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform: scale(0.8);
    opacity: 0;
}

@keyframes loaderPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.loader-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.2rem auto;
}

.loader-ring::before,
.loader-ring::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 6px solid transparent;
}

.loader-ring::before {
    border-top-color: #ffb3c6;
    border-left-color: #ffb3c6;
    animation: spinRing 1.1s cubic-bezier(0.65, 0.0, 0.35, 1.0) infinite;
}

.loader-ring::after {
    border-right-color: #a6d9f7;
    border-bottom-color: #a6d9f7;
    animation: spinRing 1.1s cubic-bezier(0.65, 0.0, 0.35, 1.0) infinite reverse;
    width: 62px;
    height: 62px;
    top: 9px;
    left: 9px;
}

@keyframes spinRing {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0.8rem 0 0.4rem 0;
}

.loader-dots span {
    width: 14px;
    height: 14px;
    background: #1e1e2a;
    border-radius: 50%;
    border: 2px solid #1e1e2a;
    animation: dotBounce 1.2s ease-in-out infinite;
    transform: scale(0.6);
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.2s;
    background: #ffd966;
}
.loader-dots span:nth-child(3) {
    animation-delay: 0.4s;
    background: #b7e4c7;
}
.loader-dots span:nth-child(4) {
    animation-delay: 0.6s;
    background: #a6d9f7;
}
.loader-dots span:nth-child(5) {
    animation-delay: 0.8s;
    background: #f7c5a0;
}

@keyframes dotBounce {
    0%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.loader-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0.2rem 0 0.1rem 0;
    color: #1e1e2a;
}

.loader-title span {
    background: #ffb3c6;
    padding: 0 0.3rem;
    border-radius: 12px;
    border: 3px solid #1e1e2a;
    display: inline-block;
}

.loader-sub {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3d3d52;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 0.1rem;
}

.loader-sub .neo-tag {
    display: inline-block;
    background: #ffd966;
    border: 3px solid #1e1e2a;
    border-radius: 40px;
    padding: 0.1rem 1rem;
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1e1e2a;
}

/* ── loader progress bar (neo style) ── */
.loader-progress {
    width: 100%;
    height: 10px;
    background: #e5dfd4;
    border: 3px solid #1e1e2a;
    border-radius: 40px;
    margin-top: 1rem;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: #a6d9f7;
    border-radius: 40px;
    transition: width 0.2s ease;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.loader-progress-bar.fill {
    background: #b7e4c7;
    width: 100%;
}