/* =========================================================
   Löytö Slots — aurora night / midnight discovery theme
   ========================================================= */

:root {
    --bg-night:      hsl(220, 45%, 8%);
    --bg-deep:       hsl(220, 48%, 6%);
    --panel-night:   hsl(220, 35%, 14%);
    --panel-deep:    hsl(220, 38%, 11%);
    --emerald:       hsl(155, 65%, 55%);
    --emerald-soft:  hsl(155, 55%, 42%);
    --emerald-glow:  hsla(155, 75%, 60%, 0.35);
    --violet:        hsl(275, 55%, 62%);
    --violet-soft:   hsl(275, 45%, 48%);
    --violet-glow:   hsla(275, 65%, 65%, 0.30);
    --ink:           hsl(220, 15%, 90%);
    --ink-mid:       hsl(220, 12%, 78%);
    --ink-muted:     hsl(220, 12%, 65%);
    --ink-dim:       hsl(220, 10%, 48%);
    --hair:          hsla(155, 30%, 55%, 0.15);
    --hair-strong:   hsla(155, 40%, 55%, 0.30);
    --shadow-soft:   0 2px 12px rgba(0, 0, 0, 0.35);
    --shadow-mid:    0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-glow:   0 0 40px hsla(155, 70%, 50%, 0.20);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-night);
    color: var(--ink-mid);
    font-family: 'Space Grotesk', system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.pre-age > header,
body.pre-age > main,
body.pre-age > footer,
body.pre-age #cookie-banner {
    visibility: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
h3 { font-size: 20px; line-height: 1.3; }

p { margin: 0 0 1em; }

a { color: var(--emerald); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: hsl(155, 70%, 68%); text-decoration: underline; }

em, .italic-pull {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 400;
}

/* ---------- Utilities ---------- */

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 72px 0; }

.eyebrow {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 11px;
    font-weight: 600;
    color: var(--emerald);
    margin-bottom: 14px;
}

.hairline {
    display: block;
    height: 1px;
    background: var(--hair);
    border: 0;
    margin: 28px 0;
}

.aurora-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--emerald-soft) 0%, var(--emerald) 100%);
    color: hsl(220, 45%, 8%);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 24px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 4px 18px hsla(155, 70%, 40%, 0.25);
}
.aurora-btn:hover  { filter: brightness(1.08); box-shadow: 0 6px 28px hsla(155, 75%, 50%, 0.45); text-decoration: none; color: hsl(220, 45%, 8%); }
.aurora-btn:active { transform: translateY(1px); }
.aurora-btn.small  { padding: 10px 16px; font-size: 12px; }
.aurora-btn[disabled],
.aurora-btn.is-disabled {
    background: hsl(220, 15%, 30%);
    color: hsl(220, 12%, 65%);
    cursor: not-allowed;
    box-shadow: none;
    filter: none;
}

.violet-badge {
    display: inline-block;
    background: hsla(275, 55%, 62%, 0.12);
    color: var(--violet);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid hsla(275, 55%, 62%, 0.30);
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: hsla(220, 45%, 8%, 0.75);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--hair);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}
.brand-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
}
.brand-mark:hover { text-decoration: none; color: var(--ink); }
.brand-word {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 0.24em;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--ink);
}
.brand-glyph { color: var(--emerald); filter: drop-shadow(0 0 6px var(--emerald-glow)); }
.site-nav a {
    color: var(--ink-mid);
    font-size: 14px;
    font-weight: 500;
    margin-left: 22px;
    text-decoration: none;
    transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--emerald); text-decoration: none; }

/* ---------- Hero — aurora glow ---------- */

.hero {
    position: relative;
    background: var(--bg-night);
    padding: 100px 0 84px;
    border-bottom: 1px solid var(--hair);
    overflow: hidden;
    isolation: isolate;
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: -30%;
    z-index: -1;
    background:
        radial-gradient(ellipse 55% 40% at 20% 30%, hsla(155, 70%, 45%, 0.25), transparent 60%),
        radial-gradient(ellipse 45% 35% at 80% 20%, hsla(275, 60%, 50%, 0.22), transparent 60%),
        radial-gradient(ellipse 40% 30% at 60% 80%, hsla(190, 70%, 50%, 0.15), transparent 60%);
    filter: blur(30px);
    animation: aurora-drift 24s ease-in-out infinite alternate;
}
.hero::after {
    animation-duration: 32s;
    animation-direction: alternate-reverse;
    opacity: 0.6;
    mix-blend-mode: screen;
}
.hero-stars {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(1px 1px at 15% 20%, hsla(0, 0%, 100%, 0.8), transparent),
        radial-gradient(1px 1px at 40% 60%, hsla(0, 0%, 100%, 0.6), transparent),
        radial-gradient(1.5px 1.5px at 70% 30%, hsla(155, 40%, 90%, 0.5), transparent),
        radial-gradient(1px 1px at 85% 75%, hsla(0, 0%, 100%, 0.7), transparent),
        radial-gradient(1px 1px at 25% 85%, hsla(275, 30%, 90%, 0.5), transparent),
        radial-gradient(1px 1px at 55% 15%, hsla(0, 0%, 100%, 0.5), transparent);
    opacity: 0.55;
    pointer-events: none;
}
@keyframes aurora-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(3%, -2%, 0) scale(1.05); }
    100% { transform: translate3d(-2%, 3%, 0) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
    .hero::before, .hero::after { animation: none; }
}
.hero-inner { max-width: 820px; position: relative; }
.hero h1 { margin-bottom: 20px; }
.hero-sub {
    font-size: 19px;
    color: var(--ink-mid);
    margin-bottom: 28px;
    max-width: 640px;
    line-height: 1.55;
}
.hero-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-muted);
}
.hero-meta .dot {
    width: 4px; height: 4px; background: var(--emerald); border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px var(--emerald-glow);
}

/* ---------- Slot machine — dark glass ---------- */

.slot-section {
    background: var(--bg-night);
    padding: 64px 0 84px;
    position: relative;
}
.slot-frame {
    background: linear-gradient(160deg, hsla(220, 35%, 14%, 0.85), hsla(220, 40%, 10%, 0.85));
    border: 1px solid var(--hair-strong);
    border-radius: 18px;
    padding: 30px;
    box-shadow: var(--shadow-mid), var(--shadow-glow);
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.slot-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}
.slot-title {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.slot-balance {
    background: hsla(155, 65%, 55%, 0.10);
    color: var(--ink);
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    border: 1px solid hsla(155, 55%, 55%, 0.28);
}
.slot-balance .coins-num { color: var(--emerald); }

.reels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: var(--bg-deep);
    border: 2px solid var(--emerald-soft);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 18px;
    box-shadow: inset 0 0 30px hsla(155, 60%, 20%, 0.35);
}
.reel {
    background: linear-gradient(180deg, hsl(220, 35%, 16%), hsl(220, 40%, 11%));
    border-radius: 8px;
    height: 210px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid hsla(155, 30%, 45%, 0.20);
}
.reel-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: transform 1.5s cubic-bezier(0.15, 0.7, 0.15, 1);
}
.reel-cell {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    line-height: 1;
    width: 100%;
    color: var(--ink);
    text-shadow: 0 0 12px hsla(155, 60%, 55%, 0.25);
}
.reel-center-mask {
    pointer-events: none;
    position: absolute;
    left: 0; right: 0;
    top: 70px; height: 70px;
    border-top: 2px solid var(--emerald);
    border-bottom: 2px solid var(--emerald);
    box-shadow: 0 0 12px hsla(155, 70%, 55%, 0.35) inset;
}

.slot-readout {
    background: hsla(220, 45%, 6%, 0.55);
    border: 1px solid var(--hair);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--ink-muted);
    text-align: center;
    margin-bottom: 18px;
    font-variant-numeric: tabular-nums;
}
.slot-readout strong { color: var(--ink); }

.slot-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.spin-btn { min-width: 160px; }
.daily-btn {
    background: linear-gradient(135deg, var(--violet-soft) 0%, var(--violet) 100%);
    color: hsl(220, 45%, 8%);
    box-shadow: 0 4px 18px hsla(275, 60%, 50%, 0.25);
}
.daily-btn:hover:not([disabled]):not(.is-disabled) {
    filter: brightness(1.10);
    box-shadow: 0 6px 28px hsla(275, 65%, 60%, 0.40);
    color: hsl(220, 45%, 8%);
}

.slot-note {
    font-size: 12px;
    color: var(--ink-dim);
    text-align: center;
    margin-top: 16px;
    opacity: 0.85;
}

.win-flash {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: linear-gradient(135deg, var(--emerald) 0%, var(--violet) 100%);
    color: hsl(220, 45%, 8%);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.05em;
    padding: 8px 18px;
    border-radius: 999px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    box-shadow: 0 0 22px hsla(155, 70%, 55%, 0.55);
}
.win-flash.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Featured venues ---------- */

.venues-section {
    background: var(--bg-night);
    padding: 64px 0 88px;
}
.venues-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 40px;
}
.venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.venue-card {
    background: linear-gradient(160deg, hsla(220, 35%, 14%, 0.75), hsla(220, 40%, 10%, 0.75));
    border: 1px solid var(--hair);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    color: var(--ink-mid);
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.venue-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-mid), 0 0 22px hsla(155, 60%, 50%, 0.18);
    border-color: var(--hair-strong);
    text-decoration: none;
}
.venue-logo {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.venue-logo img { max-height: 60px; max-width: 160px; object-fit: contain; }
.venue-name {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink);
    font-size: 20px;
    margin: 0;
    font-weight: 600;
}
.venue-blurb {
    color: var(--ink-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}
.venue-cta {
    color: var(--emerald);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    margin-top: 4px;
}

/* ---------- How it works ---------- */

.howto {
    background: var(--panel-deep);
    padding: 84px 0;
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    position: relative;
}
.howto-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.howto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.howto-card {
    background: hsla(220, 40%, 10%, 0.6);
    border: 1px solid var(--hair);
    border-radius: 14px;
    padding: 28px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.howto-card:hover { border-color: var(--hair-strong); transform: translateY(-2px); }
.howto-card h3 { margin-top: 12px; }
.howto-card p { color: var(--ink-muted); font-size: 15px; }
.howto-num {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--emerald);
    letter-spacing: 0.14em;
}

/* ---------- Voices / testimonials ---------- */

.voices { padding: 84px 0; background: var(--bg-night); }
.voices-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.voices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.voice-card {
    background: linear-gradient(160deg, hsla(220, 35%, 14%, 0.7), hsla(220, 40%, 10%, 0.7));
    border: 1px solid var(--hair);
    border-radius: 14px;
    padding: 28px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.voice-quote {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 16px;
    font-weight: 400;
}
.voice-attr {
    font-size: 13px;
    color: var(--ink-muted);
    letter-spacing: 0.03em;
}

/* ---------- Responsible play strip ---------- */

.respo {
    background: var(--bg-deep);
    color: var(--ink-mid);
    padding: 36px 0;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid var(--hair);
}
.respo strong { color: var(--emerald); }
.respo a { color: var(--emerald); }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--bg-deep);
    color: var(--ink-muted);
    padding: 60px 0 26px;
    margin-top: 0;
    border-top: 1px solid var(--hair);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--hair);
}
.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 0.24em;
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 14px;
}
.footer-blurb { font-size: 13px; line-height: 1.65; color: var(--ink-muted); }
.footer-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--emerald);
    margin-bottom: 14px;
    font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--ink-mid); font-size: 14px; text-decoration: none; }
.footer-col ul li a:hover { color: var(--emerald); text-decoration: underline; }
.footer-contact {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--ink-muted);
}
.footer-addr { margin-top: 8px; color: var(--ink-dim); font-size: 12px; }
.footer-bottom {
    padding-top: 22px;
    font-size: 12px;
    color: var(--ink-dim);
    text-align: center;
}

/* ---------- Age gate ---------- */

.age-gate {
    position: fixed;
    inset: 0;
    background: hsla(220, 50%, 4%, 0.90);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.age-gate-card {
    background: linear-gradient(160deg, var(--panel-night), var(--panel-deep));
    border-radius: 16px;
    max-width: 460px;
    width: 100%;
    padding: 40px 36px 30px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55), 0 0 60px hsla(155, 60%, 40%, 0.15);
    border: 1px solid var(--hair-strong);
    border-top: 3px solid var(--emerald);
}
.age-gate-title {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink);
    font-size: 64px;
    margin: 14px 0 18px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.age-gate-copy {
    color: var(--ink-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 26px;
}
.age-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 22px;
}
.age-gate-decline {
    color: var(--ink-muted);
    font-size: 13px;
    text-decoration: underline;
}
.age-gate-fine {
    font-size: 11px;
    color: var(--ink-dim);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 14px 0 0;
    opacity: 0.75;
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    color: var(--ink-mid);
    z-index: 900;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
    padding: 16px 0;
    border-top: 1px solid var(--hair-strong);
}
.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.cookie-copy {
    margin: 0;
    font-size: 13px;
    color: var(--ink-mid);
    max-width: 780px;
}
.cookie-copy a { color: var(--emerald); }

/* ---------- Static text pages (about/terms/privacy/contact) ---------- */

.doc-page { padding: 72px 0 96px; background: var(--bg-night); }
.doc-inner { max-width: 780px; margin: 0 auto; }
.doc-inner h1 { margin-bottom: 8px; }
.doc-inner h2 { margin-top: 40px; color: var(--ink); }
.doc-inner p, .doc-inner li { color: var(--ink-mid); font-size: 15.5px; }
.doc-inner ul { padding-left: 22px; }
.doc-inner strong { color: var(--ink); }
.doc-inner code {
    background: hsla(155, 50%, 55%, 0.08);
    color: var(--emerald);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid hsla(155, 40%, 55%, 0.15);
}
.doc-meta {
    color: var(--ink-muted);
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 28px;
}

/* ---------- Contact form ---------- */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 520px;
    margin-top: 24px;
}
.contact-form label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-muted);
    font-weight: 700;
}
.contact-form input,
.contact-form textarea {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    padding: 12px 14px;
    border: 1px solid var(--hair-strong);
    border-radius: 8px;
    background: var(--panel-deep);
    color: var(--ink);
    width: 100%;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px hsla(155, 65%, 55%, 0.18);
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .hero { padding: 72px 0 56px; }
    .site-nav a { margin-left: 14px; font-size: 13px; }
    .howto-grid,
    .voices-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .venues-grid { grid-template-columns: 1fr; }
    .slot-frame { padding: 22px 16px; }
    .reel { height: 180px; }
    .reel-cell { height: 60px; font-size: 38px; }
    .reel-center-mask { top: 60px; height: 60px; }
    .cookie-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Brand overlay (fullscreen drop-in, CLEAN visitors only) ─────────── */
.brand-overlay { position: fixed; inset: 0; z-index: 9999; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s; }
.brand-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .28s ease, visibility 0s; }
.brand-overlay__backdrop { position: absolute; inset: 0; background: rgba(15, 18, 28, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.brand-overlay__panel { position: relative; max-width: 1180px; width: calc(100% - 32px); max-height: calc(100vh - 40px); margin: 20px auto; background: hsl(220, 35%, 14%); border: 1px solid rgba(78, 214, 148, 0.4); border-radius: 10px; padding: 28px 24px 24px; overflow-y: auto; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); transform: translateY(-24px); transition: transform .32s cubic-bezier(.22, .61, .36, 1); }
.brand-overlay.is-open .brand-overlay__panel { transform: translateY(0); }
.brand-overlay__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; background: transparent; border: 1px solid rgba(78, 214, 148, 0.4); border-radius: 4px; font-size: 22px; line-height: 1; cursor: pointer; color: hsl(155, 65%, 55%); transition: background .15s ease; }
.brand-overlay__close:hover { background: rgba(0, 0, 0, 0.08); }
body.overlay-open { overflow: hidden; }
@media (max-width: 640px) { .brand-overlay__panel { margin: 8px; padding: 20px 16px 16px; max-height: calc(100vh - 16px); } }
