/* ========================================
   Chimpsterz - Watercolor Theme CSS
   ======================================== */

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

:root {
    --color-bg: #FFFFFF;
    --color-paper: #F9F6F1;
    --color-blue: #A8D8EA;
    --color-orange: #E8A87C;
    --color-purple: #C3AED6;
    --color-text: #2D2D2D;
    --color-text-light: #6B6B6B;
    --font-heading: 'Caveat', cursive;
    --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    transform: translateZ(0);
}

/* ---------- Noise Pattern Overlay ---------- */
.island,
.islandt {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    transform: translateZ(0);
}
.island {
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    mix-blend-mode: soft-light;
}
.islandt {
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3' seed='10' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 512px 512px;
    mix-blend-mode: soft-light;
}

.gallery-page {
    background-color: #FAFAFA;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4d4d4' fill-opacity='0.12'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Paper Texture ---------- */
.paper-texture {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-logo:hover { color: var(--color-orange); }
.nav-menu { display: flex; list-style: none; gap: 32px; }
.nav-link {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-orange);
    transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--color-orange); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle span {
    width: 28px;
    height: 2.5px;
    background: var(--color-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- Hero Section ---------- */
.hero-track {
    height: 220vh;
    position: relative;
    background: var(--color-paper);
    contain: layout style;
}
.hero-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    contain: layout style paint;
    background-color: var(--color-paper);
}
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.dark-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}
.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 24px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: clamp(0, calc(1 - (var(--p, 0) - 0.05) / 0.35), 1);
    transform: translateY(calc(var(--p, 0) * -30px)) scale(calc(1 - var(--p, 0) * 0.25));
    will-change: transform, opacity;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 20vw, 14rem);
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 24px;
    letter-spacing: -2px;
    text-align: center;
    width: 100%;
    will-change: opacity;
    background: linear-gradient(to right, #E8A87C, #C3AED6, #A8D8EA, #E8A87C, #C3AED6, #A8D8EA, #E8A87C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: clamp(0, calc(1 - (var(--p, 0) - 0.05) / 0.35), 1);
}
.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    will-change: opacity;
    opacity: clamp(0, calc(1 - (var(--p, 0) - 0.02) / 0.30), 1);
}
.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 400;
    color: var(--color-text-light);
    margin-bottom: 40px;
    text-align: center;
    max-width: 600px;
    line-height: 1.7;
    will-change: opacity;
    opacity: clamp(0, calc(1 - (var(--p, 0) - 0.04) / 0.32), 1);
}
.hero-hint {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 4;
    will-change: opacity;
}
.hero-hint span {
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
}
.hero-hint svg {
    width: 20px;
    height: 20px;
    display: block;
    margin: 6px auto 0;
    animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
@keyframes scrollPulse {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.45; }
    50% { transform: translateY(6px) scale(1.1); opacity: 0.7; }
}
.scroll-down {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-text);
    z-index: 10;
    opacity: clamp(0, calc(1 - var(--p, 0) / 0.15), 1);
    will-change: opacity;
}
.scroll-down span {
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-down svg {
    width: 24px;
    height: 24px;
    animation: bounceDown 2s ease-in-out infinite;
}

/* ---------- Reveal Gallery (inside hero) ---------- */
.reveal-gallery {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 40px 20px;
    will-change: transform, opacity;
}
.reveal-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    background: linear-gradient(to right, #E8A87C, #C3AED6, #A8D8EA, #E8A87C, #C3AED6, #A8D8EA, #E8A87C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.reveal-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
    max-width: 1100px;
    width: 100%;
}
.reveal-grid .mini-gallery-item {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.4, 1);
    position: relative;
    --hover-color: var(--color-orange);
}
.reveal-grid .mini-gallery-item:hover {
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.reveal-grid .mini-gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    display: block;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.reveal-grid .mini-gallery-item:hover img {
    border-color: var(--hover-color);
    box-shadow: 0 8px 28px rgba(0,0,0,0.5);
}
@media (max-width: 1024px) {
    .reveal-grid { grid-template-columns: repeat(6, 1fr); gap: 10px; }
}
@media (max-width: 768px) {
    .reveal-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
}
@media (max-width: 480px) {
    .reveal-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
    .reveal-title { font-size: clamp(2rem, 10vw, 3rem); margin-bottom: 20px; }
}

/* ---------- Buttons ---------- */
.btn {
    text-align: center;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    background-color: transparent;
    filter: url(#handDrawnNoise);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.75em 1.5em;
    border-width: 0;
    border-radius: 2rem;
    box-shadow: #33333366 4px 4px 0 1px;
    position: relative;
    overflow: visible;
    text-decoration: none;
    animation: idle 1s infinite ease-in-out;
}
.btn .highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: rgba(168, 216, 234, 0.5);
    stroke: rgba(168, 216, 234, 0.5);
    stroke-width: 10;
    stroke-linecap: round;
    pointer-events: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 0.5s ease-in-out;
    border-radius: 2rem;
}
@keyframes idle {
    0%   { rotate: 0deg; translate: 0 0px; }
    50%  { rotate: 2.5deg; translate: 0 -1px; }
    100% { rotate: 0deg; translate: 0 0px; }
}
.btn:hover {
    font-weight: 700;
    rotate: -2.5deg;
    animation: hover 2.5s infinite ease-in-out;
}
.btn:hover .highlight {
    stroke-dashoffset: 0;
}
.btn:active .highlight {
    stroke-dashoffset: 1000;
    animation: highlight 5s infinite, col 0.5s forwards;
    stroke: rgba(232, 168, 124, 0.5);
}
@keyframes col {
    0% { stroke: rgba(168, 216, 234, 0.5); }
    100% { stroke: rgba(195, 174, 214, 0.5); }
}
@keyframes highlight {
    0% { stroke-dashoffset: 0; }
    25% { stroke-dashoffset: 1000; }
    50% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}
@keyframes hover {
    0%   { rotate: 0deg;  translate: 0 0px; }
    25%  { rotate: -1deg; translate: 0 -2px; }
    50%  { rotate: 0deg;  translate: 0 2px; }
    75%  { rotate: -1deg; translate: 0 -2px; }
    100% { rotate: 0deg;  translate: 0 0px; }
}
.btn:active {
    font-weight: 700;
    box-shadow: inset #333333f1 4px 4px 0 1px;
    rotate: -2.5deg;
    animation: btn-active 1s infinite ease-in-out;
}
@keyframes btn-active {
    0%   { translate: 0 -1px; rotate: 0deg; }
    25%  { rotate: -3deg; }
    50%  { translate: 0 1px; }
    66%  { rotate: 1.5deg; }
    100% { translate: 0 -1px; rotate: 0deg; }
}
.btn-primary {
    background: var(--color-text);
    color: var(--color-bg);
    padding: 0.8em 2em;
    font-size: 1.15rem;
}
.btn-primary:hover {
    color: var(--color-text);
    background: var(--color-bg);
}

/* ---------- Hand-Drawn Theme ---------- */
.hero-title,
.reveal-title,
.section-title,
.lightbox-title {
    filter: url(#handDrawnNoise);
    animation: titleWobble 3s infinite ease-in-out;
}
@keyframes titleWobble {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    33%       { transform: rotate(0.35deg) translateY(-0.5px); }
    66%       { transform: rotate(-0.2deg) translateY(0.5px); }
}
.hero-subtitle,
.hero-tagline {
    filter: url(#handDrawnNoise);
    animation: subtitleWobble 4s infinite ease-in-out;
}
@keyframes subtitleWobble {
    0%, 100% { transform: rotate(0deg) translateX(0); }
    40%       { transform: rotate(-0.3deg) translateX(0.5px); }
    70%       { transform: rotate(0.2deg) translateX(-0.5px); }
}
.reveal-grid .mini-gallery-item {
    transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.4, 1), filter 0.3s ease;
}
.reveal-grid .mini-gallery-item:hover {
    filter: url(#handDrawnNoise);
    rotate: -2deg;
}
.form-card {
    filter: url(#handDrawnNoise);
    animation: cardWobble 5s infinite ease-in-out;
}
@keyframes cardWobble {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50%       { transform: rotate(0.4deg) scale(1.002); }
}
.lightbox-image-wrapper {
    filter: url(#handDrawnNoise);
    animation: cardWobble 4s infinite ease-in-out;
}
.about-text {
    filter: url(#handDrawnNoise);
}
.watercolor-blob {
    filter: blur(40px);
    will-change: transform;
    transform: translateZ(0);
}
/* ---------- Hand-Drawn Scroll Down Button (Desktop & Mobile) ---------- */
.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 24px;
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.3s ease, transform 0.3s ease;
    animation: scrollBob 2.5s ease-in-out infinite;
    cursor: pointer;
}
.scroll-down:hover {
    color: var(--color-orange);
    transform: translateY(2px) scale(1.05);
}
.scroll-down span {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    color: currentColor;
    filter: url(#handDrawnNoise);
    opacity: 0.9;
    line-height: 1;
}
.scroll-down .curl-arrow {
    width: 32px;
    height: 52px;
    stroke: currentColor;
    opacity: 0.9;
    filter: url(#handDrawnNoise);
    transition: stroke 0.3s ease;
}
@keyframes scrollBob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(8px) rotate(-3deg); }
}

/* ---------- Whitelist Form Curtain ---------- */
.whitelist-form-wrap {
    position: relative;
}
.form-card {
    position: relative;
    overflow: hidden;
}
.whitelist-curtain {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(249, 246, 241, 0.80);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: inherit;
    pointer-events: all;
}
.whitelist-curtain-text {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    padding: 24px 32px;
    filter: url(#handDrawnNoise);
    opacity: 0.9;
}

/* ---------- Section Titles ---------- */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-text);
}
.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 48px;
}

/* ---------- Section Divider ---------- */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-blue) 20%, var(--color-orange) 50%, var(--color-purple) 80%, transparent);
    opacity: 0.5;
    margin: 0 auto;
    max-width: 600px;
}
.section-divider.top { margin-bottom: 60px; }
.section-divider.bottom { margin-top: 60px; }

/* ---------- About Section ---------- */
.about { padding: 100px 0; background: var(--color-bg); position: relative; }
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 56px;
}
.about-row-reverse { direction: rtl; }
.about-row-reverse > * { direction: ltr; }
.about-text-col { padding: 20px 0; }
.about-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-orange);
    margin-bottom: 16px;
}
.about-text {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--color-text);
    margin-bottom: 16px;
}
.about-lead {
    font-size: 1.25rem;
    margin-top: 8px;
}
.about-img-col { display: flex; justify-content: center; }
.about-img-wrap {
    position: relative;
    width: 100%;
    max-width: 260px;
}
.about-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    filter: url(#handDrawnNoise);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transition: transform 0.4s ease, filter 0.4s ease;
}
.about-img:hover {
    transform: rotate(-2deg) scale(1.02);
    filter: url(#handDrawnNoise2);
}
.about-img-label {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-text-light);
    background: var(--color-paper);
    padding: 4px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    white-space: nowrap;
}
.about-characters {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 24px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.about-characters span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text-light);
    filter: url(#handDrawnNoise);
    transition: color 0.3s ease, transform 0.3s ease;
}
.about-characters span:hover {
    color: var(--color-orange);
    transform: rotate(-2deg) translateX(4px);
}
.about-quote {
    margin: 64px auto 48px;
    padding: 36px 44px;
    max-width: 640px;
    background: linear-gradient(135deg, rgba(168,216,234,0.08), rgba(195,174,214,0.08));
    border-left: 4px solid var(--color-orange);
    border-radius: 0 16px 16px 0;
    filter: url(#handDrawnNoise);
}
.about-quote p {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--color-text);
    font-style: italic;
    margin-bottom: 12px;
}
.about-quote cite {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.about-closing {
    margin-top: 48px;
    text-align: center;
}
.about-closing-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 12px;
    background: linear-gradient(to right, #E8A87C, #C3AED6, #A8D8EA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: url(#handDrawnNoise);
}
.about-closing-sub {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}
/* Scroll fade-in animation */
.about-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.about-fade.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .about-row {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 56px;
    }
    .about-row-reverse { direction: ltr; }
    .about-img-wrap { max-width: 280px; margin: 0 auto; }
}
    background: var(--color-paper);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-orange), var(--color-purple));
}
.feature-icon { 
    width: 56px; 
    height: 56px; 
    margin: 0 auto 20px; 
    color: var(--color-orange);
    opacity: 0.85;
}
.feature-icon svg { 
    width: 100%; 
    height: 100%; 
}
.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}
.feature-card p { font-size: 0.95rem; color: var(--color-text-light); line-height: 1.6; }

/* ---------- Whitelist Section ---------- */
.whitelist { padding: 100px 0; background: var(--color-bg); position: relative; overflow: hidden; }
.whitelist-bg { position: absolute; inset: 0; pointer-events: none; }
.watercolor-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    mix-blend-mode: multiply;
    will-change: transform;
    contain: layout style paint;
}
.blob-1 { width: 500px; height: 500px; background: var(--color-blue); top: -150px; right: -150px; }
.blob-2 { width: 400px; height: 400px; background: var(--color-orange); bottom: -100px; left: -150px; }
.blob-3 { width: 350px; height: 350px; background: var(--color-purple); top: 40%; left: 60%; }
.blob-4 { width: 400px; height: 400px; background: var(--color-purple); top: -100px; left: -100px; }
.blob-5 { width: 350px; height: 350px; background: var(--color-blue); bottom: -80px; right: -80px; }
.whitelist-form { max-width: 500px; margin: 0 auto; position: relative; z-index: 1; }
.form-card {
    background: var(--color-paper);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}
.form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-orange), var(--color-purple));
}
.form-task {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.form-task:last-of-type { border-bottom: none; }
.task-info { display: flex; align-items: center; gap: 12px; }
.task-checkbox { width: 20px; height: 20px; accent-color: var(--color-orange); cursor: pointer; }
.task-label { font-size: 1rem; color: var(--color-text); cursor: pointer; }
.btn-task {
    background: var(--color-text);
    color: var(--color-bg);
    padding: 0.5em 1.2em;
    font-size: 0.9rem;
    box-shadow: #33333344 3px 3px 0 1px;
}
.btn-task:hover { background: var(--color-orange); color: var(--color-text); }
.form-group { margin-top: 24px; }
.form-label { display: block; font-size: 0.95rem; font-weight: 500; margin-bottom: 8px; color: var(--color-text); }
.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-bg);
    transition: border-color 0.3s ease;
}
.form-input:focus { outline: none; border-color: var(--color-orange); }
.btn-submit {
    width: 100%;
    margin-top: 24px;
    background: var(--color-orange);
    color: var(--color-text);
    padding: 0.8em;
    font-size: 1.125rem;
    font-weight: 700;
}
.btn-submit:hover { background: var(--color-text); color: var(--color-bg); }
.form-success {
    display: none;
    text-align: center;
    padding: 40px;
    background: var(--color-paper);
    border-radius: 24px;
    max-width: 500px;
    margin: 0 auto;
}
.form-success.active { display: block; }
.form-success p { font-family: var(--font-heading); font-size: 2rem; color: var(--color-text); }

/* ---------- Task Tracking ---------- */
.task-status {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-left: 8px;
    opacity: 0.6;
}
.task-status.done {
    color: #4CAF50;
    opacity: 1;
}
.btn-task.clicked {
    background: #4CAF50;
    color: white;
    cursor: default;
    animation: none;
    filter: none;
}
.btn-task:disabled {
    opacity: 0.7;
    animation: none;
    filter: none;
}
.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 12px;
    opacity: 0.7;
}
.wallet-error {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 6px;
}
.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    animation: none;
    filter: none;
}
    background: var(--color-text-light);
}

/* ---------- Footer ---------- */
.footer {
    padding: 80px 0 32px;
    background: var(--color-paper);
    border-top: none;
    position: relative;
    z-index: 2;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-orange), var(--color-purple), var(--color-blue));
    background-size: 200% 100%;
}
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.footer-left { max-width: 300px; }
.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(to right, #E8A87C, #C3AED6, #A8D8EA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: url(#handDrawnNoise);
}
.footer-tagline { font-size: 0.95rem; color: var(--color-text-light); line-height: 1.6; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 24px; }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}
.footer-links a:hover { color: var(--color-orange); transform: rotate(-2deg); }
.footer-links svg { width: 18px; height: 18px; }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.06);
    text-align: center;
}
.footer-bottom p { font-size: 0.875rem; color: var(--color-text-light); }

/* ---------- Gallery Page ---------- */
.gallery-header { padding: 140px 0 60px; text-align: center; background: var(--color-bg); }
.back-link { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
    font-size: 0.95rem; 
    color: var(--color-text-light); 
    text-decoration: none; 
    margin-bottom: 40px; 
    transition: all 0.3s ease; 
}
.back-link svg { 
    width: 18px; 
    height: 18px; 
    transition: transform 0.3s ease; 
}
.back-link:hover { color: var(--color-orange); }
.back-link:hover svg { transform: translateX(-4px); }
.gallery-main-title { font-family: var(--font-heading); font-size: clamp(3rem, 10vw, 5rem); font-weight: 700; color: var(--color-text); margin-bottom: 16px; }
.gallery-subtitle { font-family: var(--font-body); font-size: 1.25rem; color: var(--color-text-light); margin-bottom: 16px; }
.gallery-description { font-size: 1rem; color: var(--color-text-light); max-width: 600px; margin: 0 auto; line-height: 1.8; }

/* ---------- Museum Gallery ---------- */
.museum-gallery { padding: 40px 0 100px; }
.museum-gallery .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.museum-gallery .gallery-item {
    position: relative;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
}
.museum-gallery .gallery-item::before,
.museum-gallery .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    transition: all 0.4s ease;
}
.museum-gallery .gallery-item::before {
    background: var(--color-purple);
    opacity: 0.4;
    transform: rotate(3deg) translate(8px, 8px);
    z-index: -2;
}
.museum-gallery .gallery-item::after {
    background: var(--color-blue);
    opacity: 0.3;
    transform: rotate(-2deg) translate(-4px, 4px);
    z-index: -1;
}
.museum-gallery .gallery-item:hover::before {
    transform: rotate(5deg) translate(12px, 12px);
}
.museum-gallery .gallery-item:hover::after {
    transform: rotate(-3deg) translate(-6px, 6px);
}
.museum-gallery .gallery-item > * {
    position: relative;
    z-index: 1;
}
.museum-gallery .gallery-item-main {
    position: relative;
    background: var(--color-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}
.museum-gallery .gallery-item:hover .gallery-item-main {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.museum-gallery .gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.museum-gallery .gallery-item:hover img { transform: scale(1.03); }
.museum-gallery .gallery-item-info { padding: 20px; }
.museum-gallery .gallery-item-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}
.museum-gallery .gallery-item-caption {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(249, 246, 241, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    will-change: opacity;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-close {
    position: absolute;
    top: 24px; right: 24px;
    background: var(--color-bg);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.lightbox-close:hover { background: var(--color-orange); color: white; border-color: var(--color-orange); }
.lightbox-container {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 90%;
    max-width: 1400px;
    height: 80vh;
}
.lightbox-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 100%;
    overflow-y: auto;
    padding: 8px;
    flex-shrink: 0;
}
.lightbox-thumbnails::-webkit-scrollbar { width: 4px; }
.lightbox-thumbnails::-webkit-scrollbar-thumb { background: var(--color-orange); border-radius: 2px; }
.lightbox-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}
.lightbox-thumb.active { opacity: 1; border-color: var(--color-orange); }
.lightbox-thumb:hover { opacity: 0.8; }
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
}
.lightbox-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--color-paper);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: 12px solid var(--color-bg);
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
@keyframes swipeInLeft {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes swipeInRight {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
.lightbox-image.swipe-in-left  { animation: swipeInLeft  0.22s cubic-bezier(0.22, 1, 0.36, 1) both; }
.lightbox-image.swipe-in-right { animation: swipeInRight 0.22s cubic-bezier(0.22, 1, 0.36, 1) both; }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-bg);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}
.lightbox-nav:hover { background: var(--color-orange); color: white; border-color: var(--color-orange); }
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-prev { left: -24px; }
.lightbox-next { right: -24px; }
.lightbox-info {
    width: 280px;
    flex-shrink: 0;
    padding: 32px;
    background: var(--color-bg);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.lightbox-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.2;
}
.lightbox-caption {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}
.lightbox-meta {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
    align-items: center;
}
.lightbox-meta-item {
    font-size: 0.85rem;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}
.lightbox-meta-item:not(:last-child)::after {
    content: '\00b7';
    margin-left: 8px;
    color: rgba(0,0,0,0.25);
}
.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .museum-gallery .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .lightbox-container { flex-direction: column; height: auto; gap: 20px; padding: 20px; }
    .lightbox-thumbnails { flex-direction: row; max-height: 70px; overflow-x: auto; overflow-y: hidden; width: 100%; justify-content: center; }
    .lightbox-thumb { width: 56px; height: 56px; }
    .lightbox-main { height: 45vh; width: 100%; }
    .lightbox-info { width: 100%; max-width: 100%; padding: 24px; }
    .lightbox-nav { display: none; }
    .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1.25rem; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 28px;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-bottom: 1px solid rgba(0,0,0,0.08);
    }
    .nav-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-menu .nav-link {
        font-family: var(--font-heading);
        font-size: 2rem;
        font-weight: 600;
        color: var(--color-text);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    .nav-menu .nav-link:hover { color: var(--color-orange); }
    .nav-menu .nav-link::after { display: none; }
    .about-features { grid-template-columns: 1fr; gap: 24px; }
    .museum-gallery .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .lightbox { padding: 0; contain: layout style paint; }
    .lightbox-container {
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        padding: 0;
        gap: 0;
        width: 100%;
        max-width: 100%;
    }
    .lightbox-thumbnails {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        gap: 6px;
        padding: 8px 12px;
        justify-content: center;
        background: var(--color-paper);
        border-bottom: 1px solid rgba(0,0,0,0.06);
        flex-shrink: 0;
    }
    .lightbox-thumb { width: 40px; height: 40px; border-radius: 6px; }
    .lightbox-main {
        flex: 1;
        height: auto;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        min-height: 0;
    }
    .lightbox-image-wrapper {
        width: 100%;
        height: 100%;
        padding: 0;
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
    }
    .lightbox-image {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        border-width: 0;
        border-radius: 8px;
        object-fit: contain;
    }
    .lightbox-nav { display: none; }
    .lightbox-info {
        width: 100%;
        max-width: 100%;
        padding: 20px 24px;
        background: var(--color-paper);
        border-top: 1px solid rgba(0,0,0,0.06);
        flex-shrink: 0;
    }
    .lightbox-title { font-size: 1.75rem; margin-bottom: 4px; }
    .lightbox-caption { font-size: 0.95rem; margin-bottom: 12px; }
    .lightbox-meta { gap: 16px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,0.06); }
    .lightbox-meta-item { font-size: 0.85rem; }
    .lightbox-close { top: 8px; right: 8px; width: 36px; height: 36px; font-size: 1.1rem; z-index: 20; background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); }
    .lightbox-counter { display: none; }
    .form-card { padding: 24px; }
    .form-task { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer { padding: 48px 0 24px; }
    .footer-content { flex-direction: column; gap: 24px; text-align: center; }
    .footer-left { max-width: 100%; text-align: center; }
    .footer-right { align-items: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
    /* Mobile performance: disable full-screen noise overlays (the heat source) */
    body::before { display: none; }
    .island, .islandt { display: none; }
    .hero-bg { display: none; }
    .dark-overlay { display: none !important; }
    html { scroll-behavior: auto; }
    body { overflow-x: clip; overflow-clip-margin: 0; }
    /* Mobile: use lighter filter (3 octaves vs 8), single filter (no animation swap) */
    .hero-title, .reveal-title, .section-title, .lightbox-title,
    .hero-subtitle, .hero-tagline, .form-card, .about-text,
    .lightbox-image-wrapper, .btn, .reveal-grid .mini-gallery-item,
    .collabs-logo, .collabs-hero-title, .collab-card, .apply-card,
    .admin-login-card, .rep-card, blockquote,
    .wall-card, .modal-card, [class*="-card"] {
        filter: url(#handDrawnMobile) !important;
        animation: none !important;
    }
    /* Kill all filter-swapping animations globally on mobile */
    /* Mobile: all filter-swap keyframes are already disabled via animation: none !important above */
    .navbar { backdrop-filter: none; background: rgba(255,255,255,0.98); }
    .nav-menu { backdrop-filter: none; }
    /* Buttons: keep hand-drawn filter, disable highlight animation */
    .btn .highlight { display: none; }
    .btn:active { box-shadow: inset #333333f1 4px 4px 0 1px; }
    .hero-track { height: 300vh; contain: none; }
    .hero-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background-color: var(--color-paper); contain: none; }
    .hero-content { padding: 0 20px; will-change: auto; opacity: clamp(0, calc(1 - (var(--p, 0) - 0.05) / 0.35), 1); transform: translateY(calc(var(--p, 0) * -20px)) scale(calc(1 - var(--p, 0) * 0.15)); }
    .hero-title { background: linear-gradient(to right, #E8A87C, #C3AED6, #A8D8EA, #E8A87C, #C3AED6, #A8D8EA, #E8A87C); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; will-change: auto; opacity: clamp(0, calc(1 - (var(--p, 0) - 0.05) / 0.35), 1); }
    .hero-subtitle { will-change: auto; opacity: clamp(0, calc(1 - (var(--p, 0) - 0.02) / 0.30), 1); }
    .hero-tagline { will-change: auto; opacity: clamp(0, calc(1 - (var(--p, 0) - 0.04) / 0.32), 1); }
    .btn-primary { opacity: clamp(0, calc(1 - (var(--p, 0) - 0.06) / 0.30), 1); }
    .scroll-down { opacity: clamp(0, calc(1 - var(--p, 0) / 0.15), 1); }
    .dark-overlay { will-change: auto; }
    .reveal-gallery { position: absolute; inset: 0; z-index: 5; pointer-events: none; min-height: 100vh; padding: 60px 16px; }
    .reveal-gallery.visible { transform: translateY(0); pointer-events: auto; }
    .reveal-grid { }
    .mini-gallery-item { }
    .mini-gallery-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 3px solid rgba(255,255,255,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
    .reveal-grid .mini-gallery-item { transition: none; }
    .reveal-grid .mini-gallery-item:hover { transform: none; }
    .about-img { content-visibility: auto; contain-intrinsic-size: auto 200px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 4rem; }
    .museum-gallery .gallery-item-info { padding: 12px; }
    .museum-gallery .gallery-item-title { font-size: 1.25rem; }
    .museum-gallery .gallery-item-caption { font-size: 0.8rem; }
    .lightbox-thumbnails { padding: 6px 10px; gap: 4px; }
    .lightbox-thumb { width: 36px; height: 36px; }
    .lightbox-main { padding: 8px; }
    .lightbox-info { padding: 16px 20px; }
    .lightbox-title { font-size: 1.5rem; }
    .lightbox-caption { font-size: 0.85rem; }
    .lightbox-meta { gap: 6px; padding-top: 10px; }
    .lightbox-meta-item { font-size: 0.8rem; }
}

/* ---------- Coming Soon Hand-Drawn Modal Alert ---------- */
.coming-soon-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 30, 30, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.coming-soon-card {
    background: var(--color-paper);
    width: 100%;
    max-width: 460px;
    border-radius: 28px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25), inset 0 0 0 2px rgba(0,0,0,0.06);
    filter: url(#handDrawnNoise);
    transform: scale(0.9) translateY(20px);
    animation: modalPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes modalPopIn {
    to { transform: scale(1) translateY(0); }
}
.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-text-light);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}
.modal-close-btn:hover {
    color: var(--color-text);
    transform: scale(1.2) rotate(8deg);
}
.coming-soon-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #FFF3E0;
    color: #E65100;
    border: 1px dashed #FFB74D;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.coming-soon-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.1;
}
.coming-soon-text {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 28px;
}
.coming-soon-actions {
    display: flex;
    justify-content: center;
}
.coming-soon-actions .btn {
    width: 100%;
    justify-content: center;
}

