:root{
  --bg:#2b2c2f;
  --bg2:#242528;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.12);
  --text:#f3f4f6;
  --muted:rgba(243,244,246,.72);
  --muted2:rgba(243,244,246,.55);
  --accent:#d8b15a; /* warm gold (pairs with logo) */
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --shadow2: 0 8px 20px rgba(0,0,0,.22);
  --r:16px;
  --r2:22px;
  --max:1100px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; overflow-x:clip;}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 18% -10%, rgba(216,177,90,.14), transparent 55%),
    radial-gradient(900px 600px at 90% 0%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  min-height:100vh;
  overflow-x:clip;
  padding-bottom:74px; /* room for stats dock */
}

a{color:inherit}
img{max-width:100%; height:auto; display:block;}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(36,37,40,.72);
  border-bottom:1px solid var(--border);
}
.header.scrolled{
  background: rgba(36,37,40,.92);
  box-shadow: var(--shadow2);
}
.header__inner{
  height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width:0;
}
.brand__logo{
  width:44px;
  height:44px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.25));
}
.brand__type{display:flex; flex-direction:column; line-height:1;}
.brand__name{
  font-family: Bungee, system-ui, sans-serif;
  font-size:18px;
  letter-spacing:.04em;
}
.brand__sub{
  margin-top:2px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size:11px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--muted2);
}
.nav{
  display:flex;
  align-items:center;
  gap:14px;
}
.nav__link{
  text-decoration:none;
  color:var(--muted);
  font-weight:600;
  font-size:13px;
  letter-spacing:.02em;
  padding:8px 10px;
  border-radius:999px;
  transition: background .18s ease, color .18s ease;
}
.nav__link:hover{
  color:var(--text);
  background:rgba(255,255,255,.06);
}

/* Hero */
.hero{padding:34px 0 22px;}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:stretch;
}
.hero__copy{
  padding:18px 0;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
}
.pill__label{
  font-weight:700;
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text);
}
.pill__dot{
  width:4px; height:4px; border-radius:50%;
  background:var(--accent);
  box-shadow: 0 0 0 5px rgba(216,177,90,.15);
}
.pill__meta{font-size:13px; color:var(--muted);}
.hero__title{
  margin:14px 0 10px;
  font-family:"Space Grotesk", system-ui, sans-serif;
  font-weight:700;
  letter-spacing:-.02em;
  font-size: clamp(34px, 5vw, 56px);
  line-height:1.03;
}
.hero__titleAccent{color:var(--accent)}
.hero__blurb{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}
.hero__blurb strong{color:var(--text); font-weight:700;}
.hero__cta{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border-radius:999px;
  padding:10px 14px;
  text-decoration:none;
  border:1px solid var(--border);
  font-weight:700;
  letter-spacing:.01em;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.btn:hover{transform: translateY(-1px);}
.btn--primary{
  background: rgba(216,177,90,.16);
  border-color: rgba(216,177,90,.35);
}
.btn--primary:hover{
  background: rgba(216,177,90,.22);
  border-color: rgba(216,177,90,.55);
}
.btn--ghost{
  background: rgba(255,255,255,.04);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.07);
}
.btn__meta{
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(243,244,246,.75);
}

/* Featured */
.feature{
  text-decoration:none;
  border-radius: var(--r2);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border: 1px solid var(--border);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:grid;
  grid-template-rows: auto 1fr;
  min-width:0;
}
.feature:hover{border-color: rgba(216,177,90,.35);}
.feature__media{
  background: transparent; /* respects PNG transparency */
  padding: 18px 18px 10px;
  display:flex;
  justify-content:center;
  align-items:center;
}
.feature__img{
  width:100%;
  max-height: 210px;
  object-fit: contain; /* show full art */
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.28));
}
.feature__body{
  padding: 12px 18px 16px;
}
.feature__top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.feature__title{
  margin:0;
  font-family:"Space Grotesk", system-ui, sans-serif;
  font-size:22px;
  letter-spacing:-.01em;
}
.tag{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(216,177,90,.35);
  background: rgba(216,177,90,.14);
  color: rgba(243,244,246,.9);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;
}
.feature__desc{
  margin:8px 0 10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.feature__action{color:rgba(243,244,246,.85); font-weight:800; font-size:13px;}
.link{display:inline-flex; gap:8px; align-items:center;}
.link__arrow{transition: transform .14s ease;}
.feature:hover .link__arrow{transform: translateX(3px);}

/* Games */
.games{padding: 10px 0 26px;}
.games__row{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* prevents overflow */
  gap: 14px;
}
.card{
  text-decoration:none;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  overflow:hidden;
  box-shadow: var(--shadow2);
  min-width:0;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.07);
}
.card__media{
  padding: 14px 14px 6px;
  background: transparent; /* respects PNG transparency */
  display:flex;
  justify-content:center;
  align-items:center;
}
.card__img{
  width:100%;
  max-height: 160px;
  object-fit: contain; /* show full art */
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.22));
}
.card__body{padding: 10px 14px 14px;}
.card__title{
  font-family:"Space Grotesk", system-ui, sans-serif;
  font-weight:700;
  letter-spacing:-.01em;
  font-size:16px;
  margin-bottom:6px;
}
.card__desc{
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

/* Footer */
.footer{
  padding: 18px 0 10px;
  border-top:1px solid var(--border);
  background: rgba(36,37,40,.35);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.footer__brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
}
.footer__meta{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted2);
  font-size:12px;
}
.footer__dot{width:4px; height:4px; border-radius:50%; background:rgba(243,244,246,.35);}

/* Fixed stats dock */
.statsDock{
  position:fixed;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 60;
  pointer-events:none;
}
.statsDock__inner{
  pointer-events:auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(36,37,40,.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  display:flex;
  justify-content:center;
  gap: 22px;
  flex-wrap:wrap;
}
.stat{min-width: 92px; text-align:center;}
.stat__num{
  font-family:"Space Grotesk", system-ui, sans-serif;
  font-weight:800;
  letter-spacing:-.02em;
  font-size:20px;
  color: var(--text);
  line-height:1.1;
}
.stat__label{
  margin-top:2px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: var(--muted2);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .btn,.card,.feature,.link__arrow{transition:none;}
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; }
  .feature__img{max-height: 230px;}
}
@media (max-width: 820px){
  .nav{display:none;}
  .games__row{grid-template-columns: 1fr; }
  body{padding-bottom: 98px;}
  .statsDock__inner{border-radius: 18px; justify-content:space-between;}
}




