/* =========================================================
   Vasama Play — Nordic minimal / austere / geometric theme
   ========================================================= */

:root {
    --bg-cool:      hsl(220, 15%, 96%);
    --panel:        hsl(220, 12%, 92%);
    --panel-2:      hsl(220, 10%, 88%);
    --ink-deep:     hsl(220, 40%, 12%);
    --ink-mid:      hsl(220, 25%, 35%);
    --muted:        hsl(220, 10%, 55%);
    --copper:       hsl(20, 55%, 48%);
    --copper-soft:  hsl(20, 50%, 60%);
    --hair:         hsl(220, 12%, 78%);
    --hair-soft:    hsl(220, 10%, 84%);
    --shadow-soft:  0 1px 2px rgba(20, 30, 55, 0.06);
    --shadow-mid:   0 4px 16px rgba(20, 30, 55, 0.08);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-cool);
    color: var(--ink-mid);
    font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -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: 'Manrope', sans-serif;
    color: var(--ink-deep);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
h3 { font-size: 19px; line-height: 1.3; }

p { margin: 0 0 1em; }

a { color: var(--copper); text-decoration: none; }
a:hover { text-decoration: underline; }

em, i { font-family: 'IBM Plex Serif', Georgia, serif; font-style: italic; }

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

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

.section {
    padding: 88px 0;
}

.eyebrow {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 10px;
    font-weight: 700;
    color: var(--copper);
    margin-bottom: 14px;
}

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

.copper-btn {
    display: inline-block;
    background: var(--copper);
    color: #fbf8f5;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 24px;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
    text-decoration: none;
    line-height: 1;
}
.copper-btn:hover  { background: hsl(20, 55%, 40%); text-decoration: none; }
.copper-btn:active { transform: translateY(1px); }
.copper-btn.small  { padding: 10px 16px; font-size: 11px; }
.copper-btn[disabled],
.copper-btn.is-disabled {
    background: hsl(220, 10%, 70%);
    color: #eef0f4;
    cursor: not-allowed;
}

.ghost-btn {
    display: inline-block;
    background: transparent;
    color: var(--ink-deep);
    border: 1px solid var(--ink-deep);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 13px 22px;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
}
.ghost-btn:hover { background: var(--ink-deep); color: #fbf8f5; text-decoration: none; }

.copper-badge {
    display: inline-block;
    background: transparent;
    color: var(--copper);
    border: 1px solid var(--copper);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(242, 243, 246, 0.94);
    backdrop-filter: saturate(140%) blur(8px);
    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: 12px;
    color: var(--ink-deep);
    text-decoration: none;
}
.brand-mark:hover { text-decoration: none; }
.brand-word {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: 0.28em;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--ink-deep);
}
.brand-glyph { color: var(--copper); }
.site-nav a {
    color: var(--ink-mid);
    font-size: 13px;
    font-weight: 600;
    margin-left: 26px;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.site-nav a:hover { color: var(--ink-deep); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    background: var(--bg-cool);
    padding: 104px 0 88px;
    border-bottom: 1px solid var(--hair);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(20,30,55,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(20,30,55,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.hero-inner {
    max-width: 820px;
    position: relative;
}
.hero-rule {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--copper);
    margin-bottom: 26px;
}
.hero h1 { margin-bottom: 20px; }
.hero-sub {
    font-size: 19px;
    color: var(--ink-mid);
    margin-bottom: 32px;
    max-width: 640px;
    line-height: 1.55;
}
.hero-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--ink-mid);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
}
.hero-meta .arrow {
    color: var(--copper);
    font-weight: 700;
}

/* ---------- Slot machine ---------- */

.slot-section {
    background: var(--panel);
    padding: 72px 0 96px;
    border-bottom: 1px solid var(--hair);
}
.slot-frame {
    background: var(--ink-deep);
    border: 1px solid var(--ink-deep);
    border-radius: 4px;
    padding: 30px;
    box-shadow: var(--shadow-mid);
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    color: #eef0f4;
}
.slot-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.slot-title {
    font-family: 'Manrope', sans-serif;
    color: #eef0f4;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}
.slot-balance {
    background: transparent;
    border: 1px solid var(--copper);
    color: #eef0f4;
    padding: 8px 14px;
    border-radius: 2px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}
.slot-balance .coins-num { color: var(--copper-soft); }

.reels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: var(--ink-deep);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 2px;
    padding: 6px;
    margin-bottom: 18px;
}
.reel {
    background: #fbfbfd;
    border-radius: 2px;
    height: 210px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.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: 40px;
    line-height: 1;
    width: 100%;
    color: var(--ink-deep);
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    font-weight: 500;
}
.reel-center-mask {
    pointer-events: none;
    position: absolute;
    left: 0; right: 0;
    top: 70px; height: 70px;
    border-top: 1px solid var(--copper);
    border-bottom: 1px solid var(--copper);
    box-shadow: 0 0 0 1px rgba(201, 107, 50, 0.15) inset;
}

.slot-readout {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    padding: 10px 14px;
    font-size: 12px;
    color: #c7cbd6;
    text-align: center;
    margin-bottom: 18px;
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}
.slot-readout strong { color: #eef0f4; }

.slot-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.spin-btn { min-width: 170px; }
.daily-btn {
    background: transparent;
    color: #eef0f4;
    border: 1px solid #eef0f4;
}
.daily-btn:hover:not([disabled]) { background: #eef0f4; color: var(--ink-deep); }
.daily-btn.is-disabled {
    background: transparent;
    color: #6a7285;
    border-color: #3a4055;
}

.slot-note {
    font-size: 11px;
    color: #98a0b3;
    text-align: center;
    margin-top: 16px;
    letter-spacing: 0.06em;
    line-height: 1.6;
}

.win-flash {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--copper);
    color: #fbf8f5;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 2px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    box-shadow: 0 0 24px rgba(201, 107, 50, 0.4);
}
.win-flash.show { opacity: 1; transform: translateX(-50%) translateY(0); }

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

.venues-section {
    background: var(--bg-cool);
    padding: 72px 0 96px;
}
.venues-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 44px;
}
.venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.venue-card {
    background: #fff;
    border: 1px solid var(--hair-soft);
    border-radius: 2px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
}
.venue-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-mid);
    border-color: var(--copper);
    text-decoration: none;
}
.venue-logo {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid var(--hair-soft);
    padding-bottom: 12px;
}
.venue-logo img { max-height: 46px; max-width: 160px; object-fit: contain; }
.venue-name {
    font-family: 'Manrope', sans-serif;
    color: var(--ink-deep);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.005em;
}
.venue-blurb {
    color: var(--ink-mid);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}
.venue-cta {
    color: var(--copper);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 4px;
}

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

.howto {
    background: var(--panel);
    padding: 88px 0;
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
}
.howto-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.howto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.howto-card {
    background: var(--bg-cool);
    border: 1px solid var(--hair);
    border-radius: 2px;
    padding: 32px 28px;
    position: relative;
}
.howto-card::before {
    content: "";
    position: absolute;
    left: 28px; right: 28px; top: 20px;
    height: 1px;
    background: var(--copper);
}
.howto-card h3 { margin-top: 34px; margin-bottom: 12px; }
.howto-num {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    color: var(--copper);
    letter-spacing: 0.28em;
    font-weight: 700;
    text-transform: uppercase;
}

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

.voices { padding: 88px 0; background: var(--bg-cool); }
.voices-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.voices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.voice-card {
    background: #fff;
    border: 1px solid var(--hair-soft);
    border-radius: 2px;
    padding: 32px 28px;
    position: relative;
}
.voice-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--copper);
}
.voice-quote {
    font-family: 'IBM Plex Serif', Georgia, serif;
    font-style: italic;
    color: var(--ink-deep);
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 16px;
    font-weight: 400;
}
.voice-attr {
    font-size: 11px;
    color: var(--ink-mid);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
}

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

.respo {
    background: var(--ink-deep);
    color: #c7cbd6;
    padding: 36px 0;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.02em;
}
.respo strong { color: #fbfbfd; }
.respo a { color: var(--copper-soft); }

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

.site-footer {
    background: var(--ink-deep);
    color: #b5bccb;
    padding: 64px 0 28px;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: 0.28em;
    font-size: 13px;
    color: #fbfbfd;
    margin-bottom: 14px;
}
.footer-blurb { font-size: 13px; line-height: 1.65; color: #98a0b3; }
.footer-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--copper-soft);
    margin-bottom: 16px;
    font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #b5bccb; font-size: 13px; text-decoration: none; }
.footer-col ul li a:hover { color: #fbfbfd; text-decoration: underline; }
.footer-contact {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.7;
    color: #98a0b3;
}
.footer-addr { margin-top: 10px; color: #7a8299; font-size: 12px; }
.footer-bottom {
    padding-top: 22px;
    font-size: 11px;
    color: #7a8299;
    text-align: center;
    letter-spacing: 0.05em;
}

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

.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(20, 30, 55, 0.88);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
}
.age-gate-card {
    background: var(--bg-cool);
    border-radius: 2px;
    max-width: 460px;
    width: 100%;
    padding: 44px 36px 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    border-top: 2px solid var(--copper);
}
.age-gate-title {
    font-family: 'Manrope', sans-serif;
    color: var(--ink-deep);
    font-size: 68px;
    font-weight: 800;
    margin: 14px 0 18px;
    line-height: 1;
    letter-spacing: -0.02em;
}
.age-gate-copy {
    color: var(--ink-mid);
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 26px;
}
.age-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    margin-bottom: 22px;
}
.age-gate-decline {
    color: var(--ink-mid);
    font-size: 12px;
    text-decoration: underline;
    letter-spacing: 0.03em;
}
.age-gate-fine {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 14px 0 0;
    opacity: 0.9;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink-deep);
    color: #b5bccb;
    z-index: 900;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.2);
    padding: 16px 0;
    border-top: 1px solid var(--copper);
}
.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.cookie-copy {
    margin: 0;
    font-size: 13px;
    color: #b5bccb;
    max-width: 780px;
}
.cookie-copy a { color: var(--copper-soft); }

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

.doc-page { padding: 72px 0 96px; background: var(--bg-cool); }
.doc-inner { max-width: 780px; margin: 0 auto; }
.doc-inner h1 { margin-bottom: 10px; }
.doc-inner h2 { margin-top: 40px; margin-bottom: 14px; }
.doc-inner p, .doc-inner li { color: var(--ink-mid); font-size: 15.5px; line-height: 1.7; }
.doc-inner ul { padding-left: 22px; }
.doc-inner code {
    background: var(--panel);
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 13px;
    color: var(--ink-deep);
    font-family: "SF Mono", Menlo, monospace;
}
.doc-meta {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 600;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 520px;
    margin-top: 28px;
}
.contact-form label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink-mid);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    padding: 12px 14px;
    border: 1px solid var(--hair);
    border-radius: 2px;
    background: #fff;
    color: var(--ink-deep);
    width: 100%;
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--copper);
    outline-offset: 1px;
    border-color: var(--copper);
}

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

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .hero { padding: 72px 0 56px; }
    .site-nav a { margin-left: 16px; font-size: 12px; }
    .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: 34px; }
    .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, 15%, 96%);
  border: 1px solid rgba(191, 106, 66, 0.35);   /* copper hairline */
  border-radius: 10px;
  padding: 28px 24px 24px;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  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(31, 40, 68, 0.15);
  border-radius: 4px;
  font-size: 22px; line-height: 1;
  cursor: pointer;
  color: hsl(220, 40%, 12%);
  transition: background .15s ease, border-color .15s ease;
}
.brand-overlay__close:hover { background: rgba(191, 106, 66, 0.08); border-color: hsl(20, 55%, 48%); }
.brand-overlay__head { text-align: center; padding: 8px 16px 20px; border-bottom: 1px solid rgba(31, 40, 68, 0.08); margin-bottom: 20px; }
.brand-overlay__head .eyebrow { display: block; margin-bottom: 6px; }
.brand-overlay__head h2 { margin: 6px 0 8px; font-size: 1.6rem; font-family: 'Manrope', sans-serif; font-weight: 700; letter-spacing: -0.01em; color: hsl(220, 40%, 12%); }
.brand-overlay__head p { margin: 0; color: hsl(220, 25%, 40%); font-size: 0.92rem; }
.brand-overlay__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }

body.overlay-open { overflow: hidden; }

@media (max-width: 640px) {
  .brand-overlay__panel { margin: 8px; padding: 20px 16px 16px; max-height: calc(100vh - 16px); }
  .brand-overlay__head h2 { font-size: 1.3rem; }
  .brand-overlay__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
