@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,700&family=Lato:wght@300;400;700&display=swap');

/* ── DESIGN TOKENS (BOTÁNICO ARTESANAL) ── */
:root {
    /* Fondos */
    --bg-main:    #f5ede0;
    --bg-card:    #faf6f0;
    --bg-mid:     #ede5d4;
    --bg-dark:    #3a4a2a;
    --bg-light:   #faf6f0;
    
    /* Pop Brutalism Tokens */
    --yellow:     #FFFF00;
    --black:      #000000;
    --neon-pink:  #FF00FF;

    /* Texto */
    --text-main:  #3a4a2a;
    --text-body:  #5a6b4a;
    --text-muted: #8a9a7a;
    --text-inv:   #f5ede0;
    --text-dim:   #a0a896;

    /* Acentos */
    --accent-olive:    #7a8c5a;
    --accent-lavender: #9b7eb8;
    --accent-warm:     #c9a96e;

    /* Tipografía */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Lato', 'DM Sans', -apple-system, sans-serif;

    /* Bordes */
    --border-main:   1px solid rgba(90, 110, 70, 0.25);
    --border-accent: 1px solid #7a8c5a;
    --border-strong: 2px solid #3a4a2a;
    --rad-soft:  6px;
    --rad-card:  12px;
    --rad-pill:  9999px;

    /* Animación */
    --ease-elegant: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bouncy:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur-fast: 0.15s;
    --dur-mid:  0.35s;
    --dur-slow: 0.7s;

    /* ── ALIASES DE COMPATIBILIDAD ── */
    --bg:           var(--bg-main);
    --bg-surface:   var(--bg-mid);
    --surface:      var(--bg-mid);
    --gold:         var(--accent-warm);
    --gold-muted:   var(--accent-olive);
    --gold-bright:  var(--accent-lavender);
    --text:         var(--text-main);
    --text-main-alias: var(--text-main);
    --border-gold:  var(--border-accent);
    --border-dim:   var(--border-main);
    --border-heavy: var(--border-strong);
    --grain:        none;
    --ease-snap:    var(--ease-bouncy);

    /* Legacy colors (mantenidos para no romper nada) */
    --bg-card-legacy: var(--bg-card);
    --magenta:   #9b7eb8;
    --cyan:      #7ab5b0;
    --lime:      #7a9a5a;
}

/* ── RESET ── */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: none;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
}

p { color: var(--text-body); line-height: 1.75; }

em { font-style: italic; color: var(--accent-warm); }

/* ── HEADER ── */
#site-header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: 80px; padding: 0 48px;
    background: var(--bg-main);
    border-bottom: var(--border-main);
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100;
    transition: background 0.3s var(--ease-elegant),
                box-shadow 0.3s var(--ease-elegant);
}
#site-header.scrolled {
    background: rgba(245, 237, 224, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 24px rgba(58, 74, 42, 0.08);
}
#site-header.solid { background: var(--bg-main); }

.header-logo {
    display: flex; align-items: center;
    isolation: isolate;
}
.header-logo img { height: 48px; }

/* Nav links */
.header-nav {
    display: flex; align-items: center; gap: 8px;
}
.header-nav a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    padding: 8px 18px;
    border: var(--border-accent);
    border-radius: var(--rad-pill);
    background: transparent;
    color: var(--text-main);
    transition: background var(--dur-fast) var(--ease-elegant),
                color var(--dur-fast) var(--ease-elegant),
                transform var(--dur-fast) var(--ease-bouncy);
}
.header-nav a:hover,
.header-nav a.active {
    background: var(--bg-dark);
    color: var(--text-inv);
    border-color: var(--bg-dark);
    transform: translateY(-1px);
}

/* Social icons in header */
.header-social {
    display: flex; align-items: center; gap: 8px;
    margin-left: 20px;
}
.header-social a {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; padding: 0;
    border: 1px solid rgba(58, 74, 42, 0.15); border-radius: 50%;
    background: transparent;
    color: var(--text-main);
    transition: all var(--dur-fast) var(--ease-elegant);
}
.header-social a:hover {
    background: var(--bg-dark);
    border-color: var(--bg-dark);
    color: var(--text-inv);
    transform: translateY(-2px);
}
.header-social svg { width: 14px; height: 14px; fill: currentColor; display: block; }

.lang-switcher { display: flex; gap: 2px; }
.lang-switcher button {
    background: none; border: none;
    font-weight: 700; font-family: var(--font-body);
    font-size: 12px; letter-spacing: 0.05em;
    color: var(--text-muted); cursor: pointer; padding: 4px 6px;
    border-radius: 4px;
    transition: color var(--dur-fast), background var(--dur-fast);
}
.lang-switcher button.active {
    color: var(--text-main);
    background: rgba(58, 74, 42, 0.08);
}

/* ── BOTONES ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    font-family: var(--font-body); font-weight: 700;
    font-size: 14px; letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: var(--border-accent);
    border-radius: var(--rad-pill);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease-elegant),
                color var(--dur-fast) var(--ease-elegant),
                transform var(--dur-fast) var(--ease-bouncy),
                box-shadow var(--dur-fast);
    box-shadow: 0 2px 8px rgba(58, 74, 42, 0.12);
    text-decoration: none;
}
.btn:hover {
    background: var(--bg-dark);
    color: var(--text-inv);
    border-color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 74, 42, 0.2);
}
.btn:active { transform: translateY(0); }

.btn-solid {
    background: var(--bg-dark);
    color: var(--text-inv);
    border-color: var(--bg-dark);
}
.btn-solid:hover {
    background: var(--accent-olive);
    border-color: var(--accent-olive);
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    border-color: var(--accent-olive);
}

.btn-warm {
    background: var(--accent-warm);
    color: #fff;
    border-color: var(--accent-warm);
}
.btn-warm:hover {
    background: #b8945a;
    border-color: #b8945a;
}

/* Legacy bronze button */
.btn-bronze {
    background: transparent;
    border: var(--border-accent);
    border-radius: var(--rad-pill);
    padding: 12px 28px;
    font-weight: 700; font-size: 13px; letter-spacing: 0.08em;
    text-transform: uppercase; cursor: pointer;
    color: var(--text-main);
    transition: background var(--dur-fast), color var(--dur-fast);
    box-shadow: none;
}
.btn-bronze:hover {
    background: var(--bg-dark);
    color: var(--text-inv);
    border-color: var(--bg-dark);
}

/* ── EYEBROW LABEL ── */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body); font-size: 10px; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--accent-olive);
}

/* ── GOLD RULE ── */
.gold-rule {
    width: 40px; height: 1px;
    background: var(--accent-warm);
    margin-bottom: 20px;
}

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-warm);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s ease-out;
    pointer-events: none;
}

/* ── REVEAL SCROLL ANIMATION ── */
.reveal {
    opacity: 0;
    transition: opacity var(--dur-slow) var(--ease-elegant),
                transform var(--dur-slow) var(--ease-elegant),
                filter var(--dur-slow) var(--ease-elegant);
    will-change: transform, opacity;
}

/* Directions & Scale options */
.reveal,
.reveal-fade-up {
    transform: translateY(30px);
}
.reveal-fade-left {
    transform: translateX(-40px);
}
.reveal-fade-right {
    transform: translateX(40px);
}
.reveal-zoom-in {
    transform: scale(0.94);
}

/* Visible States */
.reveal.visible,
.reveal-fade-up.visible,
.reveal-fade-left.visible,
.reveal-fade-right.visible,
.reveal-zoom-in.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Staggered transition delays */
.reveal-delay-1 { transition-delay: 0s; }
.reveal-delay-2 { transition-delay: 0s; }
.reveal-delay-3 { transition-delay: 0s; }
.reveal-delay-4 { transition-delay: 0s; }
.reveal-delay-5 { transition-delay: 0s; }

.reveal-delay-1.visible { transition-delay: 0.12s; }
.reveal-delay-2.visible { transition-delay: 0.24s; }
.reveal-delay-3.visible { transition-delay: 0.36s; }
.reveal-delay-4.visible { transition-delay: 0.48s; }
.reveal-delay-5.visible { transition-delay: 0.6s; }

/* ── PREMIUM INTERACTION BEHAVIORS ── */
.card-grid .card img,
.intro-image img,
.img-frame img,
.ig-item img {
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1),
                filter 1.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.card-grid .card:hover img,
.intro-image:hover img,
.img-frame:hover img,
.ig-item:hover img {
    transform: scale(1.06) !important;
}

.card {
    transition: transform var(--dur-mid) var(--ease-elegant),
                box-shadow var(--dur-mid) var(--ease-elegant),
                border-color var(--dur-mid) var(--ease-elegant) !important;
}

.card:hover {
    border-color: rgba(122, 140, 90, 0.5) !important;
}


/* ── LAYOUT BANDS ── */
section {
    padding: 100px 5%;
    border-bottom: var(--border-main);
}
.band-dark    { background: var(--bg-dark); color: var(--text-inv); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--text-inv); }
.band-mid     { background: var(--bg-mid); }
.band-surface { background: var(--bg-mid); }
.band-white   { background: var(--bg-card); }

/* ── IMAGES & CARDS ── */
.img-frame {
    border: var(--border-main);
    border-radius: var(--rad-card);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 4px 24px rgba(58, 74, 42, 0.1);
}
.img-frame img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
}

.card-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px; margin-top: 40px;
}
.card {
    background: var(--bg-card);
    border: var(--border-main);
    border-radius: var(--rad-card);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(58, 74, 42, 0.08);
    transition: transform var(--dur-mid) var(--ease-elegant),
                box-shadow var(--dur-mid) var(--ease-elegant);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(58, 74, 42, 0.15);
}
.card-content { padding: 28px; }

/* ── TYPOGRAPHY ── */
.title-giant {
    font-size: clamp(56px, 9vw, 140px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    font-style: italic;
}

/* ── ANNOUNCE TICKER ── */
.announce {
    background: var(--bg-dark);
    overflow: hidden; white-space: nowrap;
    padding: 11px 0;
    border-bottom: var(--border-main);
}
.announce-track {
    display: inline-flex;
    animation: marquee 28s linear infinite;
}
.announce-track:hover { animation-play-state: paused; }
.announce-item {
    display: inline-flex; align-items: center;
}
.announce-item span {
    font-family: var(--font-body); font-size: 10px; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--text-inv); padding: 0 28px;
    opacity: 0.85;
}
.announce-sep {
    color: var(--accent-warm); font-size: 10px; flex-shrink: 0;
    opacity: 0.6;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── FOOTER ── */
footer {
    background: var(--bg-dark);
    padding: 64px 48px 40px;
    border-top: var(--border-main);
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto 1fr;
    gap: 32px; align-items: center;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 28px;
    font-style: italic;
    color: var(--text-inv);
    letter-spacing: 0.02em;
}
.footer-info {
    font-weight: 400; text-align: center;
    font-size: 13px; line-height: 1.9;
    color: rgba(245, 237, 224, 0.7);
}
.footer-info a { color: var(--accent-warm); }
.footer-info a:hover { color: var(--text-inv); }
.footer-copy {
    text-align: center; margin-top: 40px;
    font-size: 11px; letter-spacing: 0.15em;
    text-transform: uppercase; font-weight: 400;
    border-top: 1px solid rgba(245, 237, 224, 0.15);
    padding-top: 20px;
    color: rgba(245, 237, 224, 0.4);
}
.footer-social { display: flex; gap: 12px; justify-content: flex-end; }
.footer-social a {
    background: rgba(245, 237, 224, 0.08);
    border: 1px solid rgba(245, 237, 224, 0.2);
    border-radius: 50%;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--dur-fast), transform var(--dur-fast) var(--ease-bouncy);
}
.footer-social a:hover {
    background: var(--accent-warm);
    border-color: var(--accent-warm);
    transform: translateY(-3px);
}
.footer-social svg { fill: var(--text-inv); width: 18px; height: 18px; }

/* ══ AUTH MODAL & REWARD (POP BRUTALISM) ══ */
.auth-modal {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 340px;
    background: var(--yellow) !important; /* Force solid yellow */
    color: #000 !important;
    border: 4px solid #000;
    border-radius: 32px;
    padding: 32px;
    z-index: 10000; /* Ensure it's above everything */
    transform: translateY(150%) scale(0.8);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 12px 12px 0 #000;
    opacity: 1 !important; /* Ensure no transparency */
}
.auth-modal.active {
    transform: translateY(0) scale(1);
}
.auth-modal h2 {
    font-size: 32px;
    margin-bottom: 16px;
    line-height: 1.1;
    font-family: var(--font-display);
    text-transform: none; /* Respect capitalization */
}
.auth-modal p {
    font-size: 16px;
    margin-bottom: 28px;
    font-weight: 500;
    line-height: 1.5;
}
.auth-modal strong {
    background: #000;
    color: var(--yellow);
    padding: 2px 6px;
    display: inline-block;
}
.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    font-weight: 900;
}
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: #fff;
    border: 3px solid #000;
    padding: 14px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-google:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #000;
}
.btn-google img {
    width: 20px;
    height: 20px;
}

/* REWARD OVERLAY */
.reward-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,0,0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}
.reward-card {
    background: #fff !important;
    color: #000 !important;
    border: 6px solid #000;
    border-radius: 40px;
    padding: 48px;
    max-width: 440px;
    text-align: center;
    box-shadow: 20px 20px 0 #000;
    opacity: 1 !important;
}
.reward-card h2 {
    font-size: 40px;
    margin-bottom: 16px;
}
.vip-code {
    background: var(--yellow);
    border: 3px dashed #000;
    padding: 16px;
    font-family: monospace;
    font-size: 24px;
    font-weight: 900;
    margin: 24px 0;
}
.btn-black {
    background: #000;
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    width: 100%;
}

@media (max-width: 768px) {
    .auth-modal {
        bottom: 110px; /* Above mobile nav */
        right: 20px;
        left: 20px;
        width: auto;
    }
}

/* ══ AUTH PROFILE INDICATOR (HEADER) ══ */
.auth-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}
.auth-profile-trigger {
    width: 44px;
    height: 44px;
    border: 3px solid #000;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    background: var(--yellow);
    box-shadow: 4px 4px 0px #000;
    transition: transform 0.2s, box-shadow 0.2s;
}
.auth-profile-trigger:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000;
}
.auth-profile-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.auth-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: var(--yellow);
    border: 4px solid #000;
    padding: 24px;
    width: 260px;
    z-index: 1000;
    box-shadow: 12px 12px 0px #000;
    display: none;
    flex-direction: column;
    gap: 16px;
    animation: dropdownPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.auth-dropdown.active {
    display: flex;
}
@keyframes dropdownPop {
    from { opacity: 0; transform: translateY(-10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-dropdown h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: #000;
    margin: 0;
    line-height: 1.1;
}
.auth-dropdown .vip-badge {
    font-size: 12px;
    font-weight: 900;
    background: #000;
    color: var(--yellow);
    padding: 4px 10px;
    display: inline-block;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.auth-dropdown .vip-info {
    border-top: 2px solid rgba(0,0,0,0.1);
    padding-top: 16px;
    font-size: 14px;
    color: #000;
    font-weight: 500;
}
.auth-dropdown .coupon-code {
    font-family: monospace;
    font-weight: 900;
    font-size: 18px;
    display: block;
    margin-top: 6px;
    background: #fff;
    padding: 8px;
    border: 2px solid #000;
    text-align: center;
}
.auth-logout-btn {
    margin-top: 8px;
    background: #000;
    color: #fff;
    border: none;
    padding: 12px;
    font-family: var(--font-display);
    font-size: 18px;
    cursor: pointer;
    border-radius: 999px;
    transition: transform 0.2s;
    font-weight: 900;
}
.auth-logout-btn:hover {
    transform: scale(1.05);
}

/* ── AUTH STATUS INDICATOR (HEADER) ── */
#auth-profile-container {
    margin-left: 12px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.auth-club-btn {
    background: var(--yellow);
    border: 3px solid #000;
    border-radius: 999px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 4px 4px 0 #000;
    color: #000;
}
.auth-club-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}
.auth-club-btn .auth-star { color: #000; font-size: 18px; }

.auth-profile {
    position: relative;
}
.auth-profile-trigger {
    width: 44px;
    height: 44px;
    border: 3px solid #000;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #fff;
    transition: transform 0.2s;
}
.auth-profile-trigger:hover { transform: scale(1.1); }
.auth-profile-trigger img { width: 100%; height: 100%; object-fit: cover; }

.auth-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #00FF00;
    border: 2px solid #000;
    border-radius: 50%;
}

.auth-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 280px;
    background: var(--yellow);
    border: 4px solid #000;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 8px 8px 0 #000;
    display: none;
    flex-direction: column;
    gap: 16px;
    z-index: 1001;
}
.auth-dropdown.active { display: flex; }

@media (max-width: 768px) {
    #auth-profile-container { margin-left: 8px; }
    .auth-club-btn { padding: 6px 12px; font-size: 12px; }
    .auth-club-btn .auth-label { display: none; } /* Show only star on very small screens if needed, but let's keep it for now */
    
    .auth-dropdown {
        position: fixed;
        top: 80px;
        left: 20px;
        right: 20px;
        width: auto;
    }
}

/* ── MOBILE BOTTOM NAV ── */
.mobile-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--bg-main);
    border-top: var(--border-main);
    z-index: 90;
    justify-content: space-around; align-items: center;
    padding: 8px 0 max(12px, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(58, 74, 42, 0.1);
}
.mobile-nav a {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-family: var(--font-body);
    font-size: 9px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-muted); padding: 6px 12px;
    border-radius: var(--rad-soft);
    transition: color var(--dur-fast), background var(--dur-fast);
}
.mobile-nav a.active {
    color: var(--text-main);
    background: rgba(58, 74, 42, 0.08);
}
.mobile-nav svg { width: 20px; height: 20px; fill: currentColor; }

/* ── HAMBURGER ── */
.menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 4px;
}
.menu-toggle span {
    display: block; width: 26px; height: 2px;
    background: var(--text-main); border-radius: 2px;
    transition: transform var(--dur-fast);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    #site-header { padding: 0 20px; height: 68px; }
    .header-nav { display: none; }
    .menu-toggle { display: flex; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .mobile-nav { display: flex; }
    body { padding-bottom: 72px; }
}

/* ── MENU VIEWER PAGE STYLES (DYNAMIC AESTHETIC) ── */
.menu-viewer-page {
    position: relative;
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, #f5ede0 0%, #ede5d4 50%, #f5ede0 100%) !important;
    background-size: 400% 400% !important;
    animation: gradientBG 15s ease infinite;
    text-align: center;
    min-height: 90vh;
    overflow: hidden;
    z-index: 1;
}

/* Ambient organic blobs */
.menu-viewer-page::before,
.menu-viewer-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    opacity: 0.22;
    z-index: -1;
    pointer-events: none;
    animation: floatBlob 22s infinite alternate ease-in-out;
}
.menu-viewer-page::before {
    width: 380px;
    height: 380px;
    background: var(--accent-lavender);
    top: -10%;
    left: -10%;
}
.menu-viewer-page::after {
    width: 480px;
    height: 480px;
    background: var(--accent-warm);
    bottom: -10%;
    right: -10%;
    animation-duration: 28s;
    animation-delay: -7s;
}

/* Floating particles */
.floating-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-leaf {
    position: absolute;
    opacity: 0.15;
    animation: floatUp 12s infinite linear;
    fill: var(--accent-olive);
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, 40px) scale(1.18); }
    100% { transform: translate(-40px, 90px) scale(0.85); }
}

@keyframes floatUp {
    0% {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* ── DYNAMIC BENTO SLIDESHOW ── */
.dynamic-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.dynamic-slideshow .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    z-index: 1;
    transform: scale(1.02);
}
.dynamic-slideshow .slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}
.dynamic-slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

