/*
  Stake Games Landing Styles
  - Modern, accessible, responsive
  - Dark theme with accent color
*/

:root {
  --bg: #0f1420;
  --bg-elev: #141a2a;
  --card: #111827;
  --text: #e6ecff;
  --muted: #9aa7bd;
  --primary: #3df;
  --primary-600: #0db2ff;
  --accent: #78f5b7;
  --danger: #ff6b6b;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --radius: 14px;
  --ring: 0 0 0 3px rgba(0, 212, 255, 0.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  background: radial-gradient(1200px 800px at 80% -10%, rgba(64, 180, 255, 0.15), rgba(0,0,0,0)) , var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(to bottom, rgba(15,20,32,0.9), rgba(15,20,32,0.7));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.logo-mark { display:inline-grid; place-items:center; width:32px; height:32px; border-radius:8px; background: linear-gradient(135deg, var(--primary), var(--accent)); color:#0b1220; font-weight:800; }
.logo-text { letter-spacing: 0.2px; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); }
.menu-toggle { display:none; background:none; border:0; padding:8px; }
.menu-toggle span { display:block; width:24px; height:2px; background:#cfe3ff; margin:5px 0; border-radius:2px; }

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:10px; padding: 12px 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; transition: 200ms ease; }
.btn-primary { background: linear-gradient(180deg, var(--primary), var(--primary-600)); color: #0b1220; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0, 179, 255, 0.35); }
.btn-secondary { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.12); }
.btn-secondary:hover { background: rgba(255,255,255,0.06); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

/* Hero */
.hero { padding: 72px 0 36px; position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; }
.hero-copy h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.1; margin: 0 0 12px; }
.subtitle { color: var(--muted); margin-bottom: 22px; }
.cta { display: flex; gap: 12px; align-items:center; margin-bottom: 18px; flex-wrap: wrap; }
.trust-badges { display:flex; gap:10px; list-style:none; padding:0; margin:10px 0 0; color:#b9c6dc; flex-wrap: wrap; }
.trust-badges li { background: rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.08); padding:8px 12px; border-radius:999px; font-weight:600; }

.hero-card { position: relative; height: 100%; display: grid; place-items: center; }
.card-glow { position:absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(60px); background: radial-gradient(circle, rgba(0, 176, 255, 0.35), rgba(0,0,0,0)); transform: translate(30px, -10px); pointer-events: none; }
.card { position: relative; width: 340px; border-radius: 22px; background: linear-gradient(160deg, #0e1624, #0a0f1a); border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow); overflow: hidden; }
.card-top { display:flex; justify-content: space-between; padding: 16px; }
.chip { width: 34px; height: 24px; background: linear-gradient(160deg, #ffe66d, #ffb703); border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25); }
.signal { width: 14px; height: 14px; background: #2df; border-radius: 999px; box-shadow: 0 0 0 4px rgba(0, 191, 255, 0.15); }
.card-body { padding: 0 16px 18px; }
.meter { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); height: 8px; border-radius: 999px; overflow: hidden; margin: 6px 0 10px; }
.meter span { display:block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--primary)); }
.card-body p { margin: 6px 0; }
.small { color: var(--muted); font-size: 0.9rem; }

/* Sections */
section { padding: 56px 0; }
.features .grid, .games .grid, .rewards .grid { display:grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features h2, .games h2, .rewards h2, .faq h2 { margin: 0 0 18px; font-size: clamp(22px, 3vw, 34px); }

.feature, .game, .reward { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 18px; min-height: 140px; }
.feature .icon, .game .game-icon { font-size: 28px; }
.link { display:inline-flex; align-items:center; gap:8px; color: var(--primary); font-weight:700; margin-top: 6px; }
.link::after { content: '↗'; opacity: 0.8; }

.proof { background: linear-gradient(0deg, rgba(33, 53, 82, 0.25), rgba(0,0,0,0)); border-block: 1px solid rgba(255,255,255,0.06); }
.proof-inner { display:grid; grid-template-columns: 1.1fr 0.9fr; align-items: start; gap: 24px; }
.list { color: var(--muted); }
.code { background: #0b1220; color: #d7e7ff; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px; overflow:auto; }

.rewards .cta.center { display:grid; place-items:center; margin-top: 14px; }
.social-proof .badges { display:flex; gap:12px; flex-wrap: wrap; justify-content:center; color:#b9c6dc; }
.social-proof .badges span { background: rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.08); padding:8px 12px; border-radius:999px; font-weight:600; }

.faq .accordion details { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 10px 14px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq .content { color: var(--muted); padding-top: 8px; }

.disclaimer { background: #0b1220; border-top: 1px solid rgba(255,255,255,0.06); }
.disclaimer .small { color: #94a3b8; text-align:center; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; color: var(--muted); }
.footer-inner { display:flex; align-items:center; justify-content: space-between; }
.footer-nav { display:flex; gap: 16px; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--text); }

/* Forms */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: var(--text);
}
label span { display:block; font-weight:700; margin: 4px 0; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; }
.cookie-inner { display:flex; gap: 12px; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg-elev); border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow); }
.cookie-inner p { margin: 0; color: var(--muted); }
.cookie-inner .actions { display:flex; gap: 8px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .proof-inner { grid-template-columns: 1fr; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .nav { display:none; position:absolute; right: 16px; top: 58px; flex-direction: column; background: var(--bg-elev); border: 1px solid rgba(255,255,255,0.08); padding: 10px; border-radius: 12px; }
  .nav.open { display:flex; }
  .menu-toggle { display:block; }
  .grid.three { grid-template-columns: 1fr; }
  .grid.four { grid-template-columns: 1fr; }
}
