/* ==============================================================================
   ARENA X1 - DESIGN SYSTEM FPS COMPETITIVO: VERMELHO & BRANCO
   Inspirado no visual oficial de Valorant VCT (Red, White, Carbon Black)
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,400;0,600;0,700;1,700&family=Teko:wght@500;600;700&family=Share+Tech+Mono&family=Inter:wght@400;600;700;900&display=swap');

:root {
  /* Cores Base: Preto Profundo & Grafite Tático */
  --bg-darkest: #07080a;
  --bg-main: #0c0e12;
  --bg-surface: #13161d;
  --bg-surface-hover: #1b1f28;
  --bg-terminal: #07090c;

  /* PADRONIZAÇÃO: VERMELHO VALORANT & BRANCO */
  --val-red: #FF4655;
  --val-red-hover: #e03241;
  --val-red-dark: #8C1C24;
  --val-red-glow: 0 0 18px rgba(255, 70, 85, 0.5);

  --pure-white: #FFFFFF;
  --off-white: #ECE8E1;
  --text-muted: #9BA4B4;
  --text-dim: #5A6474;

  /* Bordas e HUD em Branco e Vermelho */
  --border-hud: rgba(255, 255, 255, 0.16);
  --border-hud-bright: rgba(255, 255, 255, 0.4);
  --border-red: #FF4655;
  --border-dim: #1d222b;

  /* Tipografia Tática */
  --font-hud: 'Chakra Petch', sans-serif;
  --font-display: 'Teko', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.18s cubic-bezier(0.2, 0, 0, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-main);
  background-image: 
    linear-gradient(rgba(12, 14, 18, 0.96), rgba(12, 14, 18, 0.96)),
    repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(255, 255, 255, 0.015) 1px, rgba(255, 255, 255, 0.015) 3px),
    radial-gradient(circle at 10% 20%, rgba(255, 70, 85, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  color: var(--pure-white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Custom Scrollbar Gamer */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: var(--val-red);
}

/* ==============================================================================
   TICKER LIVE DO VALORANT (PRETO, VERMELHO E BRANCO)
   ============================================================================== */
.live-match-ticker {
  background: #000;
  border-bottom: 1px solid var(--border-hud);
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 30px;
  animation: tickerScroll 28s linear infinite;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.ticker-item strong {
  color: var(--pure-white);
}

.ticker-live-dot {
  width: 6px;
  height: 6px;
  background: var(--val-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--val-red);
  animation: pulseLive 1s infinite;
}

@keyframes pulseLive {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* ==============================================================================
   NAVBAR HUD TÁTICA (VERMELHO E BRANCO)
   ============================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 10, 14, 0.96);
  border-bottom: 2px solid var(--val-red);
  backdrop-filter: blur(10px);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 48px;
  width: auto;
  border: 1px solid var(--val-red);
  box-shadow: 0 0 10px rgba(255, 70, 85, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 0.85;
  color: var(--pure-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-name span {
  color: var(--val-red);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--off-white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-hud);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 6px 4px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--pure-white);
}

.nav-link:hover::before, .nav-link.active::before {
  content: '[ ';
  color: var(--val-red);
}

.nav-link:hover::after, .nav-link.active::after {
  content: ' ]';
  color: var(--val-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==============================================================================
   BOTÕES TÁTICOS PADRONIZADOS EM VERMELHO E BRANCO
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-hud);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  transition: var(--transition);
  /* Corte angular 45 graus estilo Valorant */
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

/* Botão Vermelho Oficial */
.btn-primary, .btn-red {
  background: var(--val-red);
  color: var(--pure-white);
  box-shadow: 0 4px 15px rgba(255, 70, 85, 0.4);
}

.btn-primary:hover, .btn-red:hover {
  background: var(--val-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--val-red-glow);
  color: var(--pure-white);
}

/* Botão Branco de Alto Contraste */
.btn-white {
  background: var(--pure-white);
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
  background: var(--off-white);
  color: var(--val-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
}

/* Botão Outline */
.btn-outline {
  background: transparent;
  color: var(--pure-white);
  border: 1px solid var(--border-hud-bright);
}

.btn-outline:hover {
  border-color: var(--val-red);
  background: rgba(255, 70, 85, 0.12);
  color: var(--val-red);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.audio-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hud);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: var(--transition);
}

.audio-toggle-btn.active {
  color: var(--pure-white);
  border-color: var(--val-red);
  background: rgba(255, 70, 85, 0.15);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--pure-white);
  font-size: 22px;
  cursor: pointer;
}

/* ==============================================================================
   HERO SECTION // VALORANT RED & WHITE CONTRAST
   ============================================================================== */
.hero {
  padding: 50px 0 60px;
  position: relative;
  border-bottom: 1px solid var(--border-dim);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-tagline-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 70, 85, 0.12);
  border-left: 4px solid var(--val-red);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--pure-white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 82px;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--pure-white);
}

.hero-title .highlight-red {
  color: var(--val-red);
  text-shadow: var(--val-red-glow);
}

.hero-title .highlight-white {
  color: var(--pure-white);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-features-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-hud);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--pure-white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip i {
  color: var(--val-red);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--bg-terminal);
  border: 1px solid var(--border-dim);
  border-left: 3px solid var(--val-red);
  padding: 16px 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--pure-white);
}

.stat-number.red-accent {
  color: var(--val-red);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ==============================================================================
   CARD DO PRÓXIMO COMBATE / COUNTDOWN (VERMELHO E BRANCO)
   ============================================================================== */
.hero-countdown-card {
  background: var(--bg-surface);
  border: 2px solid var(--val-red);
  box-shadow: 0 0 25px rgba(255, 70, 85, 0.25);
  position: relative;
  padding: 24px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.hero-countdown-card::before {
  content: '// COMBATE AGENDADO';
  position: absolute;
  top: 8px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--val-red);
  letter-spacing: 1px;
}

.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.timer-box {
  background: #000;
  border: 1px solid var(--border-hud);
  border-top: 2px solid var(--val-red);
  padding: 10px 4px;
  text-align: center;
}

.timer-val {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--pure-white);
  line-height: 0.9;
}

.timer-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.progress-bar-bg {
  background: #000;
  border: 1px solid var(--border-dim);
  height: 10px;
  padding: 1px;
  margin-bottom: 20px;
}

.progress-bar-fill {
  background: repeating-linear-gradient(
    -45deg,
    var(--val-red),
    var(--val-red) 6px,
    #991b26 6px,
    #991b26 12px
  );
  height: 100%;
  transition: width 0.6s ease;
}

/* ==============================================================================
   SEÇÃO DE CAMPEONATOS
   ============================================================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--val-red);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--pure-white);
  letter-spacing: 1px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 10px;
}

/* Filtro */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-hud);
  color: var(--text-muted);
  padding: 8px 18px;
  font-family: var(--font-hud);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--val-red);
  border-color: var(--val-red);
  color: var(--pure-white);
  box-shadow: 0 0 12px rgba(255, 70, 85, 0.4);
}

/* Grid de Torneios */
.tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.tournament-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-top: 3px solid var(--val-red);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.tournament-card:hover {
  border-color: var(--val-red);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), var(--val-red-glow);
}

.card-banner {
  position: relative;
  height: 160px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dim);
}

.card-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 22, 29, 0.95), transparent 70%);
}

.banner-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tournament-type {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--val-red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tournament-name {
  font-family: var(--font-hud);
  font-size: 22px;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 6px;
}

.tournament-details-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #08090C;
  border: 1px solid var(--border-dim);
  padding: 12px;
  margin: 14px 0;
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.detail-value {
  font-family: var(--font-hud);
  font-size: 16px;
  font-weight: 700;
  color: var(--pure-white);
}

.detail-value.prize {
  color: var(--pure-white);
  font-size: 22px;
  font-family: var(--font-display);
  line-height: 1;
}

.detail-value.prize span {
  color: var(--val-red);
}

/* ==============================================================================
   CHAVEAMENTO 1v1 (VERMELHO E BRANCO)
   ============================================================================== */
/* ==============================================================================
   CHAVEAMENTO 1v1 // ESTILO CHAMPIONSHIP VALORANT (INSPIRADO NA REFERÊNCIA)
   ============================================================================== */
.bracket-section {
  background: radial-gradient(circle at 50% 20%, rgba(255, 70, 85, 0.08) 0%, rgba(15, 25, 35, 0.98) 60%, #05080c 100%);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.bracket-header-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--val-red);
  font-size: 14px;
  margin-bottom: 8px;
  letter-spacing: 4px;
}

.bracket-tournament-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.bracket-tab-btn {
  background: #0d1218;
  border: 1px solid var(--border-dim);
  color: var(--text-muted);
  padding: 8px 18px;
  font-family: var(--font-hud);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bracket-tab-btn:hover {
  color: var(--pure-white);
  border-color: var(--val-red);
  background: rgba(255, 70, 85, 0.1);
}

.bracket-tab-btn.active {
  background: var(--val-red);
  color: #fff;
  border-color: var(--val-red);
  box-shadow: 0 0 15px rgba(255, 70, 85, 0.4);
}

/* Estado: Aguardando Encerramento das Vagas */
.bracket-waiting-box {
  background: rgba(13, 18, 24, 0.85);
  border: 1px solid var(--border-hud);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.bracket-waiting-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--val-red), transparent);
}

.bracket-waiting-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 70, 85, 0.15);
  border: 1px solid var(--val-red);
  color: var(--val-red);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-radius: 2px;
}

.waiting-progress-container {
  max-width: 500px;
  margin: 20px auto 30px;
}

/* Grid de Participantes Confirmados */
.confirmed-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 25px;
  text-align: left;
}

.slot-player-card {
  background: #080c10;
  border: 1px solid var(--border-dim);
  padding: 10px 14px;
  border-radius: 4px;
  transition: all 0.2s ease;
  position: relative;
}

.slot-player-card.confirmed {
  border-left: 3px solid var(--val-red);
}

.slot-player-card.empty {
  border-style: dashed;
  opacity: 0.6;
}

.slot-player-card .p-nick {
  font-family: var(--font-hud);
  font-size: 13px;
  color: var(--pure-white);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-player-card .p-riot {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Estrutura do Chaveamento Ativo */
.bracket-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 30px 10px;
  justify-content: flex-start;
  align-items: stretch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--val-red) #080c10;
}

.bracket-container::-webkit-scrollbar {
  height: 8px;
}

.bracket-container::-webkit-scrollbar-thumb {
  background: var(--val-red);
  border-radius: 4px;
}

.bracket-round {
  min-width: 270px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 20px;
  position: relative;
}

.round-title-bar {
  background: rgba(13, 18, 24, 0.9);
  border: 1px solid var(--border-hud);
  border-bottom: 2px solid var(--val-red);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--pure-white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-radius: 4px 4px 0 0;
}

.match-box {
  background: #0b0f14;
  border: 1px solid var(--border-hud);
  border-radius: 6px;
  padding: 12px 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.match-box:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 70, 85, 0.6);
  box-shadow: 0 6px 25px rgba(255, 70, 85, 0.15);
}

.match-box.is-final {
  border: 2px solid #FFD700;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.25);
  background: linear-gradient(180deg, #111720 0%, #080c10 100%);
}

.match-header-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.player-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 4px;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.player-slot:last-child {
  margin-bottom: 0;
}

.player-info-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
}

.player-info-meta .nick {
  font-family: var(--font-hud);
  font-size: 13px;
  font-weight: 700;
  color: var(--off-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.player-info-meta .riot-id {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.player-slot.winner {
  background: rgba(46, 160, 67, 0.15);
  border: 1px solid rgba(46, 160, 67, 0.5);
}

.player-slot.winner .nick {
  color: #4ade80;
}

.player-slot.eliminated {
  opacity: 0.45;
}

.player-slot.eliminated .nick {
  text-decoration: line-through;
}

.player-slot .score {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  color: var(--pure-white);
  font-weight: 700;
  min-width: 24px;
  text-align: right;
}

.player-slot.winner .score {
  color: #4ade80;
}

/* Super Destaque do Grande Campeão (Inspirado no Emblema Central da Imagem) */
.champion-emblem-card {
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.2) 0%, rgba(13, 18, 24, 0.95) 75%);
  border: 2px solid #FFD700;
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.35);
  padding: 30px 20px;
  text-align: center;
  margin-top: 35px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.champion-shield-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD700, #B8860B);
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
  margin-bottom: 14px;
}

.champion-emblem-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  color: #FFF;
  letter-spacing: 2px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.champion-emblem-card .champ-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid #FFD700;
  color: #FFD700;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ==============================================================================
   MURAL DOS CAMPEÕES (VERMELHO E BRANCO)
   ============================================================================== */
.hall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.hall-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-top: 3px solid var(--val-red);
  padding: 20px;
  text-align: center;
  position: relative;
}

.hall-card .trophy-icon {
  font-size: 34px;
  color: var(--val-red);
  margin-bottom: 10px;
}

.hall-player {
  font-family: var(--font-hud);
  font-size: 20px;
  font-weight: 700;
  color: var(--pure-white);
}

.hall-riot {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--val-red);
  margin-bottom: 8px;
}

.hall-prize {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--pure-white);
}

/* Badges e Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-success { background: rgba(255, 255, 255, 0.12); color: var(--pure-white); border: 1px solid rgba(255, 255, 255, 0.4); }
.badge-warning { background: rgba(255, 70, 85, 0.15); color: var(--val-red); border: 1px solid var(--val-red); }
.badge-live { background: var(--val-red); color: var(--pure-white); border: 1px solid var(--val-red); }
.badge-muted { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); border: 1px solid var(--border-hud); }

/* ==============================================================================
   MODAL DE INSCRIÇÃO & CHECKOUT PIX (VERMELHO E BRANCO)
   ============================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #0c0e14;
  border: 2px solid var(--val-red);
  box-shadow: 0 0 35px rgba(255, 70, 85, 0.35);
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: 28px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}
.modal-close-btn:hover { color: var(--val-red); }

.modal-title {
  font-family: var(--font-hud);
  font-size: 24px;
  font-weight: 700;
  color: var(--pure-white);
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--pure-white);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.form-label i {
  color: var(--val-red);
  margin-right: 4px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background: #050608;
  border: 1px solid var(--border-hud);
  color: var(--pure-white);
  font-family: var(--font-hud);
  font-size: 14px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.form-control:focus {
  outline: none;
  border-color: var(--val-red);
  box-shadow: 0 0 8px rgba(255, 70, 85, 0.4);
}

.pix-checkout-box {
  background: #050608;
  border: 1px solid var(--border-hud);
  border-top: 3px solid var(--val-red);
  padding: 18px;
  text-align: center;
  margin: 16px 0;
}

.pix-qr-img {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  background: #FFF;
  padding: 6px;
  border: 2px solid #000;
}

.pix-code-field {
  background: #000;
  border: 1px dashed var(--val-red);
  padding: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--pure-white);
  width: 100%;
  resize: none;
}

/* ==============================================================================
   FOOTER (VERMELHO E BRANCO)
   ============================================================================== */
.footer {
  background: #050608;
  border-top: 2px solid var(--val-red);
  padding: 50px 0 24px;
  margin-top: 60px;
}

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

.footer-title {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--val-red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-hud);
  font-size: 13px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--pure-white);
  padding-left: 4px;
}

.social-icons-row {
  display: flex;
  gap: 8px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  background: #0c0e14;
  border: 1px solid var(--border-hud);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.social-icon-btn:hover {
  background: var(--val-red);
  color: var(--pure-white);
  border-color: var(--val-red);
}

.floating-support {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--pure-white);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.float-whatsapp { background: #25D366; }
.float-discord { background: #5865F2; }

/* ==============================================================================
   RESPONSIVE & MOBILE-FIRST FIXES
   ============================================================================== */

/* Prevent horizontal overflow EVERYWHERE */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
.container, section, .hero, .bracket-section {
  overflow-x: hidden;
  max-width: 100%;
}

/* Fix clip-path buttons on mobile - can cut content */
@media (max-width: 480px) {
  .btn {
    clip-path: none;
    border-radius: 4px;
  }
  .btn-sm {
    clip-path: none;
    border-radius: 4px;
  }
  .audio-toggle-btn, .float-btn, .social-icon-btn {
    clip-path: none;
    border-radius: 4px;
  }
}

/* ====== 1200px: Tablet Landscape ====== */
@media (max-width: 1200px) {
  .hero-title { font-size: 68px; }
  .nav-links { gap: 14px; }
}

/* ====== 992px: Tablet Portrait ====== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-title { font-size: 60px; }
  .hero-image-wrapper { display: none; } /* Ocultar imagem em tablets */
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Nav links condensados */
  .nav-links { gap: 10px; }
  .nav-link { font-size: 12px; }

  /* Bracket scroll horizontal OK */
  .bracket-container { padding: 20px 0; }

  /* Seção de stats */
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ====== 768px: Mobile ====== */
@media (max-width: 768px) {
  /* NAV MOBILE */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 8, 10, 0.98);
    flex-direction: column;
    padding: 80px 24px 24px;
    border-bottom: none;
    border-right: 2px solid var(--val-red);
    z-index: 999;
    gap: 6px;
    overflow-y: auto;
  }
  .nav-links.active { display: flex; }
  .nav-links li a {
    font-size: 18px;
    padding: 14px 16px;
    display: block;
    border-left: 3px solid transparent;
  }
  .nav-links li a:hover,
  .nav-links li a.active {
    border-left-color: var(--val-red);
    background: rgba(255, 70, 85, 0.08);
    padding-left: 20px;
  }
  .nav-links li a::before,
  .nav-links li a::after { display: none; }

  .mobile-menu-btn { display: block; z-index: 1000; }
  .navbar { position: sticky; top: 0; z-index: 998; }
  .nav-container { height: 60px; padding: 0 16px; }

  /* HERO */
  .hero { padding: 30px 0 40px; }
  .hero-title { font-size: 44px; line-height: 0.95; }
  .hero-desc { font-size: 14px; }
  .hero-tagline-box { font-size: 10px; }
  .hero-stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* SEÇÕES GERAIS */
  .section { padding: 50px 0; }
  .section-title { font-size: 32px; }
  .container { padding: 0 16px; }

  /* CARDS TORNEIOS */
  .tournament-grid {
    grid-template-columns: 1fr;
  }

  /* BRACKET */
  .bracket-section { padding: 40px 0; }
  .bracket-container { padding: 16px 0; gap: 14px; }
  .bracket-round { min-width: 230px; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer { padding: 40px 0 20px; }

  /* LIVE TICKER */
  .live-match-ticker { font-size: 10px; }

  /* HALL OF FAME */
  .hall-grid { grid-template-columns: repeat(2, 1fr); }

  /* FORM / MODAL */
  .modal-box { padding: 20px 16px; margin: 10px; }

  /* FLOATING BTNS: smaller on mobile */
  .floating-support { bottom: 12px; right: 12px; gap: 8px; }
  .float-btn { width: 42px; height: 42px; font-size: 18px; }

  /* Torneio individual page */
  .torneio-tab-btn { padding: 10px 12px; font-size: 11px; }
}

/* ====== 480px: Small Mobile ====== */
@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .section-title { font-size: 26px; }
  .hero-stats-row { grid-template-columns: 1fr; }
  .hall-grid { grid-template-columns: 1fr; }

  /* Botões hero em coluna */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Ticker menor */
  .live-match-ticker { font-size: 9px; padding: 4px 0; }

  /* Modal width */
  .modal-overlay { padding: 10px; }

  /* Bracket: ainda menor */
  .bracket-round { min-width: 200px; }

  /* Navigation fix */
  .nav-container { padding: 0 12px; }
  .brand-name { font-size: 24px; }
  .brand-tag { display: none; }

  /* Btn text full hide on mobile */
  .btn-text-full { display: none; }

  /* FAQ */
  .faq-question { font-size: 14px; }

  /* Checkin / Perfil headings */
  .section-title { font-size: 28px; }
}

