:root{
  /* Theme tokens */
  --bg: #07097C;
  --panel: #10182a;
  --panel2:#0f1424;
  --text:#e8eefc;
  --muted:#a8b3d4;
  --stroke: rgba(255,255,255,.10);
  --accent:#DD5D35;
  --accent2:#2f7cff;
  --good:#2bd576;
  --bad:#ff4d4d;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font: 16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;

  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(47,124,255,.25), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(255, 98, 0, 0.22), transparent 40%),
    linear-gradient(180deg, #07097C, var(--bg));

  /* IMPORTANT: avoid seams / repeats */
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 140% 140%, 140% 140%, cover;
  background-position: 20% -10%, 90% 10%, center;

  color:var(--text);
}

a{ color:inherit; text-decoration:none; }
.wrap{ max-width:var(--max); margin:0 auto; padding:24px; }

/* Top bar */
.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(7,10,18,.55);
  border-bottom:1px solid var(--stroke);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px 24px;
}

.brand{ display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.2px; }
.logo-img{
  height:30px;
  width:auto;
}
.brand-title{ font-size:24px; font-style: italic; font-weight: 800; letter-spacing: .3px; }
.brand-sub{ font-size:12px; color:var(--muted); margin-top:-2px; }

.nav{ display:flex; gap:14px; color:var(--muted); font-size:14px; }
.nav a{ padding:8px 10px; border-radius:10px; }
.nav a:hover{ background: rgba(255,255,255,.06); color:var(--text); }

.actions{ display:flex; gap:10px; align-items:center; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:40px; padding:0 14px; border-radius:12px;
  border:1px solid var(--stroke);
  background:rgba(244, 66, 7, 0.926);
  color:var(--text);
  font-weight:600; font-size:14px;
  cursor:pointer;
}
.btn:hover{ background: rgba(255,255,255,.08); }
.btn.primary{
  border-color: rgba(255,138,0,.35);
  background: linear-gradient(135deg, rgba(47,124,255,.25), rgba(255,138,0,.25));
}

/* Hero */
.hero{ padding:36px 0 12px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:18px;
  align-items:stretch;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* SINGLE correct hero-main block (no duplicates) */
.hero-main{
  padding:26px;
  position:relative;
  overflow:hidden;
}
.hero-main:before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  pointer-events:none;
  opacity:.9;

  background:
    radial-gradient(700px 300px at 10% 0%, rgba(47,124,255,.25), transparent 60%),
    radial-gradient(600px 280px at 90% 10%, rgba(255,138,0,.22), transparent 55%);

  background-repeat: no-repeat;
  background-size: 140% 140%, 140% 140%;
  background-position: 10% 0%, 90% 10%;
}
.hero-main > *{ position:relative; }

h1{ margin:10px 0 10px; font-size:38px; line-height:1.15; }
.sub{ color:var(--muted); max-width:60ch; }
.hero-cta{ display:flex; gap:10px; margin-top:18px; flex-wrap:wrap; }

.pillrow{ display:flex; gap:8px; margin-top:16px; flex-wrap:wrap; }
.pill{
  font-size:12px; color:var(--muted);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  padding:6px 10px; border-radius:999px;
}

.hero-side{ padding:18px; display:flex; flex-direction:column; gap:12px; }
.stat{
  padding:14px; border-radius:14px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.18);
}
.stat b{ display:block; font-size:18px; }
.stat span{ color:var(--muted); font-size:13px; }

/* Sections */
section{ padding:18px 0; }
.section-title{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:12px; margin:10px 0 12px;
}
.section-title h2{ margin:0; font-size:22px; }
.section-title p{ margin:0; color:var(--muted); font-size:13px; }

.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.grid4{ display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; }

.feature{ padding:16px; }
.feature h3{ margin:0 0 6px; font-size:16px; }
.feature p{ margin:0; color:var(--muted); font-size:14px; }

.step{ padding:16px; }
.step h3{ margin:0 0 6px; font-size:16px; }
.step p{ margin:0; color:var(--muted); font-size:14px; }
.num{
  width:30px; height:30px; border-radius:10px;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(47,124,255,.18);
  border:1px solid rgba(47,124,255,.35);
  margin-bottom:10px;
  font-weight:700;
}

/* Games */
.game{ padding:14px; }
.thumb{
  height:96px; border-radius:14px;
  border:1px solid var(--stroke);
  background:
    linear-gradient(135deg, rgba(47,124,255,.18), rgba(255,138,0,.14)),
    radial-gradient(200px 90px at 30% 20%, rgba(255,255,255,.12), transparent 60%);
  margin-bottom:10px;
}
.game b{ display:block; }
.game small{ color:var(--muted); }

/* FAQ */
details{
  border:1px solid var(--stroke);
  border-radius:14px;
  background: rgba(255,255,255,.03);
  padding:12px 14px;
}
details + details{ margin-top:10px; }
summary{ cursor:pointer; font-weight:600; }
details p{ margin:10px 0 0; color:var(--muted); }

/* Footer */
footer{
  margin-top:18px;
  border-top:1px solid var(--stroke);
  padding:18px 0 30px;
  color:var(--muted);
  font-size:13px;
}
.footgrid{
  display:grid; grid-template-columns: 1.2fr .8fr; gap:14px;
  align-items:start;
}
.note{
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.20);
  border-radius:14px;
  padding:12px 14px;
}
.note-title{ color:var(--text); }
.note-text{ margin-top:6px; }

/* Responsive */
@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid4{ grid-template-columns: repeat(2, 1fr); }
  h1{ font-size:32px; }
  .nav{ display:none; }
  .footgrid{ grid-template-columns: 1fr; }
}

/* Content blocks typography/padding */
.content-card{ overflow: hidden; }
.content-card .content-pad{ padding: 18px 20px; }
.content-card p{
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}
.content-card p:last-child{ margin-bottom: 0; }
.content-card{
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Facts table: clean alignment */
.table-wrap{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.facts-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
}

.facts-table thead th{
  text-align: left;
  font-size: 13px;
  letter-spacing: .2px;
  color: var(--muted);
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--stroke);
}

.facts-table tbody td{
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  vertical-align: top;
  line-height: 1.55;
}

.facts-table tbody tr:hover td{
  background: rgba(255,255,255,.03);
}

.facts-table tbody td:first-child{
  width: 220px;
  color: rgba(232,238,252,.92);
  font-weight: 600;
  white-space: nowrap;
}

.facts-table tbody td:last-child{
  color: var(--text);
}

.facts-table tbody tr:last-child td{
  border-bottom: none;
}

.facts-table td{
  overflow-wrap: anywhere;
}

.muted-note{
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 13px;
}

/* Mobile: turn table into key-value cards */
@media (max-width: 720px){
  .facts-table{
    min-width: 0;
    border-spacing: 0 10px;
    border-collapse: separate;
  }

  .facts-table thead{ display: none; }

  .facts-table tbody tr{
    display: block;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
    border-radius: 14px;
    overflow: hidden;
  }

  .facts-table tbody td{
    display: block;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 12px 14px;
  }

  .facts-table tbody td:first-child{
    width: auto;
    white-space: normal;
    color: var(--muted);
    font-weight: 600;
    background: rgba(255,255,255,.03);
  }

  .facts-table tbody td:last-child{
    border-bottom: none;
    color: var(--text);
  }
}
