/* ============================================
   BRAZILIAN DYNASTY — Tournament Detail Page
   Design System & Styles
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Core palette */
  --bg-primary: #0a0e1c;
  --bg-secondary: #0f1428;
  --bg-tertiary: #141a30;
  --bg-card: rgba(15, 20, 40, 0.85);
  --bg-card-hover: rgba(20, 26, 48, 0.95);

  /* Accent colors */
  --accent-coral: #ff4d4d;
  --accent-coral-hover: #ff6b6b;
  --accent-gold: #d4a017;
  --accent-gold-light: #f0c040;
  --accent-gold-dim: rgba(212, 160, 23, 0.15);
  --accent-blue: #3b82f6;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #b0b8d0;
  --text-muted: #6b7394;
  --text-gold: #d4a017;

  /* Borders & shadows */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(212, 160, 23, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(212, 160, 23, 0.1);

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

a { color: var(--accent-coral); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent-coral-hover); }

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

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

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 28, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-medium);
}

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

.nav-logo img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-coral);
  transition: width var(--transition-medium);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent-coral); }
.nav-links a.active::after { width: 100%; }

.nav-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-social a {
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.nav-social a:hover { color: var(--text-primary); transform: scale(1.15); }

/* Mobile nav toggle */
.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-fast);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

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

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(212, 160, 23, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(255, 77, 77, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(0deg, var(--bg-primary) 0%, transparent 100%);
  z-index: 1;
}

/* Animated particles / floating dots */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 8s infinite ease-in-out;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 10s; }
.hero-particles span:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; animation-duration: 12s; }
.hero-particles span:nth-child(3) { left: 45%; top: 30%; animation-delay: 2s; animation-duration: 8s; }
.hero-particles span:nth-child(4) { left: 65%; top: 70%; animation-delay: 3s; animation-duration: 11s; }
.hero-particles span:nth-child(5) { left: 80%; top: 40%; animation-delay: 4s; animation-duration: 9s; }
.hero-particles span:nth-child(6) { left: 90%; top: 80%; animation-delay: 5s; animation-duration: 13s; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
  25% { transform: translateY(-30px) translateX(10px); opacity: 0.5; }
  50% { transform: translateY(-10px) translateX(-15px); opacity: 0.3; }
  75% { transform: translateY(-40px) translateX(5px); opacity: 0.4; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.hero-logo {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 0 60px rgba(212, 160, 23, 0.3));
  animation: hero-logo-breathe 4s ease-in-out infinite;
}

@keyframes hero-logo-breathe {
  0%, 100% { filter: drop-shadow(0 0 40px rgba(212, 160, 23, 0.2)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 60px rgba(212, 160, 23, 0.35)); transform: scale(1.02); }
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold), #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 600px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.hero-meta-item .icon {
  font-size: 1.1rem;
}

.hero-meta-item strong {
  color: var(--text-primary);
}

/* ---------- Section Shared ---------- */
.section {
  padding: var(--section-padding);
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
  position: relative;
  padding: 0 20px;
}

.section-tag::before, .section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--accent-gold);
  opacity: 0.4;
}
.section-tag::before { right: 100%; }
.section-tag::after { left: 100%; }

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* Alternate background */
.section--alt {
  background: var(--bg-secondary);
}

/* Subtle section divider */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

/* ---------- Info Box (Quick Facts) ---------- */
.infobox {
  max-width: 900px;
  margin: 0 auto 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.infobox-header {
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.15), rgba(212, 160, 23, 0.05));
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  gap: 12px;
}

.infobox-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.infobox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}

.infobox-item {
  padding: 18px 28px;
  border-bottom: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

.infobox-item:hover {
  background: rgba(212, 160, 23, 0.04);
}

.infobox-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.infobox-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.infobox-value.highlight {
  color: var(--accent-gold);
  font-size: 1.2rem;
  font-weight: 800;
}

.infobox-value .tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent-gold), #b8860b);
  color: #0a0e1c;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 800;
}

/* ---------- About Section ---------- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-content p + p { margin-top: 16px; }

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

.about-highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  transition: all var(--transition-medium);
}

.about-highlight-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.about-highlight-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.about-highlight-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.about-highlight-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Schedule Timeline ---------- */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-gold), var(--border-gold), transparent);
}

.timeline-group {
  margin-bottom: 40px;
}

.timeline-group-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-align: center;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 24px;
  position: relative;
}

.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-date {
  flex: 1;
  text-align: right;
  padding-top: 8px;
}

.timeline-item:nth-child(even) .timeline-date {
  text-align: left;
}

.timeline-date-label {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.timeline-date-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--accent-gold);
  border: 3px solid var(--bg-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
  z-index: 1;
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.4);
}

.timeline-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 20px;
  transition: all var(--transition-medium);
}

.timeline-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-glow);
}

.timeline-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---------- Format Section ---------- */
.format-stages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.format-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.format-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.format-card-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.1), transparent);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
}

.format-card-header .stage-icon {
  font-size: 1.5rem;
}

.format-card-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.format-card-body {
  padding: 24px;
}

.format-card-body ul {
  list-style: none;
}

.format-card-body li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.format-card-body li:last-child { border-bottom: none; }

.format-card-body li .bullet {
  color: var(--accent-gold);
  font-size: 0.7rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.format-rules {
  max-width: 900px;
  margin: 32px auto 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.format-rule-chip {
  background: var(--accent-gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.format-rule-chip .icon { font-size: 1.1rem; }

/* ---------- Map Pool ---------- */
.map-pool-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition-medium);
  cursor: default;
}

.map-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.map-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.map-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.map-card.tba {
  opacity: 0.5;
  border-style: dashed;
}

/* ---------- Prize Pool ---------- */
.prize-tables {
  max-width: 900px;
  margin: 0 auto;
}

.prize-table-wrapper {
  margin-bottom: 40px;
}

.prize-table-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.prize-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.prize-table thead th {
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.12), rgba(212, 160, 23, 0.04));
  padding: 14px 20px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-gold);
}

.prize-table tbody tr {
  transition: background var(--transition-fast);
}

.prize-table tbody tr:hover {
  background: rgba(212, 160, 23, 0.04);
}

.prize-table tbody td {
  padding: 14px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.prize-table tbody tr:last-child td { border-bottom: none; }

.prize-table .place { font-weight: 700; color: var(--text-primary); }

.prize-table .prize-amount {
  font-weight: 700;
  color: var(--accent-gold);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
}

.prize-table .place-1 .place { color: #ffd700; }
.prize-table .place-2 .place { color: #c0c0c0; }
.prize-table .place-3 .place { color: #cd7f32; }

.prize-total {
  text-align: center;
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.1), transparent);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
}

.prize-total-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.prize-total-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-gold);
}

/* ---------- Participants ---------- */
.participants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.participant-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition-medium);
}

.participant-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.participant-card.confirmed {
  border-color: rgba(212, 160, 23, 0.4);
}

.participant-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  border: 2px solid var(--border-gold);
  overflow: hidden;
}

.participant-avatar--photo {
  padding: 0;
}

.participant-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.participant-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.participant-qualifier {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.participant-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-gold), #b8860b);
  color: #0a0e1c;
}

/* ---------- Broadcast ---------- */
.broadcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.broadcast-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition-medium);
}

.broadcast-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.broadcast-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 2px solid var(--border-gold);
  box-shadow: 0 0 20px rgba(212, 160, 23, 0.15);
}

.broadcast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.broadcast-role {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-coral);
  margin-bottom: 10px;
}

.broadcast-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.broadcast-real-name {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.broadcast-country {
  font-size: 0.85rem;
  margin-top: 8px;
}

/* Broadcast Language Groups */
.broadcast-language-group {
  margin-bottom: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.broadcast-language-group:last-of-type {
  margin-bottom: 0;
}

.broadcast-lang-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 32px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border-gold);
  text-align: center;
  max-width: 500px;
}

.lang-flag {
  font-size: 1.6rem;
  line-height: 1;
}

.broadcast-lang-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.broadcast-grid--centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.broadcast-grid--centered .broadcast-card {
  flex: 0 1 220px;
  min-width: 180px;
}

/* ---------- Sponsors ---------- */
.sponsors-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.sponsors-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.sponsor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px 48px;
  text-align: center;
  transition: all var(--transition-medium);
}

.sponsor-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.sponsor-card img {
  height: 60px;
  width: auto;
  margin: 0 auto 16px;
  filter: brightness(0.9);
  transition: filter var(--transition-fast);
}

.sponsor-card:hover img { filter: brightness(1.1); }

.sponsor-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.sponsor-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ---------- CTA / Links ---------- */
.cta-section {
  text-align: center;
  padding: 60px 24px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-medium);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-coral), #e03e3e);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 77, 77, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 77, 77, 0.45);
  color: white;
}

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

.btn-outline:hover {
  background: rgba(212, 160, 23, 0.1);
  transform: translateY(-2px);
  color: var(--accent-gold);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 30px;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--accent-coral); }

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-subtle);
}

.footer-social a:hover {
  background: var(--accent-coral);
  color: white;
  border-color: var(--accent-coral);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-logo img {
  height: 50px;
  width: auto;
  opacity: 0.8;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--accent-coral);
  color: white;
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(255, 77, 77, 0.5);
}

/* ---------- Floating Page Nav ---------- */
.page-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 10px;
  background: rgba(10, 14, 28, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-nav.visible {
  opacity: 1;
  visibility: visible;
}

.page-nav-item {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  padding: 4px;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.page-nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.page-nav-item.active .page-nav-dot {
  background: var(--accent-gold);
  box-shadow: 0 0 8px rgba(212, 160, 23, 0.5);
  width: 12px;
  height: 12px;
}

.page-nav-item:hover .page-nav-dot {
  background: var(--accent-coral);
}

.page-nav-label {
  position: absolute;
  right: 28px;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  background: rgba(10, 14, 28, 0.9);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-gold);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.page-nav-item:hover .page-nav-label {
  opacity: 1;
  transform: translateX(0);
}

.page-nav-item.active .page-nav-label {
  color: var(--accent-gold);
}

/* ---------- Language Switcher ---------- */
.lang-switcher {
  position: relative;
  margin-left: 16px;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.lang-switcher-btn:hover {
  background: rgba(212, 160, 23, 0.1);
  border-color: var(--border-gold);
  color: var(--text-primary);
}

.lang-switcher-btn .fa-globe {
  color: var(--accent-gold);
  font-size: 1rem;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: rgba(15, 20, 40, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 160, 23, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  text-align: left;
}

.lang-option:hover {
  background: rgba(212, 160, 23, 0.1);
  color: var(--text-primary);
}

.lang-option.active {
  background: rgba(212, 160, 23, 0.15);
  color: var(--accent-gold);
  font-weight: 700;
}

.lang-option.active::after {
  content: '✓';
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--accent-gold);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .section-title { font-size: 2rem; }
  .format-stages { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-highlights { grid-template-columns: repeat(3, 1fr); }
  
  .timeline::before { left: 24px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; }
  .timeline-date, .timeline-item:nth-child(even) .timeline-date { text-align: left; flex: none; width: auto; }
  .timeline-dot { margin-left: 0; }
}

@media (max-width: 768px) {
  :root { --section-padding: 50px 0; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-social { display: none; }
  .lang-switcher { margin-left: auto; margin-right: 12px; }
  .lang-dropdown { right: -12px; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 28, 0.98);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .hero { min-height: 80vh; padding: 100px 16px 60px; }
  .hero-logo { width: 200px; }
  .hero-title { font-size: 2.2rem; letter-spacing: 2px; }
  .hero-subtitle { font-size: 1rem; }
  .hero-meta { flex-direction: column; align-items: center; gap: 12px; }

  .section-title { font-size: 1.7rem; }

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

  .about-highlights { grid-template-columns: 1fr; }

  .timeline::before { left: 16px; }
  .timeline-date { display: none; }
  .timeline-card { margin-left: 20px; }

  .map-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }

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

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

  .sponsors-grid { gap: 24px; }
  .sponsor-card { padding: 24px 32px; }

  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .prize-total-amount { font-size: 2rem; }

  .page-nav { display: none !important; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .map-grid { grid-template-columns: repeat(2, 1fr); }
  .infobox-grid { grid-template-columns: 1fr; }
  .broadcast-grid { grid-template-columns: 1fr; }
  .participants-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Smooth Gradient Divider ---------- */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin: 0 auto;
  width: 50%;
  opacity: 0.3;
}
