/* ═══════════════════════════════════════════════════════════════════
   ARXIA — Cyberpunk Landing Page (RAY-BAN.EXE inspired)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg-dark); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; }

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --bg-dark:       #0B0F14;
  --base-accent:   #0F2A44;
  --neon-blue:     #00C2FF;
  --cyan:          #2FF3FF;
  --silver:        #C9D1D9;
  --success:       #00FFB2;
  --warning:       #FF3D71;
  --text:          #C9D1D9;
  --ghost:         #6B7280;
  --font-comic:    'Bangers', cursive;
  --font-display:  'Orbitron', sans-serif;
  --font-body:     'Outfit', sans-serif;
  --radius:        6px;
  --bg-section-1:  #0B0F14;
  --bg-section-2:  #0D1117;
  --bg-section-3:  #0A0E13;
  --card-bg:       rgba(15, 25, 40, 0.6);
  --card-border:   1px solid rgba(0, 194, 255, 0.2);
  --card-border-hover: 1px solid rgba(0, 194, 255, 0.5);
  --card-glow:     0 0 15px rgba(0, 194, 255, 0.08);
  --card-glow-hover: 0 0 25px rgba(0, 194, 255, 0.15), 0 0 50px rgba(0, 194, 255, 0.05);
  --outline:       1px solid rgba(0, 194, 255, 0.25);
  --outline-light: 1px solid rgba(0, 194, 255, 0.12);
  --chamfer-card:  polygon(0% 0%, calc(100% - 20px) 0%, 100% 20px, 100% 100%, 0% 100%);
  --chamfer-card-sm: polygon(0% 0%, calc(100% - 14px) 0%, 100% 14px, 100% 100%, 0% 100%);
  --grid-pattern:  linear-gradient(rgba(0, 194, 255, 0.02) 1px, transparent 1px),
                   linear-gradient(90deg, rgba(0, 194, 255, 0.02) 1px, transparent 1px);
  --grid-size:     40px 40px;

  /* ─── SPACING ─── */
  --hero-pad:          48px;
  --section-pad:       100px;
  --section-chamfer:   30px;

  /* ─── POSITIONING ─── */
  --logo-offset-left:  520px;
  --video-preview-top: 105px;
  --ticker-bottom:     80px;
  --ticker-max-w:      320px;

  /* ─── SIZING ─── */
  --video-preview-w:   280px;
  --video-frames-h:    165px;
  --thumb-w:           80px;
  --thumb-h:           100px;
  --robot-w:           800px;

  /* ─── Z-INDEX SCALE ─── */
  --z-base:            1;
  --z-above:           2;
  --z-mascot:          3;
  --z-content:         6;
  --z-overlay:         8;
  --z-outline:         9;
  --z-glitch:          10;
  --z-video-expanded:  50;
  --z-nav:             100;
  --z-nav-fixed:       1000;
  --z-video-close:     99999;

  /* ─── ANIMATION DURATIONS ─── */
  --dur-ticker:        20s;
  --dur-transition:    0.3s;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { font-family: var(--font-comic); letter-spacing: 0.04em; line-height: 1.1; }
h4, h5, h6 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.hero-tv__logo {
  position: absolute; top: 28px; left: var(--logo-offset-left); z-index: var(--z-glitch);
  display: flex; align-items: center;
  text-decoration: none; color: inherit;
  height: 40px;
}
.nav {
  position: absolute; top: 24px; left: 0; right: 0; z-index: var(--z-nav);
  padding: 6px 0;
  border-bottom: none;
}
.nav--fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav-fixed);
}
.nav--scrolled {
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--base-accent);
  box-shadow: 0 4px 0 rgba(0, 194, 255, 0.1);
}
.nav__inner { max-width: 100%; margin: 0; padding: 0 40px; display: flex; align-items: center; justify-content: flex-end; }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo-brand { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.nav__logo-glitch {
  font-family: var(--font-comic);
  font-size: 1.3rem;
  color: rgba(0, 194, 255, 0.25);
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: -2px;
  text-shadow:
    0 0 8px rgba(0, 194, 255, 0.15),
    2px 0 0 rgba(255, 61, 113, 0.12),
    -2px 0 0 rgba(47, 243, 255, 0.12);
  filter: blur(0.3px);
  user-select: none;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: 0.08em;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  line-height: 1.1;
}
.nav__logo-ext {
  font-weight: 600;
  font-size: 0.85em;
  color: var(--neon-blue);
  opacity: 0.7;
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; color: var(--silver); transition: color 0.2s; position: relative; }
.nav__links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--neon-blue); transition: width 0.3s; }
.nav__links a:hover { color: var(--neon-blue); }
.nav__links a:hover::after { width: 100%; }
.nav__links .nav__cta { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--neon-blue); color: var(--bg-dark); padding: 8px 20px; border: 2px solid var(--base-accent); box-shadow: var(--hard-shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
.nav__cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--base-accent); }
.nav__links .nav__cta::after { display: none; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__hamburger span { display: block; width: 26px; height: 3px; background: var(--silver); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav__hamburger--active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav__hamburger--active span:nth-child(2) { opacity: 0; }
.nav__hamburger--active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ═══════════════════════════════════════════
   HERO — TV / CRT FRAME
   ═══════════════════════════════════════════ */
.hero-tv {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #060809;
  padding: 20px 28px;
}

.hero-tv__bezel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* White SVG outline — bottom edge dips slightly like a CRT screen */
.hero-tv__outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-outline);
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.05));
}

.hero-tv__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* Stepped frame: logo palier top-left, then diagonal cut down to main level */
  clip-path: polygon(
    0% 0%,                     /* top-left corner */
    20% 0%,                    /* horizontal across logo area */
    23% 8%,                    /* diagonal cut down */
    97.5% 8%,                  /* horizontal to top-right */
    100% 12%,                  /* top-right chamfer */
    100% 97%,                  /* right side down */
    98.2% 100%,                /* bottom-right chamfer */
    1.8% 100%,                 /* bottom edge */
    0% 97%                     /* bottom-left chamfer, back up */
  );
}

/* CRT vignette — dark corners */
.hero-tv__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 60%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
  z-index: var(--z-overlay);
}

/* ═══════════════════════════════════════════
   HERO — FULLSCREEN SLIDER
   ═══════════════════════════════════════════ */
.hero {
  position: relative; width: 100%; height: 100%; overflow: hidden; background: #000;
}

/* Slides container */
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.3s ease;
}
.hero__slide--active { opacity: 1; z-index: 1; }

/* Background image */
.hero__slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center bottom;
  filter: brightness(0.5) saturate(1.3) blur(5px);
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero__slide--active .hero__slide-bg {
  transform: scale(1);
}

/* Slide overlay — scanlines sit between bg and mascot */
.hero__slide-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}

/* Mascot — large, centered, body cut off by bottom edge */
.hero__slide-mascot {
  position: absolute; bottom: -15%; left: 50%; transform: translateX(-50%);
  z-index: var(--z-above);
  display: flex; align-items: flex-start; justify-content: flex-end;
  height: 110%; width: 65%;
  pointer-events: none;
}
.hero__slide-mascot img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: top center;
  filter: url(#rgbShift);
}
/* Glitch bar — duplicate mascot clipped to a thin scanning band */
.mascot-glitchbar {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-mascot);
  opacity: 0;
}
.mascot-glitchbar img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: top center;
  transform: translateX(var(--gbar-shift, 10px));
  filter: brightness(1.5) contrast(1.3) saturate(1.4);
}
.mascot-glitchbar--sweep {
  opacity: 1;
}

.hero__slide-mascot--robot {
  width: 90%; height: 155%; bottom: -66%;
}

  50% { transform: translateY(-8px); }
}

  50% { transform: translateY(-15px) rotate(3deg); }
}

/* Glitch overlay */
.hero__glitch {
  position: absolute; inset: 0; z-index: var(--z-glitch);
  pointer-events: none; opacity: 0;
}
.hero__glitch--active {
  opacity: 1;
  animation: glitchFlash 0.8s steps(6) forwards;
}

@keyframes glitchFlash {
  0%   { background: transparent; filter: none; }
  5%   { background: rgba(255,61,113,0.3); filter: saturate(3) hue-rotate(30deg); transform: skewX(-8deg) scaleY(1.02); }
  10%  { background: rgba(0,194,255,0.4); filter: saturate(4) brightness(1.4); transform: skewX(12deg) translate(-10px, 5px); }
  15%  { background: rgba(47,243,255,0.3); filter: saturate(5) hue-rotate(-20deg) contrast(1.5); transform: skewX(-15deg) scaleY(0.98) translate(8px, -3px); }
  20%  { background: rgba(255,61,113,0.25); filter: saturate(3) blur(2px); transform: skewX(6deg) translate(15px, 2px); }
  25%  { background: rgba(0,194,255,0.35); filter: saturate(4) hue-rotate(40deg) brightness(1.3); transform: skewX(-10deg) translate(-12px, -5px) scaleX(1.03); }
  30%  { background: rgba(47,243,255,0.2); filter: saturate(2) contrast(1.4); transform: skewX(8deg) translate(6px, 4px); }
  40%  { background: rgba(0,194,255,0.15); filter: saturate(1.5); transform: skewX(-3deg) translate(-4px, 2px); }
  50%  { background: transparent; filter: none; transform: translate(2px, -1px); }
  60%  { background: rgba(0,194,255,0.05); filter: none; transform: none; }
  100% { background: transparent; filter: none; transform: none; opacity: 0; }
}

/* CRT Scanlines — dense 1px lines covering entire screen, always visible */
.hero__scanlines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.25) 0px,
    rgba(0, 0, 0, 0.25) 1px,
    transparent 1px,
    transparent 2px
  );
}

/* VHS rolling bands — wide dark bands drifting top to bottom */
.hero__scanlines::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -100%; height: 300%;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 20%,
      rgba(0, 0, 0, 0.12) 21%,
      rgba(0, 0, 0, 0.2) 24%,
      rgba(0, 0, 0, 0.12) 27%,
      transparent 28%,
      transparent 50%,
      rgba(0, 0, 0, 0.08) 51%,
      rgba(0, 0, 0, 0.15) 53%,
      rgba(0, 0, 0, 0.08) 55%,
      transparent 56%,
      transparent 78%,
      rgba(0, 0, 0, 0.06) 79%,
      rgba(0, 0, 0, 0.12) 81%,
      rgba(0, 0, 0, 0.06) 83%,
      transparent 84%,
      transparent 100%
    );
  animation: vhsBandsDown 8s linear infinite;
}

/* Secondary lighter band — faster */
.hero__scanlines::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -100%; height: 200%;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 45%,
      rgba(255, 255, 255, 0.02) 46%,
      rgba(255, 255, 255, 0.04) 48%,
      rgba(255, 255, 255, 0.02) 50%,
      transparent 51%,
      transparent 100%
    );
  animation: vhsBandsDown2 5s linear infinite;
}

@keyframes vhsBandsDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(33.33%); }
}
@keyframes vhsBandsDown2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(50%); }
}

/* VHS screen overlay — colored scanline bands with jitter */
.hero__scanfall {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 194, 255, 0.12),
    transparent 2px,
    rgba(0, 194, 255, 0.3) 10px,
    transparent 10px
  );
  opacity: 0.35;
  filter: blur(0.5px);
  animation: vhsJitter 5s ease-in-out infinite;
  animation-delay: 2s;
  transform-origin: center center;
}

.hero__scanfall::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  top: -5px; left: -5px;
  background: repeating-linear-gradient(
    0deg,
    rgba(47, 243, 255, 0.15),
    transparent 2px,
    rgba(0, 255, 178, 0.3) 10px,
    transparent 10px
  );
  animation: vhsJitter 3s ease-in-out infinite;
  animation-delay: 1s;
  transform-origin: center center;
}

.hero__scanfall::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  top: -2px; left: -2px;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.12),
    transparent 2px,
    rgba(255, 255, 255, 0.3) 10px,
    transparent 10px
  );
  animation: vhsJitter 2s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes vhsJitter {
  0%   { margin-top: 10px; margin-left: 5px; }
  20%  { margin-top: -10px; margin-left: -5px; }
  25%  { margin-top: 2px; margin-left: 3px; }
  26%  { margin-top: 4px; margin-left: -1px; }
  27%  { margin-top: 0; margin-left: 0; }
  30%  { margin-top: 10px; margin-left: 5px; }
  50%  { margin-top: -1px; margin-left: 1px; }
  61%  { margin-top: 1px; margin-left: -1px; }
  63%  { margin-top: calc(-1 * var(--section-chamfer)); left: -70%; transform: skewX(-10deg); width: 250%; height: 250%; }
  67%  { margin-top: -10px; margin-left: -15px; }
  69%  { margin-top: 5px; margin-left: 5px; }
  70%  { top: -100px; margin-left: 5px; transform: skewY(10deg); width: 250%; height: 250%; }
  81%  { margin-top: 0; margin-left: 0; }
  100% { margin-top: 10px; margin-left: 5px; }
}

/* Content - left side */
.hero__content {
  position: absolute; top: 58%; left: var(--hero-pad); transform: translateY(-50%);
  z-index: var(--z-content); max-width: 580px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3rem, 8vw, 6rem);
  color: #fff; letter-spacing: 0.1em; line-height: 0.95;
  text-shadow: 3px 3px 0 var(--base-accent), 0 0 40px rgba(0,194,255,0.3);
  animation: textGlitchIn 0.6s ease-out;
}
.hero__subtitle {
  font-size: 0.45em;
  letter-spacing: 0.22em;
  display: block;
  white-space: nowrap;
}
.hero__desc {
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 300;
  color: rgba(255,255,255,0.8); line-height: 1.7; margin-top: 20px;
  animation: fadeSlideUp 0.5s ease-out 0.15s both;
}
.hero__line {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.4), transparent);
  margin: 24px 0;
}
.hero__cta-btn {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bg-dark); background: #fff; padding: 12px 28px;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.hero__cta-btn:hover {
  background: var(--neon-blue);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 rgba(0,194,255,0.4);
}

/* Video preview — top right, GIF-like cycling frames */
.hero__video-preview {
  position: absolute; top: var(--video-preview-top); right: var(--hero-pad); z-index: var(--z-content);
  width: var(--video-preview-w);
  background: none;
  overflow: hidden; cursor: pointer;
  transition: transform 0.3s;
  clip-path: none;
}
.hero__video-preview:hover {
  transform: translate(-2px, -2px);
}
.hero__video-outline {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 5; pointer-events: none;
}
.hero__video-preview-frames {
  position: relative; width: 100%; height: var(--video-frames-h); overflow: hidden;
  clip-path: polygon(0% 0%, 86% 0%, 100% 15%, 100% 100%, 0% 100%);
}
.hero__video-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 0.15s ease;
}
.hero__video-frame--active { opacity: 1; }
.hero__video-play {
  position: absolute; top: calc(var(--video-frames-h) / 2); left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5); border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-above);
  transition: background 0.3s, border-color 0.3s;
}
.hero__video-preview:hover .hero__video-play {
  background: rgba(0,194,255,0.4); border-color: rgba(255,255,255,0.7);
}
.hero__video-label {
  display: block; padding: 8px 0 0 0;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 500;
  color: #fff; transition: color 0.2s;
}
.hero__video-preview:hover .hero__video-label { color: var(--neon-blue); }

/* Expanded video — takes over the hero box */
.hero__video-expanded {
  position: absolute; inset: 0; z-index: var(--z-video-expanded);
  background: #000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.hero__video-expanded--active {
  opacity: 1; pointer-events: all;
}
.hero__video-expanded video {
  width: 100%; height: 100%; object-fit: contain;
  background: #000;
}
.hero__video-close {
  position: fixed; top: 105px; right: 80px; z-index: var(--z-video-close);
  display: none; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: rgba(0,0,0,0.85); border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.hero__video-close span {
  font-size: 1rem;
}
.hero__video-close--visible {
  display: flex;
}
.hero__video-close:hover {
  background: rgba(0,194,255,0.3); border-color: rgba(255,255,255,0.6);
}

/* Ticker - bottom right */
.hero__ticker {
  position: absolute; bottom: var(--ticker-bottom); right: var(--hero-pad); z-index: var(--z-content);
  max-width: var(--ticker-max-w); overflow: hidden;
}
.hero__ticker-track {
  display: flex; gap: 12px; white-space: nowrap;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 400;
  color: rgba(255,255,255,0.5); letter-spacing: 0.05em;
  animation: tickerScroll var(--dur-ticker) linear infinite;
}
.hero__ticker-dot {
  display: inline-block; width: 4px; height: 4px;
  background: var(--neon-blue); border-radius: 50%;
  align-self: center; flex-shrink: 0;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Thumbnails - bottom left */
.hero__thumbs {
  position: absolute; bottom: var(--hero-pad); left: var(--hero-pad); z-index: var(--z-content);
  display: flex; gap: 10px;
}
.hero__thumb {
  width: var(--thumb-w); height: var(--thumb-h); padding: 0;
  border: none;
  background: rgba(0,0,0,0.4);
  overflow: hidden; cursor: pointer;
  transition: transform 0.2s;
  position: relative;
  clip-path: polygon(0% 0%, 80% 0%, 100% 18%, 100% 100%, 0% 100%);
}
.hero__thumb img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero__thumb::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25);
  clip-path: polygon(0% 0%, 80% 0%, 100% 18%, 100% 100%, 0% 100%);
}
.hero__thumb--active {
  transform: scale(1.08);
}
.hero__thumb--active::after {
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.6);
}
.hero__thumb:hover:not(.hero__thumb--active) {
  transform: scale(1.04);
}

/* Visualizer */
.hero__visualizer {
  position: absolute; bottom: var(--hero-pad); right: var(--hero-pad); z-index: var(--z-content);
  display: flex; gap: 3px; align-items: flex-end; height: 20px;
}
.hero__visualizer span {
  width: 3px; background: rgba(255,255,255,0.4);
  animation: vizBar 1.2s ease-in-out infinite;
}
.hero__visualizer span:nth-child(1) { height: 6px; animation-delay: 0s; }
.hero__visualizer span:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.hero__visualizer span:nth-child(3) { height: 10px; animation-delay: 0.3s; }
.hero__visualizer span:nth-child(4) { height: 18px; animation-delay: 0.45s; }
.hero__visualizer span:nth-child(5) { height: 8px; animation-delay: 0.6s; }

@keyframes vizBar {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Text animations */
@keyframes textGlitchIn {
  0% { opacity: 0; transform: translateX(-20px); clip-path: inset(0 100% 0 0); }
  30% { clip-path: inset(0 30% 0 0); opacity: 1; }
  50% { transform: translateX(4px); clip-path: inset(0 10% 0 0); }
  70% { transform: translateX(-2px); clip-path: inset(0 0 0 0); }
  100% { transform: translateX(0); clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   SECTIONS — BASE
   ═══════════════════════════════════════════ */
.section { position: relative; padding: var(--section-pad) 0; overflow: hidden; }
.section--iceberg { background: linear-gradient(180deg, #060809 0%, #060809 8%, transparent 30%), radial-gradient(ellipse 150% 120% at 50% 50%, rgba(12, 60, 120, 0.28) 0%, rgba(6, 30, 60, 0.18) 35%, rgba(4, 15, 30, 0.08) 55%, #0B0F14 80%), radial-gradient(ellipse 130% 100% at 80% 60%, rgba(8, 40, 80, 0.18) 0%, transparent 60%), radial-gradient(ellipse 130% 100% at 20% 40%, rgba(8, 35, 70, 0.15) 0%, transparent 60%), #0B0F14; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--section-chamfer)), 0 100%); padding-top: 210px; padding-bottom: 130px; }
.section--tech { background: var(--bg-section-1);
  margin-top: calc(-1 * var(--section-chamfer)); clip-path: polygon(0 var(--section-chamfer), 100% 0, 100% calc(100% - var(--section-chamfer)), 0 100%); padding-top: 130px; padding-bottom: 130px;
}
.section--community { background: var(--bg-section-2);
  margin-top: calc(-1 * var(--section-chamfer)); clip-path: polygon(0 var(--section-chamfer), 100% 0, 100% calc(100% - var(--section-chamfer)), 0 100%); padding-top: 130px; padding-bottom: 130px;
}
.section--mascots { background: var(--bg-section-1);
  margin-top: calc(-1 * var(--section-chamfer)); clip-path: polygon(0 var(--section-chamfer), 100% 0, 100% 100%, 0 100%); padding-top: 130px; padding-bottom: 130px;
}
.section--pillars {
  margin-top: calc(-1 * var(--section-chamfer)); clip-path: polygon(0 var(--section-chamfer), 100% 0, 100% calc(100% - var(--section-chamfer)), 0 100%); padding-top: 80px; padding-bottom: 50px; background: radial-gradient(ellipse 150% 120% at 50% 50%, rgba(120, 12, 12, 0.28) 0%, rgba(60, 6, 6, 0.18) 35%, rgba(30, 4, 4, 0.08) 55%, #0B0F14 80%), radial-gradient(ellipse 130% 100% at 20% 60%, rgba(80, 8, 8, 0.18) 0%, transparent 60%), radial-gradient(ellipse 130% 100% at 80% 40%, rgba(70, 8, 8, 0.15) 0%, transparent 60%), #0B0F14;
}
.section--roadmap {
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(0,194,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(47,243,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 85%, rgba(0,80,160,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 70% 15%, rgba(0,194,255,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 30% 60%, rgba(0,40,80,0.2) 0%, transparent 60%),
    radial-gradient(2px 2px at 10% 12%, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 25% 8%, rgba(255,255,255,0.5), transparent),
    radial-gradient(3px 3px at 40% 18%, rgba(0,194,255,0.8), transparent),
    radial-gradient(2px 2px at 55% 6%, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 70% 15%, rgba(255,255,255,0.5), transparent),
    radial-gradient(3px 3px at 85% 10%, rgba(47,243,255,0.7), transparent),
    radial-gradient(2px 2px at 92% 20%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 5% 28%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 18% 35%, rgba(255,255,255,0.4), transparent),
    radial-gradient(3px 3px at 33% 25%, rgba(0,194,255,0.7), transparent),
    radial-gradient(2px 2px at 48% 32%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 62% 22%, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 78% 30%, rgba(47,243,255,0.5), transparent),
    radial-gradient(2px 2px at 95% 35%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 8% 45%, rgba(255,255,255,0.35), transparent),
    radial-gradient(3px 3px at 22% 50%, rgba(0,194,255,0.6), transparent),
    radial-gradient(2px 2px at 37% 42%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 52% 48%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 67% 40%, rgba(255,255,255,0.5), transparent),
    radial-gradient(3px 3px at 82% 46%, rgba(47,243,255,0.5), transparent),
    radial-gradient(2px 2px at 3% 58%, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 15% 65%, rgba(255,255,255,0.35), transparent),
    radial-gradient(2px 2px at 43% 68%, rgba(255,255,255,0.4), transparent),
    radial-gradient(3px 3px at 58% 55%, rgba(0,194,255,0.5), transparent),
    radial-gradient(2px 2px at 73% 62%, rgba(255,255,255,0.35), transparent),
    radial-gradient(2px 2px at 88% 58%, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 97% 52%, rgba(47,243,255,0.4), transparent),
    radial-gradient(2px 2px at 12% 78%, rgba(255,255,255,0.25), transparent),
    radial-gradient(2px 2px at 30% 75%, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 50% 82%, rgba(0,194,255,0.3), transparent),
    radial-gradient(2px 2px at 68% 72%, rgba(255,255,255,0.25), transparent),
    radial-gradient(2px 2px at 85% 80%, rgba(255,255,255,0.3), transparent),
    radial-gradient(ellipse 150% 120% at 50% 50%, rgba(12, 40, 120, 0.32) 0%, rgba(6, 20, 60, 0.2) 35%, rgba(4, 10, 30, 0.1) 55%, transparent 80%),
    radial-gradient(ellipse 130% 100% at 20% 60%, rgba(8, 30, 80, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 130% 100% at 80% 40%, rgba(8, 25, 70, 0.18) 0%, transparent 60%),
    var(--bg-section-1);
  margin-top: calc(-1 * var(--section-chamfer)); clip-path: polygon(0 var(--section-chamfer), 100% 0, 100% calc(100% - var(--section-chamfer)), 0 100%); padding-top: 130px; padding-bottom: 130px;
  overflow: hidden;
  position: relative;
}
.section.section--roadmap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 34px;
  z-index: 2;
  pointer-events: none;
  clip-path: polygon(0 var(--section-chamfer), 100% 0, 100% 3px, 0 calc(var(--section-chamfer) + 3px));
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.7) 10%, #fff 50%, rgba(255,255,255,0.7) 90%, transparent 100%);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.5)) drop-shadow(0 0 20px rgba(255,255,255,0.2));
}
.section.section--roadmap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 34px;
  z-index: 2;
  pointer-events: none;
  clip-path: polygon(0 calc(100% - 3px), 100% calc(100% - 30px - 3px), 100% calc(100% - var(--section-chamfer)), 0 100%);
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.7) 10%, #fff 50%, rgba(255,255,255,0.7) 90%, transparent 100%);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.5)) drop-shadow(0 0 20px rgba(255,255,255,0.2));
}

.section--upcoming { background: var(--bg-section-2);
  margin-top: calc(-1 * var(--section-chamfer)); clip-path: polygon(0 var(--section-chamfer), 100% 0, 100% calc(100% - var(--section-chamfer)), 0 100%); padding-top: 130px; padding-bottom: 130px;
}
.section::before { content: ''; position: absolute; inset: 0; background-image: var(--grid-pattern); background-size: var(--grid-size); opacity: 1; pointer-events: none; z-index: 0; }
.section > .container { position: relative; z-index: 1; }
.iceberg__band-stroke {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-38%) scaleX(-1);
  width: 100vw;
  top: 34%;
  height: 550px;
  z-index: 1;
  pointer-events: none;
  -webkit-filter: drop-shadow(0 -1.5px 0 rgba(255,255,255,0.6)) drop-shadow(0 1.5px 0 rgba(255,255,255,0.6)) drop-shadow(-1.5px 0 0 rgba(255,255,255,0.6)) drop-shadow(1.5px 0 0 rgba(255,255,255,0.6));
  filter: drop-shadow(0 -1.5px 0 rgba(255,255,255,0.6)) drop-shadow(0 1.5px 0 rgba(255,255,255,0.6)) drop-shadow(-1.5px 0 0 rgba(255,255,255,0.6)) drop-shadow(1.5px 0 0 rgba(255,255,255,0.6));
}
.iceberg__band {
  width: 100%;
  height: 100%;
  background: url('Assets/cyberpunk-bg.webp') center/cover no-repeat;
  clip-path: polygon(0 30%, 100% -10%, 100% 70%, 0 110%);
}
/* ═══════════════════════════════════════════
   UPCOMING / COMING SOON
   ═══════════════════════════════════════════ */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.upcoming-card {
  position: relative;
  background: var(--card-bg);
  border: var(--card-border);
  clip-path: var(--chamfer-card);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: border 0.3s, box-shadow 0.3s, transform 0.3s;
  overflow: hidden;
}
.upcoming-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,194,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.upcoming-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.upcoming-card:hover {
  border: var(--card-border-hover);
  box-shadow: var(--card-glow-hover);
  transform: translateY(-4px);
}
.upcoming-card:hover::after {
  opacity: 1;
}
.upcoming-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}
.upcoming-card__icon svg {
  width: 100%;
  height: 100%;
}
.upcoming-card__tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--neon-blue);
  opacity: 0.7;
}
.upcoming-card__title {
  font-family: var(--font-comic);
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.upcoming-card__desc {
  font-size: 0.88rem;
  color: var(--ghost);
  line-height: 1.7;
  flex: 1;
}
.upcoming-card__status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,194,255,0.1);
  width: 100%;
}
.upcoming-card__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue), 0 0 16px rgba(0,194,255,0.3);
  animation: upcomingPulse 2s ease-in-out infinite;
}
@keyframes upcomingPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--neon-blue), 0 0 16px rgba(0,194,255,0.3); }
  50% { opacity: 0.4; box-shadow: 0 0 4px var(--neon-blue), 0 0 8px rgba(0,194,255,0.15); }
}
.upcoming-card__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--neon-blue);
}

@media (max-width: 900px) {
  .upcoming-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

.section__header { text-align: center; margin-bottom: 60px; }
.section__tag { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; color: var(--neon-blue); text-transform: uppercase; display: block; margin-bottom: 12px; }
.section__title { font-family: var(--font-comic); font-size: clamp(2.2rem, 5vw, 3.5rem); color: #fff; text-shadow: 0 0 30px rgba(0, 194, 255, 0.15); margin-bottom: 16px; }
.section__desc { font-size: 1.05rem; color: var(--ghost); max-width: 600px; margin: 0 auto; }

/* ═══════════════════════════════════════════
   CARDS (About)
   ═══════════════════════════════════════════ */
.cards--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--card-bg); border: var(--card-border); box-shadow: var(--card-glow); padding: 36px 28px; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; overflow: hidden; clip-path: var(--chamfer-card); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--neon-blue), var(--cyan)); opacity: 0.7; }
.card:hover { transform: translateY(-4px); box-shadow: var(--card-glow-hover); border-color: rgba(0, 194, 255, 0.5); }
.card__icon { width: 56px; height: 56px; margin-bottom: 15px; color: var(--neon-blue); filter: drop-shadow(0 0 6px rgba(0, 194, 255, 0.3)); }
.icon-svg { width: 100%; height: 100%; }
.card__title { font-family: var(--font-comic); font-size: 1.6rem; color: #fff; margin-bottom: 10px; }
.card__text { font-size: 0.95rem; color: var(--silver); line-height: 1.65; }

/* ═══════════════════════════════════════════
   PILLARS
   ═══════════════════════════════════════════ */

/* Iceberg intro — right-aligned, different angle */
.section--iceberg .iceberg__intro {
  text-align: right;
  transform: rotate(3deg);
  position: absolute;
  right: 80px;
  left: auto;
  top: 105px;
  z-index: 2;
  display: block;
  margin: 0;
  opacity: 0;
}
.iceberg__intro .rogueai__intro-name {
  text-shadow:
    4px 4px 0 rgba(0, 0, 0, 0.7),
    0 0 40px rgba(255, 61, 113, 0.2);
}
.iceberg__intro .rogueai__intro-role {
  color: var(--warning);
  text-shadow:
    3px 3px 0 rgba(0, 0, 0, 0.6),
    0 0 20px rgba(255, 61, 113, 0.3);
}

/* Rogue AI section — top and bottom white bands fixed to angled clip-path edges */
.section--pillars::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 34px;
  z-index: 2;
  pointer-events: none;
  /* Follows top clip-path edge: left at 30px, right at 0 */
  clip-path: polygon(0 var(--section-chamfer), 100% 0, 100% 3px, 0 calc(var(--section-chamfer) + 3px));
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.7) 10%, #fff 50%, rgba(255,255,255,0.7) 90%, transparent 100%);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.5)) drop-shadow(0 0 20px rgba(255,255,255,0.2));
}
.section--pillars::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 34px;
  z-index: 2;
  pointer-events: none;
  /* Follows bottom clip-path edge: right at 30px up, left at bottom */
  clip-path: polygon(0 calc(100% - 3px), 100% calc(100% - 30px - 3px), 100% calc(100% - var(--section-chamfer)), 0 100%);
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.7) 10%, #fff 50%, rgba(255,255,255,0.7) 90%, transparent 100%);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.5)) drop-shadow(0 0 20px rgba(255,255,255,0.2));
}
/* === ROGUE AI SECTION === */
/* Borderlands-style intro title */
.rogueai__intro {
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
  text-align: left;
  transform: rotate(-4deg) translateY(40px);
  margin-top: 50px;
  display: inline-block;
}
.rogueai__intro-name {
  font-family: var(--font-comic);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  color: #fff;
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow:
    4px 4px 0 rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 194, 255, 0.2);
  margin: 0;
}
.rogueai__intro-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  padding-left: 6px;
}
.rogueai__intro-role {
  font-family: var(--font-comic);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--neon-blue);
  letter-spacing: 0.04em;
  text-shadow:
    3px 3px 0 rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 194, 255, 0.3);
}
.rogueai__band-stroke {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-38%);
  width: 100vw;
  top: 50%;
  height: 550px;
  z-index: 0;
  pointer-events: none;
  -webkit-filter: drop-shadow(0 -1.5px 0 rgba(255,255,255,0.6)) drop-shadow(0 1.5px 0 rgba(255,255,255,0.6)) drop-shadow(-1.5px 0 0 rgba(255,255,255,0.6)) drop-shadow(1.5px 0 0 rgba(255,255,255,0.6));
  filter: drop-shadow(0 -1.5px 0 rgba(255,255,255,0.6)) drop-shadow(0 1.5px 0 rgba(255,255,255,0.6)) drop-shadow(-1.5px 0 0 rgba(255,255,255,0.6)) drop-shadow(1.5px 0 0 rgba(255,255,255,0.6));
}
.rogueai__band {
  width: 100%;
  height: 100%;
  background: url('Assets/scene-bg-2.webp') center/cover no-repeat;
  clip-path: polygon(0 30%, 100% -10%, 100% 70%, 0 110%);
}
.rogueai {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 40px;
}
.rogueai__left, .rogueai__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rogueai__center {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: -40px;
  opacity: 0;
}
.rogueai__robot {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(800px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  width: var(--robot-w);
  max-height: none;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: url(#rgbShift) drop-shadow(0 0 30px rgba(0, 194, 255, 0.15)) drop-shadow(0 0 60px rgba(255, 61, 113, 0.1));
}
.rogueai__glitchbar {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-mascot);
  opacity: 0;
}
.rogueai__glitchbar img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  transform: translateX(var(--gbar-shift, 10px));
  filter: brightness(1.5) contrast(1.3) saturate(1.4);
}
.rogueai__glitchbar--sweep {
  opacity: 1;
}
.rogueai__card {
  background: var(--card-bg);
  border: var(--card-border);
  border-left: 3px solid var(--neon-blue);
  box-shadow: var(--card-glow);
  padding: 24px 28px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  
}
.rogueai__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid-pattern);
  background-size: var(--grid-size);
  opacity: 0.5;
  pointer-events: none;
}
.rogueai__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-glow-hover);
  border-color: rgba(0, 194, 255, 0.5);
  border-left-color: var(--cyan);
}
.rogueai__number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(0, 194, 255, 0.15);
  margin-bottom: 8px;
  line-height: 1;
}
.rogueai__title {
  font-family: var(--font-comic);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
}
.rogueai__text {
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* === ICEBERG ENTRANCE ANIMATIONS === */
@keyframes icebergTitleSlide {
  0%   { opacity: 0; transform: rotate(3deg) scale(2.5) translateX(80px); filter: blur(6px); }
  30%  { opacity: 1; transform: rotate(3deg) scale(1.05) translateX(-8px); filter: blur(0); }
  50%  { transform: rotate(3deg) scale(0.97) translateX(4px); }
  70%  { transform: rotate(3deg) scale(1.02) translateX(-2px); }
  100% { opacity: 1; transform: rotate(3deg) scale(1) translateX(0); }
}
@keyframes icebergTVSlam {
  0%   { opacity: 0; transform: scale(0.7); filter: brightness(2.5); }
  40%  { opacity: 1; transform: scale(1.03); filter: brightness(1.2); }
  60%  { transform: scale(0.98); filter: brightness(1); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes icebergInfoSlide {
  0%   { opacity: 0; transform: translateX(-60px) translateY(-50%); }
  60%  { opacity: 1; transform: translateX(6px) translateY(-50%); }
  100% { opacity: 1; transform: translateX(0) translateY(-50%); }
}

/* Hidden by default — iceberg */

.section--iceberg .iceberg-wrapper {
  opacity: 0;
}
.section--iceberg .ib-infoscreen {
  opacity: 0;
}

/* Triggered states — iceberg */
.section--iceberg .iceberg__intro.anim-in {
  animation: icebergTitleSlide 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.section--iceberg .iceberg-wrapper.anim-in {
  animation: icebergTVSlam 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.section--iceberg .ib-infoscreen.anim-in {
  animation: icebergInfoSlide 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.section--iceberg .iceberg__intro .rogueai__intro-sub {
  opacity: 0;
}
.section--iceberg .iceberg__intro.anim-in .rogueai__intro-sub {
  animation: icebergSubFade 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}
@keyframes icebergSubFade {
  0%   { opacity: 0; transform: translateX(30px); }
  60%  { opacity: 1; transform: translateX(-3px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Rogue AI sub text slide animation */
.section--pillars .rogueai__intro .rogueai__intro-sub {
  opacity: 0;
}
.section--pillars .rogueai__intro.anim-in .rogueai__intro-sub {
  animation: rogueSubSlide 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
@keyframes rogueSubSlide {
  0%   { opacity: 0; transform: translateY(-20px) translateX(-30px); }
  60%  { opacity: 1; transform: translateY(2px) translateX(3px); }
  100% { opacity: 1; transform: translateY(0) translateX(0); }
}

/* === ROGUE AI ENTRANCE ANIMATIONS === */
@keyframes rogueRobotSlam {
  0%   { opacity: 0; transform: scale(1.8) translateY(-30px); filter: brightness(3) contrast(2); }
  30%  { opacity: 1; transform: scale(1.05) translateY(5px); filter: brightness(1.5) contrast(1.3); }
  50%  { transform: scale(0.98) translateY(-2px); filter: brightness(1); }
  70%  { transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: drop-shadow(0 0 30px rgba(0, 194, 255, 0.15)) drop-shadow(0 0 60px rgba(255, 61, 113, 0.1)); }
}
@keyframes rogueBandSlash {
  0%   { clip-path: polygon(0 30%, 0 -10%, 0 70%, 0 110%); opacity: 0; }
  20%  { opacity: 1; }
  100% { clip-path: polygon(0 30%, 100% -10%, 100% 70%, 0 110%); opacity: 1; }
}
@keyframes rogueTextCrash {
  0%   { opacity: 0; transform: rotate(-4deg) translateY(40px) scale(3) translateX(-60px); filter: blur(8px); }
  25%  { opacity: 1; transform: rotate(-4deg) translateY(40px) scale(1.1) translateX(10px); filter: blur(0); }
  45%  { transform: rotate(-4deg) translateY(40px) scale(0.95) translateX(-5px); }
  65%  { transform: rotate(-4deg) translateY(40px) scale(1.03) translateX(2px); }
  100% { opacity: 1; transform: rotate(-4deg) translateY(40px) scale(1) translateX(0); }
}
@keyframes rogueCardLeft {
  0%   { opacity: 0; transform: translateX(-80px) scale(0.9); }
  60%  { opacity: 1; transform: translateX(8px) scale(1.02); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes rogueCardRight {
  0%   { opacity: 0; transform: translateX(80px) scale(0.9); }
  60%  { opacity: 1; transform: translateX(-8px) scale(1.02); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes rogueBandStroke {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* Hidden by default — waiting for scroll trigger */
.rogueai__band,
.rogueai__band-stroke,
.section--pillars .rogueai__intro,
.rogueai__left .rogueai__card,
.rogueai__right .rogueai__card {
  opacity: 0;
}
/* Triggered states */
.rogueai__center.anim-in {
  animation: rogueRobotSlam 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.rogueai__band.anim-in {
  animation: rogueBandSlash 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.rogueai__band-stroke.anim-in {
  animation: rogueBandStroke 0.3s ease forwards;
}
.section--pillars .rogueai__intro.anim-in {
  animation: rogueTextCrash 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.rogueai__left .rogueai__card.anim-in {
  animation: rogueCardLeft 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.rogueai__right .rogueai__card.anim-in {
  animation: rogueCardRight 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
/* ═══════════════════════════════════════════
   TECH GRID
   ═══════════════════════════════════════════ */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card { background: var(--card-bg); border: var(--outline-light); border-top: 2px solid var(--neon-blue); padding: 28px 24px; box-shadow: var(--card-glow); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; clip-path: var(--chamfer-card-sm); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tech-card:hover { transform: translateY(-3px); box-shadow: var(--card-glow-hover); border-color: rgba(0, 194, 255, 0.4); border-top-color: var(--cyan); }
.tech-card__label { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neon-blue); margin-bottom: 8px; }
.tech-card__value { font-family: var(--font-comic); font-size: 1.35rem; color: #fff; margin-bottom: 10px; }
.tech-card__desc { font-size: 0.88rem; color: var(--silver); line-height: 1.6; }

/* ═══════════════════════════════════════════
   TOKENOMICS
   ═══════════════════════════════════════════ */
.tokenomics-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tokenomics-chart { display: flex; justify-content: flex-end; }
.donut__svg { width: 280px; height: 280px; transform: rotate(-90deg); }
.donut__segment { transition: opacity 0.2s; }
.donut__label { font-family: var(--font-display); font-size: 28px; font-weight: 900; fill: #fff; transform: rotate(90deg); transform-origin: 100px 100px; }
.donut__sublabel { font-family: var(--font-display); font-size: 11px; font-weight: 600; fill: var(--ghost); letter-spacing: 3px; transform: rotate(90deg); transform-origin: 100px 100px; }
.tokenomics-legend { display: flex; flex-direction: column; gap: 16px; }
.legend-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: rgba(15, 25, 40, 0.5); border: 1px solid rgba(0, 194, 255, 0.12); box-shadow: none; transition: transform 0.2s, border-color 0.3s, box-shadow 0.3s; }
.legend-item:hover { transform: translateY(-2px); border-color: rgba(0, 194, 255, 0.35); box-shadow: 0 0 15px rgba(0, 194, 255, 0.08); }
.legend-color { width: 16px; height: 16px; border: 1px solid rgba(255, 255, 255, 0.2); flex-shrink: 0; }
.legend-label { flex: 1; font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; color: var(--silver); }
.legend-pct { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--neon-blue); }

/* ═══════════════════════════════════════════
   ICO PRESALE
   ═══════════════════════════════════════════ */
.ico-rounds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 15px; }
.ico-card { background: var(--card-bg); border: var(--card-border); box-shadow: var(--card-glow); padding: 28px 20px; text-align: center; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; clip-path: var(--chamfer-card); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ico-card:hover { transform: translateY(-4px); box-shadow: var(--card-glow-hover); border-color: rgba(0, 194, 255, 0.5); }
.ico-card__badge { display: inline-block; font-family: var(--font-display); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; padding: 4px 12px; border: 2px solid; margin-bottom: 16px; }
.ico-card__badge--live { background: var(--success); color: var(--bg-dark); border-color: var(--success); box-shadow: 0 0 10px rgba(0, 255, 178, 0.4); animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 178, 0.3); } 50% { box-shadow: 0 0 20px rgba(0, 255, 178, 0.5), 0 0 40px rgba(0, 255, 178, 0.15); } }
.ico-card__badge--sold { background: rgba(107, 114, 128, 0.3); color: var(--silver); border-color: var(--ghost); }
.ico-card__badge--locked { background: transparent; color: var(--ghost); border-color: rgba(107, 114, 128, 0.3); }
.ico-card__title { font-family: var(--font-comic); font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.ico-card__price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--neon-blue); margin-bottom: 4px; }
.ico-card__alloc { font-family: var(--font-body); font-size: 0.8rem; color: var(--ghost); margin-bottom: 16px; }
.ico-card__progress { display: flex; flex-direction: column; gap: 6px; }
.progress-bar { width: 100%; height: 14px; background: rgba(15, 25, 40, 0.8); border: 1px solid rgba(0, 194, 255, 0.2); overflow: hidden; }
.progress-bar__fill { height: 100%; background: repeating-linear-gradient(-45deg, var(--neon-blue), var(--neon-blue) 4px, var(--cyan) 4px, var(--cyan) 8px); transition: width 1.5s ease; position: relative; }
.progress-bar__fill::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent, transparent 4px, rgba(255,255,255,0.15) 4px, rgba(255,255,255,0.15) 8px); animation: stripeSlide 1s linear infinite; }
@keyframes stripeSlide { 0% { background-position: 0 0; } 100% { background-position: 16px 0; } }
.progress-label { font-family: var(--font-display); font-size: 0.65rem; font-weight: 600; color: var(--ghost); letter-spacing: 0.05em; }
.presale-benefits { display: flex; justify-content: flex-end; gap: 24px; flex-wrap: wrap; }
.benefit { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: rgba(15, 25, 40, 0.5); border: 1px solid rgba(0, 194, 255, 0.15); box-shadow: none; font-family: var(--font-body); font-size: 0.85rem; color: var(--silver); }

/* ═══════════════════════════════════════════
   COMMUNITY
   ═══════════════════════════════════════════ */
.community-mascot { display: flex; justify-content: flex-end; margin-bottom: 15px; }
.mascot-img { max-width: 280px; border: 1px solid rgba(0, 194, 255, 0.2); box-shadow: 0 0 30px rgba(0, 194, 255, 0.1); background: rgba(15, 25, 40, 0.5); padding: 8px; clip-path: var(--chamfer-card); }
.social-links { display: flex; justify-content: flex-end; gap: 20px; flex-wrap: wrap; }
.social-link { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid rgba(0, 194, 255, 0.2); box-shadow: none; background: rgba(15, 25, 40, 0.5); color: var(--silver); transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, background 0.3s ease, border-color 0.3s ease; clip-path: var(--chamfer-card-sm); }
.social-link:hover { transform: translateY(-3px); box-shadow: 0 0 20px rgba(0, 194, 255, 0.25); background: rgba(0, 194, 255, 0.15); color: var(--neon-blue); border-color: rgba(0, 194, 255, 0.5); }
.social-icon { width: 24px; height: 24px; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer { background: var(--bg-dark); padding: 60px 0 40px; border-top: none; position: relative; margin-top: 0; }
.section--team { padding-bottom: 0 !important; margin-bottom: 0; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--neon-blue), var(--cyan), var(--neon-blue), transparent); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { width: 48px; height: 48px; margin-bottom: 12px; filter: drop-shadow(0 0 12px rgba(0,194,255,0.3)); }
.footer__tagline { font-family: var(--font-comic); font-size: 1.1rem; color: var(--neon-blue); margin-bottom: 12px; }
.footer__copy { font-size: 0.8rem; color: var(--ghost); }
.footer__heading { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--neon-blue); margin-bottom: 16px; }
.footer__list li { margin-bottom: 8px; }
.footer__list a { font-size: 0.88rem; color: var(--silver); transition: color 0.2s; }
.footer__list a:hover { color: var(--neon-blue); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* === ICEBERG SECTION === */
.iceberg-wrapper {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
}
/* SVG outline matching hero style */
.iceberg-tv-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-outline);
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.05));
}
/* TV screen container — clips all effects inside */
.iceberg-tv-screen {
  position: relative;
  background: #000;
  overflow: hidden;
  clip-path: polygon(
    0% 0%,
    75% 0%,
    78% 3%,
    97.5% 3%,
    100% 5.5%,
    100% 97%,
    98% 100%,
    52% 100%,
    48% 99.5%,
    2% 100%,
    0% 97%
  );
}
/* CRT scanlines over iceberg TV */
.iceberg-tv-scanlines {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.12) 0px,
    rgba(0, 0, 0, 0.12) 1px,
    transparent 1px,
    transparent 2px
  );
}
/* CRT vignette on iceberg TV */
.iceberg-tv-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 60%,
    rgba(0, 0, 0, 0.25) 100%
  );
}
/* VHS rolling bands inside iceberg TV */
.iceberg-tv-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
.iceberg-tv-overlay::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -100%; height: 300%;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 20%,
      rgba(0, 0, 0, 0.10) 21%,
      rgba(0, 0, 0, 0.18) 24%,
      rgba(0, 0, 0, 0.10) 27%,
      transparent 28%,
      transparent 50%,
      rgba(0, 0, 0, 0.06) 51%,
      rgba(0, 0, 0, 0.12) 53%,
      rgba(0, 0, 0, 0.06) 55%,
      transparent 56%,
      transparent 78%,
      rgba(0, 0, 0, 0.05) 79%,
      rgba(0, 0, 0, 0.10) 81%,
      rgba(0, 0, 0, 0.05) 83%,
      transparent 84%,
      transparent 100%
    );
  animation: vhsBandsDown 8s linear infinite;
}
.iceberg-tv-overlay::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -100%; height: 200%;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 45%,
      rgba(255, 255, 255, 0.02) 46%,
      rgba(255, 255, 255, 0.04) 48%,
      rgba(255, 255, 255, 0.02) 50%,
      transparent 51%,
      transparent 100%
    );
  animation: vhsBandsDown2 5s linear infinite;
}
/* VHS scanfall — colored jittering bands (same as hero) */
.iceberg-tv-scanfall {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 194, 255, 0.12),
    transparent 2px,
    rgba(0, 194, 255, 0.3) 10px,
    transparent 10px
  );
  opacity: 0.15;
  filter: blur(0.5px);
  animation: vhsJitter 5s ease-in-out infinite;
  animation-delay: 2s;
  transform-origin: center center;
}
.iceberg-tv-scanfall::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  top: -5px; left: -5px;
  background: repeating-linear-gradient(
    0deg,
    rgba(47, 243, 255, 0.15),
    transparent 2px,
    rgba(0, 255, 178, 0.3) 10px,
    transparent 10px
  );
  animation: vhsJitter 3s ease-in-out infinite;
  animation-delay: 1s;
  transform-origin: center center;
}
.iceberg-tv-scanfall::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  top: -2px; left: -2px;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.12),
    transparent 2px,
    rgba(255, 255, 255, 0.3) 10px,
    transparent 10px
  );
  animation: vhsJitter 2s ease-in-out infinite;
  transform-origin: center center;
}
.iceberg-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 40px rgba(0, 194, 255, 0.08));
}
.iceberg-svg text {
  font-family: 'Orbitron', sans-serif;
}
.ib-sky-bk {
  transform-origin: center top;
}
.ib-dn {
  opacity: 0;
}
.ib-callouts line, .ib-callouts path {
  filter: drop-shadow(0 0 4px rgba(0, 194, 255, 0.2));
}

/* === ICEBERG INFO SCREEN === */

.ib-hotspot { cursor: pointer; }
.ib-hotspot:hover .ib-hotspot__ring {
  fill: rgba(0, 194, 255, 0.4);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(0, 194, 255, 0.6));
}
.ib-hotspot:hover .ib-hotspot__dot {
  fill: #fff;
}
.ib-hotspot:hover text {
  filter: drop-shadow(0 0 6px rgba(0, 194, 255, 0.5));
}
.ib-hotspot:hover path {
  stroke: rgba(0, 194, 255, 0.7);
  filter: drop-shadow(0 0 4px rgba(0, 194, 255, 0.3));
}

.ib-infoscreen {
  position: absolute;
  left: -350px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  min-height: 440px;
  background: rgba(8, 14, 25, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 194, 255, 0.2);
  clip-path: var(--chamfer-card);
  padding: 28px 24px 24px;
  box-shadow: 0 0 30px rgba(0, 194, 255, 0.06), inset 0 0 30px rgba(0, 194, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
}
.ib-infoscreen--active {
  border-color: rgba(0, 194, 255, 0.4);
  box-shadow: 0 0 40px rgba(0, 194, 255, 0.12), inset 0 0 30px rgba(0, 194, 255, 0.03);
}
/* Idle state */
.ib-infoscreen__idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  text-align: center;
}
.ib-infoscreen__idle-icon {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--neon-blue);
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(0, 194, 255, 0.4);
  animation: ib-blink 1.2s step-end infinite;
}
@keyframes ib-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.ib-infoscreen__idle-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ghost);
  line-height: 1.6;
}
/* Content transition */
.ib-infoscreen__content {
  animation: ib-fadeIn 0.3s ease;
}
@keyframes ib-fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.ib-infoscreen__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 194, 255, 0.015) 2px,
    rgba(0, 194, 255, 0.015) 4px
  );
  pointer-events: none;
  z-index: 1;
}
.ib-infoscreen__tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--neon-blue);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.ib-infoscreen__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-shadow: 0 0 12px rgba(0, 194, 255, 0.2);
}
.ib-infoscreen__desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.55;
  margin-bottom: 14px;
}
.ib-infoscreen__divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 194, 255, 0.3), transparent);
  margin-bottom: 12px;
}
.ib-infoscreen__sol-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--success);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.ib-infoscreen__sol-text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--silver);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .cards--3, .pillars, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .rogueai { grid-template-columns: 1fr; }
  .rogueai__center { order: -1; margin-bottom: 0; }
  .rogueai__robot { max-height: 350px; height: auto; }
  .ico-rounds { grid-template-columns: repeat(2, 1fr); }
  .tokenomics-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-tv { padding: 16px 20px; }
  .hero__slide-mascot { width: 70%; }
  .hero__content { max-width: 360px; }
  .creation-adam__left, .creation-adam__right { width: 500px; }
  .creation-adam__v { width: 700px; height: 600px; }
  .creation-adam { height: 450px; }
  .miners-grid { margin-top: 0; }
  .section--miners { padding-bottom: 40px; }
}

@media (max-width: 768px) {
  .nav__hamburger { display: flex; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(11,15,20,0.96); backdrop-filter: blur(16px); padding: 20px; gap: 12px; border-bottom: 2px solid var(--base-accent); }
  .nav__links--open { display: flex; }
  .cards--3, .pillars, .tech-grid, .ico-rounds { grid-template-columns: 1fr; }
  .rogueai__robot { max-height: 280px; height: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }

  .hero-tv { padding: 12px 14px; }
  .hero__content { left: 24px; max-width: 55%; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 4rem); }
  .hero__slide-mascot { width: 90%; height: 110%; bottom: -8%; }
  .hero__slide-mascot img { object-position: bottom center; }
  .hero__slide-mascot--robot { width: 180%; height: 200%; bottom: 0%; left: 50%; transform: translateX(-50%); }
  .hero__thumbs { left: 24px; bottom: 24px; gap: 6px; }
  .hero__thumb { width: 72px; height: 72px; }
  
  .hero__ticker { right: 24px; bottom: 100px; max-width: 200px; }
  .hero__visualizer { right: 24px; bottom: 24px; }

  .section { padding: 80px 0; }
  .section--iceberg, .section--pillars, .section--tech, .section--roadmap, .section--upcoming, .section--community, .section--mascots {
    margin-top: calc(-1 * var(--section-chamfer)); padding-top: 80px; padding-bottom: 80px;
  }
  .presale-benefits { flex-direction: column; align-items: center; }
  .card, .ico-card { clip-path: var(--chamfer-card-sm); }
  .card, .pillar, .tech-card, .ico-card { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
  .donut__svg { width: 280px; height: 220px; }
  .hero-tv__logo { left: 14px !important; right: auto !important; }
  .creation-adam__left,   .creation-adam__v { width: 400px; height: 350px; }
  .creation-adam { height: 320px; }
  .creation-adam__left, .creation-adam__right { top: 70%; }
  .miners-grid { margin-top: 0; }
  .section--miners { padding-bottom: 60px; }
  .rogueai__band-stroke { width: 100%; left: 0; transform: translateY(-38%); }
  .iceberg__band-stroke { width: 100%; left: 0; transform: translateY(-38%) scaleX(-1); }
  
  /* Rogueai cards carousel */
  .rogueai {
    display: flex !important;
    grid-template-columns: unset;
    position: static !important;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 280px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 24px 16px;
    width: 100%;
    left: auto;
    transform: none;
  }
  .rogueai__left, .rogueai__right {
    display: contents;
  }
  .rogueai__center {
    display: block !important;
    position: absolute !important;
    top: 40%;
    left: 90%;
    transform: translateX(-50%) scale(1.5) !important;
    width: 130vw !important;
    height: auto !important;
    opacity: 1 !important;
    animation: none !important;
    z-index: 1;
    margin: 0 !important;
    pointer-events: none;
  }
  .rogueai__center.anim-in {
    animation: none !important;
    opacity: 1 !important;
    transform: translateX(-50%) scale(1.5) !important;
  }
  .rogueai__robot {
    max-height: 1400px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }
  .section--pillars { padding-top: 120px !important; padding-bottom: 40px !important; }
  .section--miners > .container {
    display: flex;
    flex-direction: column;
  }
  .section--miners .miners__intro { order: 1; }
  .section--miners .global-coverage { order: 2; }
  .section--miners .miners-grid { order: 3; }
  .miners-grid {
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }
  .miners-grid .globe-container { order: 1; }
  .miners-grid .cp-card { order: 2; }
  .miners-grid .deploy-calc { order: 3; }
  .rogueai__card { position: relative; z-index: 3; }
  .section--pillars .rogueai__intro { margin-top: -20px !important; transform: rotate(-4deg) translateY(0px) !important; }
  .pillars-disclaimer, .section--pillars .miners-disclaimer { margin-top: -60px; }
  .rogueai__card {
    flex: 0 0 85vw;
    max-width: 85vw;
    scroll-snap-align: center;
    opacity: 1 !important;
    animation: none !important;
  }
  .rogueai__left .rogueai__card,
  .rogueai__right .rogueai__card {
    opacity: 1 !important;
    animation: none !important;
  }
  .rogueai::-webkit-scrollbar {
    display: none;
  }
  .rogueai {
    scrollbar-width: none;
  }
  /* Carousel swipe arrows */
  .section--pillars .container {
    position: relative;
  }
  .section--pillars .container::before,
  .section--pillars .container::after {
    content: '';
    position: absolute;
    top: 78%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: rgba(0, 194, 255, 0.15);
    border: 1px solid rgba(0, 194, 255, 0.4);
    border-radius: 50%;
    z-index: 10;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
  }
  .section--pillars .container::before {
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C2FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
  }
  .section--pillars .container::after {
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C2FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 6 15 12 9 18'/%3E%3C/svg%3E");
  }
  .section--iceberg .iceberg__intro { right: 20px; top: 60px; }
  
}

@media (max-width: 480px) {
  .hero-tv { padding: 8px 10px; }
  .hero-tv__bezel::before { border-radius: 8px; }
  .hero-tv__screen, .hero-tv__screen::after { border-radius: 8px; }
  .hero__content { max-width: 65%; left: 16px; }
  .hero__slide-mascot { width: 100%; height: 110%; bottom: -8%; }
  .hero__slide-mascot--robot { width: 220%; height: 240%; bottom: -3%; left: 50%; transform: translateX(-50%); }
  .hero__thumbs { gap: 4px; }
  .hero__thumb { width: 60px; height: 60px; }
  .hero__cta-btn { font-size: 0.7rem; padding: 10px 20px; }
  .social-link { width: 48px; height: 48px; clip-path: none; }
  .card, .ico-card, .tech-card, .mascot-img { clip-path: none; }
  .card, .pillar, .tech-card, .ico-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(15, 25, 40, 0.85); }
  .creation-adam__left, .creation-adam__right { width: 220px; }
  .creation-adam__v { width: 280px; height: 250px; }
  .creation-adam { height: 250px; }
  .miners-grid { margin-top: 0; }
  .section--miners { padding-bottom: 40px; }
  .section--iceberg .iceberg__intro { right: 12px; top: 40px; font-size: 0.7em; }
}

/* ═══ Miners cards — Codepen 3D card layout ═══ */
.miners-grid {
  position: relative;
  min-height: 620px;
  margin: 0;
  padding-top: 80px;
  overflow: visible;
}
.section--miners {
  padding-bottom: 80px;
  overflow: visible;
}
.miners__intro {
  text-align: center;
  margin: 0 auto 0;
  transform: rotate(-4deg);
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  z-index: 3;
}
.section--miners > .container {
  overflow: visible;
}

/* --- DEPLOY CALC BLOCK --- */
.deploy-calc {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-above);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  width: 280px;
  background: rgba(15, 25, 40, 0.85);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(8px);
}
.deploy-calc__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ghost);
  margin: 0 0 20px;
}
.deploy-calc__formula {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--silver);
  margin-bottom: 24px;
  line-height: 1.6;
}
.deploy-calc__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
}
.deploy-calc__total {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(47, 243, 255, 0.4);
}
.deploy-calc__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  width: 100%;
}
.deploy-calc__stats li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--silver);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 194, 255, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.deploy-calc__stats li:last-child {
  border-bottom: none;
}
.deploy-calc__icon {
  color: var(--neon-blue);
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* --- GLOBE CONTAINER --- */
.globe-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  overflow: visible;
  pointer-events: auto;
  z-index: 0;
}
.globe-container canvas,
.globe-container > div {
  overflow: visible !important;
}

/* --- GLOBAL COVERAGE PUNCH --- */
.global-coverage {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 100%;
  margin: 80px auto 0;
  padding: 28px 48px;
  background: rgba(15, 25, 40, 0.7);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.global-coverage__tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-blue);
}
.global-coverage__price {
  font-family: var(--font-comic);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: #fff;
  margin: 8px 0 12px;
  line-height: 1;
  text-shadow:
    4px 4px 0 rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 194, 255, 0.3);
}
.global-coverage__lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--silver);
  line-height: 1.5;
  margin-bottom: 16px;
}
.global-coverage__body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ghost);
  line-height: 1.6;
  margin-bottom: 16px;
}
.global-coverage__body p {
  margin-bottom: 8px;
}
.global-coverage__kicker {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(47, 243, 255, 0.3);
  padding-top: 12px;
  border-top: 1px solid rgba(0, 194, 255, 0.15);
}

/* Miners comic disclaimer */
.miners-disclaimer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto -60px auto 0;
  cursor: pointer;
  z-index: 5;
}
.roadmap-disclaimer {
  position: absolute;
  right: 40px;
  top: 120px;
  margin: 0;
  z-index: 10;
}
.miners-disclaimer__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.miners-disclaimer__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-family: var(--font-comic);
  font-size: 2.2rem;
  color: #fff;
  background: #FF3D71;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 3px #FF3D71,
    4px 4px 0 0 #000,
    0 0 20px rgba(255, 61, 113, 0.5);
  animation: disclaimerPulse 2s ease-in-out infinite;
  position: relative;
}
.miners-disclaimer__icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 61, 113, 0.4);
  animation: disclaimerSpin 8s linear infinite;
}
@keyframes disclaimerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes disclaimerSpin {
  to { transform: rotate(360deg); }
}
.miners-disclaimer__label {
  font-family: var(--font-comic);
  font-size: 0.75rem;
  color: var(--ghost);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Tooltip bubble — comic style */
.miners-disclaimer__bubble {
  position: absolute;
  left: 100%;
  top: 26px;
  transform: translateY(-50%) scale(0.9);
  width: 280px;
  padding: 16px 18px 16px 32px;
  margin-left: 14px;
  background: #fff;
  color: #111;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.5;
  border-radius: 12px;
  border: 3px solid #111;
  box-shadow: 5px 5px 0 0 #111;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10;
}
/* Comic tail pointing left */
.miners-disclaimer__bubble::after {
  content: '';
  position: absolute;
  left: -14px;
  top: 26px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 14px 12px 0;
  border-color: transparent #111 transparent transparent;
}
.miners-disclaimer__bubble::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 26px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 12px 10px 0;
  border-color: transparent #fff transparent transparent;
  z-index: 1;
}
/* Invisible hover bridge so mouse can reach the bubble */
.miners-disclaimer__badge::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 0;
  width: 320px;
  height: 100%;
  pointer-events: none;
}
.miners-disclaimer:hover .miners-disclaimer__badge::after {
  pointer-events: auto;
}
.miners-disclaimer:hover .miners-disclaimer__bubble {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}
.miners-disclaimer__bubble p {
  margin: 0 0 10px;
  color: #333;
}
.miners-disclaimer__bubble strong {
  color: #FF3D71;
}
.miners-disclaimer__link {
  display: inline-block;
  font-family: var(--font-comic);
  font-size: 0.8rem;
  color: #fff;
  background: #FF3D71;
  padding: 6px 14px;
  border-radius: 6px;
  border: 2px solid #111;
  box-shadow: 2px 2px 0 0 #111;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.miners-disclaimer__link:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 0 #111;
}

/* Pillars disclaimer — between band and cards grid, right-aligned */
.pillars-disclaimer {
  margin: 30px 0 20px auto;
  flex-direction: row;
  align-items: center;
  gap: 0;
  width: fit-content;
}
.pillars-disclaimer .miners-disclaimer__icon {
  background: var(--neon-blue);
  box-shadow:
    0 0 0 3px var(--neon-blue),
    4px 4px 0 0 #000,
    0 0 20px rgba(0, 194, 255, 0.5);
}
.pillars-disclaimer .miners-disclaimer__icon::after {
  border-color: rgba(0, 194, 255, 0.4);
}
.pillars-disclaimer .miners-disclaimer__bubble strong {
  color: var(--neon-blue);
}
.pillars-disclaimer .miners-disclaimer__link {
  background: var(--neon-blue);
}

.miners__note {
  text-align: center;
  max-width: 640px;
  margin: 80px auto 0;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ghost);
  letter-spacing: 0.02em;
  line-height: 1.6;
  border: 1px solid rgba(0, 194, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(15, 25, 40, 0.4);
}

.cp-card {
  --clr: #1a2a3a; --fclr: #e0f0ff;
  width: 280px; height: 480px;
  background: var(--clr);
  border-radius: 8px;
  box-shadow:
    -8px -8px 24px 0 #fffc,
    1px 1px 3px 0px #0002,
    12px 42px 24px -8px #0001,
    10px 24px 42px 0 #0001,
    1px 4px 12px 0 #0002;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  cursor: pointer;
  z-index: 2;
  margin: 0;
}
.cp-card:nth-child(1) {
  box-shadow:
    -8px -8px 24px 0 rgba(0,194,255,0.08),
    1px 1px 3px 0px rgba(0,194,255,0.3),
    12px 42px 24px -8px rgba(0,194,255,0.12),
    10px 24px 42px 0 rgba(0,194,255,0.12),
    1px 4px 12px 0 rgba(0,194,255,0.2);
}
.cp-card:nth-child(2) {
  --clr: #2a1a1a; --fclr: #ffe0e0;
  box-shadow:
    -8px -8px 24px 0 rgba(255,61,113,0.08),
    1px 1px 3px 0px rgba(255,61,113,0.3),
    12px 42px 24px -8px rgba(255,61,113,0.12),
    10px 24px 42px 0 rgba(255,61,113,0.12),
    1px 4px 12px 0 rgba(255,61,113,0.2);
}

.cp-content {
  position: relative;
  z-index: 1;
  bottom: 0;
  top: unset;
  height: fit-content;
  padding: 12px 24px;
}
.cp-content h2,
.cp-content p {
  margin: 0;
  padding: 0;
  line-height: 124%;
  margin-bottom: 16px;
  font-weight: 500;
  color: var(--fclr);
  font-family: 'Satoshi', 'Outfit', sans-serif;
}
/* Miner spec list */
.cp-specs {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
}
.cp-specs li {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--fclr);
}
.cp-specs li:last-child {
  border-bottom: none;
}
.cp-specs li span:first-child {
  opacity: 0.55;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.cp-specs li span:last-child {
  font-weight: 600;
}

.cp-options {
  position: absolute;
  display: flex;
  gap: 4px;
  bottom: 8px;
  right: 12px;
}
.cp-options > div {
  cursor: pointer;
  width: 24px;
  height: 16px;
  border-radius: 4px;
  background: white;
  border: 1px solid rgba(170, 170, 170, 0.53);
  transition: border 0.1s ease-in-out;
}
.cp-options > div:hover {
  border: 1px solid #fff;
}

.cp-glass {
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(transparent, var(--clr) 80%);
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  overflow: hidden;
}

.cp-overflow {
  pointer-events: none;
  position: absolute;
  width: 200%;
  height: 200%;
  overflow: hidden;
  display: flex;
  justify-content: end;
  align-items: end;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 75% 60%, 75% 100%, 25% 100%, 25% 60%, 0 60%);
}

.cp-model {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: -10%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cp-model model-viewer {
  position: absolute;
  width: 500px;
  height: calc((5/3) * var(--scale));
  --progress-bar-color: none;
  --progress-bar-height: 0px;
  opacity: 0;
  transition: filter 0.4s ease-in-out;
}
.cp-model model-viewer.loaded {
  animation: cpOnLoad 1s ease-in forwards;
}
.cp-miner-img {
  position: absolute;
  width: 85%;
  max-width: 85%;
  height: auto;
  bottom: 25%;
  left: 50%;
  transform: translate(-50%, 0) rotate(-6deg) scale(1.08);
  object-fit: contain;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease-in-out;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.5));
}
.cp-miner-img.loaded {
  animation: cpOnLoad 1s ease-in forwards;
}
.cp-card:hover .cp-miner-img {
  transform: translate(-50%, 10%) rotate(0deg) scale(0.92);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
/* Override cp-overflow for static images instead of 3D models */
.cp-overflow:has(.cp-miner-img) {
  width: 100%;
  height: 100%;
  clip-path: none;
  overflow: visible;
}
.cp-model:has(.cp-miner-img) {
  width: 100%;
  height: 100%;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
@keyframes cpOnLoad {
  to { opacity: 1; }
}

/* Codepen gradient blur */
.cp-gradient-blur {
  position: absolute;
  z-index: 1;
  height: 100%;
  inset: auto 0 0 0;
  pointer-events: none;
}
.cp-gradient-blur > div,
.cp-gradient-blur::before,
.cp-gradient-blur::after {
  position: absolute;
  inset: 0;
  --p1: 0%; --p2: 12.5%; --p3: 25%; --p4: 37.5%;
  --p5: 50%; --p6: 62.5%; --p7: 75%; --p8: 87.5%; --p9: 100%;
  content: "";
    z-index: 8;
    backdrop-filter: blur(64px);
    mask: linear-gradient(to bottom, rgba(0,0,0,0) var(--p8), rgba(0,0,0,1) var(--p9));
}
.cp-gradient-blur::before {
  content: "";
  z-index: 1;
  backdrop-filter: blur(0.5px);
  mask: linear-gradient(to bottom, rgba(0,0,0,0) var(--p1), rgba(0,0,0,1) var(--p2), rgba(0,0,0,1) var(--p3), rgba(0,0,0,0) var(--p4));
}
.cp-gradient-blur > div:nth-of-type(1) {
  z-index: 2;
  backdrop-filter: blur(1px);
  mask: linear-gradient(to bottom, rgba(0,0,0,0) var(--p2), rgba(0,0,0,1) var(--p3), rgba(0,0,0,1) var(--p4), rgba(0,0,0,0) var(--p5));
}
.cp-gradient-blur > div:nth-of-type(2) {
  z-index: 3;
  backdrop-filter: blur(2px);
  mask: linear-gradient(to bottom, rgba(0,0,0,0) var(--p3), rgba(0,0,0,1) var(--p4), rgba(0,0,0,1) var(--p5), rgba(0,0,0,0) var(--p6));
}
.cp-gradient-blur > div:nth-of-type(3) {
  z-index: 4;
  backdrop-filter: blur(4px);
  mask: linear-gradient(to bottom, rgba(0,0,0,0) var(--p4), rgba(0,0,0,1) var(--p5), rgba(0,0,0,1) var(--p6), rgba(0,0,0,0) var(--p7));
}
.cp-gradient-blur > div:nth-of-type(4) {
  z-index: 5;
  backdrop-filter: blur(8px);
  mask: linear-gradient(to bottom, rgba(0,0,0,0) var(--p5), rgba(0,0,0,1) var(--p6), rgba(0,0,0,1) var(--p7), rgba(0,0,0,0) var(--p8));
}
.cp-gradient-blur > div:nth-of-type(5) {
  z-index: 6;
  backdrop-filter: blur(16px);
  mask: linear-gradient(to bottom, rgba(0,0,0,0) var(--p6), rgba(0,0,0,1) var(--p7), rgba(0,0,0,1) var(--p8), rgba(0,0,0,0) var(--p9));
}
.cp-gradient-blur > div:nth-of-type(6) {
  z-index: 7;
  backdrop-filter: blur(32px);
  mask: linear-gradient(to bottom, rgba(0,0,0,0) var(--p7), rgba(0,0,0,1) var(--p8), rgba(0,0,0,1) var(--p9));
}
/* Codepen responsive */
@media (max-width: 700px) {
  .miners-grid { grid-template-columns: 1fr; gap: 24px; justify-items: center; }
  .globe-container { height: 350px; }
}

/* ═══ Creation Adam — mascots meet from sides ═══ */
.creation-adam {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 650px;
  margin-bottom: 40px;
  overflow: visible;
}
.creation-adam__left,
.creation-adam__right {
  position: absolute;
  z-index: 2;
  top: 75%;
  transform: translateY(-50%);
  width: 850px;
  pointer-events: none;
}
.creation-adam__left {
  left: -30%;
  z-index: 2;
}
.creation-adam__left img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 194, 255, 0.2));
}
.creation-adam__right {
  right: -30%;
  z-index: 2;
}
.creation-adam__right img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255, 61, 113, 0.2));
}
.creation-adam.anim-in .creation-adam__left {
  animation: adamSlideLeft 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  z-index: 2;
}
.creation-adam.anim-in .creation-adam__right {
  animation: adamSlideRight 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  z-index: 2;
}
@keyframes adamSlideLeft {
  0%   { left: -30%; }
  100% { left: -12%; }
}
@keyframes adamSlideRight {
  0%   { right: -30%; }
  100% { right: -12%; }
}

/* Big V shape behind mascots */
.creation-adam__v {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 1000px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 0 25px rgba(0, 194, 255, 0.3)) drop-shadow(0 0 25px rgba(255, 61, 113, 0.3));
}
.creation-adam.anim-in .creation-adam__v {
  animation: vAppear 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
@keyframes vAppear {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ======= Team Anonymous Section ======= */
.section.section--team .section.section--team {
  margin-top: calc(-1 * var(--section-chamfer));
  clip-path: none;
  padding-top: 80px;
  padding-bottom: 0px;
  overflow: visible;
  background: radial-gradient(ellipse 150% 120% at 50% 60%, rgba(120, 12, 12, 0.28) 0%, rgba(60, 6, 6, 0.18) 35%, rgba(30, 4, 4, 0.08) 55%, transparent 80%),
              radial-gradient(ellipse 130% 100% at 50% 70%, rgba(80, 8, 8, 0.18) 0%, transparent 60%),
              var(--bg-section-2, #080c12);
}
.section--team::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("Assets/scene-overlay.webp") center bottom / 100% auto no-repeat;
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}
.team-anon {
  display: flex;
  justify-content: center;
  padding: 0;
  margin-top: 0;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}
.team-anon__statement {
  max-width: 680px;
  text-align: left;
  padding: 36px 40px;
  background: #2a1a1a;
  transform: translateY(-30px);
  border: 1px solid rgba(255,61,113,0.25);
  border-radius: 2px;
  box-shadow:
    -8px -8px 24px 0 rgba(255,61,113,0.08),
    1px 1px 3px 0px rgba(255,61,113,0.3),
    12px 42px 24px -8px rgba(255,61,113,0.12),
    0 0 40px rgba(255,61,113,0.06);
  position: relative;
}
.team-anon__statement p {
  font-size: 0.88rem;
  color: #ffe0e0;
  line-height: 1.9;
  margin-bottom: 14px;
  letter-spacing: 0.015em;
  opacity: 0.75;
}
.team-anon__statement .team-anon__lead {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 1;
}
.team-anon__statement .team-anon__signature {
  color: rgba(255,61,113,0.9);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,61,113,0.2);
  opacity: 1;
}

/* ======= Team Formation ======= */
.team-formation {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 0px;
  padding-bottom: 0px;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  position: relative;
}
.team-formation__member {
  flex: 0 0 auto;
  width: 1000px;
  height: 500px;
  position: relative;
  margin: 0 -350px;
  z-index: 1;
}
.team-formation__member--center {
  z-index: 3;
}
.team-formation__member:nth-child(2),
.team-formation__member:nth-child(4) {
  z-index: 2;
}
.team-formation__member:nth-child(1),
.team-formation__member:nth-child(5) {
  z-index: 1;
}
.team-formation__member img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  width: 1200px;
  height: auto;
  max-height: none;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);

}

@media (max-width: 768px) {
  .team-formation__member { width: 140px; height: 200px; margin: 0 -10px; }
}

/* ─── JS UTILITY CLASSES ─── */
.svg-defs { position: absolute; width: 0; height: 0; }
.js-hidden { opacity: 0; }
.js-visible { opacity: 1; }
.js-fade-in { opacity: 0; transition: opacity var(--dur-transition, 300ms) ease-out; }
.js-fade-in.js-visible { opacity: 1; }
.js-no-anim { animation: none !important; }
.js-wave-glitch { filter: url(#waveGlitch); }
.blend-multiply { mix-blend-mode: multiply; }
.blend-screen { mix-blend-mode: screen; }
.ib-root { isolation: isolate; }
.ib-infoscreen__idle--hidden { display: none; }
.ib-infoscreen__content--hidden { display: none; }
.hero__slide-bg--scene1 { background-image: url('Assets/bg-scene-1.webp'); }
.hero__slide-bg--scene2 { background-image: url('Assets/scene-bg-2.webp'); }
.hero__thumb-img--top { object-position: top center; }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE CSS - Appended Consolidated Rules
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── MOBILE: 1024px ─── */
@media (max-width: 1024px) {
  .team-formation__member { width: 400px; height: 300px; margin: 0 -120px; }
  .team-formation__member img { width: 500px; }
  .hero-tv__logo { left: auto; right: 20px; }
}

/* ─── MOBILE: 768px ─── */
@media (max-width: 768px) {
  /* Phase 1: Team formation */
  .team-formation__member { width: 200px; height: 240px; margin: 0 -30px; }
  .team-formation__member img { width: 280px; }

  /* Phase 2A: Video preview - show repositioned */
  .hero__video-preview {
    display: block;
    position: absolute;
    top: 70px;
    bottom: auto;
    right: 24px;
    left: auto;
    width: 140px;
  }
  .hero__video-preview-frames { height: 100px; }
  .hero__video-play { top: 50px; width: 36px; height: 36px; }
  .hero__video-label { font-size: 0.75rem; }

  /* Phase 2B: Iceberg infoscreen - show below SVG */
  .ib-infoscreen {
    display: block;
    position: relative;
    left: auto;
    top: auto;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    min-height: auto;
    height: auto;
    overflow: visible;
    animation: none !important;
    opacity: 1 !important;
  }
  .ib-infoscreen__idle-text { font-size: 0; }
  .ib-infoscreen__idle-text::after {
    content: 'Tap a problem to learn more';
    font-size: 0.95rem;
  }

  /* Phase 3: Globe container */
  .globe-container {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 0;
  }

  /* Phase 4: Hero content */
  .hero__content { top: 45%; max-width: 55%; }
  .hero__desc {
    font-size: 0.78rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Phase 5: Creation Adam */
  .creation-adam { height: 280px; margin-bottom: 20px; }
  .creation-adam__left, .creation-adam__right { width: 300px; top: 60%; }
  .creation-adam__v { width: 350px; height: 300px; }
  .creation-adam.anim-in .creation-adam__left { left: -5% !important; }
  .creation-adam.anim-in .creation-adam__right { right: -5% !important; }

  /* Phase 7: Deploy-calc */
  .deploy-calc {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 400px;
    margin: 24px auto 0;
  }

  /* Phase 7: CP-card (miner) */
  .cp-card {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Phase 7: Global coverage */
  .global-coverage { padding: 20px 24px; margin-top: 40px; }
  .global-coverage__lead { font-size: 0.92rem; }
  .global-coverage__lead br { display: none; }

  /* Phase 7: Team anon */
  .team-anon__statement { padding: 24px; max-width: 100%; }

  /* Phase 7: Miners disclaimer */
  .miners-disclaimer__bubble {
    left: auto;
    right: 0;
    top: 100%;
    transform: scale(0.9);
    margin-left: 0;
    margin-top: 10px;
    width: 260px;
  }
  .miners-disclaimer__bubble::after,
  .miners-disclaimer__bubble::before { display: none; }
  .miners-disclaimer:hover .miners-disclaimer__bubble { transform: scale(1); }
}

/* ─── MOBILE: 480px ─── */
@media (max-width: 480px) {
  /* Phase 1: Team formation */
  .team-formation__member { width: 120px; height: 180px; margin: 0 -15px; }
  .team-formation__member img { width: 180px; }

  /* Phase 1: Robot */
  .rogueai__robot { max-height: 200px; width: 100%; max-width: 300px; }

  /* Phase 1: Hero TV clip-path */
  .hero-tv__screen { clip-path: none; }
  .hero-tv__outline { display: none; }

  /* Phase 2A: Video preview smaller */
  .hero__video-preview { width: 120px; top: 70px; bottom: auto; right: 16px; }
  .hero__video-preview-frames { height: 80px; }
  .hero__video-play { top: 40px; width: 32px; height: 32px; }

  /* Phase 3: Globe */
  .globe-container { height: 300px; }

  /* Phase 4: Hero content */
  .hero__content { max-width: 70%; left: 16px; top: 40%; }
  .hero__title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero__desc { font-size: 0.75rem; margin-top: 12px; -webkit-line-clamp: 3; }
  .hero__line { margin: 14px 0; }
  .hero__ticker { bottom: 65px; right: 16px; max-width: 150px; }
  .hero__visualizer { right: 16px; bottom: 16px; }
  .hero__thumbs { left: 16px; bottom: 16px; }

  /* Phase 5: Creation Adam */
  .creation-adam { height: 200px; }
  .creation-adam__left, .creation-adam__right { width: 180px; }
  .creation-adam__v { width: 220px; height: 200px; }
  .creation-adam.anim-in .creation-adam__left { left: 0% !important; }
  .creation-adam.anim-in .creation-adam__right { right: 0% !important; }

  /* Phase 6: Spacing */
  .section { padding: 50px 0; }
  .section--iceberg, .section--pillars, .section--tech,
  .section--upcoming, .section--community, .section--mascots {
    padding-top: 50px; padding-bottom: 50px;
  }
  .section--roadmap {
    padding-top: 500px !important; padding-bottom: 160px !important;
  }
  .container { padding: 0 16px; }
  .section__header { margin-bottom: 36px; }
  .tech-grid, .cards--3 { gap: 16px; }

  /* Phase 7: Deploy-calc full width */
  .deploy-calc { padding: 24px 20px; max-width: 100%; }

  /* Phase 7: Band-stroke */
  .rogueai__band-stroke { height: 350px; }
  .iceberg__band-stroke { height: 350px; }

  /* Phase 7: Global coverage */
  .global-coverage { padding: 16px; margin-top: 24px; }
  .global-coverage__price { font-size: clamp(2rem, 10vw, 3.5rem); }

  /* Phase 7: Team anon */
  .team-anon__statement { padding: 20px 16px; }
  .team-anon__statement p { font-size: 0.82rem; line-height: 1.7; }

  /* Phase 7: Footer */
  .footer { padding: 40px 0 30px; }
  .footer__grid { gap: 20px; }

  /* Phase 8: Iceberg */
  .section--iceberg .iceberg__intro {
    position: relative;
    right: auto;
    top: auto;
    text-align: center;
    transform: none;
    margin-bottom: 20px;
  }
  .iceberg-wrapper { max-width: 100%; }
  .iceberg-tv-screen { clip-path: none; }
}

/* ═══════════════════════════════════════════
   ROADMAP — MOUNTAIN
   ═══════════════════════════════════════════ */
.roadmap-mountain {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.rm-mascot {
  position: absolute;
  left: -7%;
  bottom: -2%;
  width: 55%;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(0,194,255,0.15));
  opacity: 0.9;
}
.roadmap-mountain #mountain-full {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}
.rm-waypoints {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.rm-point {
  position: absolute;
  pointer-events: auto;
  z-index: 5;
  cursor: pointer;
}
.rm-point__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(0,194,255,0.5);
  background: var(--bg-dark);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  z-index: 2;
}
.rm-point--done .rm-point__dot {
  background: var(--neon-blue);
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(0,194,255,0.5), 0 0 20px rgba(0,194,255,0.2);
}
.rm-point--active .rm-point__dot {
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(0,194,255,0.5);
  animation: rmPulse 2s ease-in-out infinite;
}
.rm-point--summit .rm-point__dot {
  width: 24px;
  height: 24px;
  border-color: var(--warning);
  background: var(--bg-dark);
  box-shadow: 0 0 12px rgba(255,61,113,0.4);
}
@keyframes rmPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0,194,255,0.5), 0 0 20px rgba(0,194,255,0.2); }
  50% { box-shadow: 0 0 16px rgba(0,194,255,0.8), 0 0 32px rgba(0,194,255,0.3); }
}

/* Labels next to dots */
.rm-point__label {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(0,0,0,0.8), 0 1px 3px rgba(0,0,0,0.9);
  opacity: 0.9;
  pointer-events: none;
}
.rm-point__label--summit {
  font-size: 0.75rem;
  color: var(--warning);
  letter-spacing: 0.2em;
  text-shadow: 0 0 12px rgba(255,61,113,0.4), 0 1px 3px rgba(0,0,0,0.9);
}

/* Tooltip on hover */
.rm-point__tooltip {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 280px;
  background: rgba(11, 15, 20, 0.95);
  border: 1px solid rgba(0,194,255,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 16px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 20;
  clip-path: var(--chamfer-card-sm);
}
.rm-point__tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0,194,255,0.3);
}
.rm-point:hover .rm-point__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.rm-point:hover,
.rm-point--open {
  z-index: 50;
}
.rm-point:hover .rm-point__dot {
  transform: scale(1.3);
}
.rm-point--open .rm-point__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.rm-point--open .rm-point__dot {
  transform: scale(1.3);
}
.rm-point__tooltip-id {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--neon-blue);
  display: block;
  margin-bottom: 4px;
}
.rm-point__tooltip h4 {
  font-family: var(--font-comic);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.rm-point__tooltip ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}
.rm-point__tooltip li {
  font-size: 0.78rem;
  color: var(--ghost);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
  margin-bottom: 2px;
}
.rm-point__tooltip li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--neon-blue);
  font-family: var(--font-display);
  font-size: 0.65rem;
}
.rm-point__tooltip-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.rm-point__tooltip-badge--done {
  background: rgba(0,255,178,0.1);
  border: 1px solid rgba(0,255,178,0.3);
  color: var(--success);
}
.rm-point__tooltip-badge--upcoming {
  background: rgba(0,194,255,0.08);
  border: 1px solid rgba(0,194,255,0.25);
  color: var(--neon-blue);
}
.rm-hint {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ghost);
  margin-top: 20px;
  opacity: 0.6;
}

/* Roadmap mountain responsive */
@media (max-width: 768px) {
  .section--roadmap .rogueai__intro {
    margin-top: -80px;
    transform: none;
  }
  .section--roadmap {
    padding-top: 500px !important;
    padding-bottom: 160px !important;
  }
  .roadmap-mountain {
    transform: scale(1.4) translateY(80px);
    transform-origin: center bottom;
  }
  .rm-band-stroke {
    top: 60% !important;
  }
  .rm-mascot {
    width: 65%;
    bottom: 5%;
    left: -8%;
    opacity: 0.8;
  }
  .rm-point__label {
    font-size: 0.5rem;
    left: 22px;
  }
  .rm-point__dot {
    width: 14px;
    height: 14px;
  }
  .rm-point--summit .rm-point__dot {
    width: 18px;
    height: 18px;
  }
  .rm-point__tooltip {
    width: 220px;
    padding: 14px 12px;
    left: 0;
    transform: translateX(-20%) translateY(8px);
  }
  .rm-point:hover .rm-point__tooltip {
    transform: translateX(-20%) translateY(0);
  }
  .rm-point__tooltip h4 {
    font-size: 0.95rem;
  }
  .rm-point__tooltip li {
    font-size: 0.72rem;
  }
}
@media (max-width: 480px) {
  .rm-point__label {
    display: none;
  }
  .rm-point__tooltip {
    width: 200px;
    position: fixed;
    bottom: auto;
    top: 50%;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 100;
  }
  .rm-point:hover .rm-point__tooltip {
    transform: translate(-50%, -50%) scale(1);
  }
  .rm-point__tooltip::after {
    display: none;
  }
}

/* ── Roadmap growth-chart band stripe ── */
.rm-band-stroke {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100vw;
  top: 50%;
  height: 650px;
  z-index: 0;
  pointer-events: none;
  -webkit-filter: drop-shadow(0 -1.5px 0 rgba(0,194,255,0.5)) drop-shadow(0 1.5px 0 rgba(0,194,255,0.5)) drop-shadow(-1.5px 0 0 rgba(0,194,255,0.5)) drop-shadow(1.5px 0 0 rgba(0,194,255,0.5));
  filter: drop-shadow(0 -1.5px 0 rgba(0,194,255,0.5)) drop-shadow(0 1.5px 0 rgba(0,194,255,0.5)) drop-shadow(-1.5px 0 0 rgba(0,194,255,0.5)) drop-shadow(1.5px 0 0 rgba(0,194,255,0.5));
}
.rm-band {
  width: 100%;
  height: 100%;
  background: url('Assets/cyberpunk-bg.webp') center/cover no-repeat;
  clip-path: polygon(0% 30%, 100% 30%, 100% 70%, 0% 70%);
}
@media (max-width: 768px) {
  .rm-band-stroke { height: 400px; }
}
@media (max-width: 480px) {
  .rm-band-stroke { height: 280px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE PERFORMANCE OPTIMIZATIONS
   Keeps: hero animations, character/mascot animations
   Disables: duplicates, heavy blurs, unnecessary effects
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  /* Reduce gradient blur stack (64px -> 16px max) */
  .cp-gradient-blur::after { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .cp-gradient-blur > div:nth-of-type(5) { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
  .cp-gradient-blur > div:nth-of-type(6) { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}

@media (max-width: 768px) {

  /* --- DISABLE: gradient blur stack (very heavy on mobile GPU) --- */
  .cp-gradient-blur::after,
  .cp-gradient-blur::before,
  .cp-gradient-blur > div { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

  /* --- DISABLE: card backdrop-filter blur (26+ instances) --- */
  .card, .pillar, .tech-card, .ico-card { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

  /* --- DISABLE: iceberg VHS overlays (exact duplicate of hero) --- */
  .iceberg-tv-overlay::before,
  .iceberg-tv-overlay::after { animation: none !important; }
  .iceberg-tv-scanfall,
  .iceberg-tv-scanfall::before,
  .iceberg-tv-scanfall::after { animation: none !important; }

  /* --- DISABLE: 3 redundant pulse/glow animations --- */
  .ico-card__badge--live { animation: none !important; }
  .rm-card { animation: none !important; }
  .ico-card__coming-soon { animation: none !important; }

  /* --- DISABLE: progress bar stripe animation --- */
  .progress-bar__fill::after { animation: none !important; }

  /* --- DISABLE: disclaimer spin + pulse --- */
  .disclaimer-badge { animation: none !important; }
  .miners-disclaimer__icon { animation: none !important; }
  .miners-disclaimer__icon::after { animation: none !important; }

  /* --- DISABLE: blend modes in iceberg SVG (heavy compositing) --- */
  .blend-multiply, .blend-screen { mix-blend-mode: normal !important; }

  /* --- SIMPLIFY: card box-shadows (reduce GPU repaints) --- */
  .card, .tech-card, .ico-card { box-shadow: 0 0 8px rgba(0, 194, 255, 0.06) !important; }
  .card:hover, .tech-card:hover, .ico-card:hover { box-shadow: 0 0 12px rgba(0, 194, 255, 0.1) !important; }

  /* --- GPU hints --- */
  .section { contain: layout style; }
  .nav--fixed { will-change: transform; }

  /* --- BREATHING ROOM: more space at top of each section (except hero) --- */
  .section.section--iceberg,
  .section.section--pillars,
  .section.section--tech,
  .section.section--upcoming,
  .section.section--miners,
  .section.section--team,
  .section.section--community,
  .section.section--mascots { padding-top: 140px !important; }
  .section.section--roadmap { padding-top: 500px !important; }

  /* --- DISABLE: globe WebGL (heavy on mobile GPU) --- */
  .globe-container { display: none !important; }
}
