/* ================================================
   VELOCITYFUNPEK - FOOTBALL INTELLIGENCE PLATFORM
   Complete Stylesheet
   ================================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00F5D4;
  --secondary: #0EA5E9;
  --accent: #F43F5E;
  --bg: #020617;
  --surface: #0b1220;
  --surface-2: #111a2e;
  --surface-3: #162035;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --white: #ffffff;
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);
  --glow-primary: 0 0 20px rgba(0,245,212,0.3);
  --glow-accent: 0 0 20px rgba(244,63,94,0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 800px;
}

/* === NAVIGATION === */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.main-nav.scrolled {
  background: rgba(2, 6, 23, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.logo-icon {
  font-size: 24px;
  filter: drop-shadow(0 0 8px rgba(0,245,212,0.5));
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.logo-accent {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.nav-links a.active {
  color: var(--primary);
  background: rgba(0,245,212,0.08);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO SECTION === */
.hero, .page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero {
  min-height: 65vh;
}

.page-hero.compact {
  min-height: 45vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,6,23,0.92) 0%, rgba(2,6,23,0.75) 40%, rgba(2,6,23,0.88) 100%);
}

.hero-overlay.solid {
  background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 120px 24px 60px;
}

.hero-badge {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  border: 1px solid rgba(0,245,212,0.3);
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 28px;
  background: rgba(0,245,212,0.05);
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  margin-bottom: 24px;
}

.hero-line {
  display: block;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--white);
}

.hero-line.accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #00c4a7);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(0,245,212,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,245,212,0.4);
  color: var(--bg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0,245,212,0.05);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.hero-metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.hero-scroll-indicator span {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  margin: 0 auto;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(8px); }
  60% { transform: rotate(45deg) translateY(4px); }
}

/* === SECTION STYLES === */
.content-section, .stats-panel, .analysis-section, .tournaments-section, .key-players-home {
  padding: 100px 0;
}

.alt-bg {
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* === STATS PANEL === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(0,245,212,0.2);
  transform: translateY(-4px);
  box-shadow: var(--glow-primary);
}

.stat-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.stat-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.stat-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 12px;
}

.team-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.form-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.form-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), #00c4a7);
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-fill.blue {
  background: linear-gradient(90deg, var(--secondary), #38bdf8);
}

.form-fill.rose {
  background: linear-gradient(90deg, var(--accent), #fb7185);
}

.form-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  min-width: 36px;
  text-align: right;
}

.highlight-card {
  border-color: rgba(0,245,212,0.15);
  background: linear-gradient(135deg, var(--surface), rgba(0,245,212,0.03));
}

.highlight-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.highlight-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--white);
  flex-shrink: 0;
}

.highlight-badge.wc { background: var(--primary); color: var(--bg); }
.highlight-badge.pl { background: var(--secondary); color: var(--white); }
.highlight-badge.liga { background: #a855f7; }

/* === ANALYSIS GRID === */
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.analysis-grid.articles-page {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.analysis-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.analysis-card:hover {
  border-color: rgba(0,245,212,0.2);
  transform: translateY(-6px) perspective(1000px) rotateX(1deg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), var(--glow-primary);
}

.analysis-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.analysis-card.featured .card-img-wrap {
  aspect-ratio: auto;
  min-height: 300px;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.analysis-card:hover .card-img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
}

.card-category {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
}

.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
  flex: 1;
}

.card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.meta-date, .meta-read {
  font-size: 12px;
  color: var(--text-dim);
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.card-link:hover {
  color: var(--secondary);
  gap: 4px;
}

/* === TOURNAMENT GRID === */
.tournament-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.tournament-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
}

.tournament-card:hover {
  border-color: rgba(0,245,212,0.25);
  transform: translateY(-8px) perspective(1000px) rotateX(1deg) rotateY(-1deg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--glow-primary);
}

.tourney-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.tourney-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tournament-card:hover .tourney-img {
  transform: scale(1.08);
}

.tourney-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,0.9) 0%, transparent 60%);
}

.tourney-content {
  padding: 28px;
}

.tourney-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.tourney-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.tourney-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.tourney-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tourney-stats span {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0,245,212,0.08);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(0,245,212,0.15);
}

.tourney-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* === PLAYER CARDS === */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.player-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.player-card:hover {
  border-color: rgba(0,245,212,0.2);
  transform: translateY(-4px);
  box-shadow: var(--glow-primary);
}

.player-img-wrap {
  height: 200px;
  overflow: hidden;
}

.player-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.player-card:hover .player-img {
  transform: scale(1.05);
}

.player-info {
  padding: 24px;
}

.player-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.player-team {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  display: block;
  margin-bottom: 16px;
}

.player-insight {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.player-stats-mini {
  display: flex;
  gap: 20px;
}

.pstat {
  text-align: center;
}

.pstat-val {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.pstat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === CONTENT PAGES === */
.content-grid-2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.text-block h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.text-block p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.info-blocks {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.info-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.info-block h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.info-block p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

.side-visual {
  position: sticky;
  top: 100px;
}

.side-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.visual-caption {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 12px;
  font-style: italic;
}

/* === GROUP ANALYSIS === */
.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  gap: 28px;
}

.group-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.group-card:hover {
  border-color: rgba(0,245,212,0.15);
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.group-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.group-difficulty {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.group-difficulty.extreme { background: rgba(244,63,94,0.15); color: var(--accent); border: 1px solid rgba(244,63,94,0.3); }
.group-difficulty.high { background: rgba(251,146,60,0.15); color: #fb923c; border: 1px solid rgba(251,146,60,0.3); }
.group-difficulty.medium { background: rgba(0,245,212,0.1); color: var(--primary); border: 1px solid rgba(0,245,212,0.2); }

.group-teams {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.group-team h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.team-analysis-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.analysis-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.analysis-row .label {
  min-width: 100px;
  color: var(--text-dim);
  font-weight: 500;
  flex-shrink: 0;
}

.analysis-row .value {
  color: var(--text);
}

.analysis-row .accent-text {
  color: var(--accent);
}

.rating-bar {
  flex: 1;
  max-width: 120px;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.rating-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === BRACKET SECTION === */
.bracket-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bracket-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}

.bracket-stage:hover {
  border-color: rgba(0,245,212,0.2);
  border-left-color: var(--primary);
}

.bracket-stage h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.bracket-stage p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* === CLUB ANALYSIS === */
.club-analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.club-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.club-card:hover {
  border-color: rgba(0,245,212,0.2);
  transform: translateY(-4px);
  box-shadow: var(--glow-primary);
}

.club-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.club-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.club-header-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(2,6,23,0.95), transparent);
}

.club-header-overlay h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.club-league {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.club-body {
  padding: 28px;
}

.club-stats-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

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

.cs-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  min-width: 70px;
}

.cs-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.cs-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.club-tactical {
  margin-bottom: 24px;
}

.club-tactical h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.club-tactical p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.strength-weakness {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sw-block {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border);
}

.sw-block h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.sw-block.strength h5 {
  color: var(--primary);
}

.sw-block.weakness h5 {
  color: var(--accent);
}

.sw-block ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sw-block li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.sw-block.strength li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.sw-block.weakness li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* === COMPARISON === */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.comparison-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.comparison-card:hover {
  border-color: rgba(0,245,212,0.2);
  transform: translateY(-4px);
}

.comp-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.comparison-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.comparison-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.comp-teams {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comp-team {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0,245,212,0.08);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(0,245,212,0.15);
}

/* === MATCH PREVIEWS === */
.matches-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.match-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.match-preview:hover {
  border-color: rgba(0,245,212,0.15);
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.match-team {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.match-vs {
  font-size: 14px;
  color: var(--accent);
  font-weight: 800;
  padding: 4px 12px;
  background: rgba(244,63,94,0.1);
  border-radius: 4px;
}

.match-info {
  padding: 24px;
}

.match-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.match-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === ARTICLE PAGE === */
.article-page {
  padding-top: 72px;
}

.article-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,0.95) 0%, rgba(2,6,23,0.3) 60%);
}

.article-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.article-cat {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 16px;
}

.article-hero-content h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.article-meta-bar {
  display: flex;
  gap: 20px;
}

.article-meta-bar span {
  font-size: 13px;
  color: var(--text-dim);
}

.article-body {
  padding: 60px 0 80px;
}

.article-intro {
  margin-bottom: 48px;
}

.article-intro .lead {
  font-size: 19px;
  color: var(--text);
  line-height: 1.8;
  border-left: 3px solid var(--primary);
  padding-left: 24px;
}

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

.article-section h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.article-section p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-img-section {
  margin: 48px 0;
}

.article-inline-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.img-caption {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 12px;
  font-style: italic;
}

/* === COMPARISON TABLE === */
.comparison-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
}

.comp-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  align-items: center;
}

.comp-row:last-child {
  border-bottom: none;
}

.comp-row.header {
  background: var(--surface-2);
  font-weight: 700;
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comp-row span {
  color: var(--text-muted);
}

.comp-row span:first-child {
  color: var(--text);
  font-weight: 500;
}

.highlight-val {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

/* === LEGAL PAGES === */
.legal-hero {
  min-height: 35vh;
}

.legal-content {
  padding: 60px 0 80px;
}

.legal-block {
  margin-bottom: 40px;
}

.legal-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.legal-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-block ul {
  margin: 12px 0;
  padding-left: 24px;
}

.legal-block li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
  list-style: disc;
}

.legal-block a {
  color: var(--primary);
}

/* === FOOTER === */
.main-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

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

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.footer-links-group h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group a {
  font-size: 14px;
  color: var(--text-dim);
  transition: var(--transition);
}

.footer-links-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,245,212,0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,245,212,0.5);
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .content-grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .side-visual {
    position: static;
  }

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

  .analysis-card.featured {
    grid-template-columns: 1fr;
  }

  .analysis-card.featured .card-img-wrap {
    aspect-ratio: 16/9;
    min-height: auto;
  }

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

  .strength-weakness {
    grid-template-columns: 1fr;
  }
}

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

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 16px;
    width: 100%;
    display: block;
  }

  .hero, .page-hero {
    min-height: 80vh;
  }

  .page-hero {
    min-height: 55vh;
  }

  .hero-content {
    padding: 100px 20px 40px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .content-section, .stats-panel, .analysis-section, .tournaments-section, .key-players-home {
    padding: 60px 0;
  }

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

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

  .analysis-grid.articles-page {
    grid-template-columns: 1fr;
  }

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

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

  .club-analysis-grid {
    grid-template-columns: 1fr;
  }

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

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

  .match-teams {
    flex-direction: column;
    gap: 12px;
  }

  .match-team {
    font-size: 18px;
  }

  .article-hero {
    height: 45vh;
  }

  .article-hero-content {
    padding: 24px;
  }

  .article-hero-content h1 {
    font-size: 24px;
  }

  .comp-row {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    font-size: 12px;
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-line {
    font-size: 28px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .metric-value {
    font-size: 22px;
  }

  .section-title {
    font-size: 24px;
  }

  .stat-card {
    padding: 24px;
  }

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

  .team-name {
    font-size: 12px;
  }

  .group-teams {
    padding: 20px;
  }

  .group-header {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .analysis-row {
    flex-wrap: wrap;
    gap: 4px;
  }

  .analysis-row .label {
    min-width: 80px;
  }

  .comp-row {
    grid-template-columns: 1fr 0.8fr 0.8fr 0.8fr;
    font-size: 11px;
    padding: 8px 10px;
  }

  .article-meta-bar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .player-stats-mini {
    gap: 12px;
  }

  .pstat-val {
    font-size: 18px;
  }
}