/* ===========
   Hall of Fame (CBT)
   SOLO CSS plano (sin tailwind)
   =========== */

:root{
  --hof-primary: var(--color-naranja-intenso);
  --hof-bg: var(--color-azul-oscuro);
  --hof-accent: var(--color-rojo-oscuro);

  --hof-card: rgba(255,246,231,0.05);
  --hof-card-2: rgba(255,246,231,0.07);
  --hof-border: rgba(255,246,231,0.10);
  --hof-text-dim: rgba(255,246,231,0.65);
}

/* main wrapper */
.hof-main{
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--hof-bg);
  color: #fff;
  font-family: var(--font-primary);
}

/* Background glows */
.hof-bg{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  z-index:0;
}
.hof-glow{
  position:absolute;
  border-radius:999px;
  filter: blur(120px);
  opacity: .55;
}
.hof-glow--top{
  top:-120px;
  left:50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 55vh;
  background: rgba(49,7,10,.9);
}
.hof-glow--right{
  top:120px;
  right:-180px;
  width: 420px;
  height: 420px;
  background: rgba(232,74,39,.14);
  filter: blur(90px);
  opacity: .45;
}

/* HERO */
.hof-hero2{
  position:relative;
  z-index:1;
  padding: 140px 0 40px; /* ✅ compensa navbar fixed */
  text-align:center;
}

.hof-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(232,74,39,.10);
  border: 1px solid rgba(232,74,39,.22);
  color: var(--hof-primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: 11px;
}
.hof-pill .material-icons{ font-size: 18px; }

.hof-title{
  margin: 18px 0 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  font-size: clamp(42px, 6vw, 74px);
  text-shadow: 0 12px 28px rgba(0,0,0,.40);
}
.hof-title span{ color: var(--hof-primary); }

.hof-subtitle{
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--hof-text-dim);
  font-weight: 400;
}

.hof-actions{
  margin-top: 22px;
  display:flex;
  gap:14px;
  justify-content:center;
  align-items:center;
  flex-wrap: wrap;
}

.hof-btn{
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,246,231,.12);
  background: rgba(255,246,231,.06);
  color: #fff;
  transition: .25s ease;
  cursor: pointer;
}
.hof-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,246,231,.10);
}
.hof-btn--primary{
  background: var(--hof-primary);
  border-color: rgba(232,74,39,.45);
  box-shadow: 0 0 20px rgba(232,74,39,.25);
}
.hof-btn--primary:hover{
  background: rgba(232,74,39,.90);
  box-shadow: 0 0 30px rgba(232,74,39,.42);
}

/* SECTIONS */
.hof-section{
  position:relative;
  z-index:1;
  padding: 40px 0;
}
.hof-section--last{ padding-bottom: 70px; }

.hof-section-head{
  display:flex;
  align-items:center;
  gap:14px;
  margin: 0 0 22px;
}
.hof-section-line{
  width: 4px;
  height: 28px;
  background: var(--hof-primary);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(232,74,39,.25);
}
.hof-section-head h2{
  margin:0;
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hof-season{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
  background: rgba(255,246,231,.04);
  border: 1px solid rgba(255,246,231,.10);
  padding: 10px 12px;
  border-radius: 12px;
}
.hof-season label{
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,246,231,.60);
}
.hof-season select{
  height: 34px;
  border-radius: 10px;
  background: rgba(23,23,37,.6);
  border: 1px solid rgba(255,246,231,.12);
  color: #fff;
  padding: 0 10px;
  font-weight: 800;
  outline:none;
}
.hof-season select:focus{
  border-color: rgba(232,74,39,.45);
  box-shadow: 0 0 0 4px rgba(232,74,39,.18);
}

.hof-section-split{
  display:flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 22px;
}
.hof-note{
  max-width: 520px;
  margin:0;
  color: var(--hof-text-dim);
  font-size: 13px;
  text-align:right;
}

/* CHAMPION CARD */
.hof-champions{
  display:flex;
  flex-direction:column;
  gap: 18px;
}

.hof-champion{
  position:relative;
  background: rgba(35,30,45,.92);
  border: 1px solid rgba(255,246,231,.08);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.30);
  transition: .25s ease;
}
.hof-champion:hover{
  border-color: rgba(232,74,39,.40);
  box-shadow: 0 28px 80px rgba(0,0,0,.40);
  transform: translateY(-4px);
}
.hof-champion::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(49,7,10,.72), transparent 55%);
  opacity:.60;
  pointer-events:none;
}
.hof-champion-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.hof-champion-col{
  padding: 24px;
  border-right: 1px solid rgba(255,246,231,.06);
}
.hof-champion-col:last-child{ border-right:0; }

.hof-champion-left{
  background: rgba(28,22,31,.85);
  position: relative;
}
.hof-badge{
  position:absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
  background: var(--hof-primary);
  color:#fff;
  padding: 8px 10px;
  border-radius: 999px;
}
.hof-teamlogo{
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255,246,231,.10);
  border: 1px solid rgba(255,246,231,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin-bottom: 14px;
}
.hof-teamlogo img{ width: 44px; height: 44px; object-fit: contain; }
.hof-teamname{
  font-size: 34px;
  font-weight: 900;
  margin: 0 0 6px;
}
.hof-teammeta{
  margin:0;
  color: var(--hof-text-dim);
  font-size: 13px;
}
.hof-stats{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hof-stat p{
  margin:0;
  font-size: 11px;
  color: var(--hof-text-dim);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
}
.hof-stat strong{
  display:block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 900;
}
.hof-stat strong.primary{ color: var(--hof-primary); }

/* Roster */
.hof-roster-title{
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--hof-text-dim);
}
.hof-roster{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.hof-roster li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,246,231,.05);
  border: 1px solid rgba(255,246,231,.08);
  transition:.2s ease;
}
.hof-roster li:hover{
  border-color: rgba(232,74,39,.35);
  background: rgba(232,74,39,.10);
}
.hof-roster .left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width:0;
}
.hof-role-ico{
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255,246,231,.06);
  border: 1px solid rgba(255,246,231,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--hof-text-dim);
}
.hof-roster .name{
  font-weight: 800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.hof-tag{
  font-size: 11px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,246,231,.06);
  border: 1px solid rgba(255,246,231,.12);
  color: var(--hof-text-dim);
}
.hof-mvpchip{
  margin-left: 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing:.10em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(232,74,39,.18);
  border: 1px solid rgba(232,74,39,.30);
  color: var(--hof-primary);
}

/* Gallery / Details button */
.hof-gallery-title{
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--hof-text-dim);
}
.hof-gallery{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hof-gallery a{
  display:block;
  background: rgba(255,246,231,.05);
  border: 1px solid rgba(255,246,231,.10);
  border-radius: 14px;
  overflow:hidden;
  transition:.25s ease;
}
.hof-gallery a:hover{
  border-color: rgba(232,74,39,.40);
  transform: translateY(-2px);
}
.hof-gallery img{
  width:100%;
  height: 190px;
  object-fit: contain;
  background: rgba(28,22,31,.55);
  padding: 14px;
}
.hof-details-btn{
  margin-top: 14px;
  background: transparent;
  border: 0;
  padding: 0;
  color: rgba(255,246,231,.90);
  font-weight: 900;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  cursor:pointer;
  transition:.2s ease;
}
.hof-details-btn:hover{ color: var(--hof-primary); }

/* MVP cards */
.hof-mvps{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.hexagon-clip{
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
}
.mvp-card{
  background: rgba(35,30,45,.92);
  border: 1px solid rgba(255,246,231,.08);
  border-radius: 18px;
  padding: 18px;
  text-align:center;
  transition:.25s ease;
}
.mvp-card:hover{
  transform: translateY(-6px);
  border-color: rgba(232,74,39,.40);
}
.mvp-hex-wrap{ position:relative; width: 132px; height: 148px; margin: 0 auto 14px; }
.mvp-hex-glow{
  position:absolute; inset:-6px;
  background: linear-gradient(180deg, rgba(232,74,39,.95), rgba(49,7,10,.95));
  opacity:.45;
  transition:.25s ease;
}
.mvp-card:hover .mvp-hex-glow{ opacity:.85; }
.mvp-hex{
  position:relative;
  width:100%;
  height:100%;
  background: rgba(255,246,231,.08);
  overflow:hidden;
}
.mvp-hex img{
  width:100%;
  height:100%;
  object-fit: contain;
  padding: 14px;
  filter: grayscale(1);
  transition:.25s ease;
}
.mvp-card:hover .mvp-hex img{ filter: grayscale(0); }

.mvp-chip{
  margin-top: -8px;
  display:inline-block;
  background: var(--hof-primary);
  color:#fff;
  font-weight: 900;
  font-size: 10px;
  letter-spacing:.10em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0,0,0,.25);
}
.mvp-name{ margin: 10px 0 4px; font-weight: 900; font-size: 18px; }
.mvp-sub{ margin:0 0 12px; color: var(--hof-text-dim); font-size: 13px; }
.mvp-foot{
  border-top: 1px solid rgba(255,246,231,.08);
  padding-top: 12px;
  display:flex;
  justify-content:space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing:.10em;
  color: var(--hof-text-dim);
}
.mvp-foot strong{
  font-size: 16px;
  letter-spacing: 0;
  text-transform:none;
  color: var(--hof-primary);
}

/* Timeline */
.hof-timeline{
  position: relative;
  display:flex;
  flex-direction:column;
  gap: 14px;
  padding-left: 64px;
}
.hof-timeline::before{
  content:"";
  position:absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,246,231,.10);
}
.match-row{
  position:relative;
  background: rgba(35,30,45,.92);
  border: 1px solid rgba(255,246,231,.08);
  border-radius: 18px;
  padding: 18px;
  display:grid;
  grid-template-columns: 180px 1fr 160px;
  gap: 16px;
  align-items:center;
  transition:.25s ease;
}
.match-row:hover{
  border-color: rgba(232,74,39,.40);
  transform: translateY(-3px);
}
.match-dot{
  position:absolute;
  left: -44px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,246,231,.18);
  border: 4px solid var(--hof-bg);
  transition:.25s ease;
}
.match-row.gold .match-dot{ background: var(--hof-primary); }
.match-meta .title{
  font-weight: 900;
  font-size: 16px;
}
.match-meta .date{
  color: var(--hof-text-dim);
  font-size: 13px;
  margin-top: 2px;
}
.match-mid{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items:center;
}
.match-team{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 8px;
}
.match-team .ico{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255,246,231,.06);
  border: 1px solid rgba(255,246,231,.10);
  display:flex;
  align-items:center;
  justify-content:center;
}
.match-team img{ width: 34px; height: 34px; object-fit: contain; }
.match-team .name{ font-weight: 900; font-size: 13px; text-align:center; }
.match-score{ text-align:center; }
.match-score .score{
  font-weight: 900;
  font-size: 32px;
  letter-spacing: .12em;
}
.match-score .lbl{
  color: var(--hof-text-dim);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.match-cta a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  height: 42px;
  border-radius: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(255,246,231,.06);
  border: 1px solid rgba(255,246,231,.12);
  color:#fff;
  transition:.25s ease;
}
.match-row.gold .match-cta a{
  background: var(--hof-primary);
  border-color: rgba(232,74,39,.45);
}
.match-cta a:hover{
  transform: translateY(-2px);
  background: rgba(255,246,231,.10);
}
.match-row.gold .match-cta a:hover{
  background: rgba(232,74,39,.90);
}

/* ✅ util para filtro */
.hidden{ display:none !important; }

/* ✅ Material Symbols */
.material-symbols-outlined{
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

/* Responsive */
@media (max-width: 1024px){
  .hof-champion-grid{ grid-template-columns: 1fr; }
  .hof-champion-col{ border-right:0; border-bottom: 1px solid rgba(255,246,231,.06); }
  .hof-champion-col:last-child{ border-bottom:0; }

  .hof-mvps{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .match-row{ grid-template-columns: 1fr; }
  .hof-timeline{ padding-left: 0; }
  .hof-timeline::before{ display:none; }
  .match-dot{ display:none; }

  .hof-note{ text-align:left; }
  .hof-section-split{ flex-direction:column; align-items:flex-start; }
}
@media (max-width: 640px){
  .hof-mvps{ grid-template-columns: 1fr; }
  .hof-stats{ grid-template-columns: 1fr; }
}
/* ===========================
   FIX: Header "CAMPEONES" + Temporada en responsive
   =========================== */
@media (max-width: 640px) {
  .hof-section-head{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hof-section-head h2{
    font-size: 22px; /* un pelín más compacto en mobile */
    line-height: 1.1;
  }

  .hof-season{
    margin-left: 0;           /* quita el "empuje" a la derecha */
    width: 100%;              /* ocupa todo el ancho */
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .hof-season label{
    white-space: nowrap;
  }

  .hof-season select{
    width: 150px;             /* evita que se corte */
    max-width: 55%;
  }
}
/* ===========================
   FIX: barra naranja arriba del título en mobile
   Mantener (linea + titulo) en una fila y el selector abajo
   =========================== */
@media (max-width: 640px) {
  .hof-section-head{
    flex-direction: row;   /* vuelve a fila */
    flex-wrap: wrap;       /* permite que el select baje */
    align-items: center;
    gap: 12px;
  }

  .hof-section-line{
    align-self: center;    /* evita que “flote” */
    height: 26px;
  }

  .hof-section-head h2{
    margin: 0;
    line-height: 1.1;
  }

  .hof-season{
    margin-left: 0;        /* ya no lo empuja a la derecha */
    width: 100%;
    flex: 0 0 100%;        /* fuerza a bajar a la 2da línea */
    justify-content: space-between;
  }
}
