/* Investo Entertainment — one stylesheet, phone first. The same design language as Investo's other surfaces (V402:
   plain hairline cards, one gold-edged card per screen, a gold gradient main button with a glow, an outlined second),
   in Rockfall's gold (#d4a843, highlight #ffe9a0) and Montserrat, the logo's typeface. */
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/montserrat-latin.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0b0d; --card-1: #14161c; --card-2: #111318; --line: rgba(255,255,255,.075);
  --gold: #d4a843; --gold-hi: #ffe9a0; --gold-edge: rgba(212,168,67,.42);
  --text: #f4f1ea; --dim: #b9b4aa; --dimmer: #8a867e;
  --r: 18px; --gutter: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-hi); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-left)); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1a1200; padding: 8px 12px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(10,11,13,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.top-logo img { width: 128px; height: auto; }
.top-nav { display: none; margin-left: auto; gap: 22px; }
.top-nav a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 14px; }
.top-nav a:hover { color: var(--text); }
.top .age { margin-left: auto; }
.age { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 26px; padding: 0 8px; border: 1.5px solid var(--gold-edge); border-radius: 999px; color: var(--gold-hi); font-weight: 800; font-size: 12.5px; letter-spacing: .02em; }
@media (min-width: 760px) { .top-nav { display: flex; } .top .age { margin-left: 8px; } .top-logo img { width: 150px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 44px 0 40px; text-align: center;
  background: radial-gradient(90% 60% at 50% 0%, rgba(212,168,67,.16), transparent 70%), var(--bg); }
.hero-logo img { width: min(78vw, 340px); margin: 0 auto; }
.hero-line { margin: 22px auto 0; max-width: 30ch; font-size: 19px; line-height: 1.45; font-weight: 600; color: var(--text); }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin: 26px auto 0; max-width: 360px; }
@media (min-width: 760px) {
  .hero { padding: 84px 0 76px; }
  .hero-logo img { width: min(70vw, 640px); }
  .hero-line { font-size: 22px; max-width: none; }
  .hero-actions { flex-direction: row; justify-content: center; max-width: none; }
}

/* Buttons: one gold gradient with a glow, one outlined */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 15.5px; text-decoration: none;
  background: linear-gradient(180deg, #e9c46a, #c99a33); color: #1a1200; box-shadow: 0 12px 28px -12px rgba(212,168,67,.65); }
.btn-2 { background: transparent; color: var(--text); border: 1px solid var(--gold-edge); box-shadow: none; }

/* Sections */
.band { padding: 34px 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .band { padding: 64px 0; } }
.kicker { margin: 0 0 6px; color: var(--gold); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
@media (min-width: 760px) { h2 { font-size: 36px; } }
.lead { margin: 12px 0 18px; color: var(--dim); font-size: 16.5px; }
.head-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--gold-edge); background: rgba(212,168,67,.08); color: var(--gold-hi); font-weight: 700; font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,67,.2); }

/* Rockfall cover: the game's own background and boulder, with the title set in the logo's typeface */
.cover { position: relative; margin: 18px 0 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 4; max-height: 560px; width: 100%; background: #2a1a0c; }
.cover-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-boulder { position: absolute; left: 50%; top: 44%; width: 78%; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.cover-title { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; font-weight: 800; font-size: clamp(40px, 12vw, 84px); letter-spacing: .01em; color: #fff7e6; text-shadow: 0 4px 0 rgba(90,50,10,.45), 0 10px 30px rgba(60,30,5,.55); }
@media (min-width: 560px) { .cover { aspect-ratio: 16 / 9; max-height: none; } .cover-boulder { width: 46%; top: 45%; } }
.status-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-2); color: var(--dim); font-size: 14.5px; }
.status-note b { color: var(--text); }

/* Cards */
.grid-2 { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1.15fr 1fr; gap: 16px; } }
.card { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-1), var(--card-2)); }
.card-hero { border-color: var(--gold-edge); background: radial-gradient(120% 70% at 85% -10%, rgba(212,168,67,.14), transparent 60%), linear-gradient(180deg, #17150f, var(--card-2));
  box-shadow: 0 18px 50px -24px rgba(212,168,67,.35), inset 0 1px 0 rgba(255,236,200,.06); }
.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.card p { margin: 0 0 12px; color: var(--dim); font-size: 15px; }
.card p:last-child { margin-bottom: 0; }
.small { font-size: 13.5px !important; }
.small b, .card p b { color: var(--text); }
.tiers { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.tiers li { display: grid; grid-template-columns: 86px 1fr; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 14.5px; color: var(--dim); }
.tiers b { color: var(--text); }
.tier-n { color: var(--gold); font-weight: 700; font-size: 13px; padding-top: 1px; }
.facts { margin: 0 0 14px; }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; padding-top: 2px; }
.facts dt { color: var(--dim); font-size: 14.5px; }
.facts dd { margin: 0; font-weight: 800; font-size: 16px; text-align: right; color: var(--text); }
.facts dt, .facts dd { white-space: nowrap; }
@media (max-width: 420px) { .facts div { gap: 8px; } .facts dt { font-size: 14px; } .facts dd { font-size: 15px; } }

/* Responsible play */
.rg { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card-2); }
.rg-title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 800; font-size: 18px; }
.rg p { color: var(--dim); }
.rg p.rg-title { color: var(--text); }
.rg p:last-child { margin: 0; }
.age-lg { height: 30px; min-width: 44px; font-size: 14px; }

/* Footer */
.foot { padding: 30px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #08090b; }
.foot-mark { width: 40px; margin-bottom: 14px; }
.foot-rg { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; color: var(--dim); font-size: 14px; font-weight: 600; }
.legal { margin: 0 0 8px; color: var(--dimmer); font-size: 12.5px; line-height: 1.55; max-width: 760px; }

/* 404 */
.nf { display: grid; place-items: center; min-height: 100vh; padding: 16px; text-align: center; }
