/* ============================
   FEMENINOINFO — STYLESHEET
   ============================ */

:root {
  --purple: #3d0066;
  --purple-mid: #5c0099;
  --purple-light: #8b00cc;
  --accent: #c800ff;
  --accent-soft: #e066ff;
  --white: #ffffff;
  --off-white: #f5f0f8;
  --dark: #0a000f;
  --dark-2: #130020;
  --dark-3: #1e0033;
  --gray: #888;
  --gray-light: #ccc;
  --text: #1a001f;
  --text-light: #555;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 4px 24px rgba(61,0,102,0.15);
  --shadow-lg: 0 12px 40px rgba(61,0,102,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================
   HEADER
   ============================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 2px solid var(--accent);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(1.2);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  color: var(--gray-light);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--accent-soft);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  margin-left: auto;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  padding: 16px 24px;
  gap: 16px;
  border-top: 1px solid var(--purple-mid);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: var(--gray-light);
  font-size: 15px;
  font-weight: 400;
}

/* ============================
   HERO
   ============================ */

.hero {
  position: relative;
  background: var(--dark);
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200,0,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(61,0,102,0.5) 0%, transparent 70%);
}

.hero-deco {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(200,0,255,0.1);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  max-width: 680px;
  padding-left: 48px;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
}

.hero-btn:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

/* ============================
   SECTIONS
   ============================ */

.section {
  padding: 64px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-dark {
  background: var(--dark-2);
  max-width: 100%;
  padding: 64px 0;
}

.section-dark .section-header,
.section-dark .grid-noticias {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-header {
  margin-bottom: 36px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--purple);
  letter-spacing: 1px;
  margin-top: 8px;
  margin-bottom: 12px;
}

.section-dark .section-title {
  color: var(--white);
}

.section-title.centered {
  text-align: center;
  color: var(--purple);
  margin-bottom: 36px;
}

.section-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ============================
   CATEGORY BADGES
   ============================ */

.cat-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cat-arg { background: var(--purple); color: var(--white); }
.cat-sel { background: #005cbf; color: var(--white); }
.cat-int { background: #006644; color: var(--white); }
.cat-ext { background: #8b4000; color: var(--white); }
.cat-live { background: #cc0000; color: var(--white); animation: pulse 2s infinite; }
.cat-viral { background: var(--accent); color: var(--white); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ============================
   GRID NOTICIAS
   ============================ */

.grid-noticias {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.noticia-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.noticia-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.section-dark .noticia-card {
  background: var(--dark-3);
  border: 1px solid rgba(200,0,255,0.1);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--purple) 0%, var(--dark) 100%);
}

.card-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--purple-mid) 0%, var(--dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-placeholder img {
  width: 60px;
  opacity: 0.4;
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-cat {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.section-dark .card-cat {
  color: var(--accent-soft);
}

.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: 0.3px;
}

.section-dark .card-title {
  color: var(--white);
}

.card-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
  font-weight: 300;
  flex: 1;
}

.section-dark .card-excerpt {
  color: rgba(255,255,255,0.55);
}

.card-meta {
  font-size: 12px;
  color: var(--gray);
  margin-top: 8px;
}

.card-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--gray);
  font-size: 15px;
}

/* ============================
   STREAMING
   ============================ */

.streaming-section {
  padding: 72px 24px;
}

.streaming-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.streaming-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--white);
  letter-spacing: 1px;
  margin: 12px 0 16px;
}

.streaming-text p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 28px;
}

.streaming-links {
  display: flex;
  gap: 16px;
}

.stream-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.2s;
}

.stream-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.stream-btn.yt { background: #ff0000; color: #fff; }
.stream-btn.tw { background: #6441a5; color: #fff; }

.streaming-embed {
  width: 100%;
}

.embed-placeholder {
  background: var(--dark-3);
  border: 1px solid rgba(200,0,255,0.2);
  border-radius: var(--radius-lg);
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.embed-placeholder span {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

.embed-link {
  color: var(--accent-soft);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

.embed-link:hover { color: var(--white); }

/* ============================
   REDES
   ============================ */

.redes-section {
  padding: 72px 24px;
}

.redes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.red-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

.red-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.red-card.ig { background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); color: #fff; }
.red-card.tk { background: #010101; color: #fff; border: 1px solid #333; }
.red-card.tw { background: #000; color: #fff; }
.red-card.yt { background: #ff0000; color: #fff; }

.red-icon { font-size: 28px; }
.red-name { font-family: var(--font-display); font-size: 18px; letter-spacing: 1px; }
.red-metric { font-size: 13px; opacity: 0.85; font-weight: 300; }

/* ============================
   FOOTER
   ============================ */

.footer {
  background: var(--dark);
  border-top: 2px solid var(--purple-mid);
  padding: 56px 24px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand img {
  width: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 12px;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .streaming-inner { grid-template-columns: 1fr; gap: 36px; }
  .redes-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-content { padding: 60px 24px; }
  .redes-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .grid-noticias { grid-template-columns: 1fr; }
}

/* ============================
   TABLA DE POSICIONES
   ============================ */

.tabla-section { padding: 48px 24px; }

.tabla-wrap {
  overflow-x: auto;
}

.tabla-pos {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tabla-pos thead tr {
  background: var(--purple);
}

.tabla-pos thead th {
  color: rgba(255,255,255,0.7);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 400;
}

.tabla-pos thead th:nth-child(2) { text-align: left; }

.tabla-pos tbody tr {
  border-bottom: 1px solid rgba(61,0,102,0.1);
  transition: background 0.15s;
}

.tabla-pos tbody tr:hover { background: rgba(200,0,255,0.05); }

.tabla-pos tbody td {
  padding: 10px 12px;
  text-align: center;
  color: var(--text);
  font-size: 13px;
}

.tabla-pos tbody td:nth-child(2) {
  text-align: left;
  font-weight: 600;
  color: var(--purple);
}

.tabla-pos tbody tr.top3 td:nth-child(2) { color: var(--accent); }
.tabla-pos tbody tr.top3 { background: rgba(200,0,255,0.04); }
.tabla-pos tbody tr.descenso { opacity: 0.6; }
.tabla-pos tbody tr.descenso td:nth-child(2) { color: #cc3300; }

.tabla-pos tbody td strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--purple);
}

.tabla-pos tbody tr.top3 td strong { color: var(--accent); }

.tabla-fecha {
  font-size: 11px;
  color: var(--gray);
  margin-top: 10px;
  text-align: right;
}

/* ============================
   HERO + TABLA LADO A LADO
   ============================ */

.hero-tabla-section {
  background: var(--dark);
  border-bottom: 2px solid var(--purple-mid);
}

.hero-tabla-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.hero-left {
  padding-top: 12px;
}

.hero-left .hero-tag {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.hero-left .hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-left .hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 28px;
  font-weight: 300;
}

.hero-left .hero-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.hero-left .hero-btn:hover { background: var(--accent-soft); }

.hero-right {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,0,255,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid rgba(200,0,255,0.15);
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(200,0,255,0.05);
}

.tab-content {
  max-height: 440px;
  overflow-y: auto;
}

.tabla-pos {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tabla-pos thead tr { background: rgba(61,0,102,0.6); }

.tabla-pos thead th {
  color: rgba(255,255,255,0.5);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 8px 10px;
  text-align: center;
  font-weight: 400;
}

.tabla-pos thead th:nth-child(2) { text-align: left; }

.tabla-pos tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}

.tabla-pos tbody tr:hover { background: rgba(200,0,255,0.06); }

.tabla-pos tbody td {
  padding: 7px 10px;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

.tabla-pos tbody td:nth-child(2) {
  text-align: left;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tabla-pos tbody tr.top3 td { color: rgba(255,255,255,0.95); }
.tabla-pos tbody tr.top3 { background: rgba(200,0,255,0.06); }
.tabla-pos tbody tr.descenso td { color: rgba(255,255,255,0.35); }

.tabla-pos tbody td strong {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent-soft);
}

.tabla-pos tbody tr.top3 td strong { color: var(--accent); }

.escudo {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(200,0,255,0.3);
  flex-shrink: 0;
  font-size: 9px;
  line-height: 18px;
  text-align: center;
}

.tabla-fecha {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  padding: 6px 10px;
  text-align: right;
}

/* FIXTURE */
.fixture-list { padding: 4px 0; }

.fixture-row {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fixture-row.destacado { background: rgba(200,0,255,0.06); }

.fx-fecha {
  font-size: 10px;
  color: var(--accent-soft);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.fx-partido {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.fx-estadio {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 860px) {
  .hero-tabla-inner { grid-template-columns: 1fr; gap: 28px; }
}

.escudo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Fix escudos en mobile */
.tabla-pos tbody td:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.escudo-img {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Forzar tamaño escudos */
.tabla-pos img.escudo-img,
img.escudo-img {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  min-width: 20px !important;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
}

/* ============================
   HERO IZQUIERDA — EFECTOS
   ============================ */

.hero-tabla-section {
  position: relative;
  overflow: hidden;
}

.hero-tabla-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,0,255,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-tabla-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 180px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,0,153,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-tabla-inner { position: relative; z-index: 1; }

.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}

.hero-deco-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(200,0,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,0,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ULTIMA NOTICIA EN HERO */
.hero-ultima {
  margin-top: 28px;
}

.hero-ultima-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,0,255,0.15);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.hero-ultima-card:hover { background: rgba(200,0,255,0.08); }

.hero-ultima-img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--purple-mid);
}

.hero-ultima-body { flex: 1; min-width: 0; }

.hero-ultima-cat {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}

.hero-ultima-titulo {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-ultima-fecha {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  display: block;
}
