/* =========================================================
   FanMedia Con 2027 · Landing
   ========================================================= */

:root {
  --bg: #000928;
  --bg-2: #001C62;
  --light: #001C62;
  --ink: #000928;
  --muted: #9fb0d9;
  --pink: #8AA8F5;   /* acento principal (azul claro FanMedia) */
  --pink-2: #B3C6FA;
  --violet: #0042EA;
  --gold: #FFD400;   /* amarillo FanMedia */
  --teal: #2ee6b6;
  --radius: 10px;
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-display: "Panchang", "Rethink Sans", system-ui, sans-serif;
  --font-body: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brush: "Panchang", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  color: #fff;
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 18px 26px;
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad);
  font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn--sm { --pad: 12px 22px; font-size: 13px; }
.btn--primary {
  background: var(--pink);
  box-shadow: 0 10px 30px -10px rgba(138, 168, 245, .7);
}
.btn--primary::before { /* shine */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(138, 168, 245, .95); background: var(--pink-2); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--ghost { border: 2px solid rgba(255,255,255,.85); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn:active { transform: scale(.97); }
.arrow { display: inline-block; transition: transform .35s var(--ease); }
a:hover .arrow { transform: translateX(5px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-shrink: 0; }
.logo img {
  height: 44px; width: auto;
  transition: height .4s var(--ease), transform .45s var(--ease), filter .45s;
}
.logo:hover img { transform: scale(1.05) rotate(-2deg); filter: drop-shadow(0 0 14px rgba(138, 168, 245, .45)); }
.header.is-scrolled .header__inner > .logo img { height: 36px; }
/* Hueco fijo para el logo: el menú queda en el mismo sitio en todas las páginas */
.header__inner > .logo { width: 200px; }
@media (max-width: 960px) { .header__inner > .logo { width: auto; } }
.logo--lg img { height: clamp(70px, 9vw, 96px); }
.nav__logo { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 16px 0;
  transition: background .4s, padding .4s var(--ease), box-shadow .4s;
}
.header.is-scrolled {
  padding: 10px 0;
  background: rgba(7, 8, 15, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: 40px; flex: 1; justify-content: space-between; margin-left: 32px; }
.nav__list { display: flex; gap: 28px; }
.nav__link {
  position: relative; display: block; padding: 8px 0;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  color: #e6e7ee; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--pink); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; z-index: 60; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Eyebrows / titles ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #d9dbe5;
}
.eyebrow--center { text-align: center; }
.eyebrow--dark { color: var(--ink); letter-spacing: .12em; }
.section-head { text-align: center; margin-bottom: 40px; position: relative; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05; text-transform: uppercase; margin: 10px 0 12px;
}
.section-title--dark { color: var(--ink); font-family: var(--font-body); font-weight: 900; font-size: clamp(24px, 3.4vw, 36px); }
.section-sub { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(640px, 100vh, 960px); min-height: clamp(640px, 100svh, 960px);
  display: flex; align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 30%, #0a2a7a 0%, var(--bg) 60%);
}
.hero__bg {
  position: absolute; top: -10%; bottom: -10%; right: 0; width: 62%;
  will-change: transform;
}
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  animation: heroZoom 18s ease-in-out infinite alternate;
  /* Oscurecido + difuminado leve: mejora la legibilidad y disimula la resolución de la foto */
  filter: brightness(.68) saturate(1.15) blur(.6px);
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero::after { /* bottom fade */
  content: ""; position: absolute; inset: auto 0 0; height: 30%;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

/* Stage light beams */
.hero__beams { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.hero__beams span {
  position: absolute; top: -20%; width: 180px; height: 140%;
  background: linear-gradient(180deg, rgba(140, 90, 255, .55), transparent 75%);
  filter: blur(18px);
  transform-origin: top center;
  animation: beam 7s ease-in-out infinite alternate;
  opacity: .5;
}
.hero__beams span:nth-child(1) { left: 55%; animation-duration: 8s; }
.hero__beams span:nth-child(2) { left: 72%; background: linear-gradient(180deg, rgba(138, 168, 245, .45), transparent 70%); animation-delay: -3s; }
.hero__beams span:nth-child(3) { left: 88%; animation-duration: 9s; animation-delay: -5s; }
@keyframes beam { from { transform: rotate(18deg); } to { transform: rotate(-18deg); } }

.hero__particles { position: absolute; inset: 0; pointer-events: none; }
.hero__particles i {
  position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px rgba(180, 140, 255, .8);
  animation: rise linear infinite;
  opacity: 0;
}
@keyframes rise {
  10% { opacity: .9; }
  90% { opacity: .6; }
  to { transform: translate(var(--x, 0), -110vh); opacity: 0; }
}

.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 10.5vw, 132px);
  line-height: .9; letter-spacing: -.01em;
  margin: 14px 0 26px;
}
.hero__line { display: block; }
.hero__year { letter-spacing: -.02em; }
.brush {
  font-family: var(--font-brush);
  color: var(--pink);
  font-size: 1.18em;
  font-weight: 400;
  display: inline-block;
  transform: translateY(.02em);
  text-shadow: 0 0 40px rgba(138, 168, 245, .55);
  margin-right: .06em;
  animation: glow 3s ease-in-out infinite alternate;
}
@keyframes glow {
  from { text-shadow: 0 0 20px rgba(138, 168, 245, .35); }
  to   { text-shadow: 0 0 50px rgba(138, 168, 245, .85), 0 0 90px rgba(0, 66, 234, .4); }
}
/* Título del hero con el logo oficial */
.hero-logo { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(12px, 2vw, 26px); margin: 18px 0 30px; }
.hero-logo img {
  width: clamp(240px, 38vw, 540px); height: auto;
  filter: drop-shadow(0 10px 40px rgba(59, 108, 240, .35));
}
.hero-logo--wide img { width: clamp(280px, 46vw, 640px); filter: drop-shadow(0 10px 40px rgba(0, 66, 234, .4)); }
.hero-logo--net img { width: clamp(220px, 32vw, 460px); filter: drop-shadow(0 10px 40px rgba(46, 230, 182, .3)); }
.hero-logo__year {
  font-family: var(--font-display); line-height: .8;
  font-size: clamp(44px, 7.4vw, 110px);
  margin-bottom: .06em;
}
.hero__claim { font-size: clamp(18px, 2.2vw, 24px); font-weight: 800; text-transform: uppercase; margin-bottom: 26px; }

.hero__meta { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; flex-wrap: wrap; }
.meta { display: flex; align-items: center; gap: 12px; text-transform: uppercase; }
.meta strong { font-size: 17px; font-weight: 800; letter-spacing: .02em; display: block; }
.meta small { display: block; font-size: 11px; letter-spacing: .12em; color: #c9cbd6; }
.meta__icon { width: 26px; height: 26px; fill: none; stroke: var(--pink); stroke-width: 2; }
.meta__sep { width: 1px; height: 34px; background: rgba(255,255,255,.25); }

.countdown { display: flex; gap: 10px; margin-bottom: 28px; }
.countdown div {
  min-width: 68px; padding: 8px 10px; text-align: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  backdrop-filter: blur(6px);
}
.countdown b { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero__tags li {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #c9cbd6;
  position: relative; cursor: default; transition: color .3s;
}
.hero__tags li:hover { color: var(--pink); }

.scroll-hint {
  position: absolute; z-index: 3; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; background: var(--pink);
  transform: rotate(-1.5deg) scale(1.03);
  margin: -14px 0 0; position: relative; z-index: 4;
  box-shadow: 0 10px 40px -10px rgba(138, 168, 245,.6);
}
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  padding: 12px 0;
  animation: marquee 22s linear infinite;
}
.marquee span { font-family: var(--font-brush); font-size: 26px; text-transform: uppercase; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 18px; opacity: .8; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   UNIVERSO
   ========================================================= */
.universe {
  padding: 90px 0 100px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 66, 234,.18), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(138, 168, 245,.12), transparent 50%),
    var(--bg-2);
}
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  --accent: var(--pink);
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: #001040;
  border: 1px solid rgba(255,255,255,.06);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.card.is-visible { transition: opacity .9s var(--ease) var(--d, 0s), transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.card::after { /* moving glare */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.18), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 30px 60px -25px color-mix(in srgb, var(--accent) 70%, transparent);
}
.card:hover::after { opacity: 1; }
.card__media { position: relative; aspect-ratio: 225 / 179; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, #001040 100%);
}
.card:hover .card__media img { transform: scale(1.08); filter: saturate(1.25) brightness(1.08); }
/* Tarjetas con logo de marca sobre la foto */
.cards--3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards--3 .card__media { aspect-ratio: 16 / 11; }
.cards--3 .card__media > img:first-child { filter: brightness(.55) saturate(1.1); }
.cards--3 .card:hover .card__media > img:first-child { filter: brightness(.7) saturate(1.3); }
.card__media .card__logo {
  position: absolute; z-index: 1; left: 50%; top: 46%;
  width: 66%; height: auto; object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.55));
  transition: transform .6s var(--ease);
}
.card__media .card__logo--tall { width: 52%; }
.cards--3 .card:hover .card__media .card__logo { transform: translate(-50%, -50%) scale(1.07); }
.card__title { font-size: 17px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; margin-top: 4px; }
.card__body { padding: 6px 18px 22px; display: flex; flex-direction: column; flex: 1; gap: 18px; }
.card__body p { font-size: 14.5px; font-weight: 600; line-height: 1.4; color: #eceef5; }
.card__link {
  margin-top: auto;
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
}
.card__link::before { content: ""; position: absolute; inset: 0; } /* whole card clickable */

/* =========================================================
   PASIONES + NOTICIAS
   ========================================================= */
.passions {
  padding: 80px 0 90px;
  background: var(--light);
  color: var(--ink);
}
.section-head--light { margin-bottom: 36px; }
.sticker {
  position: absolute; right: 0; top: -14px;
  font-family: var(--font-brush); font-size: 17px; line-height: 1.1;
  color: var(--ink); text-transform: uppercase; text-align: center;
  transform: rotate(-10deg);
  animation: wobble 4s ease-in-out infinite;
}
.sticker::after {
  content: ""; display: block; height: 4px; margin: 6px auto 0; width: 110%;
  background: var(--pink); border-radius: 4px; transform: rotate(-4deg);
}
/* Tilde dibujada: la demo de Ultra Fresh no trae letras acentuadas */
.acute { position: relative; display: inline-block; }
.acute::after {
  content: ""; position: absolute; left: 50%; top: -.26em;
  width: .13em; height: .3em; border-radius: .08em;
  background: currentColor;
  transform: translateX(-20%) rotate(38deg);
}
@keyframes wobble { 50% { transform: rotate(-6deg) scale(1.05); } }

.pills { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; margin-bottom: 26px; }
.pill a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  height: 100%; padding: 22px 8px 16px;
  background: #fff; border-radius: 8px;
  box-shadow: 0 2px 10px rgba(18,19,31,.05);
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: center;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .35s, color .35s;
}
.pill svg { width: 38px; height: 38px; transition: transform .5s var(--ease); }
.pill .fill { fill: #8AA8F5; transition: fill .35s; }
.pill .stroke-w { stroke: #fff; stroke-width: 1.5; }
.pill .cut { stroke: #fff; stroke-width: 1.6; fill: none; stroke-linecap: round; }
.pill .cut-f { fill: #fff; transition: fill .35s; }
.pill .line { fill: none; stroke: #8AA8F5; stroke-width: 2.2; stroke-linecap: round; transition: stroke .35s; }
.pill a:hover {
  transform: translateY(-8px);
  background: var(--ink); color: #fff;
  box-shadow: 0 20px 30px -14px rgba(138, 168, 245,.6);
}
.pill a:hover svg { transform: scale(1.18) rotate(-8deg); animation: bounce .6s var(--ease); }
.pill a:hover .fill { fill: var(--pink); }
.pill a:hover .line { stroke: var(--pink); }
.pill a:hover .cut-f { fill: var(--ink); }
.pill a:hover .stroke-w { stroke: var(--ink); }
@keyframes bounce { 30% { transform: scale(1.3) rotate(6deg); } 60% { transform: scale(1.1) rotate(-10deg); } }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }

.video {
  position: relative; display: grid; place-items: center; align-content: center; gap: 22px;
  min-height: 300px; border-radius: 12px; overflow: hidden; color: #fff; text-align: center;
  background: #000;
}
.video img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%;
  transition: transform 1.2s var(--ease), filter .6s;
  filter: brightness(.7);
}
.video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,10,60,.2), rgba(7,8,15,.75));
}
.video:hover img { transform: scale(1.06); filter: brightness(.85) saturate(1.2); }
.video__play {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid #fff; display: grid; place-items: center;
  transition: transform .45s var(--ease), background .35s, border-color .35s;
}
.video__play::before { /* pulse ring */
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid #fff; animation: pulse 2s ease-out infinite;
}
@keyframes pulse { to { transform: scale(1.7); opacity: 0; } }
.video__play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.video:hover .video__play { transform: scale(1.15); background: var(--pink); border-color: var(--pink); }
.video__text { position: relative; z-index: 1; }
.video__text strong { display: block; font-size: clamp(18px, 2.2vw, 24px); font-weight: 900; text-transform: uppercase; }
.video__text small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #d5d7e2; }

.news__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.news__head h3 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.news__all { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: color .3s; }
.news__all:hover { color: var(--pink); }
.news__list li { border-bottom: 1px solid rgba(18,19,31,.1); }
.news__item {
  display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center;
  padding: 10px 0;
  transition: transform .4s var(--ease);
}
.news__thumb { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 104 / 60; }
.news__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news__item strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.35; transition: color .3s; }
.news__item time { font-size: 11px; color: #8a8ea0; text-transform: uppercase; letter-spacing: .04em; }
.news__item:hover { transform: translateX(6px); }
.news__item:hover strong { color: var(--pink); }
.news__item:hover .news__thumb img { transform: scale(1.12); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--bg); }
.footer__brand {
  position: relative;
  display: grid; place-items: center;
  padding: 46px 16px;
  background: url("../assets/img/footer-strip.jpg") center / cover;
  isolation: isolate;
}
.footer__brand::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,8,15,.55), rgba(7,8,15,.85));
}
.footer__brand { gap: 12px; text-align: center; }
.footer__claim { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #c9cbd6; }
.footer__mails { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; font-weight: 700; font-size: 14px; }
.footer__mails a { transition: color .3s; }
.footer__mails a:hover { color: var(--pink); }
.footer__mails span { color: var(--muted); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 22px 0 26px;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { font-size: 12.5px; color: #c9cbd6; position: relative; transition: color .3s; }
.footer__links a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  transition: background .3s, transform .4s var(--ease);
}
.social svg { width: 17px; height: 17px; fill: #fff; }
.social svg.stroke { fill: none; stroke: #fff; stroke-width: 2; }
.social a:hover { background: var(--pink); transform: translateY(-4px) rotate(-8deg); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__box { position: relative; width: min(960px, 100%); aspect-ratio: 16/9; animation: pop .45s var(--ease); }
.modal__frame, .modal__frame iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; background: #000; }
.modal__close {
  position: absolute; top: -46px; right: 0; width: 40px; height: 40px;
  background: none; border: 0; color: #fff; font-size: 34px; line-height: 1;
  transition: transform .3s, color .3s;
}
.modal__close:hover { transform: rotate(90deg); color: var(--pink); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.92); } }

/* ---------- Cursor glow (desktop) ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 1; pointer-events: none;
  width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 168, 245,.14), transparent 65%);
  opacity: 0; transition: opacity .4s;
  mix-blend-mode: screen;
}
.cursor-glow.is-on { opacity: 1; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { margin-left: 32px; gap: 20px; }
  .nav__list { gap: 18px; }
  .pills { grid-template-columns: repeat(4, 1fr); }
  .sticker { display: none; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; margin: 0;
    flex-direction: column; justify-content: center; gap: 36px;
    background: rgba(7,8,15,.97);
    backdrop-filter: blur(12px);
    clip-path: circle(0 at calc(100% - 38px) 38px);
    transition: clip-path .7s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 38px) 38px); visibility: visible; }
  .nav__logo {
    display: inline-flex; margin-bottom: 4px;
    opacity: 0; transform: scale(.85); transition: opacity .5s, transform .6s var(--ease);
  }
  .nav__logo img { height: auto; width: min(260px, 70vw); }
  .nav.is-open .nav__logo { opacity: 1; transform: none; }
  .nav__list { flex-direction: column; align-items: center; gap: 14px; }
  .nav__link { font-size: 22px; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease), color .3s; }
  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(2) .nav__link { transition-delay: .05s; }
  .nav.is-open li:nth-child(3) .nav__link { transition-delay: .1s; }
  .nav.is-open li:nth-child(4) .nav__link { transition-delay: .15s; }
  .nav.is-open li:nth-child(5) .nav__link { transition-delay: .2s; }
  .nav.is-open li:nth-child(6) .nav__link { transition-delay: .25s; }

  .hero { align-items: flex-end; }
  .hero__bg { width: 100%; opacity: .45; }
  .hero__img { -webkit-mask-image: none; mask-image: none; }
  .cards, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-logo img { width: 62vw; }
  .hero-logo--wide img { width: 84vw; }
  .hero-logo--net img { width: 58vw; }
  .hero-logo__year { font-size: 11vw; }
  .header__inner > .logo img { height: 36px; }
  .header.is-scrolled .header__inner > .logo img { height: 32px; }
  .hero { padding-top: 110px; }
  .hero__meta { gap: 14px; }
  .meta__sep { display: none; }
  .countdown div { min-width: 0; flex: 1; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
  .cards, .cards--3 { grid-template-columns: 1fr; }
  .pills { grid-template-columns: repeat(2, 1fr); }
  .news__item { grid-template-columns: 88px 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .scroll-hint { display: none; }
}

@media (hover: none) { .cursor-glow { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* =========================================================
   Identidad FanMedia (fanmedia.es): azul marino, azul claro y amarillo;
   Panchang en títulos y Rethink Sans en textos
   ========================================================= */
h1, h2, h3, .section-title, .hero-logo__year { letter-spacing: -.01em; }
.section-title { font-weight: 800; font-size: clamp(26px, 4.2vw, 46px); line-height: 1.08; }
.hero__title, .page-hero__title { font-weight: 800; }
.btn { border-radius: 999px; font-family: var(--font-body); font-weight: 700; letter-spacing: .03em; }
.btn--primary { color: var(--ink); }
.btn--primary:hover { color: var(--ink); }
.btn--ghost { border-width: 1.5px; }
.nav__link { font-family: var(--font-body); font-weight: 600; text-transform: none; font-size: 15px; letter-spacing: 0; }
.nav__link::after { background: var(--gold); }
.nav__link.is-active, .nav__link:hover { color: var(--gold); }
.eyebrow { color: var(--gold); }
.brush { color: var(--gold); text-shadow: none; animation: none; }
.hero-logo__year { font-weight: 800; }
.marquee { background: var(--gold); box-shadow: 0 10px 40px -10px rgba(255, 212, 0, .45); }
.marquee span, .marquee i { color: var(--ink); }
.marquee span { font-size: 20px; font-weight: 800; }
.countdown b { font-weight: 800; }
.card__title, .creator__name { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
/* Secciones "claras" pasan a azul FanMedia */
.passions, .section--light { background: var(--light); color: #fff; }
.section-title--dark, .eyebrow--dark { color: #fff; }
.eyebrow--dark { color: var(--gold); }
.pill a, .service {
  background: rgba(255,255,255,.06); color: #fff; box-shadow: none;
  border: 1px solid rgba(138, 168, 245, .22);
}
.pill a:hover, .service:hover { background: var(--pink); color: var(--ink); box-shadow: 0 20px 30px -14px rgba(138,168,245,.6); }
.pill .fill { fill: var(--pink); }
.pill .line { stroke: var(--pink); }
.pill .cut, .pill .stroke-w { stroke: var(--light); }
.pill .cut-f { fill: var(--light); }
.pill a:hover .fill { fill: var(--ink); }
.pill a:hover .line { stroke: var(--ink); }
.pill a:hover .cut-f { fill: var(--pink); }
.pill a:hover .stroke-w { stroke: var(--pink); }
.sticker { color: var(--gold); font-size: 14px; }
.sticker::after { background: var(--gold); }
.news__list li { border-bottom-color: rgba(255,255,255,.12); }
.news__item time { color: var(--muted); }
.news__item:hover strong, .news__all:hover { color: var(--gold); }
.footer__mails a:hover, .footer__links a:hover { color: var(--gold); }
.card__title { font-family: var(--font-body); font-weight: 800; }

/* Pantallas muy anchas o zoom alejado: la foto del hero no se estira;
   queda junto al contenido y se funde con el fondo por ambos lados */
@media (min-width: 1700px) {
  .hero__bg, .page-hero .hero__bg {
    width: 1150px;
    right: calc(50% - 780px);
  }
  .hero__img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 80%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 80%, transparent 100%);
  }
  .hero, .page-hero { min-height: 900px; }
}

/* Menú móvil: el efecto cristal de la cabecera va en un pseudo-elemento.
   (backdrop-filter en .header encerraba al menú fijo dentro de la cabecera al hacer scroll) */
.header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; }
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 9, 40, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .4s;
}
.header.is-scrolled::before { opacity: 1; }

/* Rendimiento en móvil / pantallas táctiles: sin efectos costosos */
@media (max-width: 960px), (hover: none) {
  .hero__beams, .hero__particles, .cursor-glow { display: none; }
  .hero__img { animation: none; filter: brightness(.62) saturate(1.1); }
  .header::before { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0, 9, 40, .96); }
  .countdown div, .subnav, .nav, .modal__backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .subnav { background: rgba(0, 16, 64, .97); }
  .nav { background: #000928; }
  .brush { animation: none; }
  .creator__photo--mystery, .teaser__icon, .sticker { animation: none; }
  .cta-band::before { animation: none; }
  .marquee__track { animation-duration: 30s; }
  .card, .card::after, .pill a, .service, .space, .phase { will-change: auto; }
}

/* Crédito de diseño en el pie */
.footer__credit a { color: var(--muted); }
.footer__credit a:hover { color: var(--gold); }

/* Home: vídeo a todo el ancho (sin noticias de momento) */
.split--video { grid-template-columns: 1fr; }
.split--video .video { min-height: clamp(300px, 42vw, 520px); }
/* La miniatura del aftermovie ya trae su rótulo: solo botón de play abajo */
.split--video .video { aspect-ratio: 16 / 9; min-height: 0; align-content: end; padding-bottom: clamp(16px, 3vw, 32px); }
.split--video .video img { filter: none; }
.split--video .video::after { background: linear-gradient(180deg, transparent 60%, rgba(0, 9, 40, .55)); }
.split--video .video:hover img { filter: brightness(1.05); }
.split--video .video__text { display: none; }
.split--video .video { aspect-ratio: 2458 / 1234; }
/* Texto "Revive la edición anterior" visible, abajo sobre degradado */
.split--video .video__text { display: block; }
.split--video .video { gap: 12px; }
.split--video .video::after { background: linear-gradient(180deg, transparent 45%, rgba(0, 9, 40, .85)); }
