/* ==========================================================================
   CYBER HUNTER - VALORANT MINIMALIST DESIGN SYSTEM (#815eff AESTHETIC)
   WITH 3D PERSPECTIVE & CINEMATIC SCROLL TRANSITIONS
   ========================================================================== */

:root {
  --val-dark: #0b0a14;
  --val-darker: #06050b;
  --val-light: #ece8e1;
  --val-light-alt: #f8f7f5;
  
  --val-purple: #815eff;
  --val-purple-hover: #6d42f7;
  --val-purple-glow: rgba(129, 94, 255, 0.4);
  
  --val-text-dark: #0f1923;
  --val-text-muted: #768079;
  --val-text-white: #ffffff;
  
  --font-heading: 'Anton', 'Oswald', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: auto;
}

html {
  scroll-behavior: smooth;
  background-color: var(--val-dark);
  color: var(--val-text-dark);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

body.valorant-style {
  background-color: var(--val-dark);
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

/* ==========================================================================
   CINEMATIC SCROLL REVEAL TRANSITIONS
   ========================================================================== */
.scroll-reveal-item {
  opacity: 0;
  transform: translateY(35px) scale(0.98);
  filter: blur(4px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
  will-change: transform, opacity, filter;
}

.scroll-reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Staggered transition delays */
.val-news-card:nth-child(1) { transition-delay: 0.06s; }
.val-news-card:nth-child(2) { transition-delay: 0.16s; }
.val-news-card:nth-child(3) { transition-delay: 0.26s; }

.val-download-grid .val-dl-card:nth-child(1) { transition-delay: 0.08s; }
.val-download-grid .val-dl-card:nth-child(2) { transition-delay: 0.2s; }

.banner-char-col { transition-delay: 0.08s; }
.banner-text-col { transition-delay: 0.18s; }

.val-map-selector-list { transition-delay: 0.08s; }
.val-map-display-frame { transition-delay: 0.18s; }

/* ==========================================================================
   FLOATING MINIMALIST TEXT NAVIGATION (3D MAGNETIC DRIFT, THEME BLENDING)
   ========================================================================== */
.floating-brand-cluster {
  position: fixed;
  top: 40px;
  left: 52px;
  right: auto;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  transform-style: preserve-3d;
  will-change: transform;
  transition: all 0.3s ease;
}

.brand-item-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.brand-item-link:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 16px rgba(129, 94, 255, 0.7));
}

.brand-ch-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.brand-divider {
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  transition: color 0.3s ease;
}

.brand-navy-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* On Light Theme Sections: Invert CH & Navy Logos to Crisp Black */
.floating-brand-cluster.theme-light-brand .brand-ch-logo,
.floating-brand-cluster.theme-light-brand .brand-navy-logo,
.floating-text-nav.theme-light-nav .brand-ch-logo,
.floating-text-nav.theme-light-nav .brand-navy-logo {
  filter: invert(1);
}

.floating-brand-cluster.theme-light-brand .brand-divider,
.floating-text-nav.theme-light-nav .brand-divider {
  color: rgba(15, 25, 35, 0.3);
}

.floating-text-nav {
  position: fixed;
  top: 110px;
  left: 52px;
  right: auto;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  background: transparent;
  border: none;
  pointer-events: none;
  perspective: 1000px;
  transition: color 0.3s ease;
}

.nav-links-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  pointer-events: auto;
  opacity: 0.5;
  animation: navBlinkPulse 3.2s infinite ease-in-out;
  transition: opacity 0.35s ease;
  transform-style: preserve-3d;
}

.floating-text-nav:hover .nav-links-stack {
  opacity: 1;
  animation-play-state: paused;
}

/* Subtle Blink / Breathe Animation */
@keyframes navBlinkPulse {
  0%, 100% {
    opacity: 0.42;
  }
  50% {
    opacity: 0.72;
  }
}

.nav-text-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), opacity 0.25s ease;
  cursor: pointer;
  width: fit-content;
  text-shadow: none;
  transform-style: preserve-3d;
  will-change: transform;
}

/* On Hero Section (First Section): Center-Right Navigation Links Stack */
.floating-text-nav.nav-hero-mode {
  top: 50%;
  transform: translateY(-50%);
  left: auto;
  right: 52px;
  align-items: flex-end;
}

.floating-text-nav.nav-hero-mode .nav-links-stack {
  align-items: flex-end;
}

.floating-text-nav.nav-hero-mode .nav-text-link {
  flex-direction: row-reverse;
}

.nav-dash {
  display: inline-block;
  width: 26px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
  box-shadow: none;
}

.nav-title {
  display: inline-block;
  transition: transform 0.25s var(--ease), color 0.25s ease;
}

/* Dark theme hover & active */
.nav-text-link:hover,
.nav-text-link.active {
  color: var(--val-purple);
  text-shadow: none;
  opacity: 1;
}

.nav-text-link:hover .nav-dash,
.nav-text-link.active .nav-dash {
  width: 46px;
  background: var(--val-purple);
}

/* ==========================================================================
   LIGHT THEME ADAPTATION (CLEAN SOLID BLACK TEXT & DASH, NO SHADOW)
   ========================================================================== */
.floating-text-nav.theme-light-nav .nav-text-link {
  color: #0f1923;
  text-shadow: none;
}

.floating-text-nav.theme-light-nav .nav-dash {
  background: #0f1923;
  box-shadow: none;
}

.floating-text-nav.theme-light-nav .nav-text-link:hover,
.floating-text-nav.theme-light-nav .nav-text-link.active {
  color: var(--val-purple);
  text-shadow: none;
}

.floating-text-nav.theme-light-nav .nav-text-link:hover .nav-dash,
.floating-text-nav.theme-light-nav .nav-text-link.active .nav-dash {
  background: var(--val-purple);
  box-shadow: none;
}

/* ==========================================================================
   MAIN VIEWPORT (FULL WIDTH)
   ========================================================================== */
.main-viewport {
  margin-left: 0;
  width: 100%;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   HERO SECTION (3D MULTI-LAYER PARALLAX & TILT)
   ========================================================================== */
.val-hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--val-dark);
  perspective: 1200px;
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: brightness(0.68) contrast(1.1);
  transform: scale(1.05);
  will-change: transform;
}

.hero-cinematic-grad {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(11, 10, 20, 0.2) 0%, rgba(11, 10, 20, 0.75) 75%, rgba(11, 10, 20, 0.95) 100%),
              linear-gradient(to top, rgba(11, 10, 20, 0.95) 0%, transparent 35%);
  pointer-events: none;
}

.hero-inner-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.hero-content-anchor {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-logo-box {
  margin-bottom: 16px;
  transform-style: preserve-3d;
}

.hero-game-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 0 35px rgba(129, 94, 255, 0.45));
  will-change: transform;
  transition: transform 0.2s ease-out;
}

.hero-subheadline {
  font-family: var(--font-heading);
  font-size: 14.5px;
  letter-spacing: 1.5px;
  color: var(--val-text-white);
  line-height: 1.45;
  margin-bottom: 24px;
  max-width: 430px;
  font-weight: 500;
  text-transform: uppercase;
  will-change: transform;
  transition: transform 0.2s ease-out;
}

/* Valorant Primary Button (Framed #815eff with 3D Depth) */
.hero-btn-wrap {
  display: inline-block;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.val-btn-wrap {
  display: inline-block;
  position: relative;
  transform-style: preserve-3d;
}

.val-btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--val-purple);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 1.5px;
  padding: 13px 34px;
  cursor: pointer;
  border: none;
  box-shadow: 0 10px 30px rgba(129, 94, 255, 0.4), 0 2px 4px rgba(0,0,0,0.3);
  transform-style: preserve-3d;
  will-change: transform;
}

.val-btn-primary .btn-frame-box {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: all 0.2s ease;
  transform: translateZ(10px);
}

.val-btn-primary .btn-label {
  position: relative;
  z-index: 2;
  transform: translateZ(15px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.val-btn-primary:hover {
  background: #6d42f7;
  box-shadow: 0 16px 45px rgba(129, 94, 255, 0.65), 0 4px 10px rgba(0,0,0,0.4);
}

.val-btn-primary:hover .btn-frame-box {
  border-color: #ffffff;
}

.val-btn-dark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--val-darker);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: 1.5px;
  padding: 12px 30px;
  cursor: pointer;
  border: none;
  transform-style: preserve-3d;
  will-change: transform;
}

.val-btn-dark .btn-frame-box.dark {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 1px solid rgba(129, 94, 255, 0.4);
  pointer-events: none;
}

.val-btn-dark:hover {
  background: #fff;
  color: var(--val-dark);
}

.hero-platforms-bar {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  transform: translateZ(20px);
}

.hero-platforms-bar span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #94a3b8;
  letter-spacing: 1px;
}

.hero-scroll-prompt {
  margin-top: 26px;
  transform: translateZ(15px);
}

.scroll-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #a78bfa;
  transition: color 0.2s ease;
}
.scroll-link:hover { color: #fff; }

.scroll-txt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
}

.arrow-down-float {
  font-size: 11px;
  animation: valBounce 1.8s infinite ease-in-out;
}

@keyframes valBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ==========================================================================
   VALORANT LIGHT SECTIONS ("THE LATEST" & "WE ARE CYBER HUNTER")
   ========================================================================== */
.val-light-section {
  background-color: var(--val-light);
  color: var(--val-text-dark);
  padding: 110px 0;
  position: relative;
  perspective: 1200px;
}

.val-light-section.alt-bg {
  background-color: var(--val-light-alt);
}

.val-section-wrapper {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 80px;
}

.val-section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.val-huge-heading {
  font-family: var(--font-heading);
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: 1px;
  color: var(--val-text-dark);
  text-transform: uppercase;
}

.val-huge-heading.white { color: #fff; }

.val-heading-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--val-purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}
.val-heading-link:hover {
  transform: translateX(4px);
  text-decoration: underline;
}

/* 3D News 3-Card Grid */
.val-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  perspective: 1000px;
}

.val-news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform-style: preserve-3d;
  will-change: transform;
  border-radius: 2px;
}

.val-news-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(var(--glare-angle, 135deg), rgba(255, 255, 255, var(--glare-opacity, 0)) 0%, transparent 60%);
  pointer-events: none;
  z-index: 10;
  border-radius: 2px;
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--val-dark);
  margin-bottom: 16px;
  transform-style: preserve-3d;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.val-news-card:hover .card-thumb-img {
  transform: scale(1.08) translateZ(15px);
}

/* Corner Brackets [ ] */
.card-corner-bracket {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--val-purple);
  pointer-events: none;
  z-index: 4;
}
.card-corner-bracket.tl { top: 6px; left: 6px; border-top: 2px solid var(--val-purple); border-left: 2px solid var(--val-purple); }
.card-corner-bracket.tr { top: 6px; right: 6px; border-top: 2px solid var(--val-purple); border-right: 2px solid var(--val-purple); }
.card-corner-bracket.bl { bottom: 6px; left: 6px; border-bottom: 2px solid var(--val-purple); border-left: 2px solid var(--val-purple); }
.card-corner-bracket.br { bottom: 6px; right: 6px; border-bottom: 2px solid var(--val-purple); border-right: 2px solid var(--val-purple); }

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  margin-bottom: 8px;
  transform: translateZ(15px);
}

.meta-tag-red {
  color: var(--val-purple);
  font-weight: 700;
  letter-spacing: 1px;
}

.meta-sep { color: var(--val-text-muted); }
.meta-date { color: var(--val-text-muted); }

.card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 0.5px;
  color: var(--val-text-dark);
  line-height: 1.2;
  margin-bottom: 8px;
  transform: translateZ(22px);
}

.card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--val-text-muted);
  transform: translateZ(12px);
}

/* ==========================================================================
   SPLIT LAYOUT ("WE ARE CYBER HUNTER" & "YOUR MAPS")
   ========================================================================== */
.val-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
  perspective: 1200px;
}

.split-left-text {
  position: relative;
  transform-style: preserve-3d;
}

.red-dot-accent {
  width: 6px;
  height: 6px;
  background: var(--val-purple);
  margin-bottom: 12px;
}

.val-subhead-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--val-text-dark);
  margin: 10px 0 16px;
  text-transform: uppercase;
}

.val-subhead-mono.white { color: rgba(255, 255, 255, 0.9); }

.val-body-text {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  max-width: 480px;
}

.val-body-text.white { color: rgba(255, 255, 255, 0.95); }

.accent-number-mark {
  font-family: var(--font-heading);
  font-size: 40px;
  color: rgba(129, 94, 255, 0.2);
  margin-top: 30px;
}

.val-media-frame {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  will-change: transform;
}

.navy-direct-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 340px;
  background: transparent;
  border: none;
  box-shadow: none;
  transform-style: preserve-3d;
  will-change: transform;
}

.val-navy-showcase-img-black {
  width: 90%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  filter: invert(1); /* Inverts white logo to crisp solid black */
  transition: transform 0.4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

.navy-direct-showcase:hover .val-navy-showcase-img-black {
  transform: scale(1.05) translateZ(30px);
}

.val-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--val-purple);
  z-index: 5;
}
.media-corner.tl { top: 10px; left: 10px; border-top: 3px solid var(--val-purple); border-left: 3px solid var(--val-purple); }
.media-corner.br { bottom: 10px; right: 10px; border-bottom: 3px solid var(--val-purple); border-right: 3px solid var(--val-purple); }

/* ==========================================================================
   #815eff PURPLE BANNER SECTION (MATCHING SCREENSHOT 4 & HEROES DUO PNG)
   ========================================================================== */
.val-red-banner {
  background: linear-gradient(135deg, #7042f8 0%, #815eff 50%, #5b2ee5 100%);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.25);
  perspective: 1200px;
}

.val-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.banner-char-col {
  height: 480px;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  transform-style: preserve-3d;
}

.banner-char-duo {
  height: 100%;
  max-height: 480px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease-out;
}

.banner-char-col:hover .banner-char-duo {
  transform: scale(1.03) translateZ(30px);
}

.banner-text-col {
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   MAPS SECTION (MATCHING SCREENSHOT 5 WITH 3D DISPLAY)
   ========================================================================== */
.maps-showcase-bg {
  position: relative;
  overflow: hidden;
}

.map-watermark-bg {
  position: absolute;
  top: 10%;
  left: 5%;
  font-family: var(--font-heading);
  font-size: 240px;
  line-height: 1;
  color: rgba(129, 94, 255, 0.05);
  pointer-events: none;
  z-index: 1;
}

.val-badge-icon {
  font-size: 24px;
  color: var(--val-purple);
  margin-bottom: 12px;
}

.val-map-selector-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  max-width: 380px;
  perspective: 600px;
}

.val-map-tab-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(15, 25, 35, 0.04);
  border: 1px solid rgba(15, 25, 35, 0.1);
  cursor: pointer;
  text-align: left;
  transform-style: preserve-3d;
  will-change: transform;
}

.val-map-tab-btn .m-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--val-text-muted);
  transform: translateZ(10px);
}

.val-map-tab-btn .m-name {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--val-text-dark);
  transform: translateZ(15px);
}

.val-map-tab-btn:hover,
.val-map-tab-btn.active {
  background: var(--val-dark);
  border-color: var(--val-purple);
  box-shadow: 0 10px 25px rgba(129, 94, 255, 0.25);
}
.val-map-tab-btn.active .m-num,
.val-map-tab-btn:hover .m-num {
  color: var(--val-purple);
}
.val-map-tab-btn.active .m-name,
.val-map-tab-btn:hover .m-name {
  color: #fff;
}

.val-map-display-frame {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(129, 94, 255, 0.25);
  transform-style: preserve-3d;
  will-change: transform;
}

.val-map-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.map-tag-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--val-dark);
  color: var(--val-purple);
  border: 1px solid rgba(129, 94, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  transform: translateZ(30px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* ==========================================================================
   DOWNLOAD & SPECS SECTION (DARK THEME WITH 3D CARDS)
   ========================================================================== */
.val-dark-download-section {
  background-color: var(--val-dark);
  color: #fff;
  padding: 110px 0;
  perspective: 1200px;
}

.val-download-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  margin-bottom: 50px;
}

.val-dl-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.dl-badge-top {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--val-purple);
  margin-bottom: 10px;
  transform: translateZ(15px);
}

.dl-title {
  font-family: var(--font-heading);
  font-size: 36px;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 12px;
  transform: translateZ(25px);
}

.dl-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--val-text-muted);
  margin-bottom: 20px;
  transform: translateZ(12px);
}

.dl-pill-row {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  transform: translateZ(18px);
}

.dl-pill-row span {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 8px;
  background: rgba(129, 94, 255, 0.08);
  border: 1px solid rgba(129, 94, 255, 0.2);
  color: #cbd5e1;
}

.dl-actions-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateZ(30px);
}

.dl-mirrors-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--val-text-muted);
}

.val-btn-mirror {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.val-btn-mirror:hover {
  background: var(--val-purple);
  border-color: var(--val-purple);
}

.val-store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.val-store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transform-style: preserve-3d;
  will-change: transform;
}

.val-store-btn:hover {
  background: var(--val-purple);
  border-color: var(--val-purple);
  box-shadow: 0 10px 25px rgba(129, 94, 255, 0.35);
}

.val-store-btn i { font-size: 22px; color: var(--val-purple); transform: translateZ(15px); }
.val-store-btn:hover i { color: #fff; }

.s-txt { display: flex; flex-direction: column; transform: translateZ(18px); }
.s-sub { font-family: var(--font-mono); font-size: 8px; color: var(--val-text-muted); }
.val-store-btn:hover .s-sub { color: #fff; }
.s-main { font-family: var(--font-heading); font-size: 18px; letter-spacing: 0.5px; }

/* Specs Table */
.val-specs-table-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.specs-card-title {
  padding: 18px 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--val-text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.val-specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.val-specs-table th {
  padding: 14px 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--val-text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.val-specs-table td {
  padding: 16px 30px;
  font-size: 13px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.val-specs-table td:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--val-purple);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.val-footer {
  background: var(--val-darker);
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.val-footer-logo {
  max-width: 170px;
  height: auto;
  margin-bottom: 6px;
}

.val-footer-copy {
  font-size: 11px;
  color: var(--val-text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--val-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; }

.val-btn-top {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.val-btn-top:hover { background: var(--val-purple); }

/* ==========================================================================
   MODALS & TOAST
   ========================================================================== */
.val-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.val-modal.show,
.val-modal.active {
  display: flex !important;
}

.val-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.val-modal-dialog {
  position: relative;
  z-index: 10;
  background: var(--val-dark);
  border: 1px solid var(--val-purple);
  max-width: 1050px;
  width: 100%;
  padding: 20px;
  box-shadow: 0 0 50px rgba(129, 94, 255, 0.3);
}

.val-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.val-modal-title {
  font-family: var(--font-heading);
  font-size: 32px;
  letter-spacing: 1px;
  color: #fff;
}

.val-modal-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--val-purple);
  letter-spacing: 2px;
}

.val-modal-img-wrap {
  margin-top: 12px;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.val-modal-img-wrap img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.val-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--val-dark);
  border: 1px solid var(--val-purple);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s var(--ease);
  box-shadow: 0 10px 30px rgba(129, 94, 255, 0.35);
}

.val-toast.active {
  transform: translateY(0);
  opacity: 1;
}

.val-toast-ico {
  font-size: 20px;
  color: var(--val-purple);
}

.val-toast-h {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #fff;
  display: block;
}

.val-toast-p {
  font-size: 11px;
  color: var(--val-text-muted);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .floating-text-nav {
    top: 20px;
    left: 20px;
    gap: 20px;
  }
  .floating-brand-logo {
    width: 60px;
  }
  .nav-links-stack {
    gap: 18px;
  }
  .nav-text-link {
    font-size: 13px;
  }
  .val-news-grid,
  .val-split-layout,
  .val-banner-inner,
  .val-download-grid {
    grid-template-columns: 1fr;
  }
  .banner-char-col {
    height: 380px;
  }
  .banner-char-duo {
    max-height: 380px;
  }
  .val-huge-heading {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .floating-text-nav {
    position: absolute;
    top: 20px;
    left: 20px;
  }
  .nav-links-stack {
    display: none;
  }
  .val-section-wrapper { padding: 0 20px; }
  .hero-inner-container { padding: 120px 20px 40px; justify-content: center; }
}

/* ==========================================================================
   INTRO LOADING SCREEN (CLEAN MINIMALIST SLIDE / FADE)
   ========================================================================== */
.intro-loader-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #06050b;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.intro-loader-screen.fade-out {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.loader-central-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-brand-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
  animation: cleanLogoSlideFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cleanLogoSlideFade {
  0% {
    opacity: 0;
    transform: translateY(22px);
    filter: drop-shadow(0 0 0 rgba(129, 94, 255, 0));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: drop-shadow(0 0 24px rgba(129, 94, 255, 0.8));
  }
}

.loader-ch-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.loader-divider {
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 24px;
}

.loader-navy-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.loader-progress-wrap {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: #815eff;
  box-shadow: 0 0 14px rgba(129, 94, 255, 0.9);
  transition: width 0.15s ease-out;
}

/* ==========================================================================
   COMING SOON POPUP MODAL (CENTERED #815eff THEMED)
   ========================================================================== */
.coming-soon-dialog {
  max-width: 540px !important;
  background: #090812 !important;
  border: 1px solid rgba(129, 94, 255, 0.4) !important;
  box-shadow: 0 0 50px rgba(129, 94, 255, 0.3), 0 25px 50px rgba(0, 0, 0, 0.8) !important;
  padding: 36px 32px 28px !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coming-soon-dialog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--val-purple), transparent);
}

.cs-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(129, 94, 255, 0.12);
  border: 1px solid rgba(129, 94, 255, 0.35);
  color: var(--val-purple);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  margin-bottom: 18px;
}

.cs-icon-cluster {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(129, 94, 255, 0.1);
  border: 1px solid rgba(129, 94, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(129, 94, 255, 0.3);
}

.cs-discord-icon {
  font-size: 34px;
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(129, 94, 255, 0.8));
}

.cs-title {
  font-family: var(--font-heading);
  font-size: 36px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.cs-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--val-purple);
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cs-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 440px;
  margin-bottom: 28px;
}

.cs-actions {
  width: 100%;
  max-width: 360px;
  margin-bottom: 24px;
}

.cs-discord-btn {
  width: 100%;
  text-decoration: none;
  display: flex;
  justify-content: center;
}

.cs-footer-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

/* ==========================================================================
   INTERACTIVE CYBER PARTICLES CANVAS (XXX, OOO, SHAPES, GLITCH MATRIX)
   ========================================================================== */
.cyber-particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 60;
}

/* ==========================================================================
   HERO BACKGROUND GLITCH EFFECT & CHROMATIC ABERRATION
   ========================================================================== */
.hero-glitch-img {
  transition: transform 0.1s ease, filter 0.1s ease;
}

.hero-glitch-img.active-glitch {
  animation: heroBgGlitchDisplace 0.35s steps(2, start) infinite;
  filter: drop-shadow(4px 0 rgba(255, 0, 85, 0.7)) drop-shadow(-4px 0 rgba(0, 240, 255, 0.7)) contrast(1.3) brightness(0.9);
}

@keyframes heroBgGlitchDisplace {
  0% {
    transform: translate(0, 0) scale(1);
    clip-path: inset(0 0 0 0);
  }
  20% {
    transform: translate(-6px, 3px) scale(1.01);
    clip-path: inset(15% 0 65% 0);
  }
  40% {
    transform: translate(6px, -3px) scale(1.02);
    clip-path: inset(45% 0 35% 0);
  }
  60% {
    transform: translate(-4px, -2px) scale(1.01);
    clip-path: inset(70% 0 10% 0);
  }
  80% {
    transform: translate(5px, 2px) scale(1);
    clip-path: inset(10% 0 80% 0);
  }
  100% {
    transform: translate(0, 0) scale(1);
    clip-path: inset(0 0 0 0);
  }
}

.hero-glitch-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 3;
  mix-blend-mode: color-dodge;
  transition: opacity 0.1s ease;
}

.hero-glitch-overlay.active-glitch-overlay {
  opacity: 0.85;
  background: repeating-linear-gradient(
    0deg,
    rgba(129, 94, 255, 0.25) 0px,
    rgba(129, 94, 255, 0.25) 2px,
    transparent 2px,
    transparent 6px
  );
  animation: glitchFlicker 0.25s infinite;
}

@keyframes glitchFlicker {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.hero-scanline-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    rgba(18, 16, 26, 0) 50%,
    rgba(0, 0, 0, 0.4) 50%
  );
  background-size: 100% 4px;
  opacity: 0.35;
  z-index: 2;
}

/* ==========================================================================
   SECTION TACTICAL HUD GLYPHS (XXX, OOO, +++, BRACKETS)
   ========================================================================== */
.section-tactical-glyphs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  user-select: none;
}

.glyph-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(129, 94, 255, 0.55);
  font-weight: 700;
  animation: glyphPulse 3s infinite ease-in-out;
}

.glyph-tag.top-left {
  top: 40px;
  left: 52px;
}

.glyph-tag.top-right {
  top: 40px;
  right: 52px;
}

.glyph-tag.bottom-left {
  bottom: 36px;
  left: 52px;
}

.glyph-tag.bottom-right {
  bottom: 36px;
  right: 52px;
}

@keyframes glyphPulse {
  0%, 100% {
    opacity: 0.45;
    transform: translateY(0);
  }
  50% {
    opacity: 0.95;
    transform: translateY(-3px);
    color: rgba(162, 133, 255, 0.9);
  }
}
