@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0c1018;
  --bg-elevated: #141b28;
  --bg-card: #111722;
  --lime: #b8ff3c;
  --lime-dim: rgba(184, 255, 60, 0.12);
  --amber: #f5a623;
  --amber-dim: rgba(245, 166, 35, 0.15);
  --text: #e8eaed;
  --text-muted: #8b95a8;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(184, 255, 60, 0.25);
  --font-display: "Oswald", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --radius: 4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

#grid-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 4vw;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(12, 16, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--lime);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.logo-icon .icon {
  width: 18px;
  height: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.site-nav a:hover {
  color: var(--lime);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 120px 4vw 80px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--lime-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-badge .icon {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--lime);
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--lime);
  color: var(--bg);
}

.btn-primary:hover {
  background: #d4ff6e;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-stat-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--lime);
  padding: 24px;
  border-radius: var(--radius);
}

.hero-stat-block:nth-child(2) {
  border-left-color: var(--amber);
}

.hero-stat-block:nth-child(3) {
  border-left-color: var(--amber);
  grid-column: span 2;
}

.hero-stat-block .stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hero-stat-block .stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--lime);
}

.hero-stat-block:nth-child(2) .stat-value,
.hero-stat-block:nth-child(3) .stat-value {
  color: var(--amber);
}

.hero-stat-block .stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  animation: pulse-down 2s ease infinite;
}

.scroll-indicator .icon {
  width: 20px;
  height: 20px;
}

@keyframes pulse-down {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 48px;
}

.section-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-header p {
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 560px;
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.stat-card .icon-wrap {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  background: var(--lime-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card .icon-wrap .icon {
  width: 22px;
  height: 22px;
  color: var(--lime);
}

.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

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

.game-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--lime);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.game-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--lime-dim);
  transform: translate(30px, -30px) rotate(45deg);
  transition: var(--transition);
}

.game-card:hover {
  border-color: var(--border-accent);
  transform: translateX(6px);
  box-shadow: -8px 0 24px rgba(184, 255, 60, 0.08);
}

.game-card:hover::after {
  background: var(--amber-dim);
}

.game-card .card-icon {
  width: 40px;
  height: 40px;
  background: var(--lime-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.game-card .card-icon .icon {
  width: 20px;
  height: 20px;
  color: var(--lime);
}

.game-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.game-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.game-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.game-card .card-link .icon {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.game-card:hover .card-link .icon {
  transform: translateX(4px);
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.schedule-item:hover {
  border-color: var(--border-accent);
}

.schedule-date {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
}

.schedule-match {
  font-weight: 600;
}

.schedule-league {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.schedule-time {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lime);
}

.rankings-table {
  width: 100%;
  border-collapse: collapse;
}

.rankings-table th,
.rankings-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.rankings-table th {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
}

.rankings-table tr:hover td {
  background: var(--lime-dim);
}

.rankings-table .rank {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lime);
  width: 50px;
}

.rankings-table .team-name {
  font-weight: 600;
}

.rankings-table .points {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--amber);
}

.cta-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-inner p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.site-footer {
  padding: 48px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  color: var(--lime);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.breadcrumb {
  padding: 100px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--lime);
}

.breadcrumb span {
  color: var(--text-muted);
  margin: 0 8px;
}

.article-hero {
  padding: 32px 0 48px;
  position: relative;
  z-index: 1;
}

.article-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--amber-dim);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 16px;
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.article-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}

.article-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.article-stat {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-stat strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--lime);
  display: block;
  margin-bottom: 2px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.article-content section {
  padding: 0 0 40px;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lime-dim);
}

.article-content p {
  margin-bottom: 14px;
  color: var(--text-muted);
}

.article-content ul,
.article-content ol {
  margin: 0 0 16px 20px;
  color: var(--text-muted);
}

.article-content li {
  margin-bottom: 6px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.info-table th,
.info-table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border);
}

.info-table th {
  background: var(--bg-elevated);
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lime);
  font-weight: 500;
}

.info-table td {
  color: var(--text-muted);
}

.info-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.article-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--amber);
}

.sidebar-nav a {
  display: block;
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  transition: var(--transition);
  margin-bottom: 4px;
}

.sidebar-nav a:hover {
  color: var(--text);
  border-left-color: var(--border);
}

.sidebar-nav a.active {
  color: var(--lime);
  border-left-color: var(--lime);
  background: var(--lime-dim);
}

.article-cta {
  text-align: center;
  padding: 48px 0 80px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(12, 16, 24, 0.97);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 100px;
  }

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

  .hero-stat-block:nth-child(3) {
    grid-column: span 1;
  }

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

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

  .schedule-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    order: 2;
  }
}
