/* ==========================================================================
   Aurora Reels — cyber-Nordic social casino
   ========================================================================== */

:root {
    --bg:            hsl(228, 30%, 6%);
    --bg-2:          hsl(228, 25%, 10%);
    --panel:         hsl(228, 25%, 12%);
    --panel-border:  hsla(210, 30%, 80%, 0.08);

    --text:          hsl(210, 20%, 92%);
    --text-muted:    hsl(210, 15%, 65%);

    --accent-green:  hsl(150, 85%, 55%);
    --accent-violet: hsl(280, 85%, 65%);
    --accent-blue:   hsl(200, 100%, 60%);

    --radius:        14px;
    --radius-sm:     8px;

    --shadow-neon-green:  0 0 24px hsla(150, 85%, 55%, 0.35);
    --shadow-neon-violet: 0 0 24px hsla(280, 85%, 65%, 0.35);
    --shadow-neon-blue:   0 0 24px hsla(200, 100%, 60%, 0.35);

    --wrap: 1160px;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}
body.pre-age main,
body.pre-age .site-header,
body.pre-age .site-footer { visibility: hidden; }

h1, h2, h3, h4 {
    font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
    line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: var(--text); }
.muted { color: var(--text-muted); }

a { color: var(--accent-blue); text-decoration: none; }
a:hover { color: var(--accent-green); }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* --- buttons ------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 22px;
    font: 500 15px "Inter", sans-serif;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text);
    transition: all 180ms ease;
    text-decoration: none;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-neon {
    color: var(--accent-green);
    border-color: var(--accent-green);
    background: hsla(150, 85%, 55%, 0.06);
}
.btn-neon:hover:not(:disabled) {
    box-shadow: var(--shadow-neon-green);
    background: hsla(150, 85%, 55%, 0.14);
}
.btn-ghost {
    color: var(--text-muted);
    border-color: var(--panel-border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent-blue); }

/* --- header -------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: hsla(228, 30%, 6%, 0.75);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--panel-border);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700; letter-spacing: 0.14em; font-size: 15px;
    color: var(--text);
}
.brand__dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 12px var(--accent-green);
}
.nav { display: flex; gap: 22px; }
.nav a {
    color: var(--text-muted); font-weight: 500; font-size: 14px;
    padding: 6px 4px;
}
.nav a:hover { color: var(--text); }

/* --- hero + aurora ------------------------------------------------------- */
.hero {
    position: relative;
    padding: 72px 0 40px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: -20% -10% 0 -10%;
    background:
        radial-gradient(60% 50% at 20% 20%, hsla(150, 85%, 55%, 0.16), transparent 65%),
        radial-gradient(50% 40% at 80% 25%, hsla(280, 85%, 65%, 0.18), transparent 65%),
        radial-gradient(45% 45% at 55% 70%, hsla(200, 100%, 60%, 0.14), transparent 65%);
    filter: blur(24px);
    animation: aurora-drift 22s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}
@keyframes aurora-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-2%, 1%, 0) scale(1.05); }
    100% { transform: translate3d(2%, -1%, 0) scale(1.02); }
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__eyebrow {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.hero h1 {
    background: linear-gradient(95deg, var(--accent-green), var(--accent-blue) 55%, var(--accent-violet));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.hero__sub { color: var(--text-muted); max-width: 640px; margin: 0 auto 40px; }

/* --- glass panel --------------------------------------------------------- */
.glass {
    background: linear-gradient(180deg, hsla(228, 25%, 14%, 0.7), hsla(228, 25%, 10%, 0.6));
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* --- slot machine -------------------------------------------------------- */
.slot {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    padding: 22px;
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, hsla(228, 25%, 14%, 0.85), hsla(228, 25%, 8%, 0.9));
    border: 1px solid var(--panel-border);
    box-shadow:
        0 0 0 1px hsla(200, 100%, 60%, 0.08),
        0 30px 80px -30px hsla(280, 85%, 65%, 0.35),
        0 20px 60px -30px hsla(150, 85%, 55%, 0.25);
}
.slot__header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px;
}
.slot__title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    font-size: 13px; color: var(--text-muted);
}
.coin-widget {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700; font-size: 14px; color: var(--accent-green);
    background: hsla(150, 85%, 55%, 0.06);
}
.coin-widget::before { content: "◆"; color: var(--accent-green); }

.reels {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: hsl(228, 40%, 4%);
    border: 1px solid hsla(200, 100%, 60%, 0.18);
    box-shadow:
        inset 0 0 30px hsla(280, 85%, 65%, 0.15),
        inset 0 0 60px hsla(200, 100%, 60%, 0.08);
}
.reel {
    height: 210px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, hsl(228, 30%, 8%), hsl(228, 40%, 5%));
    border: 1px solid var(--panel-border);
    position: relative;
}
.reel__strip {
    display: flex; flex-direction: column;
    will-change: transform;
    transition: transform 0s;
}
.reel__cell {
    height: 70px;
    display: flex; align-items: center; justify-content: center;
    font-size: 44px;
    line-height: 1;
}
.reel::before {
    /* center payline highlight */
    content: "";
    position: absolute; left: 0; right: 0; top: 70px; height: 70px;
    background: linear-gradient(90deg,
        hsla(150, 85%, 55%, 0.08),
        hsla(280, 85%, 65%, 0.08));
    border-top: 1px solid hsla(150, 85%, 55%, 0.25);
    border-bottom: 1px solid hsla(150, 85%, 55%, 0.25);
    pointer-events: none;
    z-index: 1;
}

.slot__controls {
    margin-top: 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    flex-wrap: wrap;
}
.slot__spin {
    flex: 1 1 auto;
    padding: 14px 24px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--bg);
    background: linear-gradient(95deg, var(--accent-green), var(--accent-blue));
    border: none; border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 180ms ease;
}
.slot__spin:hover:not(:disabled) {
    box-shadow: var(--shadow-neon-green), var(--shadow-neon-blue);
    transform: translateY(-1px);
}
.slot__spin:disabled { opacity: 0.5; cursor: not-allowed; }
.slot__topup {
    padding: 12px 18px;
    color: var(--accent-violet);
    border: 1px solid var(--accent-violet);
    border-radius: var(--radius-sm);
    background: hsla(280, 85%, 65%, 0.06);
    font-weight: 500; font-size: 14px;
    text-decoration: none;
    transition: all 180ms ease;
}
.slot__topup:hover { box-shadow: var(--shadow-neon-violet); color: var(--accent-violet); }

.slot__readout {
    margin-top: 14px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: 0.06em;
}
.slot__readout strong { color: var(--text); font-weight: 700; }

.win-toast {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 24px;
    background: hsla(150, 85%, 55%, 0.18);
    border: 1px solid var(--accent-green);
    border-radius: var(--radius-sm);
    color: var(--accent-green);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700; font-size: 22px;
    box-shadow: var(--shadow-neon-green);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease, transform 300ms ease;
    z-index: 5;
}
.win-toast.show { opacity: 1; transform: translate(-50%, -60%); }

/* --- modal --------------------------------------------------------------- */
.modal {
    position: fixed; inset: 0;
    background: hsla(228, 40%, 4%, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center; justify-content: center;
    z-index: 60;
    padding: 20px;
}
.modal.open { display: flex; }
.modal__panel {
    max-width: 420px; width: 100%;
    padding: 28px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    text-align: center;
}
.modal__close {
    margin-top: 14px;
}

/* --- sections ------------------------------------------------------------ */
.section { padding: 72px 0; }
.section__head { text-align: center; margin-bottom: 44px; }
.section__eyebrow {
    color: var(--accent-blue);
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px;
    margin-bottom: 10px;
}
.section__sub { color: var(--text-muted); max-width: 620px; margin: 0 auto; }

/* --- how-it-works cards -------------------------------------------------- */
.howto-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.howto-card {
    padding: 26px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, hsla(228, 25%, 14%, 0.6), hsla(228, 25%, 10%, 0.6));
    border: 1px solid var(--panel-border);
}
.howto-card__num {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: hsla(150, 85%, 55%, 0.14);
    color: var(--accent-green);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    margin-bottom: 14px;
}

/* --- venues grid --------------------------------------------------------- */
.venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.venue-card {
    display: flex; flex-direction: column;
    padding: 22px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, hsla(228, 25%, 14%, 0.7), hsla(228, 25%, 9%, 0.7));
    border: 1px solid var(--panel-border);
    transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
    position: relative;
    overflow: hidden;
}
.venue-card::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(60% 50% at 50% 0%, hsla(200, 100%, 60%, 0.08), transparent 65%);
    pointer-events: none;
}
.venue-card:hover {
    transform: translateY(-3px);
    border-color: hsla(150, 85%, 55%, 0.4);
    box-shadow: var(--shadow-neon-green);
}
.venue-card__logo-wrap {
    height: 68px;
    display: flex; align-items: center; justify-content: center;
    background: hsl(0, 0%, 100%);
    border-radius: var(--radius-sm);
    padding: 8px;
    margin-bottom: 14px;
}
.venue-card__logo-wrap img { max-height: 52px; max-width: 100%; width: auto; }
.venue-card__name {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700; font-size: 18px; margin: 0 0 6px;
}
.venue-card__bonus {
    color: var(--accent-green);
    font-size: 14px;
    margin-bottom: 16px;
    min-height: 40px;
}
.venue-card__cta {
    margin-top: auto;
    display: inline-flex; justify-content: center;
    padding: 10px 16px;
    color: var(--bg);
    background: linear-gradient(95deg, var(--accent-green), var(--accent-blue));
    border-radius: var(--radius-sm);
    font-weight: 700; font-size: 14px;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.venue-card__pill {
    position: absolute; top: 12px; right: 12px;
    padding: 3px 8px;
    font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    background: hsla(228, 30%, 6%, 0.6);
    z-index: 2;
}

/* --- testimonials -------------------------------------------------------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
    padding: 24px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, hsla(228, 25%, 14%, 0.5), hsla(228, 25%, 10%, 0.5));
    border: 1px solid var(--panel-border);
}
.testimonial p { font-style: italic; }
.testimonial__author {
    color: var(--text-muted); font-size: 13px;
    display: flex; align-items: center; gap: 10px;
}
.testimonial__avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-blue));
    color: var(--bg);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700; font-size: 12px;
}

/* --- disclaimer ---------------------------------------------------------- */
.disclaimer-strip {
    padding: 22px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--panel-border);
    border-bottom: 1px solid var(--panel-border);
    background: hsl(228, 40%, 4%);
}

/* --- article pages ------------------------------------------------------- */
.article {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}
.article h1 { margin-bottom: 8px; }
.article .lead { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; }
.article h2 { margin-top: 40px; font-size: 1.4rem; }
.article h3 { margin-top: 28px; font-size: 1.1rem; }
.article p, .article li { color: var(--text); }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 8px; }

/* --- contact form -------------------------------------------------------- */
.form-grid { display: grid; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; color: var(--text-muted); }
.form-row input, .form-row textarea {
    background: hsl(228, 40%, 5%);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--text);
    font: 400 15px "Inter", sans-serif;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.form-row input:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px hsla(200, 100%, 60%, 0.14);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.contact-side {
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--panel-border);
    background: hsla(228, 25%, 10%, 0.6);
}
.contact-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }

/* --- age gate ------------------------------------------------------------ */
.age-gate {
    position: fixed; inset: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    background: hsla(228, 40%, 3%, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.age-gate__panel {
    max-width: 480px; width: 100%;
    padding: 40px 32px;
    background: linear-gradient(180deg, hsla(228, 25%, 14%, 0.95), hsla(228, 25%, 8%, 0.95));
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 30px 80px -20px hsla(150, 85%, 55%, 0.2);
}
.age-gate__badge {
    display: inline-flex; align-items: baseline;
    font-family: "Space Grotesk", sans-serif;
    font-size: 44px; font-weight: 700;
    color: var(--accent-green);
    text-shadow: 0 0 22px hsla(150, 85%, 55%, 0.6);
    margin-bottom: 12px;
}
.age-gate__badge span { font-size: 28px; margin-left: 2px; }
.age-gate__title { font-size: 1.4rem; margin-bottom: 12px; }
.age-gate__copy { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.age-gate__actions {
    display: flex; flex-direction: column; gap: 10px;
    align-items: center;
}
.age-gate__leave {
    color: var(--text-muted); font-size: 13px; padding: 8px;
    text-decoration: underline;
}
.age-gate__leave:hover { color: var(--text); }
.age-gate__foot {
    margin-top: 22px;
    color: var(--text-muted);
    font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}

/* --- footer -------------------------------------------------------------- */
.site-footer {
    margin-top: 40px;
    background: hsl(228, 40%, 4%);
    border-top: 1px solid var(--panel-border);
    padding-top: 52px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px;
}
.brand--footer { margin-bottom: 12px; }
.foot-h {
    font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 14px;
}
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { margin-bottom: 8px; }
.foot-list a { color: var(--text); font-size: 14px; }
.foot-list a:hover { color: var(--accent-green); }
.footer-line {
    padding: 22px 24px;
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
    border-top: 1px solid var(--panel-border);
}

/* --- responsive ---------------------------------------------------------- */
@media (max-width: 768px) {
    .nav { gap: 14px; }
    .nav a { font-size: 13px; }
    .hero { padding: 48px 0 24px; }
    .section { padding: 52px 0; }

    .reel { height: 168px; }
    .reel__cell { height: 56px; font-size: 34px; }
    .reel::before { top: 56px; height: 56px; }

    .howto-grid,
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .contact-layout { grid-template-columns: 1fr; }

    .slot__controls { flex-direction: column; }
    .slot__spin, .slot__topup { width: 100%; }
}
