:root {
  --bg: #050505;
  --bg-soft: #111111;
  --card: rgba(20, 20, 20, 0.94);
  --card-2: #1b1b1b;
  --primary: #ffffff;
  --primary-2: #d9d9d9;
  --secondary: #f2f2f2;
  --text: #f5f5f5;
  --muted: #b9b9b9;
  --line: rgba(255,255,255,0.12);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #000000 0%, #111111 100%);
  color: var(--text);
  padding-bottom: 118px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 11, 18, 0.7);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-badge {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #cfcfcf);
  color: #111111;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  padding: 36px 0 18px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: center;
}

.hero-copy {
  padding: 20px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #f3f3f3;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero h1 span {
  background: linear-gradient(90deg, #ffffff 0%, #d8d8d8 40%, #a7a7a7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 16px;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.96rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff, #d7d7d7);
  color: #111111;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(53, 208, 127, 0.5);
}

.hero-panel {
  background: linear-gradient(180deg, rgba(29,41,71,0.96), rgba(18,26,47,0.9));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.counter-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 18px;
}

.counter-box h3 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.counter-box small {
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-card {
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
}

.mini-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #fff;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.8rem;
}

.section {
  padding: 34px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2vw, 2.4rem);
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
}

.games-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.game-card,
.feature-card {
  background: linear-gradient(180deg, rgba(29,41,71,0.96), rgba(18,26,47,0.9));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 16px;
  box-shadow: var(--shadow);
}

.game-card {
  min-height: 180px;
}

.game-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #f0f0f0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
}

.game-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.game-card p,
.feature-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  color: #dfeafc;
  font-size: 0.8rem;
}

.badge-live {
  background: rgba(255,255,255,0.05);
  color: #f5f5f5;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px 8px;
  border-radius: 999px;
}

.feature-card {
  text-align: center;
  padding-top: 24px;
}

.feature-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  font-size: 1.6rem;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.cta-banner {
  padding: 24px 20px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cta-banner h3 {
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  margin-bottom: 6px;
}

.cta-banner p {
  color: var(--muted);
}

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0 12px 12px;
  margin-top: 0;
}

.footer-box {
  background: rgba(10, 16, 28, 0.94);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 14px 18px;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.25);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.download-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  width: auto;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 170px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
}

.store-btn strong {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.store-btn span {
  font-size: 1rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  flex-wrap: wrap;
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .hero-wrap,
  .games-grid,
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 18px;
  }

  .games-grid,
  .features-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner,
  .footer-top,
  .footer-bottom {
    display: block;
  }

  .cta-banner .button-row,
  .download-links {
    margin-top: 16px;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .download-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .store-btn {
    justify-content: center;
    width: 100%;
    min-width: 100%;
  }
}
