/* =========================
   TORNEIOS / BASE
========================= */

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(56,189,248,0.15), transparent 40%);
  pointer-events: none;
}

.section-description {
  max-width: 760px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 12px 0 32px;
}

/* =========================
   STATUS / BADGES
========================= */

.status,
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.status-upcoming {
  background: rgba(148,163,184,0.12);
  color: #94a3b8;
  border: 1px solid rgba(148,163,184,0.25);
}

.status-open,
.status-aberto {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.45);
}

.status-live {
  background: rgba(239,68,68,0.12);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.35);
  animation: pulseLive 1.5s infinite;
}

.status-andamento {
  background: rgba(234,179,8,0.15);
  color: #eab308;
  border: 1px solid #eab308;
}

.status-playoffs {
  background: rgba(249,115,22,0.15);
  color: #f97316;
  border: 1px solid #f97316;
}

.status-final {
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  border: 1px solid #ef4444;
}

.status-finished,
.status-finalizado,
.status-encerrado {
  background: rgba(107,114,128,0.15);
  color: #d1d5db;
  border: 1px solid #6b7280;
}

@keyframes pulseLive {
  0% { box-shadow: 0 0 0 rgba(239,68,68,0); }
  50% { box-shadow: 0 0 14px rgba(239,68,68,0.35); }
  100% { box-shadow: 0 0 0 rgba(239,68,68,0); }
}

/* =========================
   BREADCRUMB
========================= */

.breadcrumb-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 40px 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.breadcrumb-container a {
  color: #38bdf8;
  transition: opacity 0.2s ease;
}

.breadcrumb-container a:hover {
  opacity: 0.7;
}

.breadcrumb-current {
  color: #f8fafc;
  font-weight: 600;
}

/* =========================
   BANNER DO TORNEIO
========================= */

.tournament-banner {
  width: 100%;
  margin: 30px 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(56,189,248,0.18);
  background: linear-gradient(135deg, rgba(56,189,248,0.10), rgba(15,23,42,0.95));
}

.tournament-banner img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 360px;
}

.tournament-banner-placeholder {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #94a3b8;
  padding: 30px;
}

/* =========================
   DASHBOARD DO TORNEIO
========================= */

.tournament-dashboard {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.18), transparent 36%),
    linear-gradient(135deg, rgba(15,23,42,0.98), rgba(2,6,23,0.98));
  border: 1px solid rgba(56,189,248,0.22);
  box-shadow: 0 0 42px rgba(56,189,248,0.10);
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-main h2 {
  font-size: 2.4rem;
  margin: 18px 0 14px;
  color: white;
}

.dashboard-main p {
  max-width: 640px;
  color: #cbd5e1;
  line-height: 1.7;
}

.dashboard-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.dashboard-actions .btn {
  margin: 0;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.dashboard-stat {
  padding: 18px;
  border-radius: 18px;
  background: rgba(2,6,23,0.72);
  border: 1px solid rgba(255,255,255,0.07);
}

.dashboard-stat span {
  display: block;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.dashboard-stat strong {
  color: white;
  font-size: 1.05rem;
}

/* =========================
   NAVEGAÇÃO INTERNA
========================= */

.tournament-nav-section {
  padding-top: 0;
  padding-bottom: 20px;
}

.tournament-page-nav {
  position: sticky;
  top: 86px;
  z-index: 80;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(2,6,23,0.86);
  border: 1px solid rgba(56,189,248,0.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(56,189,248,0.08);
}

.tournament-page-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(15,23,42,0.7);
  transition: 0.2s ease;
}

.tournament-page-nav a:hover {
  color: #38bdf8;
  border-color: rgba(56,189,248,0.45);
  background: rgba(56,189,248,0.10);
}

section[id] {
  scroll-margin-top: 130px;
}

/* =========================
   FILTROS
========================= */

.tournament-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 30px 0;
  gap: 16px;
}

.tournament-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(56,189,248,0.45);
  border-radius: 12px;
  background: rgba(2,6,23,0.85);
  box-shadow: 0 0 18px rgba(56,189,248,0.08);
}

.tournament-filter label {
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.9rem;
}

.tournament-filter select {
  min-width: 170px;
  background: rgba(15,23,42,0.95);
  color: #f8fafc;
  border: 1px solid rgba(148,163,184,0.25);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  outline: none;
}

.tournament-filter select:focus {
  border-color: #38bdf8;
}

/* =========================
   GRID / CARDS DE TORNEIOS
========================= */

.tournament-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.tournament-category-card,
.tournament-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(56,189,248,0.18);
  background: linear-gradient(135deg, rgba(15,23,42,0.95), rgba(2,6,23,0.95));
  transition: 0.25s ease;
}

.tournament-category-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.tournament-card {
  display: flex;
  flex-direction: column;
}

.tournament-category-card:hover,
.tournament-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56,189,248,0.45);
  box-shadow: 0 0 24px rgba(56,189,248,0.12);
}

.tournament-category-card h3,
.tournament-card h3 {
  font-size: 1.7rem;
  color: #f8fafc;
  margin-bottom: 10px;
  z-index: 2;
}

.tournament-category-card p,
.tournament-card p {
  color: #cbd5e1;
  z-index: 2;
}

.tournament-category-card .btn,
.tournament-card .btn {
  width: fit-content;
  margin-top: 18px;
  z-index: 2;
}

.tournament-banner-small {
  width: 100%;
  height: 160px;
  background: rgba(2,6,23,0.75);
  overflow: hidden;
}

.tournament-banner-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tournament-card-content {
  padding: 24px;
}

/* VARIAÇÕES */

.card-fgc {
  background: linear-gradient(135deg, rgba(2,6,23,0.95), rgba(14,165,233,0.22));
}

.card-fps {
  background: linear-gradient(135deg, rgba(2,6,23,0.95), rgba(34,197,94,0.20));
}

.card-moba {
  background: linear-gradient(135deg, rgba(2,6,23,0.95), rgba(168,85,247,0.22));
}

.card-sports {
  background: linear-gradient(135deg, rgba(2,6,23,0.95), rgba(250,204,21,0.18));
}

.card-sf6 {
  background: linear-gradient(135deg, rgba(127,29,29,0.55), rgba(2,6,23,0.95));
}

.card-tekken {
  background: linear-gradient(135deg, rgba(88,28,135,0.55), rgba(2,6,23,0.95));
}

.card-2xko {
  background: linear-gradient(135deg, rgba(20,184,166,0.35), rgba(2,6,23,0.95));
}

.card-overwatch {
  background: linear-gradient(135deg, rgba(249,115,22,0.35), rgba(2,6,23,0.95));
}

.card-apex {
  background: linear-gradient(135deg, rgba(220,38,38,0.35), rgba(2,6,23,0.95));
}

.card-cod {
  background: linear-gradient(135deg, rgba(34,197,94,0.28), rgba(2,6,23,0.95));
}

/* =========================
   MODELOS DE COMPETIÇÃO
========================= */

.competition-models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 30px;
}

.competition-model-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15,23,42,0.98), rgba(2,6,23,0.98));
  border: 1px solid rgba(56,189,248,0.18);
  box-shadow: 0 0 28px rgba(56,189,248,0.08);
  transition: 0.25s ease;
}

.competition-model-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56,189,248,0.5);
  box-shadow: 0 0 38px rgba(56,189,248,0.18);
}

.competition-model-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(56,189,248,0.16), transparent 38%);
  pointer-events: none;
}

.model-tag {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.32);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.competition-model-card h3,
.competition-model-card p {
  position: relative;
  z-index: 2;
}

.competition-model-card h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
  color: #ffffff;
}

.competition-model-card p {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 26px;
}

.model-groups {
  border-color: rgba(168,85,247,0.24);
}

.model-groups::before {
  background: radial-gradient(circle at top right, rgba(168,85,247,0.20), transparent 38%);
}

.model-league {
  border-color: rgba(34,197,94,0.24);
}

.model-league::before {
  background: radial-gradient(circle at top right, rgba(34,197,94,0.18), transparent 38%);
}

/* PREVIEWS */

.mini-bracket-preview {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.mini-bracket-preview span {
  color: #38bdf8;
  font-weight: 900;
}

.mini-round {
  min-width: 90px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-round div,
.group-box,
.playoff-box {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(2,6,23,0.85);
  border: 1px solid rgba(56,189,248,0.22);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.final-preview div {
  border-color: rgba(250,204,21,0.45);
  color: #facc15;
}

.champion-preview div {
  border-color: rgba(34,197,94,0.45);
  color: #22c55e;
}

.groups-preview {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

.group-box strong {
  display: block;
  color: #ffffff;
  margin-bottom: 6px;
}

.group-box span {
  color: #94a3b8;
  font-size: 0.85rem;
}

.playoff-box {
  color: #38bdf8;
  font-weight: 900;
  border-color: rgba(56,189,248,0.45);
  box-shadow: 0 0 18px rgba(56,189,248,0.12);
}

.league-preview {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(56,189,248,0.20);
}

.league-row {
  display: grid;
  grid-template-columns: 40px 1fr 50px;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(2,6,23,0.76);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #e2e8f0;
  font-size: 0.85rem;
}

.league-row:last-child {
  border-bottom: none;
}

.league-head {
  background: rgba(56,189,248,0.12);
  color: #38bdf8;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* =========================
   GRUPOS + PLAYOFFS
========================= */

.groups-playoffs-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.group-stage-card {
  width: 340px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15,23,42,0.98), rgba(2,6,23,0.98));
  border: 1px solid rgba(56,189,248,0.18);
  box-shadow: 0 0 28px rgba(56,189,248,0.08);
}

.group-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(90deg, rgba(56,189,248,0.14), transparent);
}

.group-header h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.group-header span {
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.group-players {
  padding: 20px;
}

.group-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  color: #cbd5e1;
  transition: 0.25s ease;
}

.group-player:hover {
  transform: translateX(6px);
}

.group-player strong {
  color: white;
}

.group-player span {
  flex: 1;
  font-weight: 700;
}

.group-player small {
  color: #94a3b8;
}

.group-player.qualified {
  border-color: rgba(34,197,94,0.30);
  background: linear-gradient(90deg, rgba(34,197,94,0.12), rgba(255,255,255,0.02));
}

.group-player.qualified strong {
  color: #22c55e;
}

.group-player.eliminated {
  opacity: 0.55;
}

.playoff-transition {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.transition-arrow {
  font-size: 3rem;
  color: #38bdf8;
  font-weight: 900;
  text-shadow: 0 0 24px rgba(56,189,248,0.45);
}

/* =========================
   LIGA / RANKING
========================= */

.league-system {
  margin-top: 50px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15,23,42,0.98), rgba(2,6,23,0.98));
  border: 1px solid rgba(56,189,248,0.18);
  box-shadow: 0 0 34px rgba(56,189,248,0.08);
}

.league-header,
.league-team {
  display: grid;
  grid-template-columns: 70px 1.8fr 90px 90px 90px;
  align-items: center;
  gap: 10px;
}

.league-header {
  padding: 22px;
  background: linear-gradient(90deg, rgba(56,189,248,0.18), transparent);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.league-team {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #e2e8f0;
  transition: 0.25s ease;
}

.league-team:last-child {
  border-bottom: none;
}

.league-team:hover {
  background: rgba(255,255,255,0.03);
  transform: translateX(6px);
}

.league-position {
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
}

.league-player {
  display: flex;
  align-items: center;
  gap: 14px;
}

.league-player img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(56,189,248,0.35);
}

.league-player span {
  font-weight: 800;
}

.points {
  color: #38bdf8;
  font-weight: 900;
  font-size: 1.1rem;
}

.league-team.leader {
  background: linear-gradient(90deg, rgba(250,204,21,0.14), rgba(255,255,255,0.02));
  border-left: 4px solid #facc15;
}

.league-team.leader .league-position {
  color: #facc15;
}

.league-team.qualified {
  border-left: 4px solid #22c55e;
}

.ranking-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 25px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 80px 1fr 120px 120px 120px;
  align-items: center;
  gap: 12px;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(56,189,248,0.12);
  border-radius: 14px;
  padding: 18px 20px;
  transition: 0.25s ease;
}

.ranking-row:hover {
  transform: translateY(-3px);
  border-color: rgba(56,189,248,0.35);
  box-shadow: 0 0 18px rgba(56,189,248,0.10);
}

.ranking-position {
  font-size: 1.4rem;
  font-weight: 800;
  color: #38bdf8;
}

.ranking-player {
  font-weight: 700;
  color: #f8fafc;
}

.ranking-stat {
  text-align: center;
}

.ranking-stat strong {
  display: block;
  color: #38bdf8;
  font-size: 1.1rem;
}

.ranking-stat span {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.ranking-header {
  background: rgba(56,189,248,0.08);
  border-color: rgba(56,189,248,0.25);
  font-weight: 700;
}

.ranking-first {
  border-color: rgba(250,204,21,0.35);
  box-shadow: 0 0 20px rgba(250,204,21,0.08);
}

.ranking-first .ranking-position {
  color: #facc15;
}

/* =========================
   BRACKET
========================= */

.esports-bracket {
  display: flex;
  gap: 50px;
  overflow-x: auto;
  padding: 30px 10px;
}

.bracket-round {
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.bracket-round h3 {
  text-align: center;
  color: #38bdf8;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.match-card {
  position: relative;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15,23,42,0.96), rgba(2,6,23,0.96));
  border: 1px solid rgba(56,189,248,0.18);
  box-shadow: 0 0 24px rgba(56,189,248,0.08);
  transition: 0.25s ease;
}

.match-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56,189,248,0.45);
}

.player {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  margin-bottom: 10px;
  color: #cbd5e1;
  font-weight: 700;
}

.player:last-child {
  margin-bottom: 0;
}

.player strong {
  color: #ffffff;
}

.player.winner {
  background: linear-gradient(90deg, rgba(34,197,94,0.18), rgba(34,197,94,0.05));
  border-color: rgba(34,197,94,0.35);
  color: #22c55e;
}

.featured-match {
  border-color: rgba(250,204,21,0.28);
  box-shadow: 0 0 30px rgba(250,204,21,0.10);
}

.final-round {
  justify-content: center;
}

.champion-card {
  position: relative;
  padding: 36px 28px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(250,204,21,0.18), rgba(15,23,42,0.98));
  border: 1px solid rgba(250,204,21,0.38);
  box-shadow: 0 0 38px rgba(250,204,21,0.14);
}

.champion-label {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(250,204,21,0.18);
  border: 1px solid rgba(250,204,21,0.35);
  color: #facc15;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.champion-card h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.champion-card p {
  color: #cbd5e1;
}

/* =========================
   PÓDIO VISUAL
========================= */

.visual-podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  margin-top: 60px;
  padding: 50px 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(56,189,248,0.16), transparent 42%),
    linear-gradient(180deg, rgba(15,23,42,0.96), rgba(2,6,23,0.98));
  border: 1px solid rgba(56,189,248,0.18);
  overflow: hidden;
}

.podium-player {
  width: 260px;
  text-align: center;
  position: relative;
}

.podium-avatar {
  width: 128px;
  height: 128px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(56,189,248,0.7);
  box-shadow: 0 0 28px rgba(56,189,248,0.35);
  background: #020617;
}

.podium-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podium-name {
  background: rgba(2,6,23,0.9);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 12px;
  font-size: 1.3rem;
  font-weight: 900;
  color: white;
}

.podium-title {
  margin-top: 8px;
  color: #38bdf8;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.podium-base {
  margin-top: 16px;
  height: 150px;
  border-radius: 22px 22px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 900;
  color: white;
  background: linear-gradient(180deg, rgba(30,41,59,0.95), rgba(2,6,23,1));
  border: 1px solid rgba(56,189,248,0.22);
  box-shadow: inset 0 0 30px rgba(255,255,255,0.04);
}

.podium-first {
  transform: translateY(-36px);
}

.podium-first .podium-avatar {
  border-color: rgba(250,204,21,0.9);
  box-shadow: 0 0 34px rgba(250,204,21,0.45);
}

.podium-first .podium-title {
  color: #facc15;
}

.podium-first .podium-base {
  height: 220px;
  color: #facc15;
  border-color: rgba(250,204,21,0.45);
  box-shadow: 0 0 32px rgba(250,204,21,0.16);
}

.podium-second .podium-base {
  height: 170px;
  color: #cbd5e1;
}

.podium-third .podium-base {
  height: 135px;
  color: #fb923c;
  border-color: rgba(251,146,60,0.32);
}

.podium-crown {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  color: #facc15;
  text-shadow: 0 0 20px rgba(250,204,21,0.7);
}

/* =========================
   PROGRESSO
========================= */

.progress-container {
  width: 100%;
  height: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 12px;
}

.progress-bar {
  height: 100%;
  width: 58%;
  border-radius: 999px;
  background: #38bdf8;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {
  .tournament-dashboard {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-main h2 {
    font-size: 2rem;
  }

  .groups-playoffs-layout {
    flex-direction: column;
  }

  .transition-arrow {
    transform: rotate(90deg);
  }

  .league-header,
  .league-team {
    grid-template-columns: 50px 1.5fr 60px 60px 60px;
    font-size: 0.8rem;
  }

  .league-player img {
    width: 40px;
    height: 40px;
  }

  .ranking-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .visual-podium {
    flex-direction: column;
    align-items: center;
  }

  .podium-first {
    transform: none;
    order: 1;
  }

  .podium-second {
    order: 2;
  }

  .podium-third {
    order: 3;
  }

  .podium-player {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .breadcrumb-container {
    padding: 20px 20px 0;
    flex-wrap: wrap;
  }

  .tournament-toolbar {
    justify-content: flex-start;
  }

  .tournament-filter {
    width: 100%;
    justify-content: space-between;
  }

  .tournament-filter select {
    min-width: 140px;
  }

  .competition-model-card {
    min-height: auto;
  }

  .mini-bracket-preview {
    flex-direction: column;
    align-items: stretch;
  }

  .mini-bracket-preview span {
    text-align: center;
    transform: rotate(90deg);
  }

  .esports-bracket {
    gap: 30px;
  }

  .bracket-round {
    min-width: 240px;
  }

  .tournament-page-nav {
    position: static;
  }
}

/* =========================
   AJUSTE VISUAL DOS CARDS DE TORNEIO
========================= */

.tournament-grid {
  align-items: stretch;
}

.tournament-card {
  height: 100%;
  min-height: 455px;

  display: flex;
  flex-direction: column;
}

.tournament-banner-small {
  height: 165px;
  flex-shrink: 0;
}

.tournament-card-content {
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 24px;
}

.tournament-card-content .status {
  margin-bottom: 14px;
}

.tournament-card-content h3 {
  min-height: 62px;

  display: flex;
  align-items: flex-start;

  margin-bottom: 10px;

  line-height: 1.15;
}

.tournament-card-content p {
  min-height: 78px;

  margin-bottom: 18px;

  line-height: 1.45;
}

.tournament-card-content .creator-tags {
  justify-content: flex-start;
  align-items: flex-start;

  gap: 8px;

  margin: 0 0 22px 0;
}

.tournament-card-content .creator-tags span {
  text-align: left;

  line-height: 1.2;
}

.tournament-card-content .profile-btn {
  margin-top: auto;
}

/* Ajuste para telas grandes */

@media (min-width: 1200px) {
  .tournament-card {
    min-height: 475px;
  }
}

/* Ajuste mobile */

@media (max-width: 768px) {
  .tournament-card {
    min-height: auto;
  }

  .tournament-card-content h3,
  .tournament-card-content p {
    min-height: auto;
  }
}

/* =========================
   REFINO VISUAL / PÁGINA PRINCIPAL DE TORNEIOS
   Mantém a estrutura atual e melhora espaçamentos, cards e hierarquia.
========================= */

.tournaments-main {
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.08), transparent 34rem),
    radial-gradient(circle at top right, rgba(14,165,233,0.07), transparent 30rem);
}

.tournaments-main section {
  position: relative;
}

.tournament-section-block {
  padding-top: 58px;
  padding-bottom: 58px;
}

.tournament-section-block + .tournament-section-block {
  padding-top: 34px;
}

/* HERO AJUSTADO */

.torneios-hero {
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 92px 24px 82px;
  isolation: isolate;
}

.torneios-hero::before {
  inset: 22px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(56,189,248,0.22), transparent 36rem),
    linear-gradient(135deg, rgba(56,189,248,0.12), rgba(15,23,42,0.40));
  border: 1px solid rgba(56,189,248,0.16);
  z-index: -1;
}

.torneios-hero-content {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-label,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(56,189,248,0.10);
  border: 1px solid rgba(56,189,248,0.24);
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.torneios-hero h2 {
  margin-top: 22px;
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.torneios-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #cbd5e1;
  font-size: 1.06rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-outline {
  background: rgba(15,23,42,0.72);
  border: 1px solid rgba(56,189,248,0.24);
  color: #f8fafc;
}

.btn-outline:hover {
  border-color: rgba(56,189,248,0.48);
  background: rgba(56,189,248,0.10);
}

/* TÍTULOS E INTRO */

.section-heading-line {
  max-width: 900px;
  margin-bottom: 26px;
}

.section-heading-line h2 {
  margin-top: 12px;
  margin-bottom: 0;
  letter-spacing: -0.035em;
}

.section-heading-line .section-description {
  margin-bottom: 0;
}

.tournament-intro-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: flex-start;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(56,189,248,0.18);
  background:
    radial-gradient(circle at top right, rgba(56,189,248,0.10), transparent 26rem),
    linear-gradient(135deg, rgba(15,23,42,0.96), rgba(2,6,23,0.94));
}

.intro-icon,
.category-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.20);
  color: #38bdf8;
  font-size: 1.35rem;
}

.tournament-intro-card p {
  color: #cbd5e1;
  line-height: 1.75;
}

/* CATEGORIAS */

.category-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.tournament-category-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 24px;
  justify-content: flex-start;
  gap: 0;
  isolation: isolate;
}

.tournament-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 42%);
  opacity: 0;
  transition: 0.25s ease;
  pointer-events: none;
}

.tournament-category-card:hover::before {
  opacity: 1;
}

.tournament-category-card .category-icon {
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.tournament-category-card h3 {
  min-height: auto;
  font-size: 1.45rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

.tournament-category-card p {
  line-height: 1.65;
  color: #cbd5e1;
}

.tournament-category-card .btn {
  margin-top: auto;
}

/* TOOLBAR */

.tournament-toolbar {
  justify-content: space-between;
  align-items: center;
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid rgba(56,189,248,0.14);
  border-radius: 20px;
  background: rgba(2,6,23,0.62);
  backdrop-filter: blur(12px);
}

.tournament-counter {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #94a3b8;
}

.tournament-counter strong {
  color: #38bdf8;
  font-size: 1.45rem;
  line-height: 1;
}

.tournament-counter span {
  font-size: 0.92rem;
  font-weight: 700;
}

.tournament-filter {
  border-radius: 999px;
  padding: 10px 12px 10px 16px;
}

.tournament-filter select {
  border-radius: 999px;
}

/* CARDS DE TORNEIO */

.featured-tournament-grid {
  align-items: stretch;
}

.tournament-card {
  min-height: 440px;
  border-radius: 24px;
  border-color: rgba(56,189,248,0.15);
  background:
    linear-gradient(180deg, rgba(15,23,42,0.98), rgba(2,6,23,0.96));
  box-shadow: 0 0 24px rgba(0,0,0,0.16);
}

.tournament-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56,189,248,0.42);
  box-shadow: 0 20px 44px rgba(0,0,0,0.25), 0 0 26px rgba(56,189,248,0.10);
}

.tournament-banner-small {
  height: 172px;
  position: relative;
}

.tournament-banner-small::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2,6,23,0.68));
  pointer-events: none;
}

.tournament-banner-small img {
  transition: 0.3s ease;
}

.tournament-card:hover .tournament-banner-small img {
  transform: scale(1.04);
}

.tournament-card-content {
  padding: 22px;
}

.tournament-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 14px;
}

.tournament-card-content .status {
  margin-bottom: 0;
  padding: 7px 13px;
  font-size: 0.7rem;
}

.tournament-card-content h3 {
  min-height: 54px;
  font-size: 1.42rem;
  line-height: 1.12;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.tournament-card-content p {
  min-height: 66px;
  margin-bottom: 18px;
  color: #cbd5e1;
  line-height: 1.55;
}

.tournament-card-content .creator-tags {
  gap: 8px;
  margin-bottom: 20px;
}

.tournament-card-content .creator-tags span {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(15,23,42,0.82);
  border: 1px solid rgba(148,163,184,0.14);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
}

.tournament-card-content .profile-btn {
  width: 100%;
  text-align: center;
  border-radius: 14px;
  padding: 13px 16px;
}

/* COMO FUNCIONA */

.tournament-info-grid {
  align-items: stretch;
}

.tournament-info-card {
  min-height: 215px;
  border-radius: 22px;
  border: 1px solid rgba(56,189,248,0.14);
  background:
    radial-gradient(circle at top right, rgba(56,189,248,0.08), transparent 20rem),
    rgba(15,23,42,0.88);
}

.tournament-info-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tournament-info-card h3 i {
  color: #38bdf8;
}

/* MODELOS DE COMPETIÇÃO */

.competition-models {
  gap: 22px;
}

.competition-model-card {
  min-height: 365px;
  border-radius: 24px;
}

.competition-model-card h3 {
  font-size: 1.55rem;
}

.competition-model-card p {
  font-size: 0.98rem;
}

/* RESPONSIVO DA PÁGINA PRINCIPAL */

@media (max-width: 1000px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .tournament-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .tournament-filter {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .tournament-section-block {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .torneios-hero {
    min-height: auto;
    padding: 74px 18px 64px;
  }

  .torneios-hero::before {
    inset: 12px;
    border-radius: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .tournament-intro-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .tournament-category-card {
    min-height: 230px;
  }

  .tournament-toolbar {
    padding: 14px;
  }

  .tournament-filter {
    border-radius: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .tournament-filter select {
    width: 100%;
  }

  .tournament-card {
    min-height: auto;
  }

  .tournament-card-content h3,
  .tournament-card-content p {
    min-height: auto;
  }

  .tournament-banner-small {
    height: 150px;
  }
}

/* =========================
   CATEGORIAS COMO INFORMAÇÃO
   Remove sensação de acesso duplicado.
========================= */

.category-info-card {
  cursor: default;
}

.category-info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56,189,248,0.28);
  box-shadow: 0 0 18px rgba(56,189,248,0.08);
}

.category-info-card h3 {
  margin-bottom: 12px;
}

.category-info-card p {
  margin-bottom: 22px;
}

.category-meta {
  position: relative;
  z-index: 2;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-top: auto;
}

.category-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 8px 11px;

  border-radius: 999px;
  background: rgba(15,23,42,0.78);
  border: 1px solid rgba(148,163,184,0.16);

  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 800;
}

.category-meta i {
  color: #38bdf8;
  font-size: 0.78rem;
}

/* Garante que categorias informativas não pareçam botões */

.category-info-card .btn {
  display: none;
}

/* =========================
   AVISO DE DESENVOLVIMENTO
========================= */

.tournament-dev-notice {
  max-width: 680px;

  margin-top: 26px;
  padding: 18px 20px;

  border-radius: 20px;

  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);

  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.tournament-dev-notice span {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 8px;

  color: #38bdf8;

  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.tournament-dev-notice p {
  margin: 0;

  color: #cbd5e1;

  font-size: 0.98rem;
  line-height: 1.65;
}