:root {
  --bg: #05070d;
  --bg-soft: #09101e;
  --panel: rgba(13, 20, 38, 0.78);
  --panel-strong: rgba(9, 14, 28, 0.92);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f7fb;
  --muted: #b5bfd1;
  --muted-2: #8d98b0;
  --red: #ff4655;
  --red-deep: #c11f3d;
  --blue: #59c7ff;
  --blue-deep: #1e5eff;
  --violet: #9e68ff;
  --orange: #ff9d42;
  --teal: #2ae9c9;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 70, 85, 0.16), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(30, 94, 255, 0.16), transparent 24%),
    radial-gradient(circle at 48% 75%, rgba(158, 104, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #03050b 0%, #07101f 42%, #05070d 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
}

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

.site-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 9, 20, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.brand-logo {
  width: 185px;
  max-width: 100%;
  height: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a,
.footer-nav a {
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}

.desktop-nav a:hover,
.footer-nav a:hover {
  color: white;
  transform: translateY(-1px);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta {
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(255, 70, 85, 0.18), rgba(30, 94, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.section {
  padding: 60px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  min-height: 78vh;
  position: relative;
}

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

.hero h1,
.section-heading h2,
.play-banner h2 {
  margin: 0;
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-family: "Space Grotesk", sans-serif;
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  max-width: 10ch;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, var(--blue) 28%, var(--violet) 58%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy,
.section-heading p,
.panel p,
.dropdown-content p,
.play-banner p,
.game-intro {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-copy {
  max-width: 60ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 34px;
}

.btn {
  padding: 14px 22px;
  min-height: 50px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #ff6f61);
  color: white;
  box-shadow: 0 12px 28px rgba(255, 70, 85, 0.24);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card,
.panel,
.dropdown-card,
.game-showcase,
.play-banner {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 25, 46, 0.76), rgba(7, 12, 24, 0.92));
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
}

.stat-number {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: white;
}

.stat-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  background: #0b1120;
}

.hero-title-card {
  min-height: 560px;
  background:
    linear-gradient(145deg, rgba(255, 70, 85, 0.12), transparent 28%),
    linear-gradient(215deg, rgba(89, 199, 255, 0.14), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.07), transparent 18%),
    linear-gradient(180deg, rgba(11, 17, 32, 0.95), rgba(6, 10, 20, 0.98));
  display: flex;
  align-items: flex-end;
}

.hero-title-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(4, 7, 15, 0.35), rgba(4, 7, 15, 0.06)),
    repeating-linear-gradient(
      90deg,
      transparent 0 38px,
      rgba(255,255,255,0.02) 38px 39px
    );
}

.hero-overlay-content {
  position: relative;
  z-index: 1;
  padding: 34px;
  max-width: 34rem;
}

.hero-kicker {
  margin: 0 0 12px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  font-size: 0.82rem;
}

.hero-overlay-content h2 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-overlay-content p {
  margin: 0;
  color: var(--muted);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
}

.glow-red {
  width: 220px;
  height: 220px;
  background: rgba(255, 70, 85, 0.24);
  left: -40px;
  bottom: 40px;
}

.glow-blue {
  width: 260px;
  height: 260px;
  background: rgba(76, 201, 240, 0.2);
  right: -35px;
  top: 40px;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 30px;
}

.section-heading h2,
.play-banner h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.panel {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.panel-large {
  min-height: 100%;
}

.panel h3,
.game-header h3,
.future-panel h3,
.character-card h4 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
}

.feature-list,
.metric-list,
.detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li,
.detail-list li {
  margin-bottom: 10px;
}

.metric-list {
  list-style: none;
  padding-left: 0;
}

.metric-list li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.metric-list li:last-child {
  border-bottom: none;
}

.metric-list span {
  color: var(--muted-2);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-list strong {
  color: white;
  font-size: 1rem;
}

.game-sections {
  display: grid;
  gap: 32px;
}

.game-showcase {
  border-radius: 30px;
  overflow: hidden;
}

.game-showcase-image {
  position: relative;
  height: clamp(260px, 38vw, 460px);
  overflow: hidden;
}

.game-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.game-showcase-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 13, 0.72), rgba(5, 7, 13, 0.14));
}

.game-showcase-content {
  padding: 26px;
}

.game-header {
  margin-bottom: 18px;
}

.game-tag {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--muted-2);
}

.dropdown-group {
  display: grid;
  gap: 14px;
}

.dropdown-card {
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20, 27, 49, 0.88), rgba(9, 14, 28, 0.94));
}

.dropdown-card summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.dropdown-card summary::-webkit-details-marker {
  display: none;
}

.dropdown-card summary::after {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  color: var(--red);
  transition: transform 0.25s ease;
}

.dropdown-card[open] summary::after {
  content: "–";
}

.dropdown-content {
  padding: 0 22px 22px;
  color: var(--muted);
}

.dropdown-content p:first-child {
  margin-top: 0;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.character-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  border-radius: 18px;
  padding: 14px;
}

.character-card h4 {
  margin: 12px 0 4px;
  font-size: 1rem;
}

.character-card p {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.character-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
}

.placeholder-box {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0 10px,
      rgba(255,255,255,0.04) 10px 20px
    );
  border: 1px dashed rgba(255,255,255,0.15);
}

.league-theme {
  background:
    linear-gradient(180deg, rgba(21, 36, 73, 0.45), rgba(7, 12, 24, 0.96));
}

.valorant-theme {
  background:
    linear-gradient(180deg, rgba(92, 18, 30, 0.45), rgba(7, 12, 24, 0.96));
}

.tft-theme {
  background:
    linear-gradient(180deg, rgba(86, 27, 118, 0.44), rgba(7, 12, 24, 0.96));
}

.runeterra-theme {
  background:
    linear-gradient(180deg, rgba(15, 82, 87, 0.42), rgba(7, 12, 24, 0.96));
}

.twoxko-theme {
  background:
    linear-gradient(180deg, rgba(110, 72, 8, 0.42), rgba(7, 12, 24, 0.96));
}

.esports-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.esports-panel-art {
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

.esports-gradient-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 70, 85, 0.22), transparent 28%),
    linear-gradient(225deg, rgba(30, 94, 255, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(13, 20, 38, 0.9), rgba(6, 10, 20, 0.98));
}

.esports-gradient-art span {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(8px);
}

.esports-gradient-art span:nth-child(1) {
  width: 180px;
  height: 180px;
  background: rgba(255, 70, 85, 0.55);
  top: 30px;
  left: 30px;
}

.esports-gradient-art span:nth-child(2) {
  width: 220px;
  height: 220px;
  background: rgba(89, 199, 255, 0.42);
  bottom: 20px;
  right: 24px;
}

.esports-gradient-art span:nth-child(3) {
  width: 120px;
  height: 120px;
  background: rgba(158, 104, 255, 0.38);
  top: 50%;
  left: 48%;
}

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

.future-panel {
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.future-panel::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(4px);
}

.accent-orange::before {
  background: var(--orange);
}

.accent-red::before {
  background: var(--red);
}

.accent-blue::before {
  background: var(--blue);
}

.play-banner {
  border-radius: 34px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(120deg, rgba(255, 70, 85, 0.14), rgba(30, 94, 255, 0.14)),
    linear-gradient(180deg, rgba(17, 25, 46, 0.86), rgba(7, 12, 24, 0.94));
}

.play-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  margin-top: 20px;
  padding: 24px 0 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-title {
  margin: 0 0 6px;
  font-weight: 800;
}

.footer-copy {
  margin: 0;
  color: var(--muted-2);
  max-width: 42ch;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1150px) {
  .hero,
  .about-grid,
  .esports-layout,
  .future-grid,
  .play-banner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-title-card {
    min-height: 420px;
  }

  .character-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-shell {
    padding: 16px;
  }

  .topbar {
    border-radius: 24px;
    padding: 14px 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .desktop-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .brand-logo {
    width: 165px;
  }

  .section {
    padding: 44px 0;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.7rem);
  }

  .section-heading h2,
  .play-banner h2,
  .hero-overlay-content h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel,
  .game-showcase,
  .dropdown-card,
  .play-banner,
  .stat-card {
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .play-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .nav-cta {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .character-grid {
    grid-template-columns: 1fr;
  }

  .game-showcase-content,
  .dropdown-card summary,
  .dropdown-content,
  .panel,
  .play-banner,
  .hero-overlay-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer {
    flex-direction: column;
  }
}