/* ═══════════════════════════════════════════════════════════════════════════
   ONE INSIDER — ULTRA MODERN HIGH-PERFORMANCE THEME STYLESHEET
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1. Geist Pixel Circle (Fallback display font) */
@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 2. Core Theme Variables */
:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
  
  /* Neon Accents */
  --neon-red: #f60000;
  --neon-fuchsia: #ec00ff;
  --card-bg: rgba(14, 16, 26, 0.74);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* 3. Base Reset & Touch/Tap Highlight Neutralization */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
}

:focus:not(:focus-visible) {
  outline: none !important;
}

a,
button,
input,
select,
textarea,
[role="button"] {
  -webkit-tap-highlight-color: transparent !important;
  outline: none;
}

/* ══════ Hide Scrollbars Across Entire Site (Smooth Scrolling Preserved) ══════ */
html,
body,
* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg);
  overscroll-behavior-y: none;
  text-rendering: optimizeSpeed;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
}

/* 4. Full-viewport Cover Video / Background Canvas */
.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background-color: var(--bg);
  z-index: 0;
  pointer-events: none;
  contain: strict;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}

#cursor-ring-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* 5. Main Content Wrapper */
.main-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateZ(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO VIEWPORT (Single-Viewport Experience)
   ═══════════════════════════════════════════════════════════════════════════ */
.viewport-hero {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 9vh, 80px) clamp(16px, 3vw, 32px) clamp(16px, 3vh, 28px);
  position: relative;
  box-sizing: border-box;
}

/* Header */
.header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
  animation: slideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  z-index: 9000;
  pointer-events: none;
}

.header > * {
  pointer-events: auto;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -18px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.03) 30%,
    rgba(12, 16, 28, 0.72) 65%,
    rgba(18, 24, 42, 0.88) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px) saturate(190%) contrast(104%);
  -webkit-backdrop-filter: blur(20px) saturate(190%) contrast(104%);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.35),
    inset 0 1.2px 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px 1px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform, box-shadow;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease, box-shadow 0.24s ease;
}

.header-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--liquid-x, 30%) var(--liquid-y, 25%),
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.header-brand:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 30%,
    rgba(16, 22, 38, 0.8) 65%,
    rgba(24, 32, 54, 0.94) 100%
  );
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(255, 255, 255, 0.2),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.header-brand-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
}

.header-brand-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Sign In / Profile Button */
.desktop-signin,
.header-profile-btn {
  height: 44px;
  padding: 0 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(12, 16, 28, 0.72) 65%,
    rgba(18, 24, 42, 0.9) 100%
  );
  color: #ffffff;
  border-radius: 999px;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.4),
    inset 0 1.2px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px) saturate(190%) contrast(104%);
  -webkit-backdrop-filter: blur(20px) saturate(190%) contrast(104%);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform, box-shadow;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease, box-shadow 0.24s ease;
}

.desktop-signin::before,
.header-profile-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--liquid-x, 30%) var(--liquid-y, 25%),
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.desktop-signin:hover,
.header-profile-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.04) 30%,
    rgba(16, 22, 38, 0.82) 65%,
    rgba(24, 32, 54, 0.94) 100%
  );
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(246, 0, 0, 0.3),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   HERO CONTENT
   ═══════════════════════════════════════════ */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

/* Trust Row */
.trust-row {
  --trust-size: clamp(34px, 4.2vw, 38px);
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  margin-bottom: clamp(10px, 1.8vh, 18px);
  cursor: default;
}

.trust-avatars {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.trust-avatar {
  width: var(--trust-size);
  height: var(--trust-size);
  border-radius: 50%;
  background: rgba(18, 22, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  padding: 4px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.trust-avatar.avatar-1 { z-index: 1; }
.trust-avatar.avatar-2 { z-index: 2; margin-left: calc(var(--trust-size) * -0.42); }
.trust-avatar.avatar-3 { z-index: 4; margin-left: calc(var(--trust-size) * -0.42); }

.trust-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0d14;
  font-size: calc(var(--trust-size) * 0.36);
  box-shadow: inset 0 1px 1px #fff;
}

.trust-row:hover .avatar-1 { transform: translateY(-2px); }
.trust-row:hover .avatar-2 { transform: translateY(-4px); }
.trust-row:hover .avatar-3 { transform: translateY(-2px); }

.trust-pill {
  height: var(--trust-size);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(14, 18, 30, 0.76) 65%,
    rgba(20, 26, 44, 0.9) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  margin-left: calc(var(--trust-size) * -0.42);
  padding-left: calc(var(--trust-size) * 0.58);
  padding-right: clamp(12px, 1.8vw, 16px);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
}

.trust-text {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(11.5px, 1.3vw, 13px);
  color: var(--trust-text);
  white-space: nowrap;
}

/* Headline */
.headline {
  font-family: var(--font-display);
  color: #ffffff;
  text-align: center;
  font-weight: 400;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.headline-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.headline-line-1 { 
  font-size: clamp(38px, 8.2vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  animation-delay: 0.12s; 
}
.headline-line-2 { 
  font-size: clamp(18px, 4.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
  animation-delay: 0.28s; 
}

@keyframes headlineFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Subhead */
.subhead {
  max-width: min(580px, 94%);
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(calc(13.5px + 2pt), calc(1.5vw + 2pt), calc(16px + 2pt));
  color: #f1f5f9;
  opacity: 0.96;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  margin-top: clamp(10px, 1.6vh, 16px);
  text-align: center;
}

/* News Ticker (Liquid Glass Pill) */
.hero-news-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(480px, 92%);
  width: 100%;
  margin-top: clamp(10px, 1.5vh, 16px);
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(14, 18, 30, 0.72) 65%,
    rgba(20, 26, 44, 0.88) 100%
  );
  backdrop-filter: blur(20px) saturate(190%) contrast(104%);
  -webkit-backdrop-filter: blur(20px) saturate(190%) contrast(104%);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.5),
    0 0 16px rgba(246, 0, 0, 0.08),
    inset 0 1.2px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, box-shadow;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease, box-shadow 0.24s ease;
}

.hero-news-ticker::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--liquid-x, 30%) var(--liquid-y, 25%),
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.hero-news-ticker:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(236, 0, 255, 0.25),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.45);
}

.ticker-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(246, 0, 0, 0.25);
  border: 1px solid rgba(246, 0, 0, 0.4);
  color: #ff3366;
  font-family: 'Orbitron', monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticker-label::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f60000;
  box-shadow: 0 0 6px #f60000;
  animation: tickerPulse 2s ease-in-out infinite;
}

@keyframes tickerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.ticker-viewport {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: homeTicker 18s linear infinite;
}

@keyframes homeTicker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

.ticker-arrow {
  color: #ff3366;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Action CTAs */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(14px, 2.2vh, 22px);
}

/* Action CTAs (Liquid Glass Buttons) */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(14px, 2.2vh, 22px);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(13px, 1.45vw, 14.5px);
  padding: clamp(10px, 1.5vh, 12px) clamp(20px, 2.8vw, 26px);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, box-shadow;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 60%, #e2e8f0 100%);
  color: #0b0d14;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 8px 28px rgba(255, 255, 255, 0.35),
    0 0 16px rgba(255, 255, 255, 0.2),
    inset 0 1.5px 1.5px #ffffff,
    inset 0 -1px 1px rgba(0, 0, 0, 0.15);
}

.cta-btn.primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 12px 36px rgba(255, 255, 255, 0.45),
    0 0 24px rgba(255, 255, 255, 0.3),
    inset 0 1.5px 1.5px #ffffff;
}

.cta-btn.secondary {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(14, 18, 30, 0.78) 65%,
    rgba(22, 28, 48, 0.92) 100%
  );
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    inset 0 1.2px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-btn.secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--liquid-x, 30%) var(--liquid-y, 25%),
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.cta-btn.secondary:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.04) 30%,
    rgba(18, 24, 42, 0.84) 65%,
    rgba(28, 36, 62, 0.96) 100%
  );
  color: #ffffff;
  border-color: rgba(236, 0, 255, 0.55);
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(236, 0, 255, 0.3),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.45);
}

/* ═══════════════════════════════════════════
   FOUR FACTORS & METRICS (LIQUID GLASS HUD)
   ═══════════════════════════════════════════ */
.factors-section {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 6px 14px 4px;
  box-sizing: border-box;
  content-visibility: auto;
  contain-intrinsic-size: 90px;
}

.factors-container {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 28%,
    rgba(12, 16, 28, 0.72) 65%,
    rgba(18, 24, 42, 0.88) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 6px 10px;
  backdrop-filter: blur(20px) saturate(190%) contrast(104%);
  -webkit-backdrop-filter: blur(20px) saturate(190%) contrast(104%);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(246, 0, 0, 0.06),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Interactive Liquid Glass Caustic Spotlight */
.factors-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--liquid-x, 30%) var(--liquid-y, 25%),
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Prismatic Liquid Glass Meniscus Tint */
.factors-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.02) 30%,
    transparent 60%,
    rgba(6, 182, 212, 0.12) 100%
  );
  pointer-events: none;
  opacity: 0.7;
  z-index: 1;
}

.factors-container:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(255, 51, 102, 0.12),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.45);
}

/* Ambient Sweeping Light Aura across Factors Glass — 120 FPS GPU Compositor */
.factors-ambient-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 35%, rgba(236, 0, 255, 0.08) 65%, transparent 100%);
  animation: factorsHoloSweep 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  transform: translate3d(-150%, 0, 0);
}

@keyframes factorsHoloSweep {
  0% { transform: translate3d(-150%, 0, 0); }
  50%, 100% { transform: translate3d(260%, 0, 0); }
}

/* Perimeter Animated Liquid Border Beam */
.factors-border-beam {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(90deg, transparent 10%, rgba(255, 51, 102, 0.7) 40%, rgba(236, 0, 255, 0.75) 60%, rgba(6, 182, 212, 0.75) 75%, transparent 95%);
  background-size: 250% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: factorsBeamSweep 4.5s linear infinite;
  pointer-events: none;
  z-index: 3;
  opacity: 0.8;
}

@keyframes factorsBeamSweep {
  0% { background-position: 250% 0; }
  100% { background-position: -250% 0; }
}

/* 4 Pods Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  align-items: stretch;
  justify-items: stretch;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Interactive Liquid Glass Pods */
.stat-item {
  --pod-accent: #f60000;
  --pod-glow: rgba(246, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 5px 6px 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  user-select: none;
  transition:
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--pod-accent);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.5),
    0 0 14px var(--pod-glow),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.stat-item:active {
  transform: translateY(0);
}

/* Specular Glow behind each Pod */
.stat-pod-glow {
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle at 50% 50%, var(--pod-glow) 0%, transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.stat-item:hover .stat-pod-glow {
  opacity: 0.25;
}

/* Individual Color Personalities for Pods */
.stat-item.stat-item-cyan {
  --pod-accent: #06b6d4;
  --pod-glow: rgba(6, 182, 212, 0.35);
}

.stat-item.stat-item-emerald {
  --pod-accent: #10b981;
  --pod-glow: rgba(16, 185, 129, 0.35);
}

.stat-item.stat-item-rose {
  --pod-accent: #ff3366;
  --pod-glow: rgba(255, 51, 102, 0.35);
}

.stat-item.stat-item-purple {
  --pod-accent: #a855f7;
  --pod-glow: rgba(168, 85, 247, 0.35);
}

.stat-top {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  position: relative;
  z-index: 2;
}

.stat-glyph {
  font-family: 'Orbitron', monospace;
  color: var(--pod-accent);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 6px var(--pod-glow);
  transition: transform 0.2s ease;
}

.stat-item:hover .stat-glyph {
  transform: scale(1.08);
}

.stat-value {
  font-family: 'Orbitron', monospace;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.stat-label {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(9px, 0.95vw, 10.5px);
  color: #cbd5e1;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Responsive Scaling for Factors Box */
@media (max-width: 680px) {
  .factors-section {
    padding: 5px 10px 3px;
    max-width: 100%;
  }
  .factors-container {
    padding: 5px 8px;
    border-radius: 10px;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .stat-item {
    padding: 4px 3px 3px;
    border-radius: 7px;
  }
  .stat-glyph {
    font-size: 10px;
  }
  .stat-value {
    font-size: 12px;
  }
  .stat-label {
    font-size: 8.5px;
    letter-spacing: -0.01em;
  }
}

@media (max-width: 360px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  .stat-item {
    padding: 4px 6px;
  }
  .stat-value {
    font-size: 12px;
  }
  .stat-label {
    font-size: 9px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO ULTRA-COMPACT SLEEK SHUTDOWN PILL (LIQUID GLASS + FIXED SIZE HUD)
   ═══════════════════════════════════════════════════════════════════════════ */
.hero-countdown-deck {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
  max-width: fit-content;
  margin-top: clamp(4px, 0.9vh, 8px);
  padding: 2.5px 7px 2.5px 5px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.02) 28%,
    rgba(13, 9, 22, 0.76) 65%,
    rgba(18, 12, 32, 0.9) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(180%) contrast(104%);
  -webkit-backdrop-filter: blur(18px) saturate(180%) contrast(104%);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.45),
    0 0 16px rgba(255, 60, 95, 0.08),
    inset 0 1.2px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(0, 0, 0, 0.35);
  cursor: default;
  position: relative;
  overflow: hidden;
  user-select: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

/* Interactive Liquid Glass Caustic Spotlight */
.hero-countdown-deck::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--liquid-x, 30%) var(--liquid-y, 25%),
    rgba(255, 255, 255, 0.24) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Prismatic Liquid Glass Meniscus Tint */
.hero-countdown-deck::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.02) 35%,
    transparent 65%,
    rgba(255, 60, 95, 0.14) 100%
  );
  pointer-events: none;
  opacity: 0.7;
  z-index: 1;
}

.hero-countdown-deck:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(236, 0, 255, 0.25),
    inset 0 1.2px 1px rgba(255, 255, 255, 0.45);
}

/* Ambient Sweeping Holo Aura — 120 FPS GPU Compositor */
.deck-ambient-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
  animation: deckHoloSweep 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 2;
  will-change: transform;
  transform: translate3d(-150%, 0, 0);
}

@keyframes deckHoloSweep {
  0% { transform: translate3d(-150%, 0, 0); }
  55%, 100% { transform: translate3d(260%, 0, 0); }
}

/* Animated Liquid Border Beam */
.deck-border-beam {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, transparent 12%, rgba(255, 60, 95, 0.75) 45%, rgba(236, 0, 255, 0.85) 60%, rgba(6, 182, 212, 0.75) 75%, transparent 95%);
  background-size: 250% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderBeamSweep 4.2s linear infinite;
  pointer-events: none;
  z-index: 3;
  opacity: 0.85;
}

@keyframes borderBeamSweep {
  0% { background-position: 250% 0; }
  100% { background-position: -250% 0; }
}

/* ─── MINI QUANTUM REACTOR LOOP (14px MICRO-INDICATOR) ─── */
.deck-reactor-wrap {
  position: relative;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 14px;
  z-index: 2;
}

.reactor-orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.reactor-orbit-ring.ring-outer {
  inset: 0;
  border: 1px dashed rgba(255, 60, 95, 0.5);
  animation: reactorSpin 10s linear infinite;
}

.reactor-orbit-ring.ring-mid {
  inset: 2px;
  border: 1px solid transparent;
  border-top-color: #ec00ff;
  border-right-color: #ff3366;
  animation: reactorSpinRev 3.5s linear infinite;
}

.reactor-core {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 20%, #ff3366 80%);
  box-shadow: 0 0 5px rgba(255, 51, 102, 0.7);
  animation: reactorBreathe 2s ease-in-out infinite alternate;
  position: relative;
  z-index: 2;
}

.reactor-photon {
  display: none;
}

.reactor-pulse-waves {
  display: none;
}

@keyframes reactorSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes reactorSpinRev {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes reactorBreathe {
  0% { transform: scale(0.9); opacity: 0.85; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* ─── SHUTDOWN MESSAGE (ULTRA-COMPACT) ─── */
.deck-shutdown-msg {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.deck-shutdown-tag {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 215, 225, 0.9);
  white-space: nowrap;
}

/* ─── FIXED SIZE DIGIT HUD CLOCK (ZERO LAYOUT JITTER) ─── */
.deck-hud-clock {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.hud-unit-tile {
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  flex: 0 0 22px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 1.5px 0 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#sunsetDaysTile,
.hud-unit-tile:first-child {
  width: 28px;
  min-width: 28px;
  max-width: 28px;
  flex: 0 0 28px;
}

.hud-unit-val {
  font-family: 'Orbitron', monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-size: 0.67rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 0.01em;
  display: block;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

.hud-unit-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.33rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 170, 190, 0.85);
  text-transform: uppercase;
  margin-top: 0.5px;
  line-height: 1;
  display: block;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

/* Active Seconds Quantum Card — Color pulse ONLY, ZERO layout resizing */
.hud-tile-active {
  border-color: rgba(255, 51, 102, 0.35);
  background: rgba(255, 51, 102, 0.08);
}

.hud-pulse-tick {
  animation: hudTickPulse 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hudTickPulse {
  0% {
    border-color: #ff3366;
    background: rgba(255, 51, 102, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 6px rgba(255, 51, 102, 0.45);
  }
  100% {
    border-color: rgba(255, 51, 102, 0.35);
    background: rgba(255, 51, 102, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 transparent;
  }
}

/* High-Tech Colon Separators — Fixed Width */
.hud-separator {
  font-family: 'Orbitron', monospace;
  font-weight: 800;
  font-size: 0.58rem;
  color: rgba(255, 60, 95, 0.6);
  margin: 0;
  width: 5px;
  min-width: 5px;
  max-width: 5px;
  flex: 0 0 5px;
  text-align: center;
  user-select: none;
  animation: hudColonPulse 1.2s ease-in-out infinite;
}

@keyframes hudColonPulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.35; }
}

/* ─── TO KEEP IT ALIVE ACTION BUTTON (SLENDER PILL) ─── */
.deck-keep-alive-btn {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  padding: 2.5px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e11d48 0%, #c026d3 100%);
  color: #ffffff !important;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 2;
}

.deck-keep-alive-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(225, 29, 72, 0.45);
  color: #ffffff !important;
}

.deck-keep-alive-btn:active {
  transform: translateY(0);
}

.deck-keep-alive-btn .btn-arrow {
  font-size: 0.68rem;
  transition: transform 0.2s ease;
}

.deck-keep-alive-btn:hover .btn-arrow {
  transform: translateX(2px);
}

/* Responsive Breakpoints for Countdown Deck */
@media (max-width: 600px) {
  .hero-countdown-deck {
    flex-wrap: nowrap !important;
    max-width: 98%;
    gap: 3.5px;
    padding: 2px 5px 2px 4px;
    margin-top: 6px;
  }
  .deck-reactor-wrap {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
  }
  .deck-shutdown-tag {
    font-size: 0.55rem;
  }
  .hud-unit-tile {
    width: 20px;
    min-width: 20px;
    max-width: 20px;
    flex: 0 0 20px;
    padding: 1px 0;
    border-radius: 3px;
  }
  #sunsetDaysTile,
  .hud-unit-tile:first-child {
    width: 24px;
    min-width: 24px;
    max-width: 24px;
    flex: 0 0 24px;
  }
  .hud-unit-val {
    font-size: 0.60rem;
  }
  .hud-unit-label {
    font-size: 0.30rem;
  }
  .hud-separator {
    width: 4px;
    min-width: 4px;
    max-width: 4px;
    flex: 0 0 4px;
    font-size: 0.50rem;
  }
  .deck-keep-alive-btn {
    padding: 2px 5px;
    font-size: 0.52rem;
    gap: 2px;
    flex: 0 0 auto;
  }
  .deck-keep-alive-btn .btn-arrow {
    font-size: 0.60rem;
  }
}

@media (max-width: 380px) {
  .hero-countdown-deck {
    gap: 2.5px;
    padding: 2px 4px 2px 3px;
  }
  .deck-reactor-wrap {
    display: none;
  }
  .deck-shutdown-tag {
    font-size: 0.50rem;
  }
  .hud-unit-tile {
    width: 17px;
    min-width: 17px;
    max-width: 17px;
    flex: 0 0 17px;
  }
  #sunsetDaysTile,
  .hud-unit-tile:first-child {
    width: 21px;
    min-width: 21px;
    max-width: 21px;
    flex: 0 0 21px;
  }
  .hud-unit-val {
    font-size: 0.55rem;
  }
  .hud-unit-label {
    font-size: 0.28rem;
  }
  .hud-separator {
    width: 3.5px;
    min-width: 3.5px;
    max-width: 3.5px;
    flex: 0 0 3.5px;
  }
  .deck-keep-alive-btn {
    padding: 1.5px 4px;
    font-size: 0.48rem;
  }
}

/* Modal Styling */
.insider-pledge-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.insider-pledge-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.insider-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.insider-modal-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(12, 16, 28, 0.8) 60%,
    rgba(18, 24, 42, 0.95) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 32px);
  backdrop-filter: blur(28px) saturate(190%) contrast(104%);
  -webkit-backdrop-filter: blur(28px) saturate(190%) contrast(104%);
  box-shadow:
    0 24px 65px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(236, 0, 255, 0.2),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px 1px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, box-shadow;
}

.insider-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.insider-modal-close:hover {
  background: rgba(246, 0, 0, 0.3);
  border-color: #f60000;
  transform: scale(1.1);
}

.insider-modal-badge {
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  font-weight: 800;
  color: #ff4d6d;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.insider-modal-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.insider-modal-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 18px;
}

.insider-tracks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.insider-track-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.insider-track-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.track-ic {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.track-info {
  flex: 1;
  min-width: 0;
}

.track-head {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.track-sub {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.35;
}

.track-tag {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(236, 0, 255, 0.14);
  border: 1px solid rgba(236, 0, 255, 0.35);
  color: #f472b6;
  flex-shrink: 0;
}

.insider-modal-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.foot-note {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.foot-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-action-btn.primary {
  background: linear-gradient(135deg, #f60000, #ec00ff);
  color: #ffffff;
  border: none;
}

.modal-action-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Responsiveness */
@media (max-width: 768px) {
  .community-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   STUDENT PORTALS SECTION (BENTO GRID)
   ═══════════════════════════════════════════ */
.portals-section {
  width: 100%;
  max-width: 1140px;
  padding: 80px 20px 60px;
  box-sizing: border-box;
  content-visibility: auto;
  contain-intrinsic-size: 750px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(246, 0, 0, 0.2) 0%, rgba(236, 0, 255, 0.18) 100%);
  border: 1px solid rgba(255, 51, 102, 0.45);
  color: #ff6b8b;
  font-family: 'Orbitron', monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 0 18px rgba(246, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  background: linear-gradient(180deg, #ffffff 20%, #f8fafc 55%, #e2e8f0 80%, #ffccd8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 28px rgba(255, 51, 102, 0.25));
  margin-bottom: 12px;
}

.section-subtitle {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(14px, 1.4vw, 16px);
  color: #e2e8f0;
  font-weight: 500;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  opacity: 0.95;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIQUID GLASS PORTAL CARDS (APPLE VISION-OS / CAUSTIC GLASSMORPHISM)
   ═══════════════════════════════════════════════════════════════════════════ */
.portal-card {
  --card-accent: #f60000;
  --card-accent-glow: rgba(246, 0, 0, 0.35);
  --card-accent-subtle: rgba(246, 0, 0, 0.15);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.02) 28%,
    rgba(12, 16, 28, 0.68) 65%,
    rgba(18, 22, 38, 0.82) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 24px 22px;
  text-decoration: none;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.58),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.35), /* Top liquid glaze */
    inset 0 -1px 1px rgba(255, 255, 255, 0.06), /* Bottom specular rim */
    inset 1px 0 2px rgba(255, 255, 255, 0.1);  /* Side caustics */
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.28s ease,
    background 0.28s ease;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, box-shadow;
}

/* Layer 1: Liquid Caustic Light Specular */
.portal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--liquid-x, 30%) var(--liquid-y, 25%),
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.35s ease;
  z-index: 1;
}

/* Layer 2: Prismatic Liquid Meniscus & Ambient Tint */
.portal-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.03) 30%,
    transparent 60%,
    var(--card-accent-subtle) 100%
  );
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.portal-card.size-wide {
  grid-column: span 2;
}

/* Hover State — Molten Liquid Glass Depth */
.portal-card:hover {
  transform: translateY(-6px) scale(1.012) translateZ(0);
  border-color: rgba(255, 255, 255, 0.36);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.04) 28%,
    rgba(14, 18, 32, 0.72) 65%,
    rgba(22, 28, 48, 0.86) 100%
  );
  box-shadow:
    0 24px 65px rgba(0, 0, 0, 0.75),
    0 0 35px var(--card-accent-glow),
    inset 0 2px 2px rgba(255, 255, 255, 0.55),
    inset 0 -1px 2px rgba(255, 255, 255, 0.12);
}

.portal-card:hover::before {
  opacity: 1;
}

.portal-card:hover::after {
  opacity: 0.9;
}

/* Specific Accent Color Fluid Personas */
.portal-card.accent-red {
  --card-accent: #f60000;
  --card-accent-glow: rgba(246, 0, 0, 0.35);
  --card-accent-subtle: rgba(246, 0, 0, 0.15);
}

.portal-card.accent-rose {
  --card-accent: #ff2d70;
  --card-accent-glow: rgba(255, 45, 112, 0.35);
  --card-accent-subtle: rgba(255, 45, 112, 0.15);
}

.portal-card.accent-fuchsia {
  --card-accent: #ec00ff;
  --card-accent-glow: rgba(236, 0, 255, 0.35);
  --card-accent-subtle: rgba(236, 0, 255, 0.15);
}

.portal-card.accent-indigo {
  --card-accent: #6366f1;
  --card-accent-glow: rgba(99, 102, 241, 0.35);
  --card-accent-subtle: rgba(99, 102, 241, 0.15);
}

.portal-card.accent-purple {
  --card-accent: #a855f7;
  --card-accent-glow: rgba(168, 85, 247, 0.35);
  --card-accent-subtle: rgba(168, 85, 247, 0.15);
}

.portal-card.accent-emerald {
  --card-accent: #10b981;
  --card-accent-glow: rgba(16, 185, 129, 0.35);
  --card-accent-subtle: rgba(16, 185, 129, 0.15);
}

.portal-card.accent-cyan {
  --card-accent: #06b6d4;
  --card-accent-glow: rgba(6, 182, 212, 0.35);
  --card-accent-subtle: rgba(6, 182, 212, 0.15);
}

.portal-card.accent-amber {
  --card-accent: #f59e0b;
  --card-accent-glow: rgba(245, 158, 11, 0.35);
  --card-accent-subtle: rgba(245, 158, 11, 0.15);
}

/* Card Interior Elements */
.portal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.portal-kicker {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--card-accent, #ff3366);
  background: var(--card-accent-subtle, rgba(246, 0, 0, 0.15));
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--card-accent-glow, rgba(246, 0, 0, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.portal-no {
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
}

.portal-card-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  z-index: 3;
}

/* Liquid Droplet Icon Wrap */
.portal-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.05) 65%,
    rgba(0, 0, 0, 0.2) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45), 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.portal-card:hover .portal-icon-wrap {
  transform: scale(1.08);
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.3) 0%,
    var(--card-accent-subtle) 70%
  );
  border-color: var(--card-accent);
  box-shadow: 0 0 20px var(--card-accent-glow), inset 0 1.5px 2px rgba(255, 255, 255, 0.6);
}

.portal-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 16px rgba(255, 255, 255, 0.18);
  transition: text-shadow 0.28s ease, transform 0.28s ease;
}

.portal-card:hover .portal-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 20px var(--card-accent-glow);
}

.portal-desc {
  font-size: 0.86rem;
  color: #f1f5f9;
  line-height: 1.55;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
  opacity: 0.96;
}

.portal-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 3;
}

.portal-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.portal-tag {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.portal-action {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--card-accent, #ff3366);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.portal-card:hover .portal-action {
  transform: translateX(4px);
  text-shadow: 0 0 10px var(--card-accent-glow);
}

/* ═══════════════════════════════════════════
   UNIVERSAL FOOTER
   Styles managed by assets/universal-footer.css
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   ENTRANCE ANIMATIONS & HELPER CLASSES
   ═══════════════════════════════════════════ */
.anim {
  opacity: 0;
  transform: translateY(16px) scale(0.98) translateZ(0);
  will-change: transform, opacity;
  animation: reveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
  backface-visibility: hidden;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1) translateZ(0);
  }
}

/* ═══════════════════════════════════════════
   LOCKED PORTAL CARDS (Blur Overlay & Disabled)
   ═══════════════════════════════════════════ */
.portal-card.card-locked {
  position: relative;
  cursor: not-allowed;
  user-select: none;
  border-color: rgba(255, 255, 255, 0.08);
}

.portal-card.card-locked:hover {
  transform: none !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--card-shadow) !important;
}

.portal-card.card-locked .portal-card-top,
.portal-card.card-locked .portal-card-body,
.portal-card.card-locked .portal-card-foot {
  filter: blur(4px) grayscale(0.4);
  opacity: 0.45;
  pointer-events: none;
}

.locked-blur-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 20px;
  pointer-events: auto;
  cursor: not-allowed;
  padding: 16px;
  text-align: center;
}

.locked-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(246, 0, 0, 0.18);
  border: 1px solid rgba(246, 0, 0, 0.45);
  box-shadow: 0 0 20px rgba(246, 0, 0, 0.3);
}

.locked-badge-icon {
  font-size: 0.85rem;
}

.locked-badge-text {
  font-family: 'Orbitron', monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff3366;
}

.locked-subtext {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   MOBILE DRAWER & RESPONSIVENESS (≤720px)
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .header {
    justify-content: space-between;
    max-width: 100%;
  }

  .desktop-nav,
  .desktop-signin {
    display: none !important;
  }

  .logo-btn {
    width: 48px;
    height: 48px;
  }

  .burger-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--pill-dark);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    transition: background-color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .burger-bar {
    width: 18px;
    height: 1.5px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.menu-open .burger-btn {
    background-color: #ffffff;
  }

  body.menu-open .burger-bar {
    background-color: #000000;
  }

  body.menu-open .burger-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  body.menu-open .burger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  body.menu-open .burger-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* Mobile Sheet Menu */
  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    animation: overlayIn 0.28s ease forwards;
  }

  .mobile-menu-sheet {
    position: fixed;
    top: clamp(74px, 11vh, 88px);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 28px);
    max-width: 400px;
    background-color: #ffffff;
    border-radius: 28px;
    padding: 22px 18px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    z-index: 1000;
    animation: menuIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  @keyframes overlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes menuIn {
    from { opacity: 0; transform: translate(-50%, -16px) scale(0.96); }
    to { opacity: 1; transform: translate(-50%, 0) scale(1); }
  }

  .mobile-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-logo-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
  }

  .mobile-brand-name {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #000000;
  }

  .mobile-badge {
    font-size: 0.62rem;
    font-weight: 700;
    background: rgba(246, 0, 0, 0.12);
    color: #ff3366;
    padding: 2px 8px;
    border-radius: 999px;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
  }

  .mobile-nav-link {
    position: relative;
    width: 100%;
    padding: 10px 14px;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    color: #2e2e2e;
    text-decoration: none;
    opacity: 0.7;
    border-radius: 12px;
    transition: all 0.2s ease;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link.active {
    opacity: 1;
    background: rgba(0, 0, 0, 0.04);
  }

  .mobile-nav-link.active {
    font-weight: 700;
    color: #000000;
  }

  .mobile-signin-btn {
    width: 100%;
    height: 44px;
    margin-top: 10px;
    background-color: var(--pill-dark);
    color: var(--sign-in-text);
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--nav-shadow);
  }

  .viewport-hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 62px 16px 18px;
    justify-content: center;
  }

  .trust-row {
    margin-top: 0;
    margin-bottom: 8px;
    transform: translateY(-2px);
  }

  .headline {
    letter-spacing: -0.04em;
    line-height: 1.04;
  }

  .headline-line-1 {
    font-size: clamp(44px, 13vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .headline-line-2 {
    font-size: clamp(16px, 4.6vw, 22px);
    margin-top: 2px;
  }

  .subhead {
    font-size: 0.86rem;
    line-height: 1.45;
    margin-top: 8px;
    max-width: 95%;
  }

  .hero-news-ticker {
    margin-top: 10px;
    padding: 6px 12px;
  }

  .hero-actions {
    margin-top: 12px;
    gap: 8px;
  }

  .cta-btn {
    padding: 9px 18px;
    font-size: 0.84rem;
  }

  .factors-section {
    padding: 6px 10px 4px;
    max-width: 100%;
  }

  .factors-container {
    padding: 5px 8px;
    border-radius: 10px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portal-card {
    padding: 18px 16px;
    border-radius: 18px;
    gap: 14px;
  }

  .portal-card.size-wide {
    grid-column: span 1;
  }

  .portal-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.15rem;
  }

  .portal-title {
    font-size: 1rem;
    line-height: 1.3;
  }

  .portal-desc {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .portal-card-foot {
    padding-top: 8px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
    text-align: center;
  }

  .footer-brand-col {
    grid-column: span 2;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-tagline {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-badge {
    margin: 0 auto;
  }

  .footer-col {
    align-items: center;
    text-align: center;
  }

  .footer-col-title {
    text-align: center;
  }

  .footer-links {
    align-items: center;
    text-align: center;
    padding: 0;
    width: 100%;
  }

  .footer-links li {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .footer-links a {
    justify-content: center;
    text-align: center;
  }

  .footer-col.col-zyrox {
    grid-column: span 2;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .zyrox-box {
    align-items: center;
    text-align: center;
  }

  .zyrox-btn {
    justify-content: center;
    margin: 12px auto 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  .footer-copy,
  .footer-love {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .trust-row {
    --trust-size: 34px;
  }
  .trust-text {
    font-size: 11px;
  }
  .headline {
    letter-spacing: -0.09em;
    line-height: 1.04;
  }
}

@media (max-height: 700px) {
  .viewport-hero {
    padding: 10px 14px;
  }
  .trust-row {
    margin-bottom: 8px;
  }
  .subhead {
    margin-top: 6px;
  }
  .hero-news-ticker {
    margin-top: 8px;
  }
  .hero-actions {
    margin-top: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE HIGH-FRAME-RATE COMPOSITOR OPTIMIZATIONS (Butter-Smooth 60-120fps)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Skip layout passes for off-screen sections until user scrolls near them */
  .factors-section {
    content-visibility: auto;
    contain-intrinsic-size: 0 90px;
    transform: translateZ(0);
  }

  .portals-section {
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
    transform: translateZ(0);
  }

  /* GPU-accelerated bento cards with low-overhead styling */
  .portal-card {
    background: rgba(14, 18, 30, 0.92) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    content-visibility: auto;
    contain-intrinsic-size: 0 160px;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
  }

  .factors-container {
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  /* Stabilize background video hardware layer */
  .bg-video {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform;
  }
}

