/* OPERAÇÃO ZERO PERDA — CRT / Kosatka mission-prep layer */

:root {
  --hud-red: #e10600;
  --hud-red-hot: #ff1a1a;
  --hud-frame: rgba(225, 6, 0, 0.55);
  --font-hud: "Syne", "Space Grotesk", system-ui, sans-serif;
  --bg-path: "assets/imagens_background";
}

/* —— Global CRT screen —— */
.screen-hud {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
}

.screen-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.14) 2px,
    rgba(0, 0, 0, 0.14) 3px
  );
  opacity: 0.45;
  mix-blend-mode: multiply;
}

.screen-scanlines::after {
  content: "";
  position: absolute;
  inset: -100% 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 48%,
    rgba(225, 6, 0, 0.05) 50%,
    transparent 52%,
    transparent 100%
  );
  animation: vhs-sweep 7.5s linear infinite;
}

.screen-noise {
  position: absolute;
  inset: -10%;
  opacity: 0.05;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: noise-shift 0.35s steps(2) infinite;
  mix-blend-mode: overlay;
}

.screen-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 70% at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.4));
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.65);
}

.screen-flicker {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.02);
  opacity: 0;
  animation: crt-flicker 4.8s steps(1) infinite;
}

.screen-chromatic {
  position: absolute;
  inset: 0;
  box-shadow:
    inset 1px 0 0 rgba(255, 0, 70, 0.03),
    inset -1px 0 0 rgba(0, 180, 255, 0.03);
  opacity: 0.8;
}

body.is-glitching .screen-hud {
  animation: screen-glitch 0.32s steps(2) 2;
}

body.is-glitching .screen-noise {
  opacity: 0.14;
}

@keyframes vhs-sweep {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(50%);
  }
}

@keyframes noise-shift {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-1%, 1%);
  }
  50% {
    transform: translate(1%, -1%);
  }
  75% {
    transform: translate(-0.5%, -0.5%);
  }
  100% {
    transform: translate(0.5%, 0.5%);
  }
}

@keyframes crt-flicker {
  0%,
  92%,
  100% {
    opacity: 0;
  }
  93% {
    opacity: 0.05;
  }
  94% {
    opacity: 0;
  }
  96% {
    opacity: 0.08;
  }
  97% {
    opacity: 0;
  }
}

@keyframes screen-glitch {
  0% {
    filter: none;
    transform: none;
  }
  20% {
    filter: hue-rotate(-12deg) contrast(1.2);
    transform: translateX(-2px);
  }
  40% {
    filter: hue-rotate(10deg) saturate(1.4);
    transform: translateX(3px) skewX(-0.4deg);
  }
  60% {
    filter: contrast(1.35);
    transform: translateX(-1px);
  }
  100% {
    filter: none;
    transform: none;
  }
}

/* —— Photo / video scene sections —— */
.scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #050505 !important;
}

.scene > .container,
.scene > .offer-wrap,
.scene > .container.offer-wrap,
.scene .offer-glow {
  position: relative;
  z-index: 2;
}

.scene > .offer-glow {
  z-index: 1;
}

/* —— Mission checklist (learn items Kosatka style) —— */
.learn-grid {
  gap: 0.75rem !important;
}

.learn-item {
  border: 1px solid rgba(225, 6, 0, 0.45) !important;
  border-radius: 0 !important;
  background: rgba(0, 0, 0, 0.55) !important;
  display: grid !important;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "code code"
    "check title"
    "check body";
  column-gap: 0.9rem;
  row-gap: 0.25rem;
  align-items: start;
  padding: 1rem 1.1rem !important;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.learn-item:hover {
  border-color: var(--hud-red-hot) !important;
  box-shadow: 0 0 20px rgba(225, 6, 0, 0.18);
  background: rgba(225, 6, 0, 0.08) !important;
}

.learn-item .learn-code {
  grid-area: code;
  margin-bottom: 0.35rem !important;
  width: fit-content;
}

.learn-item .learn-check {
  grid-area: check;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  border: 2px solid var(--hud-red-hot);
  background: transparent;
  box-shadow: 0 0 8px rgba(225, 6, 0, 0.35);
}

.learn-item:nth-child(1) .learn-check,
.learn-item:nth-child(2) .learn-check {
  background: var(--hud-red);
  box-shadow: inset 0 0 0 2px #0a0a0a, 0 0 10px rgba(225, 6, 0, 0.5);
}

.learn-item h3 {
  grid-area: title;
  margin: 0 0 0.3rem !important;
}

.learn-item p {
  grid-area: body;
}

.hours-strip {
  border: 1px solid rgba(225, 6, 0, 0.4) !important;
  border-radius: 0 !important;
  background: rgba(0, 0, 0, 0.55) !important;
}

.scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.scene-bg img,
.scene-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.85) contrast(1.2) brightness(0.42);
  transform: scale(1.04);
}

.scene-bg video {
  opacity: 0.55;
  z-index: 1;
}

.scene-bg img {
  z-index: 0;
}

.scene-wash {
  z-index: 2;
}

.scene-radar {
  z-index: 3;
}

.scene-wash {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.72) 40%, rgba(5, 5, 5, 0.9) 100%),
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(140, 10, 10, 0.35), transparent 70%),
    rgba(8, 0, 0, 0.55);
}

.scene-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.12) 3px
    ),
    linear-gradient(rgba(225, 6, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 6, 0, 0.04) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  opacity: 0.9;
}

.scene-radar {
  position: absolute;
  inset: 10% auto auto 50%;
  z-index: 3;
  width: min(90vw, 720px);
  height: min(90vw, 720px);
  margin-left: calc(min(90vw, 720px) / -2);
  border-radius: 50%;
  border: 1px solid rgba(225, 6, 0, 0.12);
  box-shadow:
    0 0 0 40px rgba(225, 6, 0, 0.04),
    0 0 0 90px rgba(225, 6, 0, 0.03);
  opacity: 0.65;
  animation: radar-spin 40s linear infinite;
  pointer-events: none;
}

.scene-radar::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(225, 6, 0, 0.18);
}

.scene-radar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(225, 6, 0, 0.12) 40deg, transparent 80deg);
  animation: radar-sweep 6s linear infinite;
}

@keyframes radar-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes radar-sweep {
  to {
    transform: rotate(360deg);
  }
}

.scene--feed .scene-bg img,
.scene--feed .scene-bg video {
  filter: grayscale(1) contrast(1.35) brightness(0.35);
}

.scene--war .scene-wash {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.82) 0%, rgba(12, 2, 2, 0.7) 45%, rgba(5, 5, 5, 0.92) 100%),
    radial-gradient(ellipse 70% 50% at 60% 40%, rgba(180, 20, 10, 0.35), transparent 65%),
    rgba(10, 0, 0, 0.5);
}

.scene--hq .scene-wash {
  background:
    linear-gradient(105deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.7) 45%, rgba(5, 5, 5, 0.88) 100%),
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(225, 6, 0, 0.18), transparent 70%),
    rgba(5, 5, 5, 0.55);
}

.scene--evidence .scene-wash {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.9), rgba(8, 2, 2, 0.78) 50%, rgba(5, 5, 5, 0.94)),
    rgba(0, 0, 0, 0.45);
}

/* —— Kosatka tabs —— */
.prep-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.02s forwards;
}

.prep-tab {
  font-family: var(--font-hud);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--hud-red);
  color: var(--hud-red-hot);
  background: transparent;
  line-height: 1;
}

.prep-tab.is-active,
.prep-tab[aria-current="true"] {
  background: var(--hud-red);
  color: #0a0a0a;
  box-shadow: 0 0 18px rgba(225, 6, 0, 0.45);
}

.prep-tab--locked {
  opacity: 0.45;
  border-style: dashed;
}

/* —— HUD frames —— */
.hud-panel {
  border: 1px solid var(--hud-frame);
  background: rgba(0, 0, 0, 0.42);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6) inset,
    0 0 24px rgba(225, 6, 0, 0.08);
  position: relative;
}

.hud-panel::before,
.hud-panel::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--hud-red);
  opacity: 0.7;
}

.hud-panel::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.hud-panel::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

/* —— HARD MODE banner (Kosatka) —— */
.hard-mode {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  margin: 1.5rem 0 0;
  border: 1px solid var(--hud-red);
  background:
    linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.18), transparent),
    rgba(0, 0, 0, 0.55);
  font-family: var(--font-hud);
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 12px rgba(225, 6, 0, 0.55);
  box-shadow: 0 0 28px rgba(225, 6, 0, 0.2);
  animation: hard-pulse 2.8s ease-in-out infinite;
}

.hard-mode-mark {
  color: var(--hud-red-hot);
  font-size: 1rem;
  line-height: 1;
  text-shadow: 0 0 10px rgba(225, 6, 0, 0.8);
}

@keyframes hard-pulse {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(225, 6, 0, 0.15);
    border-color: rgba(225, 6, 0, 0.55);
  }
  50% {
    box-shadow: 0 0 36px rgba(225, 6, 0, 0.4);
    border-color: var(--hud-red-hot);
  }
}

/* —— Glitch text —— */
.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: transparent;
  overflow: hidden;
  pointer-events: none;
}

.glitch-text::before {
  color: #00e5ff;
  clip-path: inset(0 0 55% 0);
  transform: translate(-2px, 0);
  opacity: 0.65;
  animation: glitch-top 3.4s infinite linear alternate-reverse;
}

.glitch-text::after {
  color: #ff1a4b;
  clip-path: inset(55% 0 0 0);
  transform: translate(2px, 0);
  opacity: 0.65;
  animation: glitch-bot 2.6s infinite linear alternate-reverse;
}

@keyframes glitch-top {
  0%,
  88%,
  100% {
    transform: translate(0);
    opacity: 0;
  }
  89% {
    transform: translate(-3px, 1px);
    opacity: 0.7;
  }
  91% {
    transform: translate(3px, -1px);
    opacity: 0.85;
  }
  93% {
    transform: translate(-1px, 0);
    opacity: 0;
  }
}

@keyframes glitch-bot {
  0%,
  84%,
  100% {
    transform: translate(0);
    opacity: 0;
  }
  85% {
    transform: translate(3px, 0);
    opacity: 0.75;
  }
  87% {
    transform: translate(-4px, 1px);
    opacity: 0.7;
  }
  89% {
    opacity: 0;
  }
}

body.is-glitching .glitch-text::before,
body.is-glitching .glitch-text::after {
  opacity: 0.9;
  animation-duration: 0.12s;
}

/* —— Section labels as HUD —— */
.section-label {
  font-family: var(--font-accent) !important;
  letter-spacing: 0.12em !important;
  font-weight: 600;
}

.ops-stamp {
  font-family: var(--font-hud);
  border-color: var(--hud-red);
  background: rgba(0, 0, 0, 0.55);
}

/* —— Nav as mission tabs —— */
.site-header.is-visible,
.site-header {
  border-bottom-color: rgba(225, 6, 0, 0.25) !important;
  backdrop-filter: blur(10px);
}

.site-nav a:not(.btn) {
  font-family: var(--font-accent);
  font-size: 0.82rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.btn-primary {
  font-family: var(--font-accent) !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: none;
  border-radius: 8px !important;
}

.btn-ghost {
  font-family: var(--font-accent) !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  text-transform: none;
  border-radius: 8px !important;
  border-color: rgba(225, 6, 0, 0.55) !important;
}

/* —— Zones = PREP tabs —— */
.ops-zone {
  border-radius: 0 !important;
  border: 1px solid var(--hud-red) !important;
  background: rgba(0, 0, 0, 0.45) !important;
  font-family: var(--font-hud);
}

.ops-zone.is-active {
  background: var(--hud-red) !important;
  color: #0a0a0a !important;
  box-shadow: 0 0 22px rgba(225, 6, 0, 0.4) !important;
}

.ops-zone.is-active .ops-zone-code,
.ops-zone.is-active .ops-zone-name,
.ops-zone.is-active .ops-zone-meta {
  color: #0a0a0a !important;
}

.ops-zone-code {
  font-family: var(--font-hud) !important;
}

/* —— Mission checklist handled earlier — removed duplicate block below —— */

/* —— Threat / problem as prep board —— */
.threat-board {
  border: 1px solid rgba(225, 6, 0, 0.4);
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 40px rgba(225, 6, 0, 0.08);
}

.problem-item {
  border-radius: 0 !important;
  border: 1px solid rgba(225, 6, 0, 0.4) !important;
  background: rgba(0, 0, 0, 0.5) !important;
}

.problem-code {
  font-family: var(--font-hud) !important;
}

.threat-target {
  border-radius: 0;
  border: 1px solid var(--hud-red) !important;
  background: rgba(225, 6, 0, 0.12) !important;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-hud);
}

/* —— Marquee harder —— */
/* —— Marquee —— keep classic red hairline borders —— */
.marquee--ops {
  background:
    linear-gradient(90deg, rgba(255, 45, 45, 0.08), transparent 30%, transparent 70%, rgba(255, 45, 45, 0.08)),
    #070707;
  border-block: 1px solid rgba(225, 6, 0, 0.35) !important;
  box-shadow: 0 0 24px rgba(225, 6, 0, 0.12);
}

/* Drama watermarks off (were overused); functional SP logos stay in chips/tiles */
.sp-drama {
  display: none !important;
}

/* ops-div bands retired — hide if any leftover markup */
.ops-div {
  display: none !important;
}

/* scene edge fades off — classic section borders only */
.scene--fade-top::after,
.scene--fade-bot::after,
.scene--fade-y::after {
  display: none !important;
}

.marquee-track span {
  color: var(--hud-red-hot) !important;
  font-family: var(--font-hud) !important;
}

/* —— Mission check dossiê HUD —— */
.mission-sector-head {
  border-radius: 0 !important;
  border: 1px solid rgba(225, 6, 0, 0.45) !important;
  border-left: 4px solid var(--hud-red) !important;
}

.mission-sector-letter {
  border-radius: 0 !important;
  background: var(--hud-red) !important;
  color: #0a0a0a !important;
  box-shadow: none !important;
}

.mission-check {
  border-radius: 0 !important;
  border: 1px solid rgba(225, 6, 0, 0.35) !important;
}

.mission-check.is-open {
  border-color: var(--hud-red) !important;
  box-shadow: 0 0 28px rgba(225, 6, 0, 0.2) !important;
}

.mission-check-node {
  border-radius: 0 !important;
}

.mission-check.is-open .mission-check-node {
  background: var(--hud-red) !important;
  color: #0a0a0a;
  border-color: var(--hud-red) !important;
  box-shadow: none !important;
}

.mission-check-code,
.mission-intel-label,
.mission-sector-code {
  font-family: var(--font-hud) !important;
}

/* —— CTA / Offer HARD MODE —— */
.cta-strip.neon-panel {
  border-radius: 0 !important;
  border: 1px solid var(--hud-red) !important;
  background:
    linear-gradient(90deg, rgba(225, 6, 0, 0.15), rgba(0, 0, 0, 0.7), rgba(225, 6, 0, 0.12)),
    #0a0a0a !important;
  position: relative;
  overflow: hidden;
}

.cta-strip.neon-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 3px
  );
  pointer-events: none;
}

.offer-package,
.offer-checkout {
  border-radius: 0 !important;
  border: 1px solid rgba(225, 6, 0, 0.45) !important;
  background: rgba(0, 0, 0, 0.55) !important;
}

.offer-installments-value {
  text-shadow: 0 0 24px rgba(225, 6, 0, 0.55);
}

/* —— Product / m365 cards sharp —— */
.m365-tile,
.product-row,
.news-card,
.bonus-item,
.quote,
.audio-card,
.faq-item,
.audience-col,
.step {
  border-radius: 0 !important;
}

.media-slot {
  border-radius: 0 !important;
  border-color: rgba(225, 6, 0, 0.4) !important;
}

.media-slot-stamp {
  font-family: var(--font-hud) !important;
}

/* —— Footer bar kosatka —— */
.site-footer {
  border-top: 1px solid rgba(225, 6, 0, 0.35);
  background:
    linear-gradient(0deg, rgba(225, 6, 0, 0.06), transparent 40%),
    #050505;
}

.footer-hud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(225, 6, 0, 0.25);
  font-family: var(--font-hud);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hud-red-hot);
}

/* —— Hero feed frame —— */
/* hero: one atmosphere logo only */
.hero-sp-logo--near {
  width: clamp(160px, 22vw, 260px);
  right: -2%;
  bottom: 18%;
  left: auto;
  top: auto;
  filter:
    drop-shadow(0 0 24px rgba(33, 142, 147, 0.75))
    drop-shadow(0 0 40px rgba(255, 45, 45, 0.25));
  opacity: 0.45;
}

.hero {
  border-bottom: 1px solid rgba(225, 6, 0, 0.28);
}

.hero-media img.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.9) contrast(1.25) brightness(0.4);
  transform: scale(1.05);
}

.hero-video {
  opacity: 0.4;
  mix-blend-mode: screen;
  filter: grayscale(1) contrast(1.4) brightness(0.55) !important;
}

.hero .prep-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-top: 1.15rem;
  font-family: var(--font-hud);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero .prep-status strong {
  color: var(--hud-red-hot);
  font-weight: 700;
}

/* —— Status bar strip under header area —— */
.ops-ticker {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.55rem var(--hero-pad-x, 1.25rem);
  border-block: 1px solid rgba(225, 6, 0, 0.4);
  background: rgba(0, 0, 0, 0.65);
  font-family: var(--font-hud);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-sp-logo {
  filter: drop-shadow(0 0 16px rgba(33, 142, 147, 0.55)) drop-shadow(0 0 28px rgba(255, 45, 45, 0.2));
}

.hero-sp-logo--near {
  filter: drop-shadow(0 0 24px rgba(33, 142, 147, 0.75)) drop-shadow(0 0 40px rgba(255, 45, 45, 0.25));
}

.ops-ticker {
  box-shadow:
    0 0 24px rgba(225, 6, 0, 0.2),
    inset 0 0 20px rgba(225, 6, 0, 0.06);
}

.ops-ticker span {
  color: var(--hud-red-hot);
  text-shadow: 0 0 12px rgba(255, 45, 45, 0.65);
}

/* —— Hero focus: clean hierarchy —— */
.hero--focus .hero-copy {
  gap: 0;
  max-width: 40rem;
}

.hero--focus .hero-brand {
  width: min(100%, 300px);
  margin-bottom: 1.15rem;
}

.hero--focus .hero-platform {
  margin: 0 0 1.35rem;
  justify-content: center;
}

.hero--focus .hero-copy h1 {
  margin: 0 0 0.95rem;
  max-width: 18ch;
  font-size: clamp(1.85rem, 4.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero--focus .hero-lead {
  margin: 0 auto 1.5rem;
  max-width: 38ch;
  font-size: 1.05rem;
  color: rgba(245, 245, 245, 0.78);
  line-height: 1.5;
}

.hero--focus .hero-actions {
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0;
  margin-bottom: 0;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.4s forwards;
}

.hero--focus .hero-actions .btn-lg {
  min-width: min(100%, 20rem);
}

.hero-text-link {
  font-family: var(--font-hud, var(--font-display));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border: 0;
  padding: 0.35rem 0.5rem;
  transition: color 0.2s, text-shadow 0.2s;
}

.hero-text-link:hover {
  color: var(--red-hot, #ff4d4d);
  text-shadow: 0 0 14px rgba(255, 45, 45, 0.55);
}

/* toast-style alerts (replaces dual SP windows) */
.hero-alerts {
  display: grid;
  gap: 0.55rem;
  width: min(100%, 28rem);
  margin: 1.75rem auto 0;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.48s forwards;
  text-align: left;
}

.ops-alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(225, 6, 0, 0.35);
  background: rgba(0, 0, 0, 0.62);
  box-shadow:
    0 0 24px rgba(225, 6, 0, 0.12),
    inset 0 0 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.ops-alert-dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--hud-red-hot);
  box-shadow: 0 0 10px rgba(255, 45, 45, 0.85);
  flex-shrink: 0;
}

.ops-alert-tag {
  display: block;
  font-family: var(--font-hud);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--hud-red-hot);
  margin-bottom: 0.2rem;
}

.ops-alert p {
  margin: 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
  color: rgba(245, 245, 245, 0.82) !important;
  max-width: none !important;
  opacity: 1 !important;
  animation: none !important;
}

.ops-alert p strong {
  color: #fff;
  font-weight: 700;
}

.ops-alert--warn {
  border-color: rgba(255, 170, 40, 0.4);
}

.ops-alert--warn .ops-alert-dot {
  background: #ffb020;
  box-shadow: 0 0 10px rgba(255, 176, 32, 0.8);
}

.ops-alert--warn .ops-alert-tag {
  color: #ffb020;
}

.ops-alert--ok {
  border-color: rgba(33, 142, 147, 0.5);
}

.ops-alert--ok .ops-alert-dot {
  background: #218e93;
  box-shadow: 0 0 10px rgba(33, 142, 147, 0.85);
}

.ops-alert--ok .ops-alert-tag {
  color: #3ec4cb;
}

/* video stronger */
.hero--focus .hero-bg-photo {
  filter: grayscale(1) contrast(1.15) brightness(0.28) !important;
  opacity: 0.55;
}

.hero--focus .hero-video {
  opacity: 0.72 !important;
  mix-blend-mode: screen;
  filter: grayscale(1) contrast(1.35) brightness(0.62) !important;
}

.hero--focus .hero-media-wash {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.62) 38%, rgba(5, 5, 5, 0.92) 100%),
    radial-gradient(ellipse 65% 55% at 50% 35%, rgba(5, 5, 5, 0.2), transparent 70%),
    rgba(90, 6, 6, 0.42) !important;
}

.hero--focus .hero-layout {
  min-height: auto;
  justify-content: center;
  padding-top: clamp(4.5rem, 12vh, 7rem);
  padding-bottom: 2.5rem;
}

/* section dividers: classic thin borders (back) — no ops-div bands */

@media (max-width: 720px) {
  .hero--focus .hero-copy h1 {
    max-width: 16ch;
  }

  .hero--focus .hero-brand {
    width: min(100%, 240px);
  }

  .hero-alerts {
    width: 100%;
  }
}


/* —— Value stack as loot boxes —— */
.value-stack li {
  border-radius: 0 !important;
  border-color: rgba(225, 6, 0, 0.28) !important;
}

.offer-package-total {
  font-family: var(--font-hud);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-installments-label {
  font-family: var(--font-hud) !important;
}

/* —— Journey map HUD —— */
.journey-map {
  border-radius: 0 !important;
  border: 1px solid rgba(225, 6, 0, 0.4) !important;
  background: rgba(0, 0, 0, 0.5) !important;
}

.journey-map-num {
  border-radius: 0 !important;
  background: var(--hud-red) !important;
  color: #0a0a0a !important;
}

/* —— z-index safety —— */
.scene .container > * {
  position: relative;
  z-index: 2;
}

.pointer-glow {
  z-index: 40 !important;
}

/* ═══════════════════════════════════════════
   UPGRADE: more glow · SP drama · dividers
   ═══════════════════════════════════════════ */

/* —— Global glow push —— */
.neon-text {
  text-shadow:
    0 0 6px rgba(255, 45, 45, 0.95),
    0 0 18px rgba(255, 45, 45, 0.75),
    0 0 42px rgba(255, 45, 45, 0.55),
    0 0 80px rgba(225, 6, 0, 0.35) !important;
}

.section-title {
  text-shadow: 0 0 40px rgba(225, 6, 0, 0.18);
}

.section-label {
  text-shadow: 0 0 14px rgba(255, 45, 45, 0.55);
}

.ops-stamp {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4) inset,
    0 0 22px rgba(225, 6, 0, 0.35),
    0 0 48px rgba(225, 6, 0, 0.12) !important;
}

.ops-stamp-level {
  text-shadow:
    0 0 10px rgba(255, 45, 45, 0.9),
    0 0 24px rgba(255, 45, 45, 0.55) !important;
}

.btn-primary {
  box-shadow:
    0 0 18px rgba(255, 45, 45, 0.55),
    0 0 42px rgba(255, 45, 45, 0.35),
    0 4px 22px rgba(255, 45, 45, 0.4) !important;
}

.btn-primary:hover {
  box-shadow:
    0 0 28px rgba(255, 45, 45, 0.75),
    0 0 60px rgba(255, 45, 45, 0.45),
    0 8px 32px rgba(255, 45, 45, 0.5) !important;
}

.btn-ghost:hover {
  box-shadow:
    0 0 20px rgba(255, 45, 45, 0.35),
    0 0 40px rgba(255, 45, 45, 0.15) !important;
}

.hard-mode {
  box-shadow:
    0 0 28px rgba(225, 6, 0, 0.35),
    0 0 60px rgba(225, 6, 0, 0.18),
    inset 0 0 24px rgba(225, 6, 0, 0.12) !important;
  text-shadow:
    0 0 12px rgba(255, 45, 45, 0.75),
    0 0 28px rgba(255, 45, 45, 0.35) !important;
}

.hard-mode-mark {
  filter: drop-shadow(0 0 8px rgba(255, 45, 45, 0.9));
}

.prep-tab.is-active,
.prep-tab[aria-current="true"] {
  box-shadow:
    0 0 18px rgba(225, 6, 0, 0.55),
    0 0 36px rgba(225, 6, 0, 0.28) !important;
}

.ops-zone.is-active {
  box-shadow:
    0 0 22px rgba(225, 6, 0, 0.5),
    0 0 48px rgba(225, 6, 0, 0.22) !important;
}

.mission-sector-letter,
.mission-check.is-open .mission-check-node {
  box-shadow:
    0 0 16px rgba(225, 6, 0, 0.55),
    0 0 32px rgba(225, 6, 0, 0.28) !important;
}

.mission-check.is-open {
  box-shadow:
    0 0 28px rgba(225, 6, 0, 0.28),
    0 0 50px rgba(225, 6, 0, 0.12) !important;
}

.hud-panel {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6) inset,
    0 0 28px rgba(225, 6, 0, 0.16) !important;
}

.threat-board {
  box-shadow:
    0 0 40px rgba(225, 6, 0, 0.18),
    0 0 80px rgba(225, 6, 0, 0.08) !important;
}

.threat-pin {
  filter: drop-shadow(0 0 10px rgba(255, 45, 45, 0.95)) !important;
}

.cta-strip.neon-panel {
  box-shadow:
    0 0 40px rgba(225, 6, 0, 0.28),
    0 0 80px rgba(225, 6, 0, 0.12),
    inset 0 0 40px rgba(225, 6, 0, 0.08) !important;
}

.offer-package,
.offer-checkout {
  box-shadow:
    0 0 32px rgba(225, 6, 0, 0.16),
    0 0 60px rgba(0, 0, 0, 0.4) !important;
}

.offer-installments-value {
  text-shadow:
    0 0 18px rgba(255, 45, 45, 0.75),
    0 0 48px rgba(225, 6, 0, 0.45) !important;
}

.marquee--ops {
  box-shadow:
    0 0 30px rgba(225, 6, 0, 0.28),
    0 0 60px rgba(225, 6, 0, 0.12) !important;
}

.hero-platform-brand {
  box-shadow:
    0 0 0 1px rgba(255, 45, 45, 0.12) inset,
    0 0 28px rgba(33, 142, 147, 0.45),
    0 0 40px rgba(255, 45, 45, 0.2) !important;
}

.hero-brand {
  filter:
    drop-shadow(0 0 18px rgba(255, 45, 45, 0.55))
    drop-shadow(0 0 48px rgba(255, 45, 45, 0.32))
    drop-shadow(0 0 80px rgba(225, 6, 0, 0.18)) !important;
}

.pointer-glow {
  background: radial-gradient(
    580px circle at var(--pointer-x) var(--pointer-y),
    rgba(255, 45, 45, 0.12),
    transparent 55%
  ) !important;
}

/* red ambient bloom under scenes */
.scene::before {
  content: "";
  position: absolute;
  inset: auto 10% -20% 10%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(225, 6, 0, 0.16), transparent 68%);
  z-index: 1;
  pointer-events: none;
  filter: blur(8px);
}

/* —— Gradient dividers (selected transitions only) —— */
.ops-div {
  position: relative;
  height: clamp(4.5rem, 10vw, 7.5rem);
  margin: 0;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  background: #050505;
}

.ops-div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(225, 6, 0, 0.22) 45%,
    rgba(5, 5, 5, 0.95) 75%,
    #050505 100%
  );
}

.ops-div::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(72vw, 420px);
  height: 1px;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 45, 45, 0.85),
    transparent
  );
  box-shadow:
    0 0 12px rgba(255, 45, 45, 0.75),
    0 0 28px rgba(225, 6, 0, 0.45);
}

.ops-div--ember {
  background: linear-gradient(
    180deg,
    #050505 0%,
    rgba(40, 4, 4, 0.85) 40%,
    rgba(225, 6, 0, 0.18) 55%,
    rgba(8, 0, 0, 0.9) 70%,
    #050505 100%
  );
}

.ops-div--ember::before {
  background: radial-gradient(
    ellipse 70% 80% at 50% 50%,
    rgba(255, 45, 45, 0.28),
    transparent 70%
  );
  filter: blur(2px);
}

.ops-div--blood {
  background: linear-gradient(
    180deg,
    #050505 0%,
    rgba(80, 0, 0, 0.55) 42%,
    rgba(225, 6, 0, 0.35) 52%,
    rgba(20, 0, 0, 0.9) 68%,
    #050505 100%
  );
}

.ops-div--blood::after {
  height: 2px;
  box-shadow:
    0 0 16px rgba(255, 45, 45, 0.95),
    0 0 40px rgba(225, 6, 0, 0.55);
}

.ops-div--void {
  height: clamp(5rem, 12vw, 9rem);
  background: linear-gradient(
    180deg,
    #050505 0%,
    #0a0505 30%,
    rgba(120, 8, 8, 0.25) 50%,
    #080202 70%,
    #050505 100%
  );
}

.ops-div--void::before {
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255, 45, 45, 0.2), transparent 70%),
    linear-gradient(90deg, transparent 20%, rgba(225, 6, 0, 0.08) 50%, transparent 80%);
}

/* scene edge fade (into pure black) — not all sections */
.scene--fade-top::after,
.scene--fade-bot::after,
.scene--fade-y::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
  height: clamp(4rem, 12vw, 7rem);
}

.scene--fade-top::after {
  top: 0;
  bottom: auto;
  height: clamp(4rem, 12vw, 7rem);
  background: linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, 0.55) 40%, transparent 100%);
}

.scene--fade-bot::after {
  bottom: 0;
  top: auto;
  background: linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.55) 40%, transparent 100%);
}

/* dual fade uses layered pseudo — bot via extra element-free trick with mask */
.scene--fade-y::after {
  inset: 0;
  height: auto;
  background:
    linear-gradient(180deg, #050505 0%, transparent 18%),
    linear-gradient(0deg, #050505 0%, transparent 16%);
}

/* —— Dramatic SharePoint brand marks —— */
.sp-drama {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  display: grid;
  place-items: center;
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  opacity: 0.22;
  right: -4%;
  top: 12%;
  filter:
    drop-shadow(0 0 20px rgba(33, 142, 147, 0.65))
    drop-shadow(0 0 50px rgba(33, 142, 147, 0.35))
    drop-shadow(0 0 80px rgba(255, 45, 45, 0.2));
  animation: sp-drama-float 14s ease-in-out infinite;
}

.sp-drama img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  transform: perspective(600px) rotateY(-18deg) rotateX(6deg) scale(1.05);
  filter: brightness(1.1) contrast(1.05);
}

.sp-drama--xl {
  width: min(68vw, 560px);
  height: min(68vw, 560px);
  right: -8%;
  top: 8%;
  opacity: 0.28;
}

.sp-drama--xl img {
  transform: perspective(700px) rotateY(-22deg) rotateX(8deg) scale(1.08);
}

.sp-drama--right {
  right: -2%;
  left: auto;
  top: 18%;
}

.sp-drama--left {
  left: -6%;
  right: auto;
  top: 22%;
}

.sp-drama--left img {
  transform: perspective(600px) rotateY(18deg) rotateX(6deg) scale(1.05);
}

.sp-drama--mid {
  right: 2%;
  top: 28%;
  opacity: 0.2;
  width: min(40vw, 320px);
  height: min(40vw, 320px);
}

.sp-drama--route {
  right: -5%;
  bottom: 8%;
  top: auto;
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  opacity: 0.18;
}

.sp-drama--offer {
  left: 50%;
  right: auto;
  top: 36%;
  width: min(70vw, 480px);
  height: min(70vw, 480px);
  opacity: 0.14;
  animation: sp-drama-offer 6s ease-in-out infinite;
}

.sp-drama--offer img {
  transform: perspective(800px) rotateY(0deg) scale(1.1);
}

@keyframes sp-drama-offer {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.12;
    filter:
      drop-shadow(0 0 18px rgba(33, 142, 147, 0.45))
      drop-shadow(0 0 40px rgba(255, 45, 45, 0.15));
  }
  50% {
    transform: translateX(-50%) translateY(-12px);
    opacity: 0.24;
    filter:
      drop-shadow(0 0 36px rgba(33, 142, 147, 0.8))
      drop-shadow(0 0 72px rgba(255, 45, 45, 0.3));
  }
}

.sp-drama--danger {
  right: -3%;
  top: 30%;
  opacity: 0.16;
  filter:
    drop-shadow(0 0 18px rgba(255, 45, 45, 0.65))
    drop-shadow(0 0 48px rgba(255, 45, 45, 0.35))
    hue-rotate(-8deg);
}

.sp-drama--danger img {
  filter: brightness(0.95) sepia(0.35) saturate(2.2) hue-rotate(-15deg);
  transform: perspective(600px) rotateY(-14deg) rotate(-6deg) scale(1.08);
}

.sp-drama--soft {
  opacity: 0.14;
}

.sp-drama--pulse {
  animation: sp-drama-pulse 5.5s ease-in-out infinite;
}

@keyframes sp-drama-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes sp-drama-pulse {
  0%,
  100% {
    opacity: 0.14;
    filter:
      drop-shadow(0 0 18px rgba(33, 142, 147, 0.45))
      drop-shadow(0 0 40px rgba(255, 45, 45, 0.15));
  }
  50% {
    opacity: 0.26;
    filter:
      drop-shadow(0 0 32px rgba(33, 142, 147, 0.75))
      drop-shadow(0 0 70px rgba(255, 45, 45, 0.28));
  }
}

/* SP tile in m365 row — hero of the cluster */
.m365-tile:nth-child(2) {
  border: 1px solid rgba(33, 142, 147, 0.55) !important;
  box-shadow:
    0 0 24px rgba(33, 142, 147, 0.35),
    0 0 48px rgba(33, 142, 147, 0.15),
    0 0 20px rgba(255, 45, 45, 0.12);
  background:
    radial-gradient(circle at 50% 30%, rgba(33, 142, 147, 0.22), transparent 65%),
    rgba(0, 0, 0, 0.45) !important;
}

.m365-tile:nth-child(2) .m365-logo {
  filter: drop-shadow(0 0 12px rgba(33, 142, 147, 0.85));
  transform: scale(1.12);
}

/* keep drama under content */
.scene .sp-drama {
  z-index: 1;
}

.scene .container,
.scene .offer-wrap {
  z-index: 4;
}

@media (prefers-reduced-motion: reduce) {
  .screen-scanlines::after,
  .screen-noise,
  .screen-flicker,
  .scene-radar,
  .scene-radar::after,
  .hard-mode,
  .glitch-text::before,
  .glitch-text::after {
    animation: none !important;
  }

  body.is-glitching .screen-hud {
    animation: none !important;
  }

  .sp-drama,
  .sp-drama--pulse,
  .sp-drama--offer {
    animation: none !important;
  }

  .sp-drama--offer {
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .scene-radar {
    opacity: 0.35;
  }

  .hard-mode {
    letter-spacing: 0.08em;
    gap: 0.4rem;
    padding: 0.55rem 0.65rem;
  }

  .ops-ticker {
    justify-content: center;
    text-align: center;
    font-size: 0.62rem;
  }

  .sp-drama {
    width: min(70vw, 260px);
    height: min(70vw, 260px);
    opacity: 0.14;
    right: -12%;
  }

  .sp-drama--left {
    left: -18%;
  }

  .sp-drama--xl {
    width: min(80vw, 300px);
    height: min(80vw, 300px);
  }

  .ops-div {
    height: 3.5rem;
  }
}
