:root {
  --bg: #0b0b12;
  --bg-soft: #111118;
  --bg-elev: #16161f;
  --bg-card: #14141d;
  --bg-card-2: #1b1b27;
  --nebula: #1b1b27;
  --text: #f5f5f0;
  --text-muted: #a2a2b2;
  --cyan: #40c0d0;
  --gold: #d9b24d;
  --cream: #fdfdf1;
  --red: #e63946;
  --turquoise: #26d6c7;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(64, 192, 208, 0.35);
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-size: 16px;
}

/* Fondo cósmico */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 1000px 700px at 85% -10%, rgba(28, 28, 38, 0.92), transparent 62%),
    radial-gradient(ellipse 800px 600px at -12% 25%, rgba(20, 20, 28, 0.8), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 115%, rgba(64, 192, 208, 0.1), transparent 60%),
    var(--bg);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(245, 245, 240, 0.3), transparent),
    radial-gradient(1px 1px at 32% 68%, rgba(217, 178, 77, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 48% 12%, rgba(64, 192, 208, 0.45), transparent),
    radial-gradient(1px 1px at 68% 42%, rgba(245, 245, 240, 0.25), transparent),
    radial-gradient(1.4px 1.4px at 82% 78%, rgba(64, 192, 208, 0.4), transparent),
    radial-gradient(1px 1px at 92% 30%, rgba(217, 178, 77, 0.35), transparent),
    radial-gradient(1px 1px at 22% 88%, rgba(38, 214, 199, 0.35), transparent),
    radial-gradient(1.1px 1.1px at 55% 92%, rgba(245, 245, 240, 0.2), transparent);
  opacity: 0.5;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
p { color: var(--text-muted); }

a { color: var(--cyan); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }
::selection { background: rgba(64, 192, 208, 0.3); color: var(--cream); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Compatibilidad con el grid de Bootstrap: sin margen lateral fantasma */
.row { --bs-gutter-x: 1.5rem; }
.row > * { padding-left: calc(var(--bs-gutter-x) * 0.5); padding-right: calc(var(--bs-gutter-x) * 0.5); }

/* ============ HEADER (marca SHINE+) ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 18, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 28px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.brand-tag {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.18s;
}
.nav-link:hover { background: rgba(64, 192, 208, 0.1); color: var(--cyan); }
.nav-link.active { background: rgba(64, 192, 208, 0.12); color: var(--cyan); }

/* Hamburguesa + menú mobile (drawer con animación) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(64, 192, 208, 0.06);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.25s, opacity 0.2s;
}
.hamburger:hover { border-color: var(--cyan); background: rgba(64, 192, 208, 0.12); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 22px;
  background: rgba(11, 11, 18, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  animation: menuIn 0.22s ease;
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-link {
  padding: 15px 20px;
  border-radius: 14px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  transition: background 0.15s, color 0.15s;
}
.mobile-link:hover { background: rgba(64, 192, 208, 0.1); color: var(--cyan); }

/* ============ HERO (banner full-width + contenido) ============ */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.hero-banner-block {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 56vh;
  overflow: hidden;
  background: #0c0c13;
}
/* Degradado oscuro profesional sobre el banner */
.hero-banner-block::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 18, 0.78) 0%,
    rgba(11, 11, 18, 0.3) 45%,
    rgba(11, 11, 18, 0.92) 100%
  );
}
.hero-banner-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide a, .hero-slide img { width: 100%; height: 100%; display: block; }
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s;
}
.hero-dot.on { background: var(--gold); width: 24px; border-radius: 999px; }
.hero-dot:hover { background: rgba(255, 255, 255, 0.75); }
.hero-content { position: relative; padding: 42px 0 10px; }
.hero.corp { padding: 0; }
.hero.corp .hero-content { padding: 44px 0 14px; }
.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(217, 178, 77, 0.4);
  background: rgba(11, 11, 18, 0.55);
  backdrop-filter: blur(10px);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.hero-badge .dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  animation: pulse 1.6s infinite;
}
.hero-title {
  position: relative;
  font-size: clamp(3rem, 9vw, 5.6rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 18px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.hero-title .deg {
  background: linear-gradient(120deg, var(--gold), #f0d488);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(217, 178, 77, 0.3);
}
.hero-sub {
  position: relative;
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.08rem;
  color: rgba(245, 245, 240, 0.85);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.hero-schedule {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(11, 11, 18, 0.6);
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.hero-schedule b { color: var(--cyan); font-weight: 700; }
.hero-stats {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hs-item {
  min-width: 128px;
  padding: 16px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(11, 11, 18, 0.55);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, border-color 0.2s;
}
.hs-item:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.hs-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.1;
}
.hs-item span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* Animación de aparición */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal-in { opacity: 1; transform: translateY(0); }

/* ============ BANNER LIVE (full-width) ============ */
.live-banner {
  position: relative;
  margin-top: 42px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(230, 57, 70, 0.4);
  background:
    linear-gradient(115deg, rgba(230, 57, 70, 0.18), rgba(64, 192, 208, 0.1) 50%, rgba(217, 178, 77, 0.12)),
    var(--bg-card);
  box-shadow: 0 0 70px rgba(230, 57, 70, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 30px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  text-align: left;
}
.live-banner::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: shine 3.6s infinite;
  pointer-events: none;
}
.live-left { display: flex; align-items: center; gap: 18px; position: relative; }
.live-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  padding: 9px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(230, 57, 70, 0.45);
}
.live-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.live-title { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--cream); letter-spacing: -0.01em; }
.live-title .deg { color: var(--gold); }
.live-sub { color: var(--text-muted); font-size: 0.9rem; margin-top: 2px; }
.live-countdown {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.live-countdown b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-left: 4px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.live-platforms { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(11, 11, 18, 0.7);
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.18s;
  backdrop-filter: blur(6px);
}
.platform-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.platform-btn.yt:hover { background: #ff0033; border-color: #ff0033; color: #fff; }
.platform-btn.fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.platform-btn.ttv:hover { background: #9146ff; border-color: #9146ff; color: #fff; }
.platform-btn.kick:hover { background: #53fc18; border-color: #53fc18; color: #0a1a00; }
.live-banner.off {
  border-color: var(--border);
  box-shadow: none;
  background:
    linear-gradient(115deg, rgba(64, 192, 208, 0.05), rgba(26, 26, 36, 0.4)),
    var(--bg-card);
}
.live-banner.off::before { display: none; }
.live-banner.off .live-pill { background: var(--bg-card-2); color: var(--text-muted); box-shadow: none; border: 1px solid var(--border); }

/* ============ SECCIONES ============ */
.section { padding: 84px 0; }
.section.tint-nebula {
  background: linear-gradient(180deg, rgba(20, 20, 29, 0.88), rgba(12, 12, 17, 0.94));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section.tint-dark {
  background: linear-gradient(180deg, rgba(17, 17, 24, 0.92), rgba(11, 11, 18, 0.9));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section.tint-cyan {
  background: radial-gradient(ellipse 700px 400px at 50% 0%, rgba(64, 192, 208, 0.09), transparent 60%);
  border-top: 1px solid rgba(64, 192, 208, 0.14);
  border-bottom: 1px solid rgba(64, 192, 208, 0.14);
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.9rem, 4.5vw, 2.7rem); color: var(--cream); letter-spacing: -0.02em; }
.section-title .deg {
  background: linear-gradient(120deg, var(--gold), #f0d488);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub { color: var(--text-muted); margin-top: 12px; font-size: 1rem; }

/* ============ TARJETAS PARTICIPANTES ============ */
.grid-participants {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
  gap: 26px;
}
.p-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card), rgba(20, 20, 29, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.p-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 3;
}
.p-card:hover::after { opacity: 1; }
.p-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(64, 192, 208, 0.08);
}
.p-card-photo {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: linear-gradient(160deg, var(--nebula), #0c0c13);
}
.p-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.p-card:hover .p-card-photo img { transform: scale(1.04); }
.p-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 18, 0.1) 40%, rgba(11, 11, 18, 0.88) 92%);
}
.p-initial-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: rgba(230, 57, 70, 0.92);
  color: #fff;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.4);
}
.p-card-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.p-name { font-size: 1.35rem; font-weight: 700; color: var(--cream); letter-spacing: -0.01em; }
.p-weights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--bg-card-2);
  text-align: center;
}
.w-box .w-label {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.w-box .w-value { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.01em; }
.w-box.initial .w-value { color: var(--red); }
.w-box.current .w-value { color: var(--turquoise); }
.p-delta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto;
}
.p-delta.pos { color: var(--turquoise); background: rgba(38, 214, 199, 0.09); border: 1px solid rgba(38, 214, 199, 0.25); }
.p-delta.neg { color: var(--red); background: rgba(230, 57, 70, 0.09); border: 1px solid rgba(230, 57, 70, 0.25); }
.p-delta.zero { color: var(--text-muted); background: rgba(162, 162, 178, 0.08); border: 1px solid var(--border); }
.p-compo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.compo-box {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 4px;
  background: var(--bg-card-2);
}
.compo-box .c-label { font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.compo-box .c-value { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--gold); }
.p-spark { margin-top: auto; }
.p-history-btn {
  margin-top: 2px;
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 9px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s;
  font-family: var(--font-body);
}
.p-history-btn:hover { background: rgba(64, 192, 208, 0.1); border-color: var(--border-strong); }
.p-history {
  margin-top: 8px;
  border-top: 1px dashed var(--border);
  padding-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.p-history table { width: 100%; border-collapse: collapse; }
.p-history td { padding: 5px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.p-history td:last-child { text-align: right; font-weight: 600; color: var(--turquoise); }

/* ============ COMENTARIOS ============ */
.p-comments { margin-top: 4px; }
.p-comments-inner { margin-top: 10px; border-top: 1px dashed var(--border); padding-top: 12px; }
.c-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.c-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--bg-card-2);
}
.c-form { display: flex; flex-direction: column; gap: 9px; position: relative; }
.c-form .input, .c-form .textarea { font-size: 0.85rem; padding: 9px 12px; }

/* ============ EQUIPO (sin fotos) ============ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.team-card {
  background: linear-gradient(180deg, var(--bg-card), rgba(20, 20, 29, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 24px 28px;
  text-align: center;
  transition: all 0.25s;
}
.team-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.team-avatar {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--cream);
  background: linear-gradient(140deg, var(--nebula), var(--cyan));
  border: 2px solid var(--border-strong);
  box-shadow: 0 0 34px rgba(64, 192, 208, 0.25);
}
.team-name { font-size: 1.18rem; color: var(--cream); }
.team-role { color: var(--text-muted); font-size: 0.86rem; margin: 5px 0 12px; }
.team-ig {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.86rem;
}
.team-bio { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; margin: 10px 0 12px; }

/* ============ SPONSORS (solo nombres, sin logos) ============ */
.sponsors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.sponsor-card {
  background: linear-gradient(180deg, var(--bg-card), rgba(20, 20, 29, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.25s;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 110px;
}
.sponsor-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.sponsor-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--cream); letter-spacing: -0.01em; }
.sponsor-tag { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ============ SERVICIOS ============ */
.service-card {
  height: 100%;
  background: linear-gradient(180deg, var(--bg-card), rgba(20, 20, 29, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45);
}
.service-icon {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  background: linear-gradient(140deg, rgba(24, 24, 34, 0.85), rgba(64, 192, 208, 0.12));
  border: 1px solid rgba(217, 178, 77, 0.35);
}
.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--cream);
  margin-bottom: 8px;
}
.service-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

/* ============ PROGRAMAS (catálogo) ============ */
.prog-card {
  height: 100%;
  background: linear-gradient(180deg, var(--bg-card), rgba(20, 20, 29, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.prog-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45); }
.prog-photo { aspect-ratio: 16 / 9; background: linear-gradient(160deg, var(--nebula), #0c0c13); overflow: hidden; }
.prog-photo img { width: 100%; height: 100%; object-fit: cover; }
.prog-photo-plain { display: flex; align-items: center; justify-content: center; }
.prog-photo-plain span { font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; color: rgba(64, 192, 208, 0.75); }
.prog-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prog-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--cream); }
.prog-schedule { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.prog-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.prog-link { margin-top: 6px; font-size: 0.88rem; font-weight: 600; color: var(--cyan); }

/* ============ SERIE ============ */
.serie-spot {
  max-width: 560px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid rgba(217, 178, 77, 0.35);
  background: radial-gradient(ellipse 400px 200px at 50% 0%, rgba(217, 178, 77, 0.14), transparent 70%), linear-gradient(180deg, var(--bg-card), rgba(20, 20, 29, 0.6));
  padding: 44px 30px;
  text-align: center;
}
.serie-play {
  width: 74px; height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8892f);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 44px rgba(217, 178, 77, 0.45);
}
.serie-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--cream); margin-bottom: 6px; }
.serie-tag { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ============ DIVISIONES (portada) ============ */
.division-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-card), rgba(20, 20, 29, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  color: var(--text);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.division-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45);
  color: var(--text);
}
.division-card .service-icon { margin-bottom: 18px; }
.division-tag {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 6px;
}
.division-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}
.division-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.division-cta {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
}

/* ============ HERO de subpáginas ============ */
.page-hero {
  padding: 110px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 18, 0.6), rgba(11, 11, 18, 0.35) 55%, var(--bg) 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 380px;
  background: radial-gradient(ellipse, rgba(64, 192, 208, 0.12), rgba(27, 27, 39, 0.5) 55%, transparent 75%);
  filter: blur(6px);
  pointer-events: none;
}
.page-title {
  position: relative;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.page-title .deg {
  background: linear-gradient(120deg, var(--gold), #f0d488);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-cta {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ CONTACTO ============ */
.contact-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--bg-card), rgba(20, 20, 29, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* ============ VIDEOS ============ */
.vid-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-card), rgba(20, 20, 29, 0.6));
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.vid-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.vid-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0c0c13;
}
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.vid-card:hover .vid-thumb img { transform: scale(1.05); }
/* Shorts: formato vertical 9:16 */
.vid-card.vertical .vid-thumb { aspect-ratio: 9 / 16; }
.vid-card.vertical .vid-thumb img { object-position: center 30%; }
.vid-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.2s;
}
.vid-card:hover .vid-play { opacity: 1; }
.vid-title {
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vid-date { padding: 0 12px 12px; font-size: 0.72rem; color: var(--text-muted); }

/* ============ REELS ============ */
.reels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.reel-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.reel-item iframe { width: 100%; border: 0; display: block; }

/* ============ REDES ============ */
.social-float {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sf-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.sf-btn:hover {
  transform: scale(1.14);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}
.sf-btn svg { display: block; }
.sf-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17, 17, 24, 0.95);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.sf-btn:hover .sf-tip { opacity: 1; }

.socials-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(11, 11, 18, 0.7);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s;
  backdrop-filter: blur(6px);
}
.social-btn:hover { color: #06121a; background: var(--cyan); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(64, 192, 208, 0.3); }
.social-btn .ic { font-size: 1.05rem; }

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
  background: rgba(8, 8, 13, 0.7);
}
.footer-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 28px; width: auto; }
.footer-made b { color: var(--gold); font-weight: 700; }
.footer-made a { color: var(--cyan); }

/* ============ ADMIN ============ */
.admin-shell { min-height: 100vh; display: flex; flex-direction: column; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; gap: 14px; }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.18s;
  font-family: var(--font-body);
}
.admin-tab:hover { color: var(--cyan); border-color: var(--border-strong); }
.admin-tab.active { background: rgba(64, 192, 208, 0.12); color: var(--cyan); border-color: var(--border-strong); }
.admin-content { padding: 30px 0 70px; }

.card {
  background: linear-gradient(180deg, var(--bg-card), rgba(20, 20, 29, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 22px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.card h2 { font-size: 1.2rem; color: var(--cream); margin-bottom: 18px; letter-spacing: -0.01em; }
.card h3 { font-size: 1rem; color: var(--cream); margin: 18px 0 12px; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; }
.input, .select, .textarea {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(64, 192, 208, 0.15); }
.textarea { resize: vertical; min-height: 76px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.18s;
  font-family: var(--font-body);
  background: transparent;
}
.btn-primary { background: var(--cyan); color: #06121a; }
.btn-primary:hover { background: var(--gold); color: #1a1202; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(64, 192, 208, 0.25); }
.btn-gold { background: var(--gold); color: #1a1202; }
.btn-gold:hover { background: var(--cyan); color: #06121a; transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(64, 192, 208, 0.1); color: var(--cyan); }
.btn-danger { background: rgba(230, 57, 70, 0.12); border-color: rgba(230, 57, 70, 0.4); color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 7px 13px; font-size: 0.8rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table th {
  text-align: left;
  padding: 10px 12px;
  color: var(--text-muted);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-bottom: 1px solid var(--border-strong);
  font-weight: 600;
}
.table td { padding: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.table tr:hover td { background: rgba(64, 192, 208, 0.04); }

.toggle {
  position: relative;
  width: 54px; height: 29px;
  border-radius: 999px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  display: inline-block;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.2s;
}
.toggle.on { background: rgba(230, 57, 70, 0.35); border-color: var(--red); }
.toggle.on::after { left: 28px; background: var(--red); }

.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge.live { background: rgba(230, 57, 70, 0.14); color: var(--red); }
.badge.ok { background: rgba(38, 214, 199, 0.12); color: var(--turquoise); }
.badge.muted { background: rgba(162, 162, 178, 0.12); color: var(--text-muted); }

.toast {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--cream);
  color: #0b0b12;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 18px; }
.login-card {
  width: 100%; max-width: 410px;
  background: linear-gradient(180deg, var(--bg-card), rgba(20, 20, 29, 0.8));
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 40px 34px;
  box-shadow: 0 0 80px rgba(20, 20, 28, 0.8);
}
.login-logo { text-align: center; margin-bottom: 24px; }
.login-logo svg { margin: 0 auto 12px; }
.login-title { text-align: center; font-size: 1.35rem; color: var(--cream); margin-bottom: 4px; letter-spacing: -0.01em; }
.login-sub { text-align: center; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 26px; }
.login-error {
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.4);
  color: var(--red);
  font-size: 0.86rem;
  padding: 11px 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.p-admin-photo { width: 54px; height: 68px; object-fit: cover; object-position: top center; border-radius: 8px; border: 1px solid var(--border); }

.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-2) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton-card { height: 420px; }

.empty { text-align: center; color: var(--text-muted); padding: 44px 10px; font-size: 0.95rem; }

.spinner {
  width: 17px; height: 17px;
  border: 2.5px solid rgba(255, 255, 255, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }
@keyframes shine { 0% { left: -60%; } 100% { left: 130%; } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1099px) {
  .nav-links { display: none; }
  .hamburger { display: flex; flex-shrink: 0; }
  .mobile-menu { max-height: calc(100dvh - 70px); overflow-y: auto; }
}

@media (max-width: 767px) {
  .header-inner { padding: 10px 16px; flex-wrap: nowrap; }
  .brand { min-width: 0; }
  .brand-logo { height: 26px; }
  .admin-topbar { flex-direction: column; align-items: flex-start; }
  .hero { padding: 0; }
  .hero-banner-block { aspect-ratio: 16 / 9; max-height: none; }
  .hero-content { padding: 28px 0 4px; }
  .hero-stats { gap: 10px; }
  .hs-item { min-width: 0; flex: 1 1 calc(50% - 10px); padding: 14px 12px; }
  .hs-item strong { font-size: 1.4rem; }
  .live-banner { padding: 22px 18px; }
  .live-left { flex-direction: column; align-items: flex-start; gap: 12px; }
  .p-weights { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .social-float {
    top: auto;
    bottom: 14px;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(11, 11, 18, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }
  .sf-btn { width: 40px; height: 40px; }
  .sf-tip { display: none; }
}

@media (max-width: 480px) {
  .p-weights { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .brand-logo { height: 22px; }
  .hamburger { width: 40px; height: 40px; }
}
