:root{
  --brand:#4A6CF7;
  --brand-2:#1A1A1A;
  --accent:#FFB703;
  --bg:#0f1115;
  --surface:#131620;
  --text:#E7EAF6;
  --muted:#98A2B3;
  --tile:#1F2A48;
  --card:#0f1424;
  --border:#1f2a44;
}
:root.light{
  --bg:#ffffff;
  --surface:#f6f7fb;
  --text:#0f1424;
  --muted:#5c667a;
  --tile:#E9EDFF;
  --card:#ffffff;
  --border:#e6e9f4;
}
*{box-sizing:border-box}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji";
}
.container{max-width:1100px; margin:0 auto; padding:24px}
.btn{
  display:inline-flex; align-items:center; gap:8px; border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  color:var(--text); padding:10px 14px; border-radius:10px; cursor:pointer; text-decoration:none;
}
.btn.primary{ background:linear-gradient(180deg, #4A6CF7, #3a59d8); border-color:#2c47a3; color:#fff; }
.btn:hover{ filter:brightness(1.05); }
.grid{ display:grid; gap:18px; }
.card{
  background:var(--card); border:1px solid var(--border); border-radius:16px; padding:18px;
  box-shadow: 0 2px 24px rgba(0,0,0,.2);
}
.hero{
  padding:32px 0 12px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.logo-wrap{ display:flex; align-items:center; gap:14px; }
.logo-wrap img{ width:48px; height:48px; border-radius:10px; }
.brand-title{ font-weight:900; letter-spacing:.5px; font-size:22px; }
.nav{ display:flex; gap:10px; flex-wrap:wrap; }
.h1{ font-size: clamp(28px, 3vw, 44px); margin:10px 0 0; font-weight:900; }
.h2{ font-size: clamp(20px, 2vw, 28px); margin:0; font-weight:800; }
.tagline{ color:var(--muted); margin-top:10px; max-width:52ch; }
.tiles-demo{ display:grid; grid-template-columns: repeat(5, 52px); gap:8px; margin-top:18px; }
.tile{ width:52px; height:52px; border-radius:10px; background:var(--tile); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:18px; }
.tile.accent{ background:var(--brand); }
.tile.gold{ background:var(--accent); color:#111; }
.section{ margin:28px 0; }
.games-grid{ grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.footer{ margin:40px 0 24px; color:var(--muted); font-size:14px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.badge{ background:var(--tile); color:var(--text); font-weight:700; padding:4px 8px; border-radius:6px; border:1px solid var(--border); }
.ad-unit {
  width: 100%;
  max-width: 728px;
  height: 90px;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 12px;
  margin: 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}
:root.light .ad-unit {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.15);
}
