:root {
  --bg: #0a0a0a;
  --panel: rgba(13, 17, 19, 0.82);
  --panel-strong: rgba(7, 11, 13, 0.94);
  --panel-soft: rgba(10, 15, 17, 0.64);
  --line: rgba(6, 182, 212, 0.18);
  --line-strong: rgba(6, 182, 212, 0.4);
  --text: #f5fbfc;
  --muted: #8aaab0;
  --accent: #06b6d4;
  --accent-strong: #22d3ee;
  --accent-soft: rgba(6, 182, 212, 0.12);
  --gold: #f8c15c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.13), transparent 25%),
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.1), transparent 22%),
    linear-gradient(180deg, #040606 0%, #070909 38%, var(--bg) 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 90%);
  opacity: 0.3;
}

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

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

button,
input {
  font: inherit;
}

.page-shell {
  width: min(calc(100vw - 28px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  margin-top: 12px;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 13, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.18), rgba(6, 182, 212, 0.05));
  border: 1px solid var(--line-strong);
}

.brand-copy {
  min-width: 0;
}

.brand-kicker {
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.brand-title {
  margin-top: 3px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  padding: clamp(26px, 4vw, 40px);
  min-height: min(88vh, 760px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(2, 4, 5, 0.92), rgba(4, 8, 10, 0.58)),
    var(--hero-image) center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 4, 5, 0.94) 0%, rgba(2, 4, 5, 0.72) 42%, rgba(2, 4, 5, 0.42) 100%),
    radial-gradient(circle at 78% 18%, rgba(6, 182, 212, 0.18), transparent 22%),
    radial-gradient(circle at 64% 82%, rgba(239, 68, 68, 0.1), transparent 24%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -36% auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22), transparent 65%);
  filter: blur(16px);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  align-content: end;
  min-height: calc(min(88vh, 760px) - 2 * clamp(26px, 4vw, 40px));
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.06em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  line-height: 0.92;
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: #d9eaed;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #03161a;
  box-shadow: 0 18px 36px rgba(6, 182, 212, 0.24);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(7, 11, 13, 0.62);
  color: var(--text);
}

.hero-stats,
.info-grid,
.offer-grid,
.tier-grid,
.staff-grid,
.podium-grid,
.story-grid,
.tournament-grid,
.footer-grid {
  display: grid;
  gap: 16px;
}

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

.stat-card,
.panel,
.offer-card,
.tier-card,
.staff-card,
.podium-card,
.story-card,
.result-card,
.discord-panel,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 18, 20, 0.95), rgba(9, 12, 14, 0.88));
  box-shadow: var(--shadow);
}

.stat-card,
.offer-card,
.tier-card,
.staff-card,
.podium-card,
.story-card,
.result-card,
.cta-panel {
  padding: 22px;
}

.stat-card strong,
.number {
  display: block;
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
  letter-spacing: -0.04em;
}

.stat-card span,
.meta,
.support-copy,
.muted {
  color: var(--muted);
}

main {
  padding-bottom: 48px;
}

.section {
  margin-top: 22px;
  padding: 22px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.section-heading p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.offer-grid,
.tier-grid,
.staff-grid,
.tournament-grid,
.footer-grid {
  grid-template-columns: 1fr;
}

.offer-card,
.tier-card,
.staff-card,
.story-card,
.result-card {
  position: relative;
  overflow: hidden;
}

.offer-card::before,
.tier-card::before,
.staff-card::before,
.story-card::before,
.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.07), transparent 45%);
  opacity: 0.9;
  pointer-events: none;
}

.card-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.offer-card h3,
.tier-card h3,
.staff-card h3,
.story-card h3,
.result-card h3,
.cta-panel h3,
.panel h3 {
  margin: 12px 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.offer-card p,
.tier-card p,
.staff-card p,
.story-card p,
.result-card p,
.cta-panel p,
.panel p,
.footer-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.price {
  margin: 12px 0 6px;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.tier-badge,
.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tier-card.is-highlighted {
  border-color: rgba(6, 182, 212, 0.45);
  background:
    linear-gradient(180deg, rgba(6, 182, 212, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(14, 18, 20, 0.95), rgba(9, 12, 14, 0.88));
}

.benefit-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d8e7ea;
  line-height: 1.6;
}

.benefit-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.48rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.12);
  flex: 0 0 auto;
}

.panel,
.discord-panel {
  padding: 24px;
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

thead th {
  padding: 14px 16px;
  text-align: left;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(6, 182, 212, 0.06);
}

tbody td {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #ddedf0;
}

tbody tr:hover {
  background: rgba(6, 182, 212, 0.04);
}

.rank {
  color: var(--accent-strong);
  font-weight: 800;
}

.discord-grid,
.leaderboard-layout,
.info-grid,
.story-grid {
  display: grid;
  gap: 16px;
}

.discord-widget {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 20px;
  background: #111;
}

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

.podium-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.leaderboard-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.search-shell {
  flex: 1 1 260px;
}

.search-shell input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 13, 0.72);
  color: var(--text);
  padding: 0 18px;
  outline: none;
}

.search-shell input:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.leaderboard-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-soft);
}

.timeline-date {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.staff-role {
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signature {
  margin-top: 20px;
  color: #d5e8ec;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  margin: 24px 0 32px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.footer-copy {
  max-width: 460px;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.social-links a {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(7, 11, 13, 0.5);
}

.social-links a:hover {
  border-color: var(--line-strong);
  background: var(--accent-soft);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 720px) {
  .hero-stats,
  .offer-grid,
  .tier-grid,
  .staff-grid,
  .podium-grid,
  .tournament-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discord-grid,
  .leaderboard-layout,
  .info-grid,
  .story-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .timeline-item {
    grid-template-columns: 148px minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 980px) {
  .offer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (max-width: 719px) {
  .site-header-inner {
    border-radius: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero h1 {
    max-width: none;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}
