:root {
  color-scheme: light;
  --bg: #f3f6fb;
  --bg-soft: #eaf0f7;
  --panel: #fbfdff;
  --panel-tint: #eef4fb;
  --text: #132033;
  --muted: #64748b;
  --blue: #2563eb;
  --cyan: #0891b2;
  --orange: #f97316;
  --line: #dbe5f0;
  --line-strong: #cbd5e1;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.06), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(249, 115, 22, 0.07), transparent 24rem),
    linear-gradient(180deg, #f3f6fb 0%, #eef4fb 58%, #f7f9fd 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.site-footer,
.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  color: var(--text);
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
  color: #ffffff;
  font-size: 0.9rem;
}

.nav-links a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  transition: color 160ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  min-height: calc(100vh - 116px);
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.8fr);
  gap: 44px;
  padding-block: 48px 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 14px;
  color: #0f172a;
  font-size: clamp(3.3rem, 12vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  color: #0f172a;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.04;
}

.hero-subtitle {
  max-width: 580px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

.hero-actions,
.featured-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.button-primary:hover {
  background: #1d4ed8;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: #fbfdff;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.hero-panel {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(8, 145, 178, 0.07)),
    #f8fbff;
  box-shadow: var(--shadow);
}

.hero-panel::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 8px;
  content: "";
}

.hex-rings {
  position: absolute;
  display: grid;
  width: min(72%, 330px);
  aspect-ratio: 1;
  place-items: center;
  transform: rotate(30deg);
}

.hex-rings span {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid rgba(37, 99, 235, 0.24);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}

.hex-rings span:nth-child(2) {
  width: 72%;
  border-color: rgba(249, 115, 22, 0.34);
}

.hex-rings span:nth-child(3) {
  width: 42%;
  border-color: rgba(8, 145, 178, 0.36);
}

.launcher-card {
  position: relative;
  z-index: 1;
  width: min(82%, 310px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: rgba(251, 253, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.launcher-card h2 {
  margin-block: 14px 6px;
}

.launcher-card p,
.featured-card p,
.about p,
.game-card p,
.info-card p {
  color: var(--muted);
}

.featured,
.games,
.about,
.info-sections {
  padding-block: 60px;
}

.section-heading {
  margin-bottom: 22px;
}

.featured-card {
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.featured-card > div {
  max-width: 740px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 900;
}

.status-live {
  background: rgba(8, 145, 178, 0.1);
  color: var(--cyan);
}

.status-coming-soon {
  background: rgba(249, 115, 22, 0.11);
  color: var(--orange);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow: var(--shadow);
}

.game-card h3 {
  margin: 18px 0 8px;
  color: #0f172a;
  font-size: 1.45rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--bg-soft);
  color: #475569;
  font-size: 0.78rem;
  font-weight: 650;
}

.game-card .button {
  width: 100%;
}

.disabled-button {
  border: 1px solid var(--line);
  background: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

.about {
  max-width: 840px;
}

.about p {
  font-size: 1.12rem;
}

.info-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.info-card {
  scroll-margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 30px);
  background: var(--panel-tint);
}

.info-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 28px 40px;
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 34px 48px;
  }

  .hero-panel {
    min-height: 340px;
  }

  .games-grid,
  .info-sections {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .section-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .site-footer nav {
    flex-wrap: wrap;
  }

  .hero-actions,
  .hero-actions .button,
  .featured-card .button {
    width: 100%;
  }

  .games-grid,
  .info-sections {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: 280px;
  }
}
