* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

body {
  background: #0b0b0b;
  color: #f0f0f0;
  scroll-behavior: smooth;
  line-height: 1.5;
  padding-top: 72px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn-red {
  background: linear-gradient(145deg, #e10600, #b00400);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 60px;
  box-shadow: 0 8px 20px rgba(225, 6, 0, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-red:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 28px rgba(225, 6, 0, 0.5);
  background: linear-gradient(145deg, #ff1a0a, #c90500);
}

.text-red { color: #e10600; }

.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-section.visible { opacity: 1; transform: translateY(0); }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(225, 6, 0, 0.2);
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(11, 11, 11, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-brand i {
  color: #e10600;
  font-size: 1.6rem;
}

.nav-brand span {
  background: linear-gradient(135deg, #fff 60%, #e10600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
  letter-spacing: 0.3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e10600;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #e10600;
}

.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  transition: color 0.25s;
}

.nav-toggle:hover {
  color: #e10600;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 20% 30%, rgba(225, 6, 0, 0.15), transparent 70%),
              radial-gradient(circle at 80% 70%, rgba(225, 6, 0, 0.08), transparent 60%),
              #0b0b0b;
  border-bottom: 1px solid rgba(225, 6, 0, 0.2);
}

.hero-bg-icon {
  position: absolute;
  right: -5%;
  top: 10%;
  font-size: 28rem;
  opacity: 0.06;
  color: #e10600;
  pointer-events: none;
  transform: rotate(8deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 12vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.7);
}

.hero .countdown {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(4px);
  padding: 1.2rem 2.2rem;
  border-radius: 80px;
  border: 1px solid rgba(225, 6, 0, 0.25);
  display: inline-flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 2.2rem;
  font-weight: 500;
}

.countdown span {
  font-size: 2rem;
  font-weight: 700;
  background: #141414;
  padding: 0.2rem 1rem;
  border-radius: 40px;
  color: white;
  border: 1px solid #2a2a2a;
}

.hero .sub {
  font-size: 1.2rem;
  opacity: 0.7;
  max-width: 600px;
}

.match-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2rem;
  padding: 1.2rem 1.8rem;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.match-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: #e10600;
  transform: translateY(-4px);
  box-shadow: 0 18px 30px -12px rgba(225,6,0,0.2);
}

.match-card .flag { font-size: 2rem; line-height: 1; }
.match-card .vs { font-weight: 300; color: #aaa; letter-spacing: 0.1em; }

.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.group-box {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(4px);
  border: 1px solid #1f1f1f;
  border-radius: 2rem;
  padding: 1.2rem 0.8rem;
  text-align: center;
  transition: 0.2s;
}

.group-box:hover {
  border-color: #e10600;
  background: rgba(225,6,0,0.04);
}

.group-box .letter {
  font-weight: 700;
  font-size: 1.8rem;
  color: #e10600;
}

.bracket-wrapper {
  background: rgba(255,255,255,0.02);
  border-radius: 2.5rem;
  padding: 2rem 1.5rem;
  border: 1px solid #1a1a1a;
  overflow-x: auto;
}

.bracket-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem 2rem;
  min-width: 700px;
}

.bracket-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.bracket-col-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #888;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 0.4rem;
  margin-bottom: 0.4rem;
}

.bracket-match {
  background: #141414;
  border-radius: 1.4rem;
  padding: 0.6rem 1rem;
  border-left: 4px solid #e10600;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.bracket-match .teams {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.bracket-match .score {
  color: #aaa;
  font-weight: 400;
  font-size: 0.8rem;
  background: #1f1f1f;
  padding: 0.1rem 0.6rem;
  border-radius: 30px;
}

.bracket-match .flag-sm { font-size: 1.2rem; }
.bracket-match.final { border-left-color: gold; background: #1e1a0a; }
.bracket-match.third { border-left-color: silver; background: #1a1a1a; }
.bracket-match.highlight { border-left-color: #e10600; background: rgba(225,6,0,0.08); }

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.8rem;
  margin-top: 1.5rem;
}

.player-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(4px);
  border: 1px solid #1f1f1f;
  border-radius: 2.5rem;
  padding: 1.5rem 0.8rem 1.2rem;
  text-align: center;
  transition: 0.25s;
}

.player-card:hover {
  border-color: #e10600;
  transform: scale(1.02);
  background: rgba(225,6,0,0.05);
}

.player-card .avatar { font-size: 3rem; margin-bottom: 0.3rem; }

.player-card .stat-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  font-size: 0.9rem;
  color: #bbb;
  margin-top: 0.6rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
  background: rgba(255,255,255,0.02);
  border-radius: 3rem;
  padding: 2.5rem 1.5rem;
  border: 1px solid #1a1a1a;
  margin: 2rem 0;
}

.stat-item { text-align: center; }

.stat-item .number {
  font-size: 3.2rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.stat-item .label {
  color: #aaa;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 2.8rem 0 1.2rem;
  border-left: 6px solid #e10600;
  padding-left: 1.2rem;
}

.footer {
  border-top: 1px solid #1f1f1f;
  padding: 2.5rem 0;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}


@media (max-width: 820px) {
  .bracket-grid {
    grid-template-columns: repeat(2, 1fr);
    min-width: auto;
  }
}

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