/* ============================================================
   MENACETIDE — promo site
   palette pulled from key art (cyan logo / red star / black void)
   ============================================================ */

:root {
  --bg-deep:        #04060B;
  --bg-1:           #07101A;
  --bg-2:           #0C1A29;
  --bg-3:           #122438;
  --line:           #1E3650;
  --line-strong:    #2A4D70;

  --cyan:           #2EE6F6;
  --cyan-soft:      #7DF0FA;
  --blue:           #3DB1F0;
  --blue-deep:      #1A4A7E;

  --red:            #FF3B1B;
  --orange:         #FF7A2F;
  --yellow:         #FFC54F;

  --text:           #E8F4FA;
  --text-mute:      #8FA9BD;
  --text-dim:       #5C7388;

  --font-display:   'Orbitron', system-ui, sans-serif;
  --font-body:      'Rajdhani', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', ui-monospace, monospace;

  --container:      1200px;
  --radius:         4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--cyan-soft); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Animated star canvas behind everything */
#stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 20%, #11233A 0%, #04060B 60%, #02030A 100%);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--text);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: .25em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--cyan);
  margin-bottom: .75rem;
}

strong { color: var(--cyan-soft); font-weight: 700; }

/* ============================================================
   HEADER / NAV
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: linear-gradient(180deg, rgba(4,6,11,.85) 0%, rgba(4,6,11,.4) 80%, rgba(4,6,11,0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}

.site-header.is-stuck {
  background: rgba(4,6,11,.9);
  border-bottom-color: var(--line);
}

.brand img { height: 32px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.primary-nav a:hover { color: var(--cyan); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px; height: 32px;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cyan);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all .2s ease;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.btn--small { padding: 10px 18px; font-size: 0.75rem; }
.btn--large { padding: 18px 32px; font-size: 1rem; }

.btn--primary {
  color: #04060B;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(46,230,246,.35);
}
.btn--primary:hover {
  background: var(--cyan-soft);
  color: #04060B;
  box-shadow: 0 0 36px rgba(46,230,246,.6);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--cyan);
  background: rgba(46,230,246,.06);
  border-color: var(--cyan);
}
.btn--ghost:hover {
  background: rgba(46,230,246,.16);
  color: var(--cyan-soft);
}

/* ============================================================
   HUD CORNER FRAMES (decorative)
   ============================================================ */

.hud-frame, .trailer-frame, .cta-card {
  position: relative;
}

.hud-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--cyan);
  pointer-events: none;
}
.hud-corner--tl { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.hud-corner--tr { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; }
.hud-corner--bl { bottom: -1px; left: -1px; border-bottom: 2px solid; border-left: 2px solid; }
.hud-corner--br { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.05);
  animation: heroDrift 60s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { transform: scale(1.05) translate(0,0); }
  100% { transform: scale(1.12) translate(-2%, -1%); }
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(4,6,11,.55) 60%, rgba(4,6,11,.95) 100%),
    linear-gradient(180deg, rgba(4,6,11,.4) 0%, transparent 30%, transparent 70%, rgba(4,6,11,.95) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  text-align: center;
}

.hud-frame {
  padding: 48px 32px;
  border: 1px solid var(--line-strong);
  background: rgba(4,6,11,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero__logo img {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 28px rgba(46,230,246,.45));
}

.hero__tagline {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--text);
  max-width: 720px;
  margin: 8px auto 8px;
}
.hero__subtagline {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hud-readout {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hud-readout em { color: var(--cyan); font-style: normal; font-weight: 600; }
.hud-readout em.warning { color: var(--red); animation: pulseWarn 1.4s ease-in-out infinite; }
@keyframes pulseWarn { 50% { opacity: .45; } }

.hud-readout .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); margin-right: 6px;
  box-shadow: 0 0 8px var(--red);
  animation: pulseWarn 1.4s ease-in-out infinite;
}

.scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-hint span {
  display: block;
  width: 22px; height: 36px;
  border: 2px solid var(--cyan);
  border-radius: 12px;
  position: relative;
}
.scroll-hint span::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50%      { transform: translate(-50%, 12px); opacity: .3; }
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 110px 0;
  position: relative;
}

.section__head {
  text-align: center;
  margin-bottom: 56px;
}

.section--about { background: linear-gradient(180deg, transparent 0%, rgba(7,16,26,.6) 100%); }
.section--features { background: rgba(7,16,26,.55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--cta { padding: 70px 0; }
.section--media { background: linear-gradient(180deg, rgba(7,16,26,.55) 0%, transparent 100%); }
.section--press { padding-bottom: 120px; }

/* ABOUT */
.about-grid {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about__lead {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.5;
}
.about-grid p { margin-bottom: 14px; color: var(--text-mute); }
.about-grid p:last-child { color: var(--text-dim); font-style: italic; }

/* TRAILER */
.trailer-frame {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  background: #000;
}
.trailer-frame video {
  width: 100%;
  height: auto;
  display: block;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 32px 24px 28px;
  background: rgba(12,26,41,.6);
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.feature-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  background: rgba(18,36,56,.7);
}
.feature-card__index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 14px;
}
.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.feature-card p {
  color: var(--text-mute);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* CTA card */
.cta-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 32px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse at center, rgba(46,230,246,.08) 0%, transparent 70%),
    rgba(7,16,26,.85);
}
.cta-card h2 { margin-bottom: 16px; }
.cta-card p {
  color: var(--text-mute);
  max-width: 580px;
  margin: 0 auto 28px;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.gallery__item {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: border-color .2s ease;
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .35s ease, opacity .2s ease;
}
.gallery__item:hover { border-color: var(--cyan); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::after {
  content: "EXPAND";
  position: absolute;
  bottom: 12px; right: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
  background: rgba(4,6,11,.7);
  padding: 4px 8px;
  border: 1px solid var(--cyan);
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery__item:hover::after { opacity: 1; }

/* PRESS */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.press-card {
  display: block;
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: rgba(12,26,41,.6);
  color: var(--text);
  position: relative;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.press-card:hover {
  border-color: var(--cyan);
  background: rgba(18,36,56,.7);
  color: var(--text);
  transform: translateY(-2px);
}
.press-card h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}
.press-card p {
  color: var(--text-mute);
  font-size: 0.9rem;
}
.press-card__arrow {
  position: absolute;
  top: 24px; right: 22px;
  color: var(--cyan);
  font-size: 1.4rem;
  transition: transform .2s ease;
}
.press-card:hover .press-card__arrow { transform: translateX(4px); }

/* FOOTER */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: rgba(4,6,11,.85);
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a {
  color: var(--text-mute);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}
.footer-nav a:hover { color: var(--cyan); }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(2,3,8,.94);
  backdrop-filter: blur(8px);
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%; max-height: 100%;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 48px rgba(46,230,246,.25);
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 26px;
  background: transparent;
  color: var(--cyan);
  font-size: 2.2rem;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
}
.lightbox__close:hover { color: var(--cyan-soft); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 760px) {
  body { font-size: 16px; }

  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; right: 0;
    background: rgba(4,6,11,.97);
    border: 1px solid var(--line);
    padding: 18px 24px;
    gap: 14px;
    min-width: 220px;
  }

  .hud-frame { padding: 28px 18px; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 36px; }
  .features-grid, .gallery, .press-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 36px 18px; }
}
