/* ============================================================================
 * DREAMVFIA DRV-11.0 — VITREOUS SMOKED-QUARTZ & CYBER-INK / MECHATRON HERO
 * Architecture:
 *   1. Optical Floating Smoked-Quartz Topbar Capsule (Zero Nested Boxes / Zero Gap)
 *   2. Bespoke Sovereign Hero Display ("XuanMo CyberInk CN" & "MechaTron EN")
 *   3. True Optical Frosted-Glass Buttons & Micro-Chips (Zero Plastic Feel)
 *   4. Unobstructed 3D Official Logo Stage (Shader z:0 normal -> WebGL z:1 alpha)
 *   5. Full-Width 1360px Bottom Smoked-Quartz 4-Pillar Strategic Console
 * ============================================================================ */

:root {
  --dvf11-glass-surface-strong: linear-gradient(160deg, hsla(224, 28%, 13%, 0.62) 0%, hsla(228, 34%, 7%, 0.74) 100%);
  --dvf11-glass-surface-card: linear-gradient(155deg, hsla(222, 26%, 96%, 0.062) 0%, hsla(225, 24%, 82%, 0.024) 100%);
  --dvf11-glass-btn-sec: linear-gradient(150deg, hsla(220, 30%, 96%, 0.088) 0%, hsla(224, 24%, 84%, 0.036) 100%);
  --dvf11-glass-btn-ruby: linear-gradient(135deg, hsla(348, 86%, 48%, 0.74) 0%, hsla(346, 82%, 31%, 0.64) 100%);
  --dvf11-border-frost: hsla(220, 40%, 96%, 0.14);
  --dvf11-border-frost-hover: hsla(220, 50%, 98%, 0.30);
  --dvf11-specular-top: inset 0 1px 0 hsla(0, 0%, 100%, 0.22);
  --dvf11-specular-ruby: inset 0 1px 0 hsla(350, 100%, 92%, 0.40);
  --dvf11-platinum: hsl(214, 32%, 96%);
  --dvf11-platinum-sub: hsl(214, 32%, 86%);
  --dvf11-platinum-muted: hsla(215, 24%, 78%, 0.76);
  --dvf11-champagne: hsl(36, 46%, 76%);
  --dvf11-ruby: hsl(348, 84%, 54%);
  --dvf11-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --dvf11-noise-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
}

/* ============================================================================
 * 1. UNIFIED FLOATING SMOKED-QUARTZ TOPBAR CAPSULE (#topbar)
 * ============================================================================ */
@media (min-width: 1061px) {
  header.topbar#topbar {
    position: fixed !important;
    top: 14px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateZ(0) !important;
    width: min(1380px, calc(100vw - 36px)) !important;
    height: 62px !important;
    min-height: 62px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: var(--dvf11-glass-surface-strong) !important;
    backdrop-filter: blur(38px) saturate(175%) brightness(1.06) !important;
    -webkit-backdrop-filter: blur(38px) saturate(175%) brightness(1.06) !important;
    border: 1px solid var(--dvf11-border-frost) !important;
    box-shadow:
      var(--dvf11-specular-top),
      inset 0 -1px 0 hsla(348, 84%, 54%, 0.08),
      0 20px 52px rgba(2, 4, 10, 0.62) !important;
    z-index: 900 !important;
  }

  header.topbar#topbar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: var(--dvf11-noise-svg);
    pointer-events: none;
    opacity: 0.9;
  }

  header.topbar#topbar > nav.nav {
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 10px 0 16px !important;
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 18px !important;
  }

  /* Eliminate nested dark boxes & 274px dead gap */
  header.topbar#topbar .nav-links {
    justify-self: center !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  header.topbar#topbar .cluster-trigger {
    height: 38px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    color: hsla(214, 32%, 94%, 0.84) !important;
    font-family: var(--font-bilingual-ui) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    transition:
      background 0.24s var(--dvf11-spring),
      border-color 0.24s var(--dvf11-spring),
      color 0.2s ease,
      transform 0.24s var(--dvf11-spring) !important;
  }

  header.topbar#topbar .cluster-trigger:hover,
  header.topbar#topbar .nav-cluster:hover .cluster-trigger,
  header.topbar#topbar .cluster-trigger[aria-expanded="true"] {
    background: hsla(220, 32%, 96%, 0.09) !important;
    border-color: hsla(220, 44%, 96%, 0.20) !important;
    box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.18) !important;
    color: #ffffff !important;
  }

  /* Remove heavy red plastic box around 01..04 nav numbers */
  header.topbar#topbar .cluster-num {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    height: auto !important;
    font-family: "DREAMVFIA Prisma Mono", sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    color: var(--dvf11-champagne) !important;
    opacity: 0.86 !important;
  }

  header.topbar#topbar .cluster-arrow {
    font-size: 0.68rem !important;
    opacity: 0.52 !important;
    margin-left: 1px !important;
  }

  /* Frosted Smoked-Quartz Mega-Dropdown Panel */
  header.topbar#topbar .cluster-mega-panel {
    background: linear-gradient(160deg, hsla(224, 30%, 11%, 0.88) 0%, hsla(228, 34%, 6%, 0.94) 100%) !important;
    backdrop-filter: blur(42px) saturate(180%) brightness(1.06) !important;
    -webkit-backdrop-filter: blur(42px) saturate(180%) brightness(1.06) !important;
    border: 1px solid hsla(220, 40%, 96%, 0.15) !important;
    border-radius: 22px !important;
    box-shadow:
      inset 0 1px 0 hsla(0, 0%, 100%, 0.22),
      0 32px 72px rgba(2, 4, 10, 0.78) !important;
  }

  /* Right Action Cluster: Harmonized Frosted Glass Micro-Capsules */
  header.topbar#topbar .nav-actions.hud-action-pod {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  header.topbar#topbar .cmd-palette-btn,
  header.topbar#topbar .topbar-stage-dock,
  header.topbar#topbar .lang-toggle {
    height: 36px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    background: hsla(220, 28%, 96%, 0.06) !important;
    border: 1px solid hsla(220, 38%, 96%, 0.14) !important;
    box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.14) !important;
    color: var(--dvf11-platinum) !important;
    font-family: "DREAMVFIA Prisma Mono", "DREAMVFIA Lingbo CN", sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.22s var(--dvf11-spring) !important;
  }

  header.topbar#topbar .cmd-palette-btn kbd {
    background: hsla(220, 30%, 96%, 0.09) !important;
    border: 1px solid hsla(220, 40%, 96%, 0.16) !important;
    color: var(--dvf11-champagne) !important;
    border-radius: 6px !important;
    padding: 1px 5px !important;
    font-family: "DREAMVFIA Prisma Mono", sans-serif !important;
    font-size: 0.68rem !important;
  }

  header.topbar#topbar .cmd-palette-btn:hover,
  header.topbar#topbar .topbar-stage-dock:hover,
  header.topbar#topbar .lang-toggle:hover {
    background: hsla(220, 34%, 96%, 0.13) !important;
    border-color: hsla(220, 46%, 98%, 0.28) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
  }

  /* Single Primary Topbar Frosted Cinnabar-Quartz CTA (Replaces 2 Clashing Boxes) */
  header.topbar#topbar .nav-actions a.ghost {
    height: 38px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    background: var(--dvf11-glass-btn-ruby) !important;
    border: 1px solid hsla(350, 95%, 82%, 0.36) !important;
    box-shadow:
      var(--dvf11-specular-ruby),
      0 8px 22px hsla(348, 84%, 44%, 0.28) !important;
    color: #ffffff !important;
    font-family: "DREAMVFIA Vitreous EN", "DREAMVFIA Lingbo CN", sans-serif !important;
    font-size: 0.80rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.24s var(--dvf11-spring) !important;
  }

  header.topbar#topbar .nav-actions a.ghost:hover {
    transform: translateY(-1px) !important;
    border-color: hsla(350, 100%, 90%, 0.58) !important;
    box-shadow:
      var(--dvf11-specular-ruby),
      0 12px 28px hsla(348, 84%, 48%, 0.42) !important;
  }

  /* Fold redundant 5th button cleanly on desktop (already inside 01 Ecosystem Mega-Menu) */
  header.topbar#topbar .nav-actions a.solid {
    display: none !important;
  }
}

/* Brand Lockup Refinement Across All Viewports */
header.topbar#topbar .brand-lockup {
  gap: 11px !important;
}

header.topbar#topbar .brand-mark-circuit {
  width: 36px !important;
  height: 36px !important;
  border-radius: 11px !important;
  background: hsla(224, 30%, 10%, 0.62) !important;
  border: 1px solid hsla(220, 42%, 96%, 0.18) !important;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.22) !important;
}

html[lang="zh-CN"] header.topbar#topbar .brand-primary {
  font-family: "DREAMVFIA XuanMo CyberInk CN", serif !important;
  font-size: 1.14rem !important;
  letter-spacing: 0.06em !important;
  color: #f8fafc !important;
  text-shadow: none !important;
}

html:not([lang="zh-CN"]) header.topbar#topbar .brand-primary {
  font-family: "DREAMVFIA MechaTron EN", sans-serif !important;
  font-size: 0.96rem !important;
  letter-spacing: 0.08em !important;
  color: #f8fafc !important;
  text-shadow: none !important;
}

header.topbar#topbar .brand-secondary {
  font-family: "DREAMVFIA MechaTron EN", "DREAMVFIA Prisma Mono", sans-serif !important;
  font-size: 0.56rem !important;
  letter-spacing: 0.22em !important;
  color: var(--dvf11-champagne) !important;
  opacity: 0.84 !important;
}

@media (max-width: 1060px) {
  header.topbar#topbar {
    background: linear-gradient(180deg, hsla(224, 30%, 10%, 0.80), hsla(228, 34%, 6%, 0.88)) !important;
    backdrop-filter: blur(32px) saturate(175%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(175%) !important;
    border-bottom: 1px solid hsla(220, 40%, 96%, 0.14) !important;
  }

  header.topbar#topbar .nav-stage-chip,
  header.topbar#topbar .lang-toggle,
  header.topbar#topbar .menu-toggle {
    background: hsla(220, 30%, 96%, 0.065) !important;
    border: 1px solid hsla(220, 40%, 96%, 0.16) !important;
    box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.16) !important;
    color: var(--dvf11-platinum) !important;
    border-radius: 999px !important;
  }

  header.topbar#topbar .menu-toggle {
    border-radius: 12px !important;
  }
}

/* ============================================================================
 * 2. CANVAS COMPOSITING ORDER & ASYMMETRIC READING SHIELD (ZERO PINK WASHOUT!)
 * ============================================================================ */
#home.hero,
section#home.hero {
  position: relative !important;
  background: #03050a !important;
  min-height: 100svh !important;
  height: auto !important;
  padding: 84px 0 18px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
}

#home.hero #hero-shader-stage {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

#home.hero #hero-webgl-canvas,
#home.hero.is-gallery #hero-webgl-canvas,
#home.hero.is-live #hero-webgl-canvas,
#home.hero.is-live.is-808 #hero-webgl-canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  filter: none !important;
  pointer-events: none !important;
}

/* Left-biased reading shield: protects left typography (AAA >= 8.0:1) while leaving right 3D Emblem 100% crystal-clear! */
#home.hero .hero-video-shade {
  z-index: 2 !important;
  background:
    linear-gradient(90deg,
      rgba(3, 5, 10, 0.90) 0%,
      rgba(3, 5, 10, 0.80) 36%,
      rgba(3, 5, 10, 0.24) 56%,
      rgba(3, 5, 10, 0.00) 74%),
    linear-gradient(180deg,
      rgba(3, 5, 10, 0.45) 0%,
      rgba(3, 5, 10, 0.00) 20%,
      rgba(3, 5, 10, 0.00) 76%,
      rgba(3, 5, 10, 0.82) 100%) !important;
}

#home.hero .hero-hud-layer {
  z-index: 2 !important;
  opacity: 0.22 !important;
}

/* ============================================================================
 * 3. GOLDEN-RATIO HERO INNER COMPOSITION & BESPOKE DISPLAY TYPOGRAPHY
 * ============================================================================ */
#home.hero .hero-inner,
html:not([lang="zh-CN"]) #home.hero .hero-inner {
  z-index: 3 !important;
  width: min(1380px, calc(100vw - 48px)) !important;
  max-width: 1380px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 16px !important;
}

#home.hero .hero-copy {
  max-width: 790px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: flex-start !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* Layer 1: Optical Smoked-Quartz Eyebrow Pill */
#home.hero .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 6px 14px !important;
  margin-bottom: 12px !important;
  border-radius: 999px !important;
  background: linear-gradient(145deg, hsla(222, 28%, 96%, 0.075), hsla(224, 24%, 80%, 0.03)) !important;
  backdrop-filter: blur(22px) saturate(165%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(165%) !important;
  border: 1px solid hsla(220, 40%, 96%, 0.16) !important;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.20) !important;
  font-family: "DREAMVFIA Prisma Mono", "DREAMVFIA Lingbo CN", sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.11em !important;
  color: var(--dvf11-platinum) !important;
}

#home.hero .eyebrow::before {
  content: "" !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: var(--dvf11-ruby) !important;
  box-shadow: 0 0 10px var(--dvf11-ruby) !important;
  flex-shrink: 0 !important;
}

/* Layer 2A: CN Bespoke Grand Cyber-Ink Display ("梦帮集团") */
html[lang="zh-CN"] #home.hero #hero-main-title {
  font-family: "DREAMVFIA XuanMo CyberInk CN", serif !important;
  font-weight: 800 !important;
  font-size: clamp(3.85rem, 5.8vw, 5.65rem) !important;
  line-height: 1.06 !important;
  letter-spacing: 0.04em !important;
  margin: 0 0 12px 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 0.06em !important;
}

/* Layer 2B: EN Bespoke Cyber Mecha-Electronic Display ("DREAMVFIA UNION") */
html:not([lang="zh-CN"]) #home.hero #hero-main-title {
  font-family: "DREAMVFIA MechaTron EN", sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(2.45rem, 4.15vw, 3.95rem) !important;
  line-height: 1.05 !important;
  letter-spacing: 0.045em !important;
  margin: 0 0 12px 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  align-items: baseline !important;
  gap: 0.22em !important;
}

#home.hero #hero-main-title .hero-word {
  display: inline-block !important;
  padding: 0.06em 0.04em 0.14em 0.02em !important;
  margin-bottom: -0.08em !important;
  overflow: visible !important;
}

/* Word 1 ("梦帮" / "DREAMVFIA"): Brushed Platinum Xuan-Paper / Titanium Glaze */
#home.hero #hero-main-title .hero-word:first-child {
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 56%, #94a3b8 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #f8fafc !important;
  text-shadow: none !important;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.72)) !important;
}

/* Word 2 ("集团" / "UNION"): Sovereign Cinnabar-Ruby Crystal Glaze */
#home.hero #hero-main-title .hero-word:last-child {
  background: linear-gradient(180deg, #ff637d 0%, #e11d48 52%, #9f1239 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #e11d48 !important;
  text-shadow: none !important;
  filter: drop-shadow(0 10px 30px rgba(225, 29, 72, 0.34)) !important;
}

/* Layer 3: Editorial Subtitle & Distilled Lead (WCAG AAA >= 8.0:1) */
#home.hero .hero-subtitle,
#home.hero.is-live .hero-subtitle,
#home.hero.is-live.is-808 .hero-subtitle {
  font-family: "DREAMVFIA Vitreous EN", "DREAMVFIA Lingbo CN", sans-serif !important;
  font-size: clamp(1.06rem, 1.52vw, 1.32rem) !important;
  font-weight: 600 !important;
  line-height: 1.40 !important;
  max-width: 54ch !important;
  margin: 0 0 10px 0 !important;
  padding-left: 14px !important;
  border-left: 2px solid hsla(348, 84%, 56%, 0.78) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

#home.hero .hero-subtitle span:first-child {
  color: #f8fafc !important;
}

#home.hero .hero-subtitle span:last-child {
  color: #cbd5e1 !important;
}

#home.hero .hero-lead {
  font-family: "DREAMVFIA Vitreous EN", "DREAMVFIA Lingbo CN", sans-serif !important;
  font-size: clamp(0.89rem, 0.96vw, 0.96rem) !important;
  line-height: 1.64 !important;
  color: hsl(214, 32%, 86%) !important;
  max-width: 54ch !important;
  margin: 0 0 12px 0 !important;
}

/* Layer 4: Compact Horizontal Smoked-Glass Capability Chips */
#home.hero .hero-en {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 0 16px 0 !important;
  max-width: 640px !important;
}

#home.hero .hero-en span {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: hsla(224, 28%, 10%, 0.62) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  border: 1px solid hsla(220, 38%, 96%, 0.13) !important;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.12) !important;
  font-family: "DREAMVFIA Prisma Mono", sans-serif !important;
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  color: #e2e8f0 !important;
  white-space: nowrap !important;
}

/* ============================================================================
 * 4. TRUE VITREOUS SMOKED-QUARTZ FROSTED GLASS CTA BUTTONS (ZERO PLASTIC!)
 * ============================================================================ */
#home.hero .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

#home.hero .hero-actions .btn {
  position: relative !important;
  height: 40px !important;
  padding: 0 15px !important;
  border-radius: 999px !important;
  font-family: "DREAMVFIA Vitreous EN", "DREAMVFIA Lingbo CN", sans-serif !important;
  font-size: 0.80rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  transition:
    transform 0.28s var(--dvf11-spring),
    background 0.28s var(--dvf11-spring),
    border-color 0.28s var(--dvf11-spring),
    box-shadow 0.28s var(--dvf11-spring) !important;
}

/* Primary CTA: Luminous Cinnabar-Ruby Smoked-Quartz Capsule */
#home.hero .hero-actions .btn.primary {
  background: var(--dvf11-glass-btn-ruby) !important;
  backdrop-filter: blur(28px) saturate(185%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(28px) saturate(185%) brightness(1.08) !important;
  border: 1px solid hsla(350, 95%, 84%, 0.42) !important;
  box-shadow:
    var(--dvf11-specular-ruby),
    inset 0 -1px 0 hsla(348, 90%, 20%, 0.35),
    0 14px 34px hsla(348, 84%, 42%, 0.32) !important;
  color: #ffffff !important;
}

#home.hero .hero-actions .btn.primary:hover {
  transform: translateY(-2px) !important;
  border-color: hsla(350, 100%, 92%, 0.68) !important;
  box-shadow:
    inset 0 1px 0 hsla(0, 0%, 100%, 0.52),
    0 18px 42px hsla(348, 84%, 48%, 0.46) !important;
}

/* Secondary CTAs: Pure Translucent Smoked-Quartz Glass Capsules (Replaces Opaque Black Plastic!) */
#home.hero .hero-actions .btn:not(.primary) {
  background: var(--dvf11-glass-btn-sec) !important;
  backdrop-filter: blur(28px) saturate(175%) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(28px) saturate(175%) brightness(1.06) !important;
  border: 1px solid hsla(220, 42%, 96%, 0.18) !important;
  box-shadow:
    inset 0 1px 0 hsla(0, 0%, 100%, 0.22),
    0 12px 30px rgba(2, 4, 10, 0.44) !important;
  color: var(--dvf11-platinum) !important;
}

#home.hero .hero-actions .btn:not(.primary):hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(150deg, hsla(220, 34%, 96%, 0.145) 0%, hsla(224, 28%, 88%, 0.065) 100%) !important;
  border-color: hsla(220, 50%, 98%, 0.36) !important;
  box-shadow:
    inset 0 1px 0 hsla(0, 0%, 100%, 0.32),
    0 16px 36px rgba(2, 4, 10, 0.56) !important;
  color: #ffffff !important;
}

/* ============================================================================
 * 5. FULL-WIDTH 1380px BOTTOM SMOKED-QUARTZ 4-PILLAR STRATEGIC CONSOLE
 * ============================================================================ */
#home.hero .hero-glass-console {
  position: relative !important;
  width: 100% !important;
  max-width: 1380px !important;
  padding: 14px 16px !important;
  border-radius: 24px !important;
  background: linear-gradient(162deg, hsla(224, 28%, 13%, 0.58) 0%, hsla(228, 34%, 7%, 0.72) 100%) !important;
  backdrop-filter: blur(40px) saturate(175%) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(40px) saturate(175%) brightness(1.06) !important;
  border: 1px solid hsla(220, 40%, 96%, 0.14) !important;
  box-shadow:
    var(--dvf11-specular-top),
    inset 0 -1px 0 hsla(348, 84%, 54%, 0.07),
    0 26px 64px rgba(2, 4, 10, 0.65) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  contain: layout style;
  transform: translateZ(0);
}

#home.hero .hero-glass-console::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--dvf11-noise-svg);
  pointer-events: none;
}

/* Top Telemetry Header Strip inside Console */
#home.hero .sovereign-master-hud-bar {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 8px 14px !important;
  min-height: 40px !important;
  border-radius: 14px !important;
  background: hsla(224, 30%, 7%, 0.46) !important;
  backdrop-filter: none !important;
  border: 1px solid hsla(220, 36%, 96%, 0.09) !important;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.07) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  font-family: "DREAMVFIA Prisma Mono", "DREAMVFIA Lingbo CN", sans-serif !important;
}

#home.hero .hud-bar-play-trigger {
  background: hsla(220, 30%, 96%, 0.065) !important;
  border: 1px solid hsla(220, 40%, 96%, 0.15) !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  font-family: "DREAMVFIA Prisma Mono", "DREAMVFIA Lingbo CN", sans-serif !important;
  font-size: 0.72rem !important;
  color: var(--dvf11-platinum) !important;
}

#home.hero .hud-bar-metric {
  font-family: "DREAMVFIA Prisma Mono", sans-serif !important;
  font-size: 0.70rem !important;
  color: var(--dvf11-platinum-muted) !important;
}

#home.hero .hud-bar-metric strong {
  color: var(--dvf11-platinum) !important;
  margin-left: 5px !important;
}

#home.hero .hud-bar-metric.crimson strong {
  color: #fb7185 !important;
}

#home.hero .hud-bar-metric.emerald strong {
  color: var(--dvf11-champagne) !important;
}

/* 4-Column Spacious Smoked-Quartz Pillar Grid (~325px per card on desktop -> Zero Wrapping!) */
#home.hero #hero-pillar-dock.sovereign-pillar-dock {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

#home.hero #hero-pillar-dock .pillar-card {
  position: relative !important;
  padding: 12px 16px !important;
  border-radius: 16px !important;
  background: var(--dvf11-glass-surface-card) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid hsla(220, 38%, 96%, 0.11) !important;
  border-top: 1px solid hsla(0, 0%, 100%, 0.18) !important;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.10) !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 5px !important;
  min-height: 84px !important;
  transition:
    transform 0.26s var(--dvf11-spring),
    background 0.26s var(--dvf11-spring),
    border-color 0.26s var(--dvf11-spring),
    box-shadow 0.26s var(--dvf11-spring) !important;
}

/* Remove legacy rainbow (red/gold/cyan/green) pseudo-bars on pillar cards */
#home.hero #hero-pillar-dock .pillar-card::before,
#home.hero #hero-pillar-dock .pillar-card::after {
  display: none !important;
}

#home.hero #hero-pillar-dock .pillar-card:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(155deg, hsla(222, 30%, 96%, 0.10) 0%, hsla(225, 26%, 86%, 0.04) 100%) !important;
  border-color: hsla(220, 46%, 98%, 0.26) !important;
  box-shadow:
    inset 0 1px 0 hsla(0, 0%, 100%, 0.24),
    0 12px 28px rgba(0, 0, 0, 0.36) !important;
}

#home.hero #hero-pillar-dock .pillar-card.is-active {
  background: linear-gradient(155deg, hsla(348, 72%, 48%, 0.14) 0%, hsla(224, 28%, 14%, 0.42) 100%) !important;
  border-color: hsla(348, 84%, 64%, 0.42) !important;
  box-shadow:
    inset 0 1px 0 hsla(350, 100%, 92%, 0.32),
    0 14px 32px rgba(2, 4, 10, 0.45) !important;
}

#home.hero #hero-pillar-dock .pillar-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
}

#home.hero #hero-pillar-dock .pillar-idx {
  font-family: "DREAMVFIA MechaTron EN", "DREAMVFIA Prisma Mono", sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  color: var(--dvf11-champagne) !important;
  white-space: nowrap !important;
}

#home.hero #hero-pillar-dock .pillar-card.is-active .pillar-idx {
  color: #fda4af !important;
}

#home.hero #hero-pillar-dock .pillar-metric {
  font-family: "DREAMVFIA Prisma Mono", sans-serif !important;
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  background: hsla(220, 30%, 96%, 0.07) !important;
  border: 1px solid hsla(220, 40%, 96%, 0.13) !important;
  color: var(--dvf11-platinum) !important;
  white-space: nowrap !important;
}

#home.hero #hero-pillar-dock .pillar-title {
  font-family: "DREAMVFIA Vitreous EN", "DREAMVFIA Lingbo CN", sans-serif !important;
  font-size: 0.96rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  color: #ffffff !important;
  line-height: 1.3 !important;
}

#home.hero #hero-pillar-dock .pillar-sub {
  font-family: "DREAMVFIA Vitreous EN", "DREAMVFIA Lingbo CN", sans-serif !important;
  font-size: 0.76rem !important;
  line-height: 1.42 !important;
  color: var(--dvf11-platinum-muted) !important;
}

/* Bottom Telemetry Whisper Bar inside Glass Console */
#home.hero .hero-pillar-telemetry {
  margin: 0 !important;
  padding: 4px 8px 0 8px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px 16px !important;
  font-family: "DREAMVFIA Prisma Mono", "DREAMVFIA Lingbo CN", sans-serif !important;
  font-size: 0.72rem !important;
}

#home.hero .hero-pillar-telemetry .telemetry-status {
  color: var(--dvf11-platinum) !important;
  font-weight: 600 !important;
}

#home.hero .hero-pillar-telemetry .telemetry-detail {
  color: var(--dvf11-platinum-muted) !important;
}

/* ============================================================================
 * 6. TABLET & MOBILE RESPONSIVE ADAPTATION (ZERO OVERFLOW / TOUCH ERGONOMICS)
 * ============================================================================ */
@media (max-width: 1120px) {
  #home.hero #hero-pillar-dock.sovereign-pillar-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  #home.hero {
    padding: 86px 0 28px 0 !important;
  }

  #home.hero .hero-inner {
    width: calc(100vw - 28px) !important;
    gap: 20px !important;
  }

  html[lang="zh-CN"] #home.hero #hero-main-title {
    font-size: clamp(2.9rem, 12.5vw, 4.1rem) !important;
  }

  html:not([lang="zh-CN"]) #home.hero #hero-main-title {
    font-size: clamp(1.85rem, 8.0vw, 2.55rem) !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    gap: 0.08em 0.22em !important;
  }

  #home.hero .hero-en span {
    font-size: 0.62rem !important;
    padding: 4px 9px !important;
    white-space: normal !important;
  }

  #home.hero .hero-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  #home.hero .hero-actions .btn {
    width: 100% !important;
    height: 44px !important;
    padding: 0 12px !important;
    font-size: 0.78rem !important;
  }

  #home.hero .hero-glass-console {
    padding: 12px !important;
    border-radius: 18px !important;
  }

  #home.hero .sovereign-master-hud-bar {
    flex-wrap: wrap !important;
    padding: 8px 10px !important;
    gap: 8px !important;
  }

  #home.hero .hud-bar-center {
    display: none !important;
  }

  #home.hero .hud-bar-right {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
  }

  #home.hero #hero-pillar-dock.sovereign-pillar-dock {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  #home.hero #hero-pillar-dock .pillar-card {
    min-height: auto !important;
    padding: 12px 14px !important;
  }
}

@media (max-width: 400px) {
  #home.hero .hero-actions {
    grid-template-columns: 1fr !important;
  }
}
