:root {
  --bg: #081018;
  --surface: #0e1822;
  --surface-light: #14212d;
  --border: #263747;
  --text: #f4f7fa;
  --muted: #94a4b4;
  --accent: #54e39e;
  --accent-dark: #24b973;
  --warning: #ffbe55;
  --danger: #ff6b6b;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;
  background:
    radial-gradient(
      circle at top,
      #132432 0,
      #081018 42%
    );
  color: var(--text);
  min-height: 100vh;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 16, 24, 0.9);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  max-width: var(--max-width);
  margin: auto;
  min-height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    var(--accent),
    #61d9ff
  );
  color: #061018;
  font-size: 22px;
  font-weight: 900;
}

.brand-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: white;
}

.nav-join {
  color: #07100d !important;
  background: var(--accent);
  padding: 11px 17px;
  border-radius: 10px;
}

.hero {
  max-width: var(--max-width);
  margin: auto;
  padding: 70px 20px 30px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  margin: 12px 0 14px;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 11px;
  font-weight: 800;
  border: 1px solid var(--border);
}

.btn-primary {
  background: var(--accent);
  color: #07100d;
  border-color: var(--accent);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.page-shell {
  max-width: var(--max-width);
  margin: auto;
  padding: 20px 20px 80px;
}

.competition-banner {
  background:
    linear-gradient(
      120deg,
      rgba(84, 227, 158, 0.12),
      rgba(97, 217, 255, 0.06)
    ),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
}

.competition-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.competition-top h2 {
  margin: 7px 0 0;
  font-size: 31px;
}

.status-pill {
  background: rgba(84, 227, 158, 0.12);
  color: var(--accent);
  border: 1px solid rgba(84, 227, 158, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
}

.stats-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 18px;
}

.stat-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-value {
  display: block;
  margin-top: 7px;
  font-size: 29px;
  font-weight: 900;
}

.section {
  margin-top: 38px;
}

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

.section-heading h2 {
  margin: 0;
  font-size: 27px;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.podium-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  padding: 26px 18px;
}

.podium-1 {
  transform: translateY(-8px);
  border-color: rgba(255, 190, 85, 0.45);
}

.podium-medal {
  font-size: 40px;
}

.podium-team {
  margin-top: 13px;
  font-size: 19px;
  font-weight: 900;
}

.podium-manager {
  color: var(--muted);
  margin-top: 5px;
}

.podium-points {
  margin-top: 15px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.leaderboard {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.leaderboard th {
  text-align: left;
  padding: 15px 17px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.025);
}

.leaderboard td {
  padding: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.leader-row {
  background: rgba(84, 227, 158, 0.055);
}

.position-cell {
  font-size: 20px;
  font-weight: 900;
}

.team-name {
  font-weight: 900;
}

.manager-name {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.monthly-score {
  color: var(--accent);
  font-weight: 900;
  font-size: 18px;
}

.movement {
  font-weight: 800;
}

.movement.up {
  color: var(--accent);
}

.movement.down {
  color: var(--danger);
}

.movement.same {
  color: var(--muted);
}

.update-note {
  color: var(--muted);
  text-align: right;
  font-size: 12px;
  margin-top: 11px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.info-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.info-card h3 {
  margin-top: 0;
}

.info-card p {
  color: var(--muted);
  line-height: 1.55;
}

.text-link {
  color: var(--accent);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: auto;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .nav {
    min-height: 64px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .brand-text {
    font-size: 19px;
  }

  .nav-links a:not(.nav-join) {
    display: none;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .competition-top {
    flex-direction: column;
  }

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

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

  .podium-1 {
    transform: none;
  }

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

  .footer-inner {
    flex-direction: column;
  }
}
