/* ===== CHARISMA — Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* 
==========================================================================
ОСНОВНЫЕ ЦВЕТА И НАСТРОЙКИ САЙТА
Если вы хотите изменить цветовую гамму (например, сделать сайт синим или красным),
меняйте переменные ниже. --gold — основной акцентный цвет.
========================================================================== 
*/
:root {
  /* Фоны */
  --bg-primary: #0a0a0a;
  /* Главный фон сайта */
  --bg-secondary: #111111;
  /* Фон вторичных секций (О команде, Турниры) */
  --bg-card: rgba(255, 255, 255, 0.04);
  /* Фон карточек игроков и статистики */
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  /* Фон карточек при наведении */

  /* Акцентные цвета (сейчас золотые) */
  --gold: #c9a84c;
  --gold-light: #e0c96a;
  --gold-dark: #a08530;
  --gold-gradient: linear-gradient(135deg, #c9a84c 0%, #e0c96a 50%, #a08530 100%);

  /* Тексты */
  --text-primary: #ffffff;
  /* Основной белый текст */
  --text-secondary: rgba(255, 255, 255, 0.65);
  /* Вторичный сероватый текст */
  --text-muted: rgba(255, 255, 255, 0.35);
  /* Тусклый текст */

  /* Линии и свечение */
  --border: rgba(255, 255, 255, 0.08);
  /* Обычные рамки карточек */
  --border-gold: rgba(201, 168, 76, 0.3);
  /* Акцентные рамки карточек */
  --glow-gold: 0 0 30px rgba(201, 168, 76, 0.15);
  /* Эффект свечения */

  /* Семантические цвета */
  --surface: rgba(255, 255, 255, 0.04);
  --success: #66bb6a;
  --danger: #ef5350;

  /* Размеры скруглений окон и анимации */
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-brand span {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 3px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Section Shared ===== */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-header h2 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 20px auto 0;
  border-radius: 3px;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 180px;
  height: 180px;
  margin: 0 auto 40px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.3));
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 12px;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.hero .tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
  }

  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 6px rgba(201, 168, 76, 0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ===== About ===== */
.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-text h3 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
  transform: translateY(-4px);
}

.stat-card .number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Squad ===== */
.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.player-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
  transform: translateY(-6px);
}

.player-card:hover::before {
  transform: scaleX(1);
}

.player-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
  border: 2px solid var(--border-gold);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold);
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-card .position {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.player-card .name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.player-card .gamertag {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.player-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.player-stat {
  text-align: center;
}

.player-stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.player-stat-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.table-updated {
  text-align: center;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.player-card.captain::after {
  content: 'C';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: #0a0a0a;
}

/* ===== Tournaments ===== */
.tournaments {
  background: var(--bg-secondary);
}

.tournament-list {
  display: grid;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.tournament-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: var(--transition);
}

.tournament-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
  transform: translateX(6px);
}

.tournament-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.tournament-info h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.tournament-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tournament-status {
  margin-left: auto;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.tournament-status.active {
  background: rgba(76, 175, 80, 0.15);
  color: #66bb6a;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.tournament-status.upcoming {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.tournament-status.completed {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.tournament-cta {
  text-align: center;
  margin-top: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0a0a0a;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
  color: #0a0a0a;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-2px);
}

/* ===== Schedule & Cup Matches ===== */
.schedule-list,
.cup-path {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.schedule-match,
.cup-match {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.schedule-match:hover,
.cup-match:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(201, 168, 76, 0.1);
}

.schedule-meta,
.cup-round {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.schedule-round {
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.schedule-teams,
.cup-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.schedule-teams .team,
.cup-team {
  flex: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.schedule-teams .team:first-child,
.cup-team:first-child {
  text-align: right;
}

.schedule-teams .team:last-child,
.cup-team:last-child {
  text-align: left;
}

.schedule-teams .team.charisma,
.cup-team.winner {
  color: var(--gold);
}

.schedule-teams .score,
.cup-score {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 8px;
  min-width: 80px;
  text-align: center;
}

.schedule-teams .score.upcoming {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.schedule-match.win,
.cup-match.won {
  border-left: 4px solid var(--success);
}

.schedule-match.loss,
.cup-match.lost {
  border-left: 4px solid var(--danger);
}

.schedule-match.draw {
  border-left: 4px solid var(--text-muted);
}

.cup-result {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.win-badge {
  color: var(--success);
}

.loss-badge {
  color: var(--danger);
}

/* ===== Trophies ===== */
.trophies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.trophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.trophy-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
  transform: translateY(-6px);
}

.trophy-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.3));
}

.trophy-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.trophy-card .trophy-season {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.trophy-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== Contact ===== */
.contact {
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: var(--text-primary);
}

.contact-link:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
  transform: translateX(4px);
  color: var(--text-primary);
}

.contact-link .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(201, 168, 76, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-link .link-text {
  font-size: 0.95rem;
}

.contact-link .link-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--border-gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ===== League Table ===== */
.league {
  background: var(--bg-secondary);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.standings-table thead {
  background: rgba(201, 168, 76, 0.1);
}

.standings-table th {
  padding: 14px 16px;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  border-bottom: 1px solid var(--border-gold);
}

.standings-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.standings-table tbody tr {
  transition: background var(--transition);
}

.standings-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.standings-table tbody tr:last-child td {
  border-bottom: none;
}

.standings-table .highlight-row {
  background: rgba(201, 168, 76, 0.08) !important;
}

.standings-table .highlight-row td {
  color: var(--gold);
  font-weight: 600;
  border-bottom-color: var(--border-gold);
  border-top: 1px solid var(--border-gold);
}

.standings-table .relegated-row td {
  color: var(--text-muted);
  opacity: 0.5;
}

/* ===== Cup Path ===== */
.cup-path {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.cup-path::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.cup-match {
  position: relative;
  padding-left: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 24px 56px;
  transition: var(--transition);
}

.cup-match::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  z-index: 1;
}

.cup-match.won::before {
  background: #66bb6a;
  box-shadow: 0 0 12px rgba(102, 187, 106, 0.4);
}

.cup-match.lost::before {
  background: #ef5350;
  box-shadow: 0 0 12px rgba(239, 83, 80, 0.4);
}

.cup-match:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
}

.cup-round {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cup-teams {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cup-team {
  flex: 1;
  font-weight: 500;
}

.cup-team.winner {
  color: var(--text-primary);
  font-weight: 700;
}

.cup-team.opponent {
  color: var(--text-secondary);
}

.cup-score {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  min-width: 60px;
  text-align: center;
}

.cup-result {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.win-badge {
  background: rgba(102, 187, 106, 0.15);
  color: #66bb6a;
  border: 1px solid rgba(102, 187, 106, 0.3);
}

.loss-badge {
  background: rgba(239, 83, 80, 0.15);
  color: #ef5350;
  border: 1px solid rgba(239, 83, 80, 0.3);
}

.upcoming-badge {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.cup-match.upcoming::before {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
}

/* ===== Player Role Badges ===== */
.player-card.manager::after {
  content: 'M';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: #0a0a0a;
}

.player-card.assistant::after {
  content: 'A';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #c0c0c0, #e0e0e0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: #0a0a0a;
}

/* best-player badge removed */

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    letter-spacing: 6px;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .squad-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .player-card {
    padding: 24px 16px;
  }

  .tournament-card {
    flex-wrap: wrap;
    padding: 24px;
  }

  .tournament-status {
    margin-left: 0;
  }

  .trophies-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cup-teams {
    flex-wrap: wrap;
    gap: 8px;
  }

  .cup-score {
    min-width: auto;
  }

  .cup-match {
    padding: 20px 16px 20px 48px;
  }

  .standings-table {
    font-size: 0.8rem;
  }

  .standings-table th,
  .standings-table td {
    padding: 10px 10px;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .trophies-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 20px 16px;
  }

  .stat-card .number {
    font-size: 2rem;
  }
}

/* ===== Streams ===== */
.streams {
  background: var(--bg-primary);
}

.stream-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--glow-gold);
  transition: var(--transition);
}

.twitch-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
}

.twitch-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== Particle BG (decorative) ===== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: sparkle linear infinite;
}

@keyframes sparkle {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.1;
  }

  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(0.5);
  }
}