/*
Theme Name: Mundial26 IPTV
Theme URI: https://worldiptv.example
Author: Safae
Author URI: https://worldiptv.example
Description: Tema premium de streaming/IPTV (Mundial26 IPTV). Diseño editorial oscuro con pósters de arte generativo en CSS, carruseles y acento rojo. En español.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eurostream
*/

:root {
  --bg-deep:      #07090f;
  --bg-card:      #11141d;
  --bg-elev:      #1a1f2c;
  --line:         #232838;
  --red:          #f5c518;
  --red-glow:     #ffd633;
  --blue:         #4f7cff;
  --gold:         #d4b266;
  --cream:        #f6f1e6;
  --text:         #e8e3d5;
  --muted:        #7c7d8a;
  --dim:          #4b4e5c;

  --font-display: 'Poppins', -apple-system, sans-serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius:       12px;
  --radius-lg:    20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

/* Optimización táctil (tipo app móvil) */
a, button, summary, .btn, .nav-cta, .price-btn, .carousel-btn, .nav-toggle {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(245, 197, 24, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 60% at 90% 30%, rgba(79, 124, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(212, 178, 102, 0.08), transparent 70%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════ NAV ═══════════════════════════════════════════ */
nav { position: sticky; top: 0; z-index: 100; padding: 18px 0; backdrop-filter: blur(20px); background: rgba(7, 9, 15, 0.75); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; background: linear-gradient(135deg, var(--red), var(--red-glow)); border-radius: 8px; display: flex; align-items: center; justify-content: center; position: relative; box-shadow: 0 0 20px rgba(245, 197, 24, 0.35); }
.logo-mark::before { content: '▶'; color: white; font-size: 14px; margin-left: 2px; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--cream); letter-spacing: -0.5px; }
.logo-text em { font-style: italic; color: var(--red); font-weight: 500; }
.nav-menu { display: flex; gap: 36px; list-style: none; }
.nav-menu a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s ease; }
.nav-menu a:hover { color: var(--red); }
.nav-cta { background: var(--red); color: white; padding: 10px 22px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.2s ease; box-shadow: 0 4px 14px rgba(245, 197, 24, 0.35); }
.nav-cta:hover { background: var(--red-glow); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(245, 197, 24, 0.5); }

/* ── Botón "Prueba gratis" con brillo y fuego ── */
.nav-cta-fire {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ffb01e, #ff7a18 35%, #f5c518 65%, #ffcf33);
  background-size: 220% 220%;
  border: 1px solid rgba(255, 138, 30, 0.5);
  font-weight: 700;
  animation: ctaFlames 3s ease infinite, ctaFlicker 1.6s ease-in-out infinite;
}

.nav-cta-fire:hover {
  background: linear-gradient(135deg, #ffc23e, #ff8a2e 35%, #ffcf33 65%, #ffd633);
  transform: translateY(-1px) scale(1.05);
}

@keyframes ctaFlames {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Parpadeo de llama: el resplandor sube y baja de forma irregular */
@keyframes ctaFlicker {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 138, 30, 0.55), 0 0 22px rgba(245, 197, 24, 0.45); }
  25%      { box-shadow: 0 0 20px rgba(255, 175, 45, 0.85), 0 0 36px rgba(255, 90, 30, 0.6); }
  50%      { box-shadow: 0 0 13px rgba(255, 120, 30, 0.7), 0 0 26px rgba(245, 197, 24, 0.5); }
  75%      { box-shadow: 0 0 26px rgba(255, 205, 70, 0.95), 0 0 44px rgba(255, 90, 30, 0.75); }
}

/* Lado derecho del nav + hamburguesa */
/* CTA flotante móvil */
.mobile-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 200;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  background: linear-gradient(135deg, #ffb01e, #ff7a18 35%, #f5c518 70%, #ffcf33);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 26px rgba(245, 197, 24, 0.5);
  animation: ctaFlicker 1.8s ease-in-out infinite;
}
.mobile-cta:active { transform: scale(0.98); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════ HERO ═══════════════════════════════════════════ */
.hero {
  padding: 100px 0 80px;
  position: relative;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(180deg, rgba(7, 9, 15, 0.48) 0%, rgba(7, 9, 15, 0.62) 55%, var(--bg-deep) 100%),
    url('images/gh.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 80px; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(245, 197, 24, 0.1); border: 1px solid rgba(245, 197, 24, 0.3); border-radius: 100px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-bottom: 28px; }
.badge-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; box-shadow: 0 0 10px var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 6vw, 84px); line-height: 0.95; letter-spacing: -2px; color: var(--cream); margin-bottom: 28px; }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--red); }
.hero p { font-size: 18px; color: var(--muted); margin-bottom: 36px; max-width: 480px; line-height: 1.6; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 600; transition: all 0.25s ease; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--red); color: white; box-shadow: 0 8px 28px rgba(245, 197, 24, 0.4); }
.btn-primary:hover { background: var(--red-glow); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(245, 197, 24, 0.55); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(246, 241, 230, 0.04); }
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-trust { margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.hero-trust-stars { display: flex; gap: 2px; color: var(--gold); font-size: 18px; }
.hero-trust-text { font-size: 13px; color: var(--muted); }
.hero-trust-text strong { color: var(--cream); }

/* Hero collage with art posters */
.hero-collage { position: relative; aspect-ratio: 1.1/1; }
.hero-poster { position: absolute; aspect-ratio: 2/3; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); transition: transform 0.4s ease; }

.hp-1 { top: 0;    left: 5%;  width: 30%; transform: rotate(-4deg); z-index: 3; }
.hp-2 { top: 8%;   left: 35%; width: 32%; transform: rotate(2deg); z-index: 4; }
.hp-3 { top: 0;    right: 0;  width: 28%; transform: rotate(5deg); z-index: 2; }
.hp-4 { bottom: 0; left: 0;   width: 28%; transform: rotate(3deg); z-index: 2; }
.hp-5 { bottom: 4%; left: 30%; width: 30%; transform: rotate(-2deg); z-index: 3; }
.hp-6 { bottom: 0; right: 4%; width: 30%; transform: rotate(-5deg); z-index: 4; }

.hero-poster:hover { transform: scale(1.08) rotate(0deg); z-index: 10; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7); }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ═══════════════ ABSTRACT POSTER ART ═══════════════ */
.art-poster {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  isolation: isolate;
}

.art-poster::before, .art-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}

.ap-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: white;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 2;
}

.ap-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.ap-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: var(--gold);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  z-index: 2;
}

/* === ART VARIANTS === */

/* V1: Neon city skyline */
.art-poster.v1::before {
  background:
    linear-gradient(180deg, #1a0033 0%, #4a0e4e 50%, #ff006e 100%);
}
.art-poster.v1::after {
  background:
    linear-gradient(180deg, transparent 0%, transparent 60%, #000 60%, #000 100%),
    repeating-linear-gradient(180deg, transparent, transparent 8px, rgba(255, 0, 110, 0.3) 8px, rgba(255, 0, 110, 0.3) 9px);
  mask: linear-gradient(180deg, transparent 0%, transparent 50%, black 70%);
  -webkit-mask: linear-gradient(180deg, transparent 0%, transparent 50%, black 70%);
}

/* V2: Cosmic gradient */
.art-poster.v2::before {
  background:
    radial-gradient(circle at 50% 30%, #00d4ff 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, #c026d3 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, #f59e0b 0%, transparent 40%),
    linear-gradient(135deg, #0c0a3e 0%, #1e003a 100%);
}
.art-poster.v2::after {
  background-image:
    radial-gradient(circle at 20% 20%, white 0.5px, transparent 1px),
    radial-gradient(circle at 70% 40%, white 0.5px, transparent 1px),
    radial-gradient(circle at 40% 70%, white 0.5px, transparent 1px),
    radial-gradient(circle at 85% 85%, white 0.5px, transparent 1px),
    radial-gradient(circle at 15% 55%, white 0.5px, transparent 1px),
    radial-gradient(circle at 60% 15%, white 0.5px, transparent 1px);
  background-size: 100px 100px, 80px 80px, 120px 120px, 60px 60px, 90px 90px, 110px 110px;
  opacity: 0.6;
}

/* V3: Retro sunset */
.art-poster.v3::before {
  background:
    radial-gradient(circle at 50% 65%, #ff5e3a 0%, #ffcf33 30%, transparent 40%),
    linear-gradient(180deg, #2d1b4e 0%, #8b1e3f 50%, #ff5e3a 100%);
}
.art-poster.v3::after {
  background:
    repeating-linear-gradient(180deg,
      transparent 0,
      transparent 18px,
      rgba(0, 0, 0, 0.4) 18px,
      rgba(0, 0, 0, 0.4) 20px);
  mask: linear-gradient(180deg, transparent 30%, black 50%, transparent 80%);
  -webkit-mask: linear-gradient(180deg, transparent 30%, black 50%, transparent 80%);
}

/* V4: Forest darkness */
.art-poster.v4::before {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(34, 197, 94, 0.4), transparent 50%),
    linear-gradient(180deg, #0a1a0f 0%, #1a2e1a 60%, #0f1f0f 100%);
}
.art-poster.v4::after {
  background:
    linear-gradient(115deg, transparent 40%, rgba(0, 0, 0, 0.6) 41%, transparent 42%, transparent 60%, rgba(0, 0, 0, 0.5) 61%, transparent 63%, transparent 75%, rgba(0, 0, 0, 0.7) 76%, transparent 78%);
}

/* V5: Blood red noir */
.art-poster.v5::before {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(245, 197, 24, 0.5), transparent 50%),
    linear-gradient(135deg, #1a0408 0%, #3d0a14 50%, #6b0e1e 100%);
}
.art-poster.v5::after {
  background:
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(0, 0, 0, 0.3) 20px, rgba(0, 0, 0, 0.3) 21px);
  mask: radial-gradient(ellipse at 70% 70%, black, transparent 70%);
  -webkit-mask: radial-gradient(ellipse at 70% 70%, black, transparent 70%);
}

/* V6: Ocean depths */
.art-poster.v6::before {
  background:
    radial-gradient(circle at 50% 100%, #06b6d4 0%, transparent 50%),
    linear-gradient(180deg, #001220 0%, #003366 50%, #0066a3 100%);
}
.art-poster.v6::after {
  background:
    repeating-radial-gradient(circle at 50% 120%, transparent 0, transparent 30px, rgba(255, 255, 255, 0.05) 30px, rgba(255, 255, 255, 0.05) 32px);
}

/* V7: Golden hour desert */
.art-poster.v7::before {
  background:
    radial-gradient(ellipse at 50% 50%, #fbbf24 0%, transparent 40%),
    linear-gradient(180deg, #fde68a 0%, #f59e0b 40%, #92400e 70%, #451a03 100%);
}
.art-poster.v7::after {
  background:
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.5) 100%),
    radial-gradient(ellipse at 30% 90%, rgba(0, 0, 0, 0.6), transparent 60%),
    radial-gradient(ellipse at 70% 95%, rgba(0, 0, 0, 0.5), transparent 50%);
}

/* V8: Cyberpunk neon */
.art-poster.v8::before {
  background:
    linear-gradient(180deg, #000 0%, #2d0a4e 60%, #ff006e 100%);
}
.art-poster.v8::after {
  background:
    linear-gradient(90deg, transparent 30%, #00ffff 30.5%, transparent 31%),
    linear-gradient(90deg, transparent 65%, #ff006e 65.5%, transparent 66%),
    linear-gradient(90deg, transparent 80%, #ffff00 80.5%, transparent 81%),
    repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(255, 255, 255, 0.05) 4px, rgba(255, 255, 255, 0.05) 5px);
  mask: linear-gradient(180deg, transparent 40%, black 80%);
  -webkit-mask: linear-gradient(180deg, transparent 40%, black 80%);
}

/* V9: Snow mountain */
.art-poster.v9::before {
  background:
    linear-gradient(180deg, #1e3a5f 0%, #94a3b8 40%, #e2e8f0 70%, #f8fafc 100%);
}
.art-poster.v9::after {
  background:
    linear-gradient(45deg, transparent 60%, #475569 60%, #475569 65%, transparent 65%),
    linear-gradient(-45deg, transparent 50%, #64748b 50%, #64748b 70%, transparent 70%);
  mask: linear-gradient(180deg, transparent 35%, black 50%);
  -webkit-mask: linear-gradient(180deg, transparent 35%, black 50%);
}

/* V10: Lava planet */
.art-poster.v10::before {
  background:
    radial-gradient(circle at 50% 60%, #fbbf24 0%, #f97316 20%, #dc2626 40%, #7f1d1d 80%, #000 100%);
}
.art-poster.v10::after {
  background:
    repeating-radial-gradient(circle at 50% 60%, transparent 0, transparent 15px, rgba(0, 0, 0, 0.2) 15px, rgba(0, 0, 0, 0.2) 17px);
  mix-blend-mode: overlay;
}

/* V11: Storm */
.art-poster.v11::before {
  background:
    linear-gradient(180deg, #1f2937 0%, #374151 50%, #111827 100%);
}
.art-poster.v11::after {
  background:
    linear-gradient(85deg, transparent 49%, rgba(168, 85, 247, 0.8) 49%, rgba(168, 85, 247, 0.8) 50%, transparent 50%, transparent 55%, rgba(236, 72, 153, 0.6) 55%, rgba(236, 72, 153, 0.6) 56%, transparent 56%),
    repeating-linear-gradient(80deg, transparent, transparent 3px, rgba(255, 255, 255, 0.05) 3px, rgba(255, 255, 255, 0.05) 4px);
}

/* V12: Geometric minimal */
.art-poster.v12::before {
  background: linear-gradient(135deg, #f5c518 0%, #f97316 100%);
}
.art-poster.v12::after {
  background:
    radial-gradient(circle at 50% 40%, transparent 80px, rgba(0, 0, 0, 0.4) 81px, transparent 82px),
    radial-gradient(circle at 50% 40%, transparent 60px, rgba(255, 255, 255, 0.3) 61px, transparent 62px),
    radial-gradient(circle at 50% 40%, #000 0px, transparent 40px);
}

/* V13: Acid green */
.art-poster.v13::before {
  background:
    radial-gradient(ellipse at 50% 50%, #84cc16 0%, transparent 50%),
    linear-gradient(135deg, #0d1f0c 0%, #1a3a0a 100%);
}
.art-poster.v13::after {
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, transparent 20deg, rgba(132, 204, 22, 0.2) 20deg, rgba(132, 204, 22, 0.2) 21deg);
}

/* V14: Purple haze */
.art-poster.v14::before {
  background:
    radial-gradient(circle at 20% 20%, #c026d3 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, #6366f1 0%, transparent 40%),
    linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%);
}
.art-poster.v14::after {
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.3) 50%, transparent 51%);
  filter: blur(2px);
}

/* V15: Ocean wave */
.art-poster.v15::before {
  background:
    linear-gradient(180deg, #fef3c7 0%, #fcd34d 30%, #1e40af 60%, #1e3a8a 100%);
}
.art-poster.v15::after {
  background:
    repeating-linear-gradient(180deg, transparent 0, transparent 25px, rgba(255, 255, 255, 0.2) 25px, rgba(255, 255, 255, 0.2) 27px);
  mask: linear-gradient(180deg, transparent 55%, black 65%);
  -webkit-mask: linear-gradient(180deg, transparent 55%, black 65%);
}

/* V16: Black & white drama */
.art-poster.v16::before {
  background: linear-gradient(180deg, #000 0%, #1a1a1a 100%);
}
.art-poster.v16::after {
  background:
    linear-gradient(115deg, transparent 30%, #ffffff 30.5%, transparent 31%),
    linear-gradient(115deg, transparent 50%, #ffffff 50.3%, transparent 50.6%),
    linear-gradient(115deg, transparent 70%, #ffffff 70.2%, transparent 70.4%);
  opacity: 0.4;
}

/* V17: Tropical */
.art-poster.v17::before {
  background:
    radial-gradient(circle at 30% 30%, #f472b6 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, #14b8a6 0%, transparent 50%),
    linear-gradient(135deg, #047857 0%, #f59e0b 100%);
}
.art-poster.v17::after {
  background:
    repeating-conic-gradient(from 45deg at 50% 80%, transparent 0deg, transparent 15deg, rgba(0, 0, 0, 0.3) 15deg, rgba(0, 0, 0, 0.3) 18deg);
  mask: radial-gradient(ellipse at 50% 100%, black 30%, transparent 80%);
  -webkit-mask: radial-gradient(ellipse at 50% 100%, black 30%, transparent 80%);
}

/* V18: Vintage film */
.art-poster.v18::before {
  background:
    linear-gradient(135deg, #78350f 0%, #d4b266 50%, #fef3c7 100%);
}
.art-poster.v18::after {
  background:
    repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(0, 0, 0, 0.15) 4px, rgba(0, 0, 0, 0.15) 5px),
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.5) 100%);
}

/* V19: Magma */
.art-poster.v19::before {
  background: linear-gradient(180deg, #000 0%, #450a0a 30%, #dc2626 70%, #fbbf24 100%);
}
.art-poster.v19::after {
  background:
    repeating-linear-gradient(75deg, transparent 0, transparent 30px, rgba(0, 0, 0, 0.4) 30px, rgba(0, 0, 0, 0.4) 35px);
  mask: linear-gradient(180deg, black 30%, transparent 70%);
  -webkit-mask: linear-gradient(180deg, black 30%, transparent 70%);
}

/* V20: Deep space */
.art-poster.v20::before {
  background:
    radial-gradient(ellipse at 30% 70%, #1e3a8a 0%, transparent 50%),
    linear-gradient(135deg, #000 0%, #0a0a2e 100%);
}
.art-poster.v20::after {
  background:
    radial-gradient(circle at 25% 25%, #fff 0.6px, transparent 1.2px),
    radial-gradient(circle at 75% 75%, #fff 0.5px, transparent 1px),
    radial-gradient(circle at 50% 30%, #f5c518 1px, transparent 2px),
    radial-gradient(circle at 80% 20%, #fff 0.6px, transparent 1.2px),
    radial-gradient(circle at 20% 60%, #fff 0.5px, transparent 1px);
  background-size: 90px 90px, 70px 70px, 200px 200px, 110px 110px, 130px 130px;
}

/* ═══════════════ STATS ═══════════════ */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; background: rgba(17, 20, 29, 0.4); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 500; font-size: 48px; line-height: 1; color: var(--cream); margin-bottom: 8px; letter-spacing: -1.5px; }
.stat-num em { font-style: italic; color: var(--red); font-weight: 300; }
.stat-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; }

/* ═══════════════ SECTIONS ═══════════════ */
section.section { padding: 100px 0; }
.section-header { margin-bottom: 48px; display: flex; align-items: end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.section-header-center { text-align: center; max-width: 720px; margin: 0 auto 60px; display: block; }

.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 3px; color: var(--red); margin-bottom: 16px; padding: 4px 12px; background: rgba(245, 197, 24, 0.08); border-radius: 4px; }

h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -1.5px; color: var(--cream); margin-bottom: 16px; }
h2 em { font-style: italic; color: var(--red); font-weight: 300; }
.section-header p, .section-header-center p { font-size: 17px; color: var(--muted); line-height: 1.6; max-width: 500px; }
.section-header-center p { margin: 0 auto; }

/* ═══════════════ POSTER CAROUSEL ═══════════════ */
.carousel-wrap { position: relative; overflow: hidden; }
.carousel-wrap::before, .carousel-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 5; pointer-events: none; }
.carousel-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg-deep), transparent); }
.carousel-wrap::after  { right: 0; background: linear-gradient(270deg, var(--bg-deep), transparent); }

.carousel { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 24px; scroll-snap-type: x mandatory; scroll-padding: 24px; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-track { background: var(--bg-card); border-radius: 3px; }
.carousel::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.carousel::-webkit-scrollbar-thumb:hover { background: var(--red); }

.poster {
  flex: 0 0 200px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.3s ease;
  aspect-ratio: 2/3;
}

.poster:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 20px 50px rgba(245, 197, 24, 0.3); }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; }

.carousel-controls { display: flex; gap: 8px; }
.carousel-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--line); color: var(--text); cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.carousel-btn:hover { background: var(--red); border-color: var(--red); color: white; }

/* ═══════════════ FEATURES ═══════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.feature::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: 0; transition: opacity 0.3s ease; }
.feature:hover { border-color: rgba(245, 197, 24, 0.4); transform: translateY(-4px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); }
.feature:hover::before { opacity: 1; }
.feature-icon { width: 56px; height: 56px; background: linear-gradient(135deg, rgba(245, 197, 24, 0.15), rgba(245, 197, 24, 0.05)); border: 1px solid rgba(245, 197, 24, 0.2); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 24px; }
.feature h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.5px; color: var(--cream); margin-bottom: 12px; }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ═══════════════ PRICING ═══════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 32px; position: relative; transition: all 0.3s ease; display: flex; flex-direction: column; }
.price-card.featured { background: linear-gradient(180deg, rgba(245, 197, 24, 0.08), var(--bg-card) 60%); border-color: rgba(245, 197, 24, 0.4); transform: scale(1.04); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 80px rgba(245, 197, 24, 0.15); }
.price-card:hover { transform: translateY(-4px); }
.price-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--red); color: white; padding: 5px 16px; border-radius: 100px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; box-shadow: 0 6px 20px rgba(245, 197, 24, 0.5); }
.price-name { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--cream); margin-bottom: 8px; letter-spacing: -0.5px; }
.price-desc { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.price-currency { font-family: var(--font-display); font-size: 24px; color: var(--cream); font-weight: 300; }
.price-num { font-family: var(--font-display); font-weight: 400; font-size: 68px; line-height: 1; color: var(--cream); letter-spacing: -2px; }
.price-num em { font-style: italic; color: var(--red); font-weight: 300; }
.price-period { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.price-features { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.price-features li { padding: 10px 0; font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: '✓'; color: var(--red); font-weight: bold; font-size: 16px; flex-shrink: 0; }
.price-btn { display: block; text-align: center; padding: 16px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; transition: all 0.25s ease; }
.price-card .price-btn { background: transparent; border: 1px solid var(--line); color: var(--text); }
.price-card .price-btn:hover { border-color: var(--red); color: var(--red); }
.price-card.featured .price-btn { background: var(--red); color: white; border: 1px solid var(--red); box-shadow: 0 8px 24px rgba(245, 197, 24, 0.4); }
.price-card.featured .price-btn:hover { background: var(--red-glow); box-shadow: 0 12px 32px rgba(245, 197, 24, 0.55); }

/* ═══════════════ FAQ ═══════════════ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: all 0.25s ease; }
.faq-item[open] { border-color: rgba(245, 197, 24, 0.4); background: linear-gradient(180deg, rgba(245, 197, 24, 0.04), var(--bg-card)); }
.faq-item summary { padding: 22px 28px; cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--cream); display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--red); font-weight: 300; transition: transform 0.25s ease; flex-shrink: 0; margin-left: 20px; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-content { padding: 0 28px 24px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ═══════════════ CTA ═══════════════ */
.cta { padding: 100px 0; }
.cta-box { background: linear-gradient(135deg, var(--bg-elev), var(--bg-card)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 80px 60px; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -50%; left: -10%; width: 60%; height: 200%; background: radial-gradient(ellipse, rgba(245, 197, 24, 0.15), transparent 50%); pointer-events: none; }
.cta-box::after { content: ''; position: absolute; bottom: -50%; right: -10%; width: 60%; height: 200%; background: radial-gradient(ellipse, rgba(79, 124, 255, 0.1), transparent 50%); pointer-events: none; }
.cta-box h2, .cta-box p, .cta-box .btn { position: relative; z-index: 2; }
.cta-box p { font-size: 18px; color: var(--muted); margin-bottom: 40px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ═══════════════ FOOTER ═══════════════ */
.site-footer { padding: 80px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--cream); margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--dim); flex-wrap: wrap; gap: 16px; }

/* ═══════════════ BLOG (tarjetas en portada) ═══════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); transition: all 0.3s ease; }
.blog-card:hover { border-color: rgba(245, 197, 24, 0.4); transform: translateY(-4px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); }
.blog-card-cover { aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--line); }
.blog-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-cover img { transform: scale(1.05); }
.blog-card-body { padding: 24px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-title { font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -0.5px; color: var(--cream); line-height: 1.2; margin-bottom: 10px; }
.blog-card-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; flex-grow: 1; }
.blog-readmore { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.blog-card:hover .blog-readmore .btn-arrow { transform: translateX(4px); }

/* ═══════════════ ARTÍCULO (single) ═══════════════ */
.single-post .container { max-width: 820px; }
.post-head { text-align: center; margin-bottom: 36px; }
.post-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -1.5px; color: var(--cream); margin: 14px 0 12px; }
.post-meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.5px; }
.post-thumb { margin-bottom: 32px; }
.post-thumb img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); display: block; }
.entry-content { font-size: 17px; color: var(--text); line-height: 1.75; }
.entry-content h2 { font-family: var(--font-display); font-weight: 400; font-size: 28px; letter-spacing: -0.8px; color: var(--cream); margin: 36px 0 14px; }
.entry-content p { margin-bottom: 18px; color: var(--muted); }
.entry-content strong { color: var(--text); }
.entry-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { list-style: none; margin: 0 0 18px; }
.entry-content ul li { position: relative; padding: 8px 0 8px 26px; color: var(--muted); }
.entry-content ul li::before { content: '✓'; position: absolute; left: 0; top: 8px; color: var(--red); font-weight: bold; }
.post-back { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }

.article-cta { background: linear-gradient(135deg, var(--bg-elev), var(--bg-card)); border: 1px solid rgba(245, 197, 24, 0.4); border-radius: var(--radius-lg); padding: 36px; text-align: center; margin: 40px 0; }
.article-cta h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--cream); margin-bottom: 10px; }
.article-cta p { color: var(--muted); margin-bottom: 24px; }

/* ═══════════════ TESTIMONIOS ═══════════════ */
.rating-summary { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 20px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 100px; font-size: 14px; color: var(--text); }
.rating-summary strong { color: var(--cream); }
.rating-stars { color: var(--gold); letter-spacing: 2px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; transition: all 0.3s ease; }
.testimonial:hover { border-color: rgba(245, 197, 24, 0.4); transform: translateY(-4px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); }
.t-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.t-text { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 24px; }
.t-text mark { background: rgba(245, 197, 24, 0.12); color: var(--red-glow); padding: 1px 5px; border-radius: 4px; }
.t-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.t-avatar { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-glow)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display); box-shadow: 0 0 18px rgba(245, 197, 24, 0.35); }
.t-name { font-weight: 600; color: var(--cream); font-size: 15px; }
.t-role { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .poster { flex: 0 0 160px; }
}

@media (max-width: 640px) {
  .container, .container-wide { padding: 0 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    background: rgba(7, 9, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
  }
  nav.nav-open .nav-menu { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .hero { padding: 60px 0 60px; }
  section.section { padding: 70px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 50px 24px; }
  .poster { flex: 0 0 140px; }
  .section-header { flex-direction: column; align-items: start; }
  .ap-title { font-size: 14px; }

  /* Barra compacta para que no se amontone */
  .nav-inner { gap: 10px; }
  .logo-text { font-size: 17px; }
  .logo-mark { width: 32px; height: 32px; }
  .nav-cta-fire { padding: 8px 12px; font-size: 12px; }

  /* Hero más legible y botones a ancho completo */
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 40px; letter-spacing: -1px; }
  .hero p { font-size: 16px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-collage { max-width: 380px; margin: 8px auto 0; }

  /* Títulos y precios proporcionados */
  h2 { font-size: 30px; letter-spacing: -1px; }
  .price-num { font-size: 54px; }
  .section-header-center { margin-bottom: 40px; }
  .cta-box h2 { font-size: 28px; }
}

/* CTA flotante visible en móvil/tablet; deja hueco abajo */
@media (max-width: 820px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Texto oscuro sobre el acento amarillo (legibilidad) */
.nav-cta, .nav-cta:hover, .nav-cta-fire, .btn-primary, .btn-primary:hover, .price-card.featured .price-btn, .popular-badge, .t-avatar, .mobile-cta { color: #0a0a0a; }
.carousel-btn:hover { color: #0a0a0a; }
.logo-mark::before { color: #0a0a0a; }

/* ═══════════════ TIPOGRAFÍA MÁS GRUESA ═══════════════ */
body { font-weight: 500; }
.hero h1, h2, .post-title, .price-num, .cta-box h2 { font-weight: 700; }
.hero h1 em, h2 em, .price-num em { font-weight: 600; font-style: italic; }
.stat-num, .price-name, .feature h3, .blog-card-title, .article-cta h3,
.faq-item summary, .t-name, .ap-title, .logo-text { font-weight: 800; }
.hero p, .section-header p, .section-header-center p, .feature p,
.blog-card-desc, .t-text, .faq-content, .entry-content,
.entry-content p, .price-desc, .nav-menu a { font-weight: 500; }
.btn, .nav-cta, .price-btn, .mobile-cta, .eyebrow { font-weight: 700; }

/* ═══════════════ SIN CURSIVAS ═══════════════ */
em, i, .hero h1 em, h2 em, .price-num em, .logo-text em, .stat-num em, .ap-title { font-style: normal; }


/* ═══════════════ HERO: CONTENIDO A LA DERECHA ═══════════════ */
.hero-grid { justify-items: end; }
.hero-grid > div { max-width: 620px; text-align: right; margin-left: auto; }
.hero p { margin-left: auto; }
.hero-actions { justify-content: flex-end; }
.hero-trust { justify-content: flex-end; }

/* ═══════════════ HERO EN MÓVIL: a la izquierda para leer mejor ═══════════════ */
@media (max-width: 640px) {
  .hero-grid { justify-items: stretch; }
  .hero-grid > div { text-align: left; margin-left: 0; max-width: 100%; }
  .hero p { margin-left: 0; }
  .hero-trust { justify-content: flex-start; }
}

/* ═══════════════ CANALES IPTV ESPAÑA ═══════════════ */
.channels-cats { display: flex; flex-direction: column; gap: 30px; }
.channels-cat-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--cream); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.chan-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chan-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px; font-size: 13px; color: var(--text); transition: border-color 0.2s ease, transform 0.2s ease; }
.chan-chip:hover { border-color: var(--red); transform: translateY(-2px); }
.ctag { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px; padding: 2px 7px; border-radius: 5px; }
.ctag.pago { background: rgba(245, 197, 24, 0.15); color: var(--red); }
.ctag.gratis { background: rgba(255, 255, 255, 0.07); color: var(--muted); }
.channels-note { margin-top: 32px; font-size: 15px; color: var(--muted); text-align: center; }
.channels-note a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* Texto del hero en blanco */
.hero p { color: #ffffff; }

/* Badge del hero en blanco (el puntito sigue amarillo) */
.badge { color: #ffffff; }
