/* ══════════════════════════════════════════════
   IMMERSE — PRO GAMING ARENA
   Main stylesheet
   ══════════════════════════════════════════════ */

:root {
  --red:    #e8280a;
  --yellow: #f5d800;
  --black:  #0a0a0a;
  --white:  #ffffff;
  --orange: #ff5500;
  --font-head: 'Black Ops One', cursive;
  --font-body: 'Teko', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --max-w: 1280px;
  --pad:   64px;
  --nav-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--black); color: var(--white); overflow-x: hidden; }

/* Scanlines overlay */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(0,0,0,0.03) 3px, rgba(0,0,0,0.03) 4px);
}

/* Scroll-reveal base */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Wrap — centres content, never sets z-index */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding-left: var(--pad);
  padding-right: var(--pad);
  position: relative;
}


/* ══ NAV ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(245,216,0,0.12);
}
nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo-img { height: 56px; display: block; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 44px; list-style: none; }
.nav-links a {
  font-family: var(--font-body); font-weight: 500; font-size: 20px; letter-spacing: 3px;
  color: var(--white); text-decoration: none; text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover { color: var(--yellow);   }
.btn-book {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 18px; letter-spacing: 2px;
  color: #000 !important; text-decoration: none; text-transform: uppercase;
  padding: 10px 28px; background: var(--yellow);
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: filter 0.2s, transform 0.1s; white-space: nowrap;
  text-shadow: 1px 1px 0 rgb(0, 0, 0, .6);
}
.btn-book:hover { filter: brightness(1.1); transform: scale(1.04); }


/* ══════════════════════════════════════════════════════
   HERO BLOCK

   Structure:
     .hb-red    — red background, headline text LEFT half
     .hb-hazard — yellow/black stripe
     .hb-yellow — yellow background, deploy card LEFT half
     .char-layer — absolute over everything, RIGHT half elements:
       └ .wrap (position:relative, max-width container)
           ├ .hero-char     — character image, right:0, width:52%
           ├ .loading-wrap  — loading bar,    right:0, width:52%, z:2
           └ .stage-glitch  — glitch strip,   right:0, width:52%, z:1

   All three right-side elements share the same .wrap parent and
   the same width/right values → common central vertical axis.
══════════════════════════════════════════════════════ */

#hero-block {
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* ── Red band ── */
.hb-red {
  background: var(--red);
  position: relative;
}
.hb-red::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('../img/bg_img.png') center top / cover no-repeat;
  opacity: 0.08; mix-blend-mode: overlay;
}
.hb-red .wrap {
  padding-top: 52px;
  padding-bottom: 56px;
}

/* Content limited to left 50% */
.hb-content {
  width: 50%;
  min-width: 320px;
}

.system-badge {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  color: var(--yellow); background: rgba(0,0,0,0.5);
  border: 1px solid var(--yellow); padding: 4px 12px;
  white-space: nowrap;
  animation: blink 1.4s step-end infinite;
}
@keyframes blink {
  0%, 100% { border-color: var(--yellow); color: var(--yellow); }
  42% { border-color: transparent; color: transparent; }
  48% { border-color: var(--yellow); color: var(--yellow); }
  52% { border-color: transparent; color: transparent; }
  58% { border-color: var(--yellow); color: var(--yellow); }
}

.hero-text h1 { font-family: var(--font-head); line-height: 0.93; text-transform: uppercase; }
.hero-sup { display: block; font-family: var(--font-body); font-size: 26px; font-weight: 400; letter-spacing: 2px; white-space: nowrap; }
.hero-title {
  display: block; font-size: clamp(52px, 6vw, 86px);
  color: var(--yellow); text-shadow: 4px 4px 0 rgba(0,0,0,0.25);
  white-space: nowrap;
  animation: glitch-idle 4s ease-in-out infinite;
}
@keyframes glitch-idle {
  0%,100% { filter: none; transform: none; }
  7%   { filter: hue-rotate(180deg); transform: translateX(-3px) skewX(-1deg); }
  8%   { filter: none; transform: translateX(2px); }
  9%   { filter: hue-rotate(-90deg); transform: translateX(-1px) skewX(0.5deg); }
  10%  { filter: none; transform: none; }
  35%  { filter: none; transform: none; }
  36%  { filter: saturate(2) hue-rotate(40deg); transform: translateX(4px); }
  37%  { filter: none; transform: translateX(-2px); }
  38%  { filter: none; transform: none; }
  62%  { filter: none; transform: none; }
  63%  { filter: hue-rotate(-120deg); transform: translateX(-5px) skewX(-2deg); }
  64%  { filter: none; transform: translateX(3px); }
  65%  { filter: hue-rotate(60deg) saturate(3); transform: translateX(0) skewX(1deg); }
  66%  { filter: none; transform: none; }
  88%  { filter: none; transform: none; }
  89%  { filter: hue-rotate(90deg); transform: translateX(2px); }
  90%  { filter: none; transform: none; }
}
.hero-sub { display: block; font-family: var(--font-body); font-size: 22px; font-weight: 400; letter-spacing: 2px; margin-top: 8px; white-space: nowrap; }

/* ── Hazard stripe ── */
.hb-hazard {
  height: 36px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0, var(--yellow) 20px, var(--black) 20px, var(--black) 40px);
}

/* ── Yellow band ── */
.hb-yellow {
  background: var(--yellow);
  position: relative;
}
.hb-yellow::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('../img/concrete-wall.png') center/cover;
  opacity: 0.04; mix-blend-mode: multiply;
}
.hb-yellow .wrap {
  padding-top: 52px;
  padding-bottom: 64px;
}

.deploy-card {
  display: inline-block; background: var(--black);
  padding: 36px 48px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.deploy-card h2 { font-family: var(--font-head); font-size: 18px; color: var(--white); text-transform: uppercase; }
.deploy-card h2 span { display: block; font-size: 54px; color: var(--yellow); line-height: 1; }
.deploy-list { list-style: none; margin-top: 20px; border-left: 3px solid var(--yellow); padding-left: 18px; }
.deploy-list li { font-family: var(--font-body); font-weight: 500; font-size: 21px; letter-spacing: 1.5px; color: var(--white); text-transform: uppercase; padding: 5px 0; }


/* ── Loading bar ──
   Shares right-52% column with hero-char and stage-glitch.
*/
.loading-wrap {
  position: absolute;
  bottom: 42%;
  right: 0;
  width: 52%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.loading-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 4px;
  color: rgba(255,255,255,0.92); text-transform: uppercase; margin-bottom: 8px;
  text-shadow: 0 1px 10px rgba(0,0,0,1), 0 0 4px rgba(0,0,0,1);
  white-space: nowrap;
}
.loading-track {
  width: 240px; height: 22px;
  background: rgba(0,0,0,0.7);
  border: 2px solid rgba(245,216,0,0.35);
  overflow: hidden; position: relative;
}
.loading-fill {
  height: 100%; width: 0%;
  background: repeating-linear-gradient(
    90deg,
    var(--yellow) 0, var(--yellow) 12px,
    rgba(0,0,0,0.6) 12px, rgba(0,0,0,0.6) 16px
  );
  position: relative;
  transition: none;
}
/* JS adds this class to trigger each fill cycle */
.loading-fill.loading-active {
  width: 100%;
  transition: width var(--load-duration, 6s) steps(18, end);
}
.loading-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(255,220,100,0.3) 80%, transparent 100%);
  animation: shimmer 2s ease-in-out infinite 3s;
}
@keyframes shimmer { 0% { transform: translateX(-200%); } 100% { transform: translateX(400%); } }


/* ── Character layer ──
   Absolute over full #hero-block (minus nav).
   All right-side elements live inside .wrap here.
*/
.char-layer {
  position: absolute;
  inset: var(--nav-h) 0 0 0;
  pointer-events: none;
  z-index: 10;
}
.char-layer .wrap {
  height: 100%;
  position: relative;
}
.hero-char {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-char img {
  height: 100%; width: auto; max-width: 100%;
  object-fit: contain; object-position: bottom center; display: block;
  transition: opacity 0.15s ease;
}

/* ── Glitch strip ──
   Same right-52% column → common central axis.
   NO mix-blend-mode — just opacity so it's visible on any background.
*/
.stage-glitch {
  position: absolute;
  bottom: 12%;
  right: 0;
  width: 52%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.stage-glitch img {
  width: 85%; height: auto; opacity: 0.75;
  animation: strip-drift 3s ease-in-out infinite alternate, glitch-flicker 3.5s step-end infinite;
  transition: opacity 0.15s ease;
}
@keyframes strip-drift { from { transform: translateY(0) scaleX(1); } to { transform: translateY(-8px) scaleX(1.02); } }
@keyframes glitch-flicker {
  0%, 100% { opacity: 0.75; transform: translateX(0); }
  8%  { opacity: 0.2; transform: translateX(6px) scaleY(1.03); }
  10% { opacity: 0.9; transform: translateX(-3px); }
  12% { opacity: 0.75; transform: translateX(0); }
  30% { opacity: 0.75; transform: translateX(0); }
  31% { opacity: 0.35; transform: translateX(-8px) skewX(2deg); }
  33% { opacity: 0.8; transform: translateX(4px); }
  34% { opacity: 0.75; transform: translateX(0); }
  55% { opacity: 0.75; transform: translateX(0); }
  56% { opacity: 0.15; transform: translateX(10px) scaleY(0.97); }
  57% { opacity: 0.6; transform: translateX(-5px); }
  59% { opacity: 0.9; transform: translateX(2px); }
  60% { opacity: 0.75; transform: translateX(0); }
  78% { opacity: 0.75; transform: translateX(0); }
  79% { opacity: 0.4; transform: translateX(-4px); }
  80% { opacity: 0.75; transform: translateX(0); }
}


/* ══════════════════════════════════════════════
   GLITCH TRANSITION EFFECT
   Applied to .hero-char and .stage-glitch when
   swapping images via JS.
   ══════════════════════════════════════════════ */

/* Container gets the clip-path slice animation */
.glitch-swap {
  animation: glitch-swap-clip 0.45s steps(1) forwards;
}

/* Image inside gets chromatic-aberration + shake */
.glitch-swap img {
  animation: glitch-swap-shake 0.45s ease-out forwards !important;
}

@keyframes glitch-swap-clip {
  0%   { clip-path: inset(0 0 0 0); }
  10%  { clip-path: inset(15% 0 60% 0); }
  15%  { clip-path: inset(45% 0 20% 0); }
  20%  { clip-path: inset(0 0 75% 0); }
  25%  { clip-path: inset(70% 0 5% 0); }
  30%  { clip-path: inset(30% 0 40% 0); }
  40%  { clip-path: inset(10% 0 10% 0); }
  50%  { clip-path: inset(0 0 0 0); filter: hue-rotate(90deg); }
  60%  { clip-path: inset(5% 0 80% 0); }
  65%  { clip-path: inset(50% 0 10% 0); }
  70%  { clip-path: inset(0 0 0 0); filter: none; }
  80%  { clip-path: inset(20% 0 60% 0); }
  85%  { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 0); filter: none; }
}

@keyframes glitch-swap-shake {
  0%   { transform: translate(0, 0); filter: none; opacity: 0.6; }
  10%  { transform: translate(-8px, 2px); filter: hue-rotate(180deg) saturate(3); }
  20%  { transform: translate(6px, -3px); filter: hue-rotate(-90deg); opacity: 0.4; }
  30%  { transform: translate(-4px, 5px); filter: none; }
  40%  { transform: translate(10px, -1px); filter: hue-rotate(90deg) saturate(2); opacity: 0.7; }
  50%  { transform: translate(-2px, 0); filter: none; }
  60%  { transform: translate(3px, 3px); filter: hue-rotate(-45deg); opacity: 0.85; }
  70%  { transform: translate(0, -2px); filter: none; }
  80%  { transform: translate(-1px, 1px); opacity: 0.95; }
  100% { transform: translate(0, 0); filter: none; opacity: 1; }
}


/* ══ GAMES ══ */
#games { background: var(--black); padding: 80px 0; }
.games-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 50px; }
.section-eyebrow { font-family: var(--font-mono); font-size: 10px; color: var(--red); letter-spacing: 3px; margin-bottom: 10px; }
.games-title h2 { font-family: var(--font-head); font-size: clamp(40px, 5vw, 64px); text-transform: uppercase; line-height: 0.95; }
.games-title h2 span { color: var(--yellow); display: block; }
.limited-slots {
  font-family: var(--font-head); font-size: clamp(24px, 3.2vw, 44px);
  text-transform: uppercase; text-align: center; line-height: 0.95;
  color: var(--red); border: 3px solid var(--red); padding: 14px 20px;
  align-self: center; animation: pulse-border 1.4s ease-in-out infinite;  animation: blink 1.4s step-end infinite;
  text-shadow: 4px 4px 0 rgba(113, 8, 8, 0.25);
}

}
@keyframes pulse-border {
  0%, 100% { border-color: var(--red); box-shadow: none; }
  40% { border-color: var(--orange); box-shadow: 0 0 20px rgba(232,40,10,0.4); }
  50% { border-color: var(--red); box-shadow: 0 0 8px rgba(232,40,10,0.2); }
  55% { border-color: var(--orange); box-shadow: 0 0 14px rgba(232,40,10,0.3); }
  65% { border-color: var(--red); box-shadow: none; }
}
/* Grid: standard 3 columns */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }

/* Coming-soon badge — hidden by default, appears on hover of that card */
.game-card-soon .game-img { overflow: hidden; }

/*.    OLD CLASS FROM CLAUDE   
.coming-soon-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 5;
  width: auto;
  max-width: 70%;
  max-height: 60%;
  object-fit: contain;
  padding: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.8));
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}*/

.coming-soon-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.0); /* Start smaller or at base size */
  width: 100%; /* Relative to .game-img container */
  max-width: 300px; /* Optional: cap the absolute size */
  transition: transform 0.3s ease-in-out;
  pointer-events: none;
  z-index: 10;
}

/* Scaling logic on hover */
.game-card:hover .coming-soon-badge {
  /* Scale to 70% of the container width */
  /* If the original width is 100%, scale(0.7) achieves 70% */
  transform: translate(-50%, -50%) scale(0.7);
}

.coming-soon-badge img {
  width: 100%;
  height: auto; /* Prevents warping */
  display: block;
}

/* Per-card hover: show badge, dim artwork, red border */
.game-card-soon:hover .coming-soon-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.game-card-soon:hover .game-img > img:first-of-type {
  filter: brightness(0.35) saturate(0.5);
}
.game-card-soon:hover .game-overlay {
  opacity: 1;
  background: rgba(232,40,10,0.15);
}
.game-card { cursor: pointer; transition: transform 0.3s; }
.game-card:hover { transform: translateY(-6px); }
.game-card:hover .game-overlay { opacity: 1; }
.game-img { width: 100%; position: relative; overflow: hidden; }
.game-img img { width: 100%; height: auto; display: block; transition: transform 0.4s ease, filter 0.3s ease; }
.game-card:hover .game-img img { transform: scale(1.04); }
.game-overlay { position: absolute; inset: 0; background: rgba(232,40,10,0.1); border: 2px solid var(--red); opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 2; }
.game-footer { margin-top:15px; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; border-top: 2px solid #1e1e1e; }
.game-status { font-family: var(--font-body); font-weight: 500; text-transform: uppercase; line-height: 1.1; }
.status-play .label, .status-soon .label { color: rgba(255,255,255,0.5); font-size: 14px; }
.status-play .value { color: var(--yellow); font-size: 22px; font-weight: 600; }
.status-soon .value { color: var(--red); font-size: 22px; font-weight: 600; }
.btn-action {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 15px; letter-spacing: 2px;
  color: var(--black); text-decoration: none; text-transform: uppercase;
  padding: 9px 16px; background: var(--yellow);
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  white-space: nowrap; transition: filter 0.2s;
}
.btn-action:hover { filter: brightness(1.1); }
.btn-action-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: var(--white); clip-path: none; }
.btn-action-ghost:hover { background: rgba(255,255,255,0.07); }


/* ══ INTEL ══ */
#intel { position: relative; overflow: hidden; display: flex; min-height: 480px; }
.map-iframe-wrap { position: absolute; inset: 0; }
.map-iframe-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.6) brightness(0.75); }
/* Tint only covers left portion where the card sits — map controls on right stay usable */
.map-tint { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.55) 35%, transparent 55%); z-index: 1; pointer-events: none; }
#intel .wrap { position: relative; z-index: 2; display: flex; align-items: stretch; pointer-events: none; }
.intel-card { background: var(--yellow); width: 380px; padding: 46px 52px; clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%); flex-shrink: 0; pointer-events: auto; }
.intel-card h2 { font-family: var(--font-head); font-size: 42px; text-transform: uppercase; color: var(--black); margin-bottom: 32px; }
.intel-section { margin-bottom: 22px; }
.intel-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 3px; color: var(--red); margin-bottom: 3px; text-transform: uppercase; }
.intel-value { font-family: var(--font-body); font-weight: 500; font-size: 20px; color: var(--black); line-height: 1.45; text-transform: uppercase; }
/* Clickable address */
a.intel-address { display: block; text-decoration: none; transition: color 0.2s; }
a.intel-address:hover { color: var(--red); }
/* Map pin removed — Google Maps provides its own marker */



/* ══ RESPONSIVE ══ */
@media (max-width: 960px) {
  :root { --pad: 28px; }
  .hb-content { width: 60%; }
  .hero-char { width: 55%; }
  .loading-wrap { width: 55%; }
  .stage-glitch { width: 55%; }
  .hero-title { white-space: normal; }
  .hero-sup, .hero-sub { white-space: normal; }
}
@media (max-width: 700px) {
  :root { --pad: 20px; }
  .hb-content { width: 100%; }
  .char-layer { opacity: 0.25; }
  .hero-char { width: 70%; }
  .loading-wrap { width: 70%; bottom: 44%; }
  .stage-glitch { width: 70%; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .games-header { flex-direction: column; gap: 20px; }
  .intel-card { width: 100%; clip-path: none; }
}
@media (max-width: 500px) {
  .games-grid { grid-template-columns: 1fr; max-width: 360px; }
  .nav-links li:not(:last-child) { display: none; }
}


/* ══ FOOTER STYLES ══ */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
  position: relative;
  z-index: 10;
}

.footer-hazard {
height: 36px;
background: repeating-linear-gradient(-45deg, var(--yellow) 0, var(--yellow) 20px, var(--black) 20px, var(--black) 40px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  padding-top:69px;
}

.footer-logo {
  height: 75px;
  margin-bottom: 7px;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 18px;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 20px;
}

.footer-col h3 {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--yellow);
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 18px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--yellow);
  padding-left: 5px;
}

.footer-intel .intel-item {
  margin-bottom: 10px;
}

.footer-intel .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--red);
  letter-spacing: 1px;
}

.footer-intel .value {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;;
}

.system-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #ffbf00; /* Cyber green */
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #00ff41;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff41;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #444;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .system-status {
    justify-content: center;
  }
}



  /* ══ BOOKING HERO ══
     Replaces the standard hero with a dark mission-briefing header
     + the Calendly widget below.
  */
  #booking-hero {
    padding-top: var(--nav-h);
    background: var(--black);
    position: relative;
    overflow: hidden;
  }

  /* Subtle red grid texture behind the header */
  #booking-hero::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background:
      url('img/bg_img.png') center/cover no-repeat,
      repeating-linear-gradient(0deg, transparent 0px, transparent 59px, rgba(232,40,10,0.04) 59px, rgba(232,40,10,0.04) 60px),
      repeating-linear-gradient(90deg, transparent 0px, transparent 59px, rgba(232,40,10,0.04) 59px, rgba(232,40,10,0.04) 60px);
    opacity: 0.35;
  }

  /* Header strip — red band holding page title */
  .booking-header {
    background: var(--red);
    position: relative; z-index: 2;
  }
  .booking-header .wrap {
    padding-top: 44px; padding-bottom: 44px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px;
  }
  .booking-title-block { flex: 1; }
  .booking-eyebrow {
    display: inline-block;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
    color: var(--yellow); background: rgba(0,0,0,0.4);
    border: 1px solid var(--yellow); padding: 4px 12px;
    margin-bottom: 16px;
    animation: blink 2.5s step-end infinite;
  }
  @keyframes blink { 50% { border-color: transparent; color: transparent; } }

  .booking-title-block h1 {
    font-family: var(--font-head); text-transform: uppercase; line-height: 0.92;
  }
  .booking-title-block h1 span {
    display: block; font-size: clamp(42px, 5.5vw, 76px);
    color: var(--yellow); text-shadow: 3px 3px 0 rgba(0,0,0,0.3);
  }
  .booking-title-block h1 em {
    display: block; font-style: normal;
    font-size: clamp(22px, 2.5vw, 32px);
    color: var(--white); font-family: var(--font-body); font-weight: 400; letter-spacing: 2px;
    margin-bottom: 6px;
  }

  /* Mission details pill list on the right */
  .booking-meta {
    display: flex; flex-direction: column; gap: 10px;
    align-items: flex-end; flex-shrink: 0;
  }
  .booking-meta-item {
    font-family: var(--font-mono); font-size: 18px; letter-spacing: 2px;
    color: var(--black); background: var(--yellow);
    padding: 5px 14px; text-transform: uppercase;
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  }

  /* Hazard stripe below the red header */
  .booking-hazard {
    height: 30px;
    background: repeating-linear-gradient(-45deg, var(--yellow) 0px, var(--yellow) 20px, var(--black) 20px, var(--black) 40px);
    position: relative; z-index: 2;
  }

  /* Calendly wrapper */
  .calendly-section {
    position: relative; z-index: 2;
    background: var(--black);
    padding: 0 0 60px;
  }
  .calendly-section .wrap {
    padding-top: 0;
  }

  /* Style the Calendly container */
  .calendly-inline-widget {
    width: 100% !important;
    min-height: 750px;
    border-top: 3px solid var(--red);
  }


  /* ====================FOOTER NEW
  /* ══ SOCIAL LINKS ══ */
.footer-socials {
  margin-top: 24px;
}
.social-links {
  display: flex;
  gap: 12px;
  list-style: none;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 14px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: transform 0.2s, filter 0.2s, background 0.2s;
}
.social-links a:hover {
  filter: brightness(1.2);
  transform: translateY(-3px);
  background: var(--white);
}

  /* ══ PAGE SPECIFIC STYLES - WHATS LBE ══ */
    .content-section {
      padding: 80px 0;
      position: relative;
    }

    /* TITLES */
    .section-title {
      font-family: var(--font-head);
      font-size: clamp(28px, 3vw, 40px);
      color: var(--yellow);
      margin: 0 0 24px 0; 
      line-height: 1; 
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    
    .section-title.sub-title {
      margin-top: 50px; 
    }
    
    /* 3-Column Editorial Grid System */
    .editorial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 40px;
      margin-bottom: 40px;
      align-items: start; 
    }

    .span-2 {
      grid-column: span 2;
    }

    .span-1 {
      grid-column: span 1;
    }

    /* TEXT FLOW COLUMNS */
    .text-flow {
      column-count: 2;
      column-gap: 40px;
    }

    .text-flow-1 {
      column-count: 1;
      column-gap: 40px;
    }

    /* PARAGRAPHS */
    .text-flow p {
      font-size: 22px;
      line-height: 1.6;
      margin-top: 0; 
      margin-bottom: 40px; 
      color: #e0e0e0;
    }

    .text-flow-1 p {
      font-size: 22px;
      line-height: 1.6;
      margin-top: 0; 
      margin-bottom: 40px; 
      color: #e0e0e0;
    }

    /* KEYWORD HIGHLIGHTS */
    .text-highlight {
      color: var(--yellow);
      font-weight: 500;
    }
    
    /* Cyberpunk Pull Quote */
    .pull-quote {
      font-family: var(--font-mono);
      font-size: clamp(20px, 2.5vw, 24px);
      color: var(--white);
      border-left: 6px solid var(--red);
      padding: 20px 0 20px 24px;
      background: rgba(232, 40, 10, 0.08);
      text-transform: uppercase;
      letter-spacing: 2px;
      position: relative;
      margin-top: 0; 
    }
    .pull-quote::before {
      content: '// OVERRIDE_LOG:';
      display: block;
      font-size: 14px;
      color: var(--red);
      margin-bottom: 10px;
    }

    /* Video Placeholder */
    .media-placeholder {
      width: 100%;
      aspect-ratio: 21 / 9;
      background: rgba(0, 0, 0, 0.6);
      border: 2px dashed var(--yellow);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 60px 0;
      position: relative;
      overflow: hidden;
    }
    
    .media-placeholder img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.5;
      transition: opacity 0.3s;
    }
    
    .media-placeholder .standby-text {
      position: absolute;
      font-family: var(--font-mono);
      font-size: 18px;
      color: var(--yellow);
      text-shadow: 2px 2px 0 #000;
      pointer-events: none;
      animation: blink 1.4s step-end infinite;
    }

    /* Action Button Container */
    .action-container {
      margin-top: 20px;
      display: block;
    }

    .btn-action-large {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--red);
      color: var(--white);
      font-family: var(--font-head);
      font-size: 24px;
      padding: 16px 32px;
      text-decoration: none;
      letter-spacing: 2px;
      clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
      transition: background 0.2s, transform 0.2s;
    }

    .btn-action-large:hover {
      background: var(--white);
      color: var(--red);
      transform: translateY(-3px);
    }

    /* Social Icon Styles */
    .footer-socials { margin-top: 24px; }
    .social-links { display: flex; gap: 12px; list-style: none; }
    .social-links a {
      display: inline-flex; align-items: center; justify-content: center;
      width: 44px; height: 44px; background: var(--yellow); color: var(--black);
      text-decoration: none; font-family: var(--font-head); font-size: 14px;
      clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
      transition: transform 0.2s, filter 0.2s, background 0.2s;
    }
    .social-links a:hover { filter: brightness(1.2); transform: translateY(-3px); background: var(--white); color: var(--red); }
    /* SVG Size and Color Inheritance */
    .social-links a svg { width: 18px; height: 18px; fill: currentColor; }

    /* Responsive adjustments */
    @media (max-width: 960px) {
      .editorial-grid { grid-template-columns: 1fr; gap: 30px; }
      .span-2 { grid-column: span 1; }
      .text-flow { column-count: 1; }
      .action-container { margin-top: 0; }
    }

    /* ══ PAGE SPECIFIC - SELECTION ══
   Red band + hazard stripe mirroring booking.html,
   but with a full-bleed background image behind the red.
*/
#selection-hero {
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* ── Mission image backdrop ── */
.selection-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('img/selection_hero.png') center center / cover no-repeat;
  filter: brightness(0.3) saturate(0.6);
}
.selection-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(232, 40, 10, 0.55) 0%,
    rgba(232, 40, 10, 0.35) 50%,
    rgba(10, 10, 10, 0.9) 100%
  );
}

/* ── Header content over the backdrop ── */
.selection-header {
  position: relative;
  z-index: 2;
}
.selection-header .wrap {
  padding-top: 52px;
  padding-bottom: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.selection-title-block { flex: 1; }

.selection-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--yellow);
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--yellow);
  padding: 4px 12px;
  margin-bottom: 16px;
  animation: blink 2.5s step-end infinite;
}

.selection-title-block h1 {
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: 0.92;
}
.selection-title-block h1 em {
  display: block;
  font-style: normal;
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.selection-title-block h1 span {
  display: block;
  font-size: clamp(42px, 5.5vw, 76px);
  color: var(--yellow);
  text-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

/* ── Active mission badge on right ── */
.active-mission-badge {
  flex-shrink: 0;
  text-align: center;
  border: 3px solid var(--yellow);
  padding: 18px 24px;
  background: rgba(0,0,0,0.4);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.active-mission-badge .badge-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--yellow);
  margin-bottom: 6px;
}
.active-mission-badge .badge-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 32px);
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}
.active-mission-badge .badge-sub {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ── Hazard stripe ── */
.selection-hazard {
  height: 30px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0px, var(--yellow) 20px, var(--black) 20px, var(--black) 40px);
  position: relative;
  z-index: 2;
}


/* ══ DEPLOYMENT CARDS SECTION ══ */
.selection-section {
  background: var(--black);
  position: relative;
  z-index: 2;
  padding: 60px 0 80px;
}

/* Subtle grid texture */
.selection-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0px, transparent 59px, rgba(232,40,10,0.03) 59px, rgba(232,40,10,0.03) 60px),
    repeating-linear-gradient(90deg, transparent 0px, transparent 59px, rgba(232,40,10,0.03) 59px, rgba(232,40,10,0.03) 60px);
}

.selection-section .wrap { position: relative; z-index: 1; }

.selection-section-header {
  margin-bottom: 40px;
}
.selection-section-header .section-eyebrow {
  margin-bottom: 10px;
}
.selection-section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  text-transform: uppercase;
  line-height: 0.95;
}
.selection-section-header h2 span {
  color: var(--yellow);
  display: block;
}

/* ── Deployment grid — 3 columns matching games grid ── */
.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

/* ── Individual deployment card ── */
.selection-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
}
.selection-card:hover {
  transform: translateY(-6px);
}

/* Card image area */
.selection-card .card-img {
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
}
.selection-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.selection-card:hover .card-img img {
  transform: scale(1.04);
}

/* Red overlay on hover — matches game cards */
.selection-card .card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(232,40,10,0.1);
  border: 2px solid var(--red);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 2;
}
.selection-card:hover .card-overlay {
  opacity: 1;
}

/* Choose badge — mirrors .coming-soon-badge from game cards */
.choose-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.0);
  width: 100%;
  max-width: 300px;
  transition: transform 0.3s ease-in-out;
  pointer-events: none;
  z-index: 10;
}
.choose-badge img {
  width: 100%;
  height: auto;
  display: block;
}
.selection-card:hover .choose-badge {
  transform: translate(-50%, -50%) scale(0.7);
}
.selection-card:hover .card-img > img:first-of-type {
  filter: brightness(0.35) saturate(0.5);
}

/* Icon centered over the image */
.selection-card .card-icon-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}
.selection-card .card-icon-wrap img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.8));
  opacity: 0.85;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.selection-card:hover .card-icon-wrap img {
  opacity: 0;
  transform: scale(0.85);
}

/* Card footer — mirrors .game-footer */
.selection-card .card-footer {
  margin-top: 15px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid #1e1e1e;
}
.selection-card .card-info {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.1;
}
.selection-card .card-info .label {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}
.selection-card .card-info .value {
  color: var(--yellow);
  font-size: 22px;
  font-weight: 600;
}

/* Card description text */
.selection-card .card-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
  margin-top: 8px;
  line-height: 1.5;
}

/* Card specs row */
.selection-card .card-specs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.selection-card .card-specs .spec-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.1);
  text-transform: uppercase;
}


/* ── Age advisory strip ── */
.age-advisory {
  margin-top: 40px;
  padding: 18px 24px;
  background: rgba(232,40,10,0.08);
  border: 1px solid rgba(232,40,10,0.25);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.age-advisory-icon {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1.4;
}
.age-advisory-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.age-advisory-text strong {
  color: var(--red);
}


/* ══ RESPONSIVE ══ */
@media (max-width: 960px) {
  .selection-grid { grid-template-columns: 1fr 1fr; }
  .selection-header .wrap { flex-direction: column; align-items: flex-start; }
  .active-mission-badge { align-self: flex-start; }
}
@media (max-width: 700px) {
  .selection-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .selection-header .wrap { padding-top: 36px; padding-bottom: 40px; }
}
@media (max-width: 500px) {
  .selection-grid { max-width: 360px; }
}

/* ═══════════════════════════════
   MOBILE BURGER NAV
   ADDITION ONLY – NON-DESTRUCTIVE
═══════════════════════════════ */

/* Hide burger on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  height: 40px;
  width: 40px;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--yellow);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Burger animation when active */
.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile behaviour */
@media (max-width: 768px) {

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px 0;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    border-bottom: 2px solid rgba(245,216,0,0.2);
  }

  .nav-open .nav-links {
    transform: translateY(0);
  }

  .nav-links li {
    display: block !important;
  }

  .nav-links a {
    font-size: 24px;
  }
}
