@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Outfit:wght@300;400;600;700;900&display=swap');

:root {
  --bg-dark: hsl(222, 47%, 4%);
  --bg-card: rgba(15, 23, 42, 0.55);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: hsl(210, 40%, 98%);
  --text-secondary: hsl(215, 20%, 82%);
  --accent-blue: hsl(217, 91%, 60%);
  --accent-green: hsl(142, 76%, 45%);
  --accent-purple: hsl(270, 76%, 53%);
  --accent-orange: hsl(24, 95%, 53%);
  --shadow-neon: 0 0 25px rgba(59, 130, 246, 0.25);
  --shadow-neon-purple: 0 0 25px rgba(168, 85, 247, 0.25);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-blue) var(--bg-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(at 10% 20%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(168, 85, 247, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Glassmorphism utility */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}
header.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span {
  font-style: italic;
  font-weight: 400;
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
}
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}
nav a:hover, nav a.active {
  color: var(--text-primary);
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  transition: var(--transition-smooth);
}
nav a:hover::after, nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 101;
  padding: 0.5rem;
  transition: var(--transition-smooth);
  display: none;
  align-items: center;
  justify-content: center;
}
.menu-toggle:hover {
  color: var(--accent-blue);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
  filter: blur(60px);
  z-index: -1;
  animation: float 20s infinite alternate;
}
@keyframes float {
  0% { transform: translate(-5%, -5%) scale(1); }
  100% { transform: translate(5%, 5%) scale(1.1); }
}
.hero-tag {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--accent-blue);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 1000px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-blue) 70%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 3rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: var(--text-primary);
  box-shadow: var(--shadow-neon);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.5);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.countdown {
  display: flex;
  gap: 1.5rem;
  margin-top: 4rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Sections General */
section {
  padding: 8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  color: var(--accent-blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: block;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Grid & Dashboard layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards styling */
.glass-card {
  padding: 2.5rem;
}

/* Prize Pool & Summary card */
.prize-banner {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
  border: 1px solid rgba(234, 179, 8, 0.25);
  box-shadow: 0 0 30px rgba(234, 179, 8, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.prize-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.prize-title {
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.prize-amount {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: hsl(45, 93%, 47%);
  text-shadow: 0 0 15px rgba(234, 179, 8, 0.3);
  line-height: 1.1;
}
.prize-details {
  display: flex;
  gap: 2rem;
  text-align: right;
}
.prize-sub {
  display: flex;
  flex-direction: column;
}
.prize-sub-val {
  font-size: 1.25rem;
  font-weight: 700;
}
.prize-sub-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* Leaderboard styling */
.leaderboard-table-container {
  overflow-x: auto;
  margin-top: 1.5rem;
}
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.leaderboard-table th {
  padding: 1rem 1.25rem;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.leaderboard-table td {
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}
.leaderboard-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.85rem;
}
.rank-1 .rank-badge {
  background: radial-gradient(circle, #fde047 0%, #ca8a04 100%);
  color: #000;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}
.rank-2 .rank-badge {
  background: radial-gradient(circle, #e2e8f0 0%, #94a3b8 100%);
  color: #000;
}
.rank-3 .rank-badge {
  background: radial-gradient(circle, #fed7aa 0%, #c2410c 100%);
  color: #fff;
}
.leaderboard-name {
  font-weight: 700;
}
.badge {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 0.5rem;
}
.badge-ob {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.3);
}
.badge-yb {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.points-val {
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: var(--accent-blue);
  font-size: 1.1rem;
}

/* Simulator Grid */
.simulator-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.sim-controls {
  display: flex;
  gap: 0.5rem;
}
.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.group-card {
  padding: 1.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.group-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
}
.group-name {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.group-name span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.group-select-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.selector-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.selector-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.custom-select {
  background: #1e293b !important;
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: #ffffff !important;
  padding: 0.6rem;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}
.custom-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}
.custom-select option {
  background-color: #1e293b !important;
  color: #ffffff !important;
}

.tie-switch-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  margin-top: 1rem;
}
.tie-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .3s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--accent-purple);
}
input:checked + .slider:before {
  transform: translateX(22px);
}

/* Match Timeline Section */
.match-section-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .match-section-wrap {
    grid-template-columns: 1fr;
  }
}
.match-filter-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent-blue);
  color: var(--text-primary);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-neon);
}
.fixtures-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.match-card {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.match-card:hover, .match-card.active {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
}
.match-meta {
  width: 80px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 700;
  display: flex;
  flex-direction: column;
}
.match-group-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 800;
  margin-top: 0.25rem;
  font-family: 'Montserrat', sans-serif;
}
.match-teams {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
}
.match-team {
  font-weight: 700;
  font-size: 1rem;
}
.match-team.team-a {
  text-align: right;
}
.match-vs {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin: 0 1rem;
}
.match-support-summary {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.support-stats-mini {
  font-weight: 800;
  color: var(--accent-green);
}

/* Match Detail Widget */
.match-detail-card {
  position: sticky;
  top: 100px;
  padding: 2.5rem;
}
.match-detail-header {
  text-align: center;
  margin-bottom: 2rem;
}
.match-detail-group {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--accent-blue);
  font-weight: 700;
}
.match-detail-vs-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 1.5rem 0;
}
.detail-team-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
}
.detail-team-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 0.5rem;
  text-align: center;
}
.detail-vs-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--text-secondary);
}

/* Tug of war bar */
.tug-of-war-container {
  margin-bottom: 2.5rem;
}
.tug-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.tug-bar-wrap {
  height: 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
}
.tug-bar-a {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), #3b82f6);
  transition: width 0.5s ease-in-out;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}
.tug-bar-b {
  height: 100%;
  background: linear-gradient(90deg, #ec4899, var(--accent-purple));
  transition: width 0.5s ease-in-out;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}
.tug-bar-neutral {
  height: 100%;
  background: #475569;
  transition: width 0.5s ease-in-out;
}

/* Match Supporters List split */
.supporters-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.supporters-list-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.supporters-list-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.supporters-ul {
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.supporters-li {
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.support-choice-rank {
  font-size: 0.7rem;
  color: var(--accent-purple);
  font-weight: 800;
}

/* Network Relationship Graph */
.network-container {
  height: 600px;
  width: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(10, 15, 30, 0.4);
}
#network-canvas {
  height: 100%;
  width: 100%;
}
.network-legend {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 10;
  font-size: 0.8rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Charts Section */
.charts-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 1024px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
}
.chart-card {
  padding: 2.5rem;
}
.chart-container {
  position: relative;
  height: 350px;
  width: 100%;
}

/* Regulations & Warning Section */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.rule-card {
  padding: 2rem;
  border-left: 4px solid var(--accent-orange);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.03) 0%, transparent 100%);
  transition: var(--transition-smooth);
}
.rule-card:hover {
  transform: scale(1.02);
  border-left-color: var(--accent-blue);
}
.rule-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-orange);
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
  margin-bottom: 1rem;
}
.rule-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.rule-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Footer styling */
footer {
  background: #020617;
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
footer p {
  margin-bottom: 1rem;
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Utility details */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.text-center {
  text-align: center;
}
.glow-text-blue {
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}
.glow-text-purple {
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Favorites list styling */
.favorites-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.favorite-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
}
.favorite-item:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.04);
}
.favorite-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.favorite-rank {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--accent-purple);
  width: 24px;
}
.flag-img {
  width: 32px;
  height: 22px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: block;
  border: 1px solid rgba(255,255,255,0.1);
  object-fit: cover;
}
.favorite-name {
  font-weight: 700;
  font-size: 1rem;
}
.favorite-votes {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--accent-blue);
  font-size: 1.1rem;
}

/* Mobile responsive styling (max-width: 768px) */
@media (max-width: 768px) {
  /* Container layout adjustments */
  .container {
    padding: 0 1.25rem;
  }
  
  section {
    padding: 4rem 0;
  }

  /* Navigation adjustments */
  .menu-toggle {
    display: flex;
  }
  
  nav#main-nav {
    position: fixed;
    top: 80px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(9, 13, 29, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-glass);
    z-index: 99;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  nav#main-nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2.5rem;
    padding: 4rem 2rem;
  }
  
  nav a {
    font-size: 1.3rem;
    font-weight: 700;
  }

  /* Hero Section adjustments */
  .hero {
    padding: 7rem 1.25rem 3rem;
    min-height: auto;
  }
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .countdown {
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    margin-top: 2.5rem;
  }
  .countdown-num {
    font-size: 1.8rem;
  }
  .countdown-label {
    font-size: 0.65rem;
  }

  /* Dashboard Section adjustments */
  .dashboard-grid {
    gap: 1.5rem;
  }
  .glass-card {
    padding: 1.5rem;
  }
  .leaderboard-table th, 
  .leaderboard-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }
  .leaderboard-table th:nth-child(4), 
  .leaderboard-table td:nth-child(4) {
    display: none; /* Hide details breakdown list on small mobile to save space */
  }
  .prize-banner {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .prize-amount {
    font-size: 2.5rem;
  }
  
  /* Match Timeline Section adjustments */
  .match-section-wrap {
    gap: 1.5rem;
  }
  .match-detail-card {
    position: relative;
    top: 0;
    padding: 1.5rem;
  }
  .detail-team-name {
    font-size: 1.1rem;
  }
  .supporters-split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .fixtures-timeline {
    max-height: 400px;
  }
  .match-card {
    padding: 1rem;
  }
  .match-teams {
    padding: 0 0.5rem;
  }
  .match-team {
    font-size: 0.9rem;
  }

  /* Official Standings Grid adjustments */
  .groups-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .group-card {
    padding: 1.25rem;
  }

  /* Stats Insights adjustments */
  .favorite-item {
    padding: 0.6rem 1rem;
  }
  .favorite-rank {
    font-size: 1rem;
  }
  .favorite-votes {
    font-size: 1rem;
  }

  /* Rules adjustments */
  .rules-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .rule-card {
    padding: 1.5rem;
  }
}

