/* Robin Game website — hand-written, no framework, no external requests (fast + privacy friendly). */
:root {
  --bg: #0d0508;
  --bg-2: #150a0e;
  --card: #1c0e13;
  --card-2: #25121a;
  --line: rgba(255, 214, 90, 0.16);
  --gold: #f5b301;
  --gold-2: #ffd65a;
  --gold-dark: #b57d00;
  --ruby: #c0141f;
  --ruby-2: #8e0f17;
  --text: #f7eddb;
  --muted: #c9b99f;
  --paper: #fffaf0;
  --paper-2: #f6ecd6;
  --ink: #2a1a10;
  --ink-muted: #6b5844;
  --ok: #3ddc84;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", Arial, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1a0d00; padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.gold { color: var(--gold-2); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- top 18+ strip ---------- */
.notice-bar {
  background: linear-gradient(90deg, var(--ruby-2), var(--ruby));
  color: #fff;
  font-size: .86rem;
  text-align: center;
  padding: 7px 40px 7px 16px;
  position: relative;
}
.notice-bar button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: #fff; font-size: 1.2rem; cursor: pointer; padding: 4px 10px; line-height: 1;
}
.notice-bar[hidden] { display: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 5, 8, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 800; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(245, 179, 1, .25); }
.brand small { display: block; font-weight: 600; font-size: .68rem; color: var(--gold-2); letter-spacing: .12em; text-transform: uppercase; margin-top: -2px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--text); padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; display: block; }
.menu a.btn { display: inline-flex; padding: 10px 16px; color: #231300; margin-left: 6px; }
.menu a.btn:hover { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #231300; }
.menu a:hover, .menu a[aria-current="page"] { background: rgba(255, 214, 90, 0.1); color: var(--gold-2); text-decoration: none; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); color: var(--text); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: .2s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px; font-weight: 800; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  text-decoration: none !important; line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #231300; box-shadow: 0 10px 28px rgba(245, 179, 1, .35); }
.btn-gold:hover { box-shadow: 0 14px 34px rgba(245, 179, 1, .5); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 214, 90, .1); }
.btn-ruby { background: linear-gradient(180deg, #e0242f, var(--ruby)); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .92rem; border-radius: 11px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(192, 20, 31, .38), transparent 60%),
    radial-gradient(700px 420px at 0% 0%, rgba(245, 179, 1, .16), transparent 60%),
    var(--bg);
  padding: clamp(40px, 7vw, 84px) 0 clamp(48px, 7vw, 90px);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-2); font-weight: 700; font-size: .82rem; background: rgba(255, 214, 90, .06); margin-bottom: 18px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: .86rem; color: var(--muted); font-weight: 600; }
.chips li::before { content: "✓ "; color: var(--ok); font-weight: 800; }

/* phone mock */
.phone { width: min(320px, 78vw); margin-inline: auto; border-radius: 40px; padding: 12px; background: linear-gradient(160deg, #3a2a1a, #120a06); box-shadow: var(--shadow), 0 0 0 1px var(--line), 0 0 90px rgba(245, 179, 1, .18); position: relative; }
.phone-screen { background: linear-gradient(180deg, #1b0b10, #0f0609); border-radius: 30px; padding: 16px 14px 18px; min-height: 560px; overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.phone-top img { width: 38px; height: 38px; border-radius: 10px; }
.phone-top b { display: block; font-size: .95rem; }
.phone-top span { font-size: .72rem; color: var(--muted); }
.phone-balance { background: linear-gradient(135deg, #2b1a0d, #3a210f); border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.phone-balance small { color: var(--muted); font-size: .7rem; display: block; }
.phone-balance strong { font-size: 1.35rem; color: var(--gold-2); }
.phone-balance .pill { background: var(--gold); color: #231300; font-weight: 800; border-radius: 12px; padding: 9px 12px; font-size: .78rem; }
.mkt { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 214, 90, .12); border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.mkt-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mkt-head b { font-size: .92rem; }
.live { font-size: .62rem; font-weight: 800; letter-spacing: .08em; color: #052; background: var(--ok); padding: 3px 8px; border-radius: 99px; }
.closed { font-size: .62rem; font-weight: 800; letter-spacing: .08em; color: #fff; background: #6b5a4b; padding: 3px 8px; border-radius: 99px; }
.mkt-nums { display: flex; justify-content: space-around; text-align: center; font-weight: 800; letter-spacing: .12em; font-size: 1.12rem; }
.mkt-nums small { display: block; font-size: .6rem; color: var(--muted); letter-spacing: .08em; font-weight: 600; }
.mkt-nums .j { color: var(--gold-2); }
.mkt .play { margin-top: 9px; text-align: center; background: linear-gradient(180deg, #e0242f, var(--ruby)); border-radius: 10px; padding: 7px; font-weight: 800; font-size: .8rem; }
.floating-tag { position: absolute; background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 9px 13px; font-size: .78rem; font-weight: 700; box-shadow: var(--shadow); }
.floating-tag.t1 { left: -34px; top: 90px; }
.floating-tag.t2 { right: -30px; bottom: 120px; }

/* ---------- sections ---------- */
section { padding: clamp(44px, 6vw, 78px) 0; }
.section-head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-head p { color: var(--muted); }
.kicker { color: var(--gold); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; display: block; margin-bottom: 10px; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(245, 179, 1, .2), rgba(192, 20, 31, .25)); display: grid; place-items: center; margin-bottom: 14px; color: var(--gold-2); }
.icon svg { width: 26px; height: 26px; }
.steps { counter-reset: s; }
.step { position: relative; padding-left: 64px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #231300; font-weight: 900; font-size: 1.25rem; display: grid; place-items: center; }

/* ---------- results widget ---------- */
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.results-bar .stamp { color: var(--muted); font-size: .86rem; }
.results-bar select, .results-bar input { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: inherit; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.rcard { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.rcard.hot { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 14px 36px rgba(245, 179, 1, .18); }
.rcard h3 { font-size: 1rem; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rcard .badge { font-size: .62rem; font-weight: 800; letter-spacing: .08em; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: var(--muted); }
.rcard .badge.done { background: rgba(61, 220, 132, .18); color: var(--ok); }
.rnums { display: flex; justify-content: space-between; text-align: center; font-weight: 800; font-size: 1.35rem; letter-spacing: .1em; }
.rnums small { display: block; color: var(--muted); font-size: .64rem; letter-spacing: .08em; font-weight: 700; margin-bottom: 2px; }
.rnums .j { color: var(--gold-2); }
.rnums .pending { opacity: .45; }
.results-state { text-align: center; padding: 30px 10px; color: var(--muted); }
.skeleton { height: 108px; border-radius: 16px; background: linear-gradient(90deg, var(--card) 25%, var(--card-2) 50%, var(--card) 75%); background-size: 200% 100%; animation: sk 1.3s infinite; border: 1px solid var(--line); }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- rate table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table.rates { width: 100%; border-collapse: collapse; min-width: 560px; }
.rates th, .rates td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.rates th { background: var(--card-2); color: var(--gold-2); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; position: sticky; top: 0; }
.rates tr:last-child td { border-bottom: 0; }
.rates tbody tr:hover td { background: rgba(255, 214, 90, .05); }
.rates td.win { color: var(--gold-2); font-weight: 800; white-space: nowrap; }
.rates td small { color: var(--muted); display: block; font-size: .82rem; }
.calc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
.calc label { display: block; font-size: .8rem; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.calc select, .calc input { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; font: inherit; }
.calc output { display: block; font-size: 1.6rem; font-weight: 900; color: var(--gold-2); padding: 8px 0; }

/* ---------- FAQ ---------- */
details.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 700; padding: 18px 54px 18px 20px; list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold-2); transition: .2s; }
details.faq[open] summary::after { content: "–"; }
details.faq .a { padding: 0 20px 18px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--ruby-2), #3a0b10 55%, #170a0e); border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 5vw, 54px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; color: #f0d9c0; }

/* ---------- market chips ---------- */
.mchips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.mchips li a, .mchips li span { display: block; padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: .93rem; }
.mchips li a:hover { background: rgba(255, 214, 90, .12); text-decoration: none; border-color: var(--gold); }

/* ---------- breadcrumbs / page head ---------- */
.page-head { padding: clamp(34px, 5vw, 60px) 0 24px; background: radial-gradient(700px 300px at 90% -20%, rgba(192, 20, 31, .3), transparent 60%), var(--bg-2); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.page-head p.lead { color: var(--muted); max-width: 70ch; font-size: 1.08rem; margin: 0; }

/* ---------- prose (SEO text + legal) ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { margin-top: 1.8em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.15rem; color: var(--gold-2); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose p, .prose li { color: #e8dcc6; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--card-2); color: var(--gold-2); }
.callout { border-left: 4px solid var(--gold); background: rgba(255, 214, 90, .07); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 1.2em 0; color: #f1e4cb; }
.callout.warn { border-color: var(--ruby); background: rgba(192, 20, 31, .12); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 0 0 28px; }
.toc b { color: var(--gold-2); }
.toc ol { margin: 8px 0 0; columns: 2; column-gap: 30px; }
.toc a { color: var(--text); }
.meta-line { color: var(--muted); font-size: .9rem; }

/* legal pages: light paper for long reading */
body.legal { background: var(--paper); color: var(--ink); }
body.legal .page-head { background: linear-gradient(180deg, #2b0f15, #190a0e); }
body.legal .doc { background: #fff; border: 1px solid #ead8b4; border-radius: 20px; padding: clamp(22px, 4vw, 48px); box-shadow: 0 18px 50px rgba(120, 80, 20, .12); margin-top: -26px; position: relative; }
body.legal .prose p, body.legal .prose li { color: #3a2a1a; }
body.legal .prose h2 { color: #1f130a; border-bottom: 2px solid #f1dfb8; padding-bottom: .3em; }
body.legal .prose h3 { color: #8a5a00; }
body.legal .prose th { background: #f6ecd6; color: #5b3d00; }
body.legal .prose th, body.legal .prose td { border-color: #e6d4ac; }
body.legal .toc { background: #fbf4e4; border-color: #ead8b4; }
body.legal .toc a { color: #5b3d00; }
body.legal .toc b { color: #8a5a00; }
body.legal .callout { background: #fff4d6; color: #4a3200; }
body.legal .callout.warn { background: #fde7e7; border-color: var(--ruby); color: #5a1014; }
body.legal .meta-line { color: #7a6650; }
body.legal .doc a { color: #9b5f00; text-decoration: underline; }
body.legal .page-head h1, body.legal .page-head .crumbs span { color: var(--text); }
body.legal .page-head p.lead { color: #d9c9ae; }
body.legal .page-head .crumbs a { color: #d9c9ae; text-decoration: none; }
body.legal .page-head .crumbs a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { background: #090305; border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { color: var(--muted); font-size: .95rem; }
.foot-grid a:hover { color: var(--gold-2); }
.foot-brand p { color: var(--muted); font-size: .92rem; max-width: 38ch; }
.legal-strip { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: #a99a82; font-size: .84rem; }
.legal-strip .age { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #fff; background: var(--ruby); border-radius: 8px; padding: 3px 10px; margin-right: 10px; }

/* mobile sticky download bar */
.sticky-dl { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(13, 5, 8, .96); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px; align-items: center; backdrop-filter: blur(8px); }
.sticky-dl img { width: 38px; height: 38px; border-radius: 10px; }
.sticky-dl div { flex: 1; font-size: .82rem; line-height: 1.25; }
.sticky-dl b { display: block; font-size: .95rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .floating-tag { display: none; }
}
@media (max-width: 760px) {
  /* wide legal tables scroll sideways inside themselves instead of stretching the page */
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav-toggle { display: block; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #0d0508; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; display: none; }
  .menu.open { display: flex; }
  .menu a { padding: 14px; }
  .menu a.btn { margin: 8px 0 0; justify-content: center; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .sticky-dl { display: flex; }
  body { padding-bottom: 66px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .sticky-dl, .notice-bar, .cta-band { display: none; }
  body, body.legal { background: #fff; color: #000; }
}
