/* ══════════════════════════════════════════════════════════
   EL GEN DEL FAN — styles.css
   Sistema de Diseño Visual | Identidad Neón | Nexus6
══════════════════════════════════════════════════════════ */

/* ── Variables de Marca ───────────────────────────────── */
:root {
  --midnight:    #0A001F;
  --magenta:     #F012BE;
  --cyan:        #01FFFE;
  --purple:      #BC13FE;
  --deep-purple: #1A0040;
  --card-bg:     #110028;

  --glow-cyan:    0 0 8px #01FFFE, 0 0 24px #01FFFE55, 0 0 48px #01FFFE22;
  --glow-magenta: 0 0 8px #F012BE, 0 0 24px #F012BE55, 0 0 48px #F012BE22;
  --glow-purple:  0 0 8px #BC13FE, 0 0 24px #BC13FE55, 0 0 48px #BC13FE22;

  /* AG2 Brand Token: dual-tone festival overlay */
  --hero-overlay-magenta: rgba(240, 18, 190, 0.40);
  --hero-overlay-cyan:    rgba(1, 255, 254, 0.30);
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--purple) var(--midnight);
}

body {
  background-color: var(--midnight);
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ── Navbar scrolled ──────────────────────────────────── */
#navbar.scrolled {
  background: rgba(10, 0, 31, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(1, 255, 254, 0.12);
}

/* ── Glow Text Effects ────────────────────────────────── */
.glow-text-cyan {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan), 0 0 30px rgba(1,255,254,0.5), 0 0 70px rgba(1,255,254,0.2);
}

.glow-text-magenta {
  color: var(--magenta);
  text-shadow: 0 0 10px var(--magenta), 0 0 30px rgba(240,18,190,0.5), 0 0 70px rgba(240,18,190,0.2);
}

.glow-text-purple {
  color: var(--purple);
  text-shadow: 0 0 10px var(--purple), 0 0 30px rgba(188,19,254,0.5), 0 0 70px rgba(188,19,254,0.2);
}

/* ── Hero — contención de capas absolutas ─────────── */
/*
   overflow: clip → equivalente visual a overflow:hidden
   pero SIN crear un scroll-container, por lo que el flujo
   vertical de la página (secciones de abajo) no se ve afectado.
*/
#hero {
  overflow: clip;
}

/* ── Feed Principal — siempre visible ────────────── */
#feed-principal {
  display: block;
  width: 100%;
}

/* ── Hero — CAPA 1: Video (mix-blend-mode: screen) ───── */
/*
   A2 DECISION: mix-blend-mode:screen sobre el <video> keya
   el fondo negro puro del archivo de video, dejando visibles
   SOLO los rayos de luz, logos y elementos brillantes.
   Elimina por completo el bounding-box rectángulo visible.
   El backdrop de la multitud queda expuesto y colorizado
   por el overlay dual-tone de la Capa 1c.
*/
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  /* A2: Key-out del fondo oscuro del video — elimina bounding box */
  mix-blend-mode: screen;
  /* GPU acceleration: layer propio, sin re-paint del layout */
  transform: translateZ(0);
  will-change: transform;
  /* Sin filter de oscurecimiento: el scrim y el overlay toman esa responsabilidad */
  filter: saturate(1.6) brightness(1.1) contrast(1.05);
  /* A3: flags de bajo overhead preservados */
  z-index: 0;
}

/* ── Hero — CAPA 1b: Noise grain filter ──────────── */
.hero-noise-filter {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  mix-blend-mode: overlay;
  opacity: 0.55;
  z-index: 1;
}

/* ── Hero — CAPA 1c: Dual-Tone Festival Overlay (A1) ── */
/*
   A1 DECISION: Gradiente 135deg Magenta Pasión → Cyan Digital.
   blend-mode: overlay fuerza al backdrop (crowd image) a absorber
   la cromatería de alta energía del festival. Elimina el look apagado.
   Posicionado sobre el noise (z-index:1) pero bajo el scrim (z-index:2).
*/
.hero-color-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(240, 18, 190, 0.40) 0%,
    rgba(188, 19, 254, 0.25) 45%,
    rgba(1, 255, 254, 0.30) 100%
  );
  mix-blend-mode: overlay;
  z-index: 2;
  pointer-events: none;
}

/* ── Hero — CAPA 2: Scrim Protector ─────────────── */
.hero-scrim {
  background: linear-gradient(
    to bottom,
    rgba(10, 0, 31, 0.40) 0%,
    rgba(10, 0, 31, 0.55) 35%,
    rgba(10, 0, 31, 0.75) 65%,
    rgba(10, 0, 31, 0.90) 100%
  );
  z-index: 2;
}

/* ── Laser Overlays (z-index 4-5, sobre scrim) ─────── */
.laser-cyan {
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(1, 255, 254, 0.07) 25%,
    transparent 50%,
    rgba(1, 255, 254, 0.12) 75%,
    transparent 100%
  );
  mix-blend-mode: screen;
  z-index: 4;
}

.laser-magenta {
  background: linear-gradient(
    225deg,
    transparent 0%,
    rgba(240, 18, 190, 0.09) 30%,
    transparent 55%,
    rgba(188, 19, 254, 0.14) 80%,
    transparent 100%
  );
  mix-blend-mode: screen;
  z-index: 5;
}

/* ── Hero — CAPA 3: Logo VFINAL ───────────────── */
.hero-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Isolation para que el drop-shadow no afecte capas inferiores */
  isolation: isolate;
  /* A3: Glow físico de emisión de neón real alrededor del contenedor circular */
  border-radius: 50%;
  box-shadow:
    0 0 25px rgba(1, 255, 254, 0.30),
    0 0 50px rgba(188, 19, 254, 0.15),
    inset 0 0 20px rgba(1, 255, 254, 0.15);
  background: rgba(10, 0, 31, 0.35);
  padding: 15px;
  border: 1px solid rgba(1, 255, 254, 0.20);
  transition: all 0.4s ease;
}

.hero-logo-img {
  /* Proporción circular estricta: el logo ya es cuadrado, 
     object-contain preserva la forma sin deformar ningún eje */
  width: clamp(240px, 45vw, 420px);
  height: clamp(240px, 45vw, 420px);
  object-fit: contain;
  object-position: center;
  /* Nitidez 100%: image-rendering crítico para PNGs con bordes neon */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  /* Glow Cyan neón doble intensificado */
  filter:
    drop-shadow(0 0 10px rgba(1, 255, 254, 0.95))
    drop-shadow(0 0 25px rgba(1, 255, 254, 0.65))
    drop-shadow(0 0 60px rgba(188, 19, 254, 0.30));
  /* Sin border-radius: el logo ya tiene su propia forma circular */
  border-radius: 0;
  user-select: none;
  /* GPU layer propio para la animación float */
  will-change: transform;
}

/* Glow pulsante: keyframe en CSS (complementa el filter::drop-shadow) */
@keyframes logo-neon-pulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 10px rgba(1, 255, 254, 0.95))
      drop-shadow(0 0 25px rgba(1, 255, 254, 0.65))
      drop-shadow(0 0 60px rgba(188, 19, 254, 0.30));
  }
  50% {
    filter:
      drop-shadow(0 0 16px rgba(1, 255, 254, 1.00))
      drop-shadow(0 0 45px rgba(1, 255, 254, 0.80))
      drop-shadow(0 0 80px rgba(188, 19, 254, 0.45));
  }
}

.hero-logo-img {
  animation:
    logo-float 4s ease-in-out infinite,
    logo-neon-pulse 3s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-15px); }
}

/* ── Hero — Título Principal — A1 Brand text-shadow ── */
/*
   A1 SPEC: dual text-shadow brand-certified:
   Canal Magenta: 0 0 10px rgba(240,18,190,0.8)
   Canal Cyan:    0 0 25px rgba(1,255,254,0.5)
   + profundidad: sombra negra sutil para legibilidad
   Font: Poppins ExtraBold (weight:800) — titular de marca
*/
.hero-title-glow {
  color: #ffffff;
  font-weight: 800;
  text-shadow:
    0 0 10px rgba(240, 18, 190, 0.80),
    0 0 25px rgba(1,  255, 254, 0.50),
    0 0 50px rgba(240, 18, 190, 0.30),
    0 0 80px rgba(1,  255, 254, 0.20),
    0 2px  5px rgba(0,   0,   0, 0.90);
  letter-spacing: 0.05em;
}

/* ── A2: Fade-in-up sincronizado para elementos de texto ─ */
@keyframes hero-text-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text-anim {
  opacity: 0;
  animation: hero-text-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-text-anim:nth-child(1) { animation-delay: 0.2s; }
.hero-text-anim:nth-child(2) { animation-delay: 0.45s; }
.hero-text-anim:nth-child(3) { animation-delay: 0.65s; }
.hero-text-anim:nth-child(4) { animation-delay: 0.82s; }

/* ── Ticker ───────────────────────────────────────────── */
.ticker-container {
  background: rgba(1, 255, 254, 0.04);
  border: 1px solid rgba(1, 255, 254, 0.15);
  border-radius: 100px;
  overflow: hidden;
  padding: 10px 20px;
}

.ticker-inner { overflow: hidden; }

.ticker-track {
  display: inline-block;
  animation: ticker 30s linear infinite;
}

/* ── Grid Overlay (Calendario section) ───────────────── */
.grid-overlay {
  background-image:
    linear-gradient(rgba(1, 255, 254, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 255, 254, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Calendario cells ────────────────────────────────── */
.cal-cell {
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s ease;
  cursor: default;
  position: relative;
}

.cal-cell.today {
  border-color: rgba(1, 255, 254, 0.3);
  color: var(--cyan);
  background: rgba(1, 255, 254, 0.05);
}

.cal-cell.has-event-future {
  cursor: pointer;
  color: var(--cyan);
  border-color: rgba(1, 255, 254, 0.5);
  background: rgba(1, 255, 254, 0.08);
  box-shadow: inset 0 0 12px rgba(1, 255, 254, 0.1), 0 0 12px rgba(1, 255, 254, 0.15);
}

.cal-cell.has-event-future:hover {
  background: rgba(1, 255, 254, 0.15);
  box-shadow: inset 0 0 20px rgba(1, 255, 254, 0.15), 0 0 24px rgba(1, 255, 254, 0.3);
  transform: scale(1.05);
}

.cal-cell.has-event-past {
  cursor: pointer;
  color: var(--magenta);
  border-color: rgba(240, 18, 190, 0.5);
  background: rgba(240, 18, 190, 0.08);
  box-shadow: inset 0 0 12px rgba(240, 18, 190, 0.1), 0 0 12px rgba(240, 18, 190, 0.15);
}

.cal-cell.has-event-past:hover {
  background: rgba(240, 18, 190, 0.15);
  transform: scale(1.05);
}

.cal-cell .event-dot {
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.cal-cell.has-event-future .event-dot { background: var(--cyan); box-shadow: var(--glow-cyan); }
.cal-cell.has-event-past .event-dot   { background: var(--magenta); box-shadow: var(--glow-magenta); }

.cal-cell.empty {
  background: transparent;
  border-color: transparent;
}

/* Animación de parpadeo para celdas pasadas al hacer click */
@keyframes cell-blink {
  0%,100% { opacity: 1; }
  25%      { opacity: 0.2; }
  50%      { opacity: 1; }
  75%      { opacity: 0.2; }
}

.cell-blink-anim {
  animation: cell-blink 0.6s ease-in-out;
}

/* ── Event Cards ─────────────────────────────────────── */
.event-card {
  background: var(--card-bg);
  border: 1px solid rgba(1, 255, 254, 0.15);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(.22,1,.36,1);
  cursor: pointer;
}

.event-card:hover {
  border-color: rgba(1, 255, 254, 0.6);
  box-shadow: 0 0 32px rgba(1, 255, 254, 0.2), 0 0 64px rgba(188, 19, 254, 0.1);
  transform: translateY(-6px);
}

.event-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.85);
  transition: filter 0.3s ease;
}

.event-card:hover .card-img {
  filter: saturate(1.2) brightness(1);
}

.event-card .card-body {
  padding: 1.5rem;
}

.event-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(1, 255, 254, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(1, 255, 254, 0.3);
  margin-bottom: 12px;
}

/* ── Memorabilia Cards — 3D Transform ────────────────── */
.memo-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s ease;
  border: 1px solid rgba(188, 19, 254, 0.2);
  background: var(--card-bg);
}

.memo-card:hover {
  transform: perspective(800px) rotateY(-8deg) rotateX(3deg) scale(1.03);
  box-shadow: 0 20px 60px rgba(188, 19, 254, 0.3), 0 0 40px rgba(1, 255, 254, 0.15);
  border-color: rgba(188, 19, 254, 0.6);
}

.memo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(0.6) brightness(0.8);
  transition: filter 0.4s ease;
}

.memo-card:hover img {
  filter: saturate(1) brightness(1);
}

.memo-card .memo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,0,31,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.memo-card:hover .memo-overlay { opacity: 1; }

/* ── Fan Feed — Masonry ────────────────────────────────── */
.masonry-grid {
  column-count: 1;
  column-gap: 1.5rem;
}

@media (min-width: 640px)  { .masonry-grid { column-count: 2; } }
@media (min-width: 1024px) { .masonry-grid { column-count: 3; } }

.fan-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.fan-card:hover {
  border-color: rgba(188, 19, 254, 0.4);
  box-shadow: 0 0 24px rgba(188, 19, 254, 0.15);
  transform: translateY(-3px);
}

.fan-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(1, 255, 254, 0.3);
}

.fan-stars {
  color: var(--magenta);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-shadow: var(--glow-magenta);
}

/* ── Formulario Neón ──────────────────────────────────── */
.form-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.neon-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
}

.neon-input::placeholder { color: rgba(255,255,255,0.25); }

.neon-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(1,255,254,0.1), var(--glow-cyan);
  background: rgba(1,255,254,0.04);
}

.neon-input option { background: #1A0040; color: #fff; }

/* ── Reveal Animation (Intersection Observer) ─────────── */
.reveal-section {
  transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1);
  transform: translateY(40px);
}

.reveal-section.revealed {
  opacity: 1 !important;
  transform: translateY(0);
}

/* ── Particles ────────────────────────────────────────── */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* ── Borde Neón Intermitente para Iframe (Kerigma) ───── */
@keyframes border-neon-flash {
  0%, 100% {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(1, 255, 254, 0.25), inset 0 0 10px rgba(1, 255, 254, 0.15);
  }
  50% {
    border-color: var(--magenta);
    box-shadow: 0 0 15px rgba(240, 18, 190, 0.25), inset 0 0 10px rgba(240, 18, 190, 0.15);
  }
}

.neon-flash-border {
  border: 2px solid var(--cyan);
  animation: border-neon-flash 3.5s infinite ease-in-out;
}

/* ── Feed Principal Layout ───────────────────────────── */
.feed-post-card {
  background: rgba(17, 0, 40, 0.45);
  border: 1px solid rgba(188, 19, 254, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feed-post-card:hover {
  border-color: rgba(188, 19, 254, 0.35);
  box-shadow: 0 15px 50px rgba(188, 19, 254, 0.08), 0 0 20px rgba(188, 19, 254, 0.05);
}

.feed-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.feed-bullet {
  border-left: 3px solid var(--cyan);
  padding-left: 1.25rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Peek Carousel — Phase 6 Spec ──────────────────── */
.peek-carousel {
  display: flex;
  gap: 1rem;
  padding: 0 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.peek-carousel::-webkit-scrollbar {
  display: none;
}

/* ── Item base ─────────────────────────────────────── */
.peek-carousel__item {
  flex: 0 0 85%;
  height: 240px; /* Altura unificada móvil */
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000000; /* Fondo de seguridad */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Tablet: 2 items visibles y altura 260px */
@media (min-width: 640px) {
  .peek-carousel__item {
    flex: 0 0 45%;
    height: 260px;
  }
}
/* Desktop: 3 items visibles y altura 280px */
@media (min-width: 1024px) {
  .peek-carousel__item {
    flex: 0 0 30%;
    height: 280px;
  }
}

.peek-carousel__item:hover,
.peek-carousel__item:focus-within {
  border-color: rgba(1, 255, 254, 0.45);
  box-shadow: 0 0 22px rgba(1, 255, 254, 0.15);
}

/* ── Imagen dentro del item ────────────────────────── */
.peek-carousel__item img {
  width: 100%;
  height: 100%; /* Forzar altura */
  object-fit: contain; /* Evitar deformaciones */
  display: block;
  transition: transform 0.35s ease;
}

.peek-carousel__item:hover img {
  transform: scale(1.04);
}

/* ── Video nativo (archivo local) ─────────────────── */
.peek-carousel__item video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

/* ── Variante videos (YouTube iframe / video nativo) ─ */
.peek-carousel--videos .peek-carousel__item {
  flex: 0 0 85%;
  height: 240px;
  border-color: rgba(240, 18, 190, 0.15);
}

@media (min-width: 640px) {
  .peek-carousel--videos .peek-carousel__item {
    flex: 0 0 55%;
    height: 260px;
  }
}
@media (min-width: 1024px) {
  .peek-carousel--videos .peek-carousel__item {
    flex: 0 0 42%;
    height: 280px;
  }
}

.peek-carousel--videos .peek-carousel__item:hover,
.peek-carousel--videos .peek-carousel__item:focus-within {
  border-color: rgba(240, 18, 190, 0.55);
  box-shadow: 0 0 24px rgba(240, 18, 190, 0.18);
}

.peek-carousel--videos .peek-carousel__item iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* ── Label de sección ──────────────────────────────── */
.peek-carousel-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4); /* Atenuado por defecto */
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.peek-carousel-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.18;
}

/* ── Hint "desliza" ────────────────────────────────── */
.peek-carousel-hint {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.2); /* Atenuado por defecto */
  text-align: right;
  margin-top: 0.35rem;
  letter-spacing: 0.06em;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

/* ── Interactividad por Hover sobre el Card Completo ── */
.feed-post-card:hover .peek-carousel-label {
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(1, 255, 254, 0.6);
  transform: translateX(4px);
}

.feed-post-card:hover .peek-carousel-label:has(+ .peek-carousel--videos) {
  color: var(--magenta);
  text-shadow: 0 0 8px rgba(240, 18, 190, 0.6);
}

.feed-post-card:hover .peek-carousel-hint {
  color: rgba(1, 255, 254, 0.8);
  text-shadow: 0 0 6px rgba(1, 255, 254, 0.4);
  transform: translateX(-4px);
}

/* ── COMPONENTE 2: Maquetación Defensiva del Media ── */
.media-container-defensive {
  max-height: 400px;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.media-container-defensive img,
.media-container-defensive video {
  max-height: 400px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── COMPONENTE 3: Hover Pop-up Carousel Overlay ── */
.hover-gallery-popup {
  position: absolute;
  inset: 0;
  background: rgba(10, 0, 31, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  z-index: 30;
}

.feed-post-card:hover .hover-gallery-popup {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.feed-social-icons {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-start;
  align-items: center;
}

.social-icon-btn {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon-btn:hover {
  color: var(--cyan);
  transform: scale(1.15);
}

/* ── Lazy Loading (IntersectionObserver) ───────────── */
.lazy-img {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.6s ease-out, filter 0.6s ease-out;
}

.lazy-img.loaded {
  opacity: 1;
  filter: blur(0);
}
