/* ═══════════════════════════════════════════════════════════════════════
   BELENTANI // OMEGA-SUPREME — RED NEON GLASS MAX + HERO FLICKER CENTRICO
   Capa aditiva sobre css/main.css + site/css/omega-next.css.
   No sobrescribe: solo añade .supreme-* y mejora .hero-*.
   Canon: negro obsidiana #050505 + rojo sangre #ff003c. Local-first.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --sup-blood: #ff003c;
  --sup-blood-hot: #ff2b55;
  --sup-gold: #ffd700;
  --sup-void: #050505;
  --sup-pulse: 2.4s;
}

/* ── HERO: nombre céntrico parpadeante sobre el vídeo ── */
#home {
  position: relative;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.25) contrast(1.08) brightness(.62);
  animation: heroFlicker 7s steps(1) infinite;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 50% 42%, transparent 30%, rgba(5,0,3,.72) 100%),
    linear-gradient(180deg, rgba(5,0,3,.55), transparent 30%, transparent 65%, rgba(5,0,3,.8)),
    linear-gradient(90deg, rgba(255,0,60,.10), transparent 30%, transparent 70%, rgba(255,0,60,.10));
  pointer-events: none;
}
@keyframes heroFlicker {
  0%, 100% { opacity: .92; }
  3% { opacity: 1; }
  4% { opacity: .72; }
  5% { opacity: 1; }
  42% { opacity: 1; }
  43% { opacity: .82; }
  44% { opacity: 1; }
  71% { opacity: 1; }
  72% { opacity: .68; }
  73% { opacity: 1; }
  74% { opacity: .9; }
  75% { opacity: 1; }
}
.hero-c.supreme-hero {
  position: relative;
  z-index: 2;
  margin-inline: auto;
  text-align: center;
  background: linear-gradient(155deg, rgba(255,255,255,.12), rgba(255,255,255,.03) 22%, rgba(12,2,6,.62) 58%, rgba(255,0,60,.10));
  backdrop-filter: blur(38px) saturate(190%) brightness(1.1);
  -webkit-backdrop-filter: blur(38px) saturate(190%) brightness(1.1);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.32) inset, 0 -1px 0 rgba(0,0,0,.6) inset, 0 0 0 1px rgba(255,0,60,.12) inset, 0 40px 120px rgba(0,0,0,.8), 0 0 70px rgba(255,0,60,.28);
}
.hero-c.supreme-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,.6), rgba(255,255,255,.06) 32%, transparent 55%, rgba(255,0,60,.5) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-title.supreme-flicker {
  position: relative;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 12px rgba(255,0,60,.9), 0 0 45px rgba(255,0,60,.55), 0 0 140px rgba(255,0,60,.4), 0 2px 0 rgba(0,0,0,.6);
  animation: supremeNeon 3.8s infinite;
}
@keyframes supremeNeon {
  0%, 100% { opacity: 1; }
  3% { opacity: .82; }
  5% { opacity: 1; }
  42% { opacity: 1; text-shadow: 0 0 12px rgba(255,0,60,.9), 0 0 45px rgba(255,0,60,.55), 0 0 140px rgba(255,0,60,.4); }
  43% { opacity: .65; text-shadow: none; }
  44% { opacity: 1; }
  45% { opacity: .85; }
  46% { opacity: 1; }
  78% { opacity: 1; }
  79% { opacity: .7; }
  80% { opacity: 1; }
}

/* ── GLASS SUPREMO: doble capa + beam + sheen ── */
.supreme-glass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.supreme-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px 170px at var(--mx, 30%) var(--my, 0%), rgba(255,255,255,.3), rgba(255,255,255,.05) 45%, transparent 70%), radial-gradient(140% 90% at 50% -20%, rgba(255,255,255,.14), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}
.supreme-beam {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 52%;
  height: 140%;
  transform: translateX(-50%);
  background: conic-gradient(from 180deg at 50% 0%, transparent 0deg, rgba(255,0,60,.18) 28deg, rgba(255,0,60,.32) 60deg, rgba(255,0,60,.18) 92deg, transparent 130deg);
  filter: blur(28px);
  opacity: .8;
  pointer-events: none;
  z-index: 1;
  animation: supremeBeam var(--sup-pulse) ease-in-out infinite;
}
@keyframes supremeBeam { 0%,100% { opacity:.5 } 50% { opacity:.95 } }

/* Pulso anillo neón grueso */
.supreme-pulse { animation: supremeRing var(--sup-pulse) ease-in-out infinite; }
@keyframes supremeRing {
  0%,100% { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 40px 120px rgba(0,0,0,.8), 0 0 40px rgba(255,0,60,.22); }
  50% { box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 40px 120px rgba(0,0,0,.85), 0 0 95px rgba(255,0,60,.5); }
}

/* Chips SaaS */
.sup-chip { border-radius: 10px; padding: 8px 12px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(12,2,6,.55)); backdrop-filter: blur(16px) saturate(170%); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 30px rgba(0,0,0,.6); }

/* Accesibilidad: sin parpadeo si reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video, .hero-title.supreme-flicker, .supreme-beam, .supreme-pulse { animation: none !important; }
}
