:root{
  --bg:#07120c;
  --panel:#0b1b12;
  --soft:#0f2418;
  --text:#f3f7f4;
  --muted:#b9c7bf;
  --gold:#d7b45a;
  --green:#1f8a4b;
  --border:rgba(255,255,255,.10);
  --shadow: 0 12px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(31,138,75,.25), transparent 55%),
              radial-gradient(900px 500px at 90% 10%, rgba(215,180,90,.18), transparent 55%),
              var(--bg);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.container{width:min(1100px,92%);margin:0 auto}

.topbar{
  position:sticky; top:0; z-index:10;
  background: rgba(7,18,12,.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.topbar__inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:700}
.brand__dot{width:10px;height:10px;border-radius:999px;background:var(--gold);box-shadow:0 0 0 4px rgba(215,180,90,.18)}
.brand__name{letter-spacing:.3px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  font-weight:600;
}
.btn--primary{
  background: linear-gradient(180deg, rgba(31,138,75,.95), rgba(20,100,55,.95));
  border-color: rgba(31,138,75,.65);
}
.btn--ghost{background: rgba(255,255,255,.03)}

.hero{padding:44px 0 24px}
.hero__grid{
  display:grid; gap:28px;
  grid-template-columns: 1.05fr .95fr;
  align-items:center;
}
@media (max-width: 900px){
  .hero__grid{grid-template-columns:1fr}
}

h1{font-size:clamp(34px, 4.2vw, 54px);line-height:1.04;margin:0 0 12px}
h2{font-size:clamp(22px, 2.4vw, 32px);margin:0 0 10px}
h3{margin:0 0 6px}
.muted{color:var(--muted)}
.lead{font-size:18px;line-height:1.6;color:var(--muted);max-width:52ch}

.hero__badges{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 18px}
.badge{
  padding:8px 10px;border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  font-weight:600;font-size:13px;color:rgba(243,247,244,.92)
}
.hero__cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
.fineprint{font-size:13px;color:rgba(185,199,191,.9);margin-top:14px;max-width:70ch}

.hero__art{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--border);
  border-radius:22px;
  padding:14px;
  box-shadow: var(--shadow);
}
.hero__art img{width:100%;height:auto;display:block;border-radius:16px}

.section{padding:34px 0}
.section--soft{background: rgba(255,255,255,.02); border-top:1px solid var(--border); border-bottom:1px solid var(--border)}

.grid{display:grid;gap:14px;grid-template-columns: repeat(5, minmax(0,1fr)); margin-top:14px}
@media (max-width: 1000px){ .grid{grid-template-columns: repeat(2, minmax(0,1fr));} }
@media (max-width: 520px){ .grid{grid-template-columns: 1fr;} }

.grid--2{grid-template-columns: repeat(2, minmax(0,1fr))}
@media (max-width: 900px){ .grid--2{grid-template-columns:1fr} }

.card{
  background: rgba(11,27,18,.75);
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
.card p{margin:0;color:var(--muted);line-height:1.55}

.beta{
  background: linear-gradient(180deg, rgba(215,180,90,.10), rgba(31,138,75,.08));
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
  box-shadow: var(--shadow);
}

.form{display:grid;gap:10px;grid-template-columns: 1fr 1fr auto; margin-top:12px}
@media (max-width: 800px){ .form{grid-template-columns:1fr} }

.input{
  padding:12px 14px;border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  outline:none;
}
.input::placeholder{color:rgba(185,199,191,.7)}

.footer{padding:22px 0}
.footer__inner{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
/* --- Games grid (Supercell-like cards) --- */
.games{
  display:grid;
  gap:14px;
  grid-template-columns: repeat(5, minmax(0,1fr));
  margin-top:14px;
}
@media (max-width: 1100px){ .games{grid-template-columns: repeat(3, minmax(0,1fr));} }
@media (max-width: 820px){ .games{grid-template-columns: repeat(2, minmax(0,1fr));} }
@media (max-width: 520px){ .games{grid-template-columns: 1fr;} }

.game{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:18px;
  border:1px solid var(--border);
  background: rgba(11,27,18,.75);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  transition: transform .15s ease, border-color .15s ease;
}
.game:hover{
  transform: translateY(-2px);
  border-color: rgba(215,180,90,.35);
}
.game__img{
  aspect-ratio: 16 / 10;
  background: rgba(255,255,255,.03);
  border-bottom:1px solid var(--border);
}
.game__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.game__body{
  padding:12px 12px 14px;
}
.game__body h3{
  margin:0 0 6px;
}
.game__body p{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.45;
  min-height: 42px;
}

.pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  border:1px solid var(--border);
  background: rgba(31,138,75,.12);
}
.pill--red{ background: rgba(220,60,60,.14); }
.pill--blue{ background: rgba(80,140,255,.14); }
.pill--yellow{ background: rgba(255,210,80,.16); }
.pill--navy{ background: rgba(70,120,190,.14); }

