/* ==========================================================================
   DYNASYNC AI - MASTER HUD OPERATING SYSTEM (OPTION C PERFECTED)
   100% Real-Time WebGL Cyber Globe, Liquid Glass Typography, and Responsive OS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CYBER PALETTE & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --bg-void: #04070E;
  --bg-grid: #0A1222;
  --bg-hud: rgba(11, 18, 32, 0.75);
  --bg-card: rgba(14, 22, 38, 0.75);
  --bg-card-hover: rgba(24, 38, 66, 0.92);
  
  --cyan: #00F2FE;
  --cyan-glow: rgba(0, 242, 254, 0.55);
  --blue: #4FACFE;
  --purple: #8A2387;
  --purple-glow: rgba(138, 35, 135, 0.55);
  --pink: #E94057;
  
  --text-white: #FFFFFF;
  --text-chrome: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --border-cyan: rgba(0, 242, 254, 0.45);
  --border-glass: rgba(255, 255, 255, 0.18);
  --border-bright: rgba(255, 255, 255, 0.4);
  
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-cyan: 0 0 30px rgba(0, 242, 254, 0.35);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.85);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & 100% VIEWPORT OS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-void);
  font-family: var(--font-body);
  color: var(--text-chrome);
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   3. PURE WEBGL BACKGROUND CANVAS (CYBER GLOBE & MOON IN BACKGROUND)
   -------------------------------------------------------------------------- */
#canvas-c-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 55%, #0D172A 0%, var(--bg-void) 85%);
}

#canvas-c {
  width: 100%;
  height: 100%;
  display: block;
}

/* --------------------------------------------------------------------------
   4. OUTER SCI-FI HUD FRAME (CORNERS & TELEMETRY TICKS)
   -------------------------------------------------------------------------- */
.hud-c-outer-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  pointer-events: none;
  border: 1px solid rgba(0, 242, 254, 0.12);
  padding: 16px;
}

/* Corner Brackets */
.hud-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--cyan);
  border-style: solid;
  pointer-events: none;
  box-shadow: 0 0 10px var(--cyan-glow);
}

.corner-tl { top: 16px; left: 16px; border-width: 2px 0 0 2px; }
.corner-tr { top: 16px; right: 16px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 16px; left: 16px; border-width: 0 0 2px 2px; }
.corner-br { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; }

/* Crosshairs & Telemetry Ticks */
.hud-crosshair {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(0, 242, 254, 0.35);
  pointer-events: none;
}

.ch-top { top: 20px; left: 50%; transform: translateX(-50%); }
.ch-bottom { bottom: 20px; left: 50%; transform: translateX(-50%); }
.ch-left { top: 50%; left: 20px; transform: translateY(-50%); writing-mode: vertical-rl; }
.ch-right { top: 50%; right: 20px; transform: translateY(-50%); writing-mode: vertical-rl; }

/* --------------------------------------------------------------------------
   5. INTERACTIVE HUD OVERLAY LAYER
   -------------------------------------------------------------------------- */
#hud-c-interactive {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2% 4%;
  pointer-events: none;
}

#hud-c-interactive * {
  pointer-events: auto;
}

/* --- TOP NAVIGATION BAR --- */
.hud-c-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 20;
}

/* Search Bar (Top Left) */
.hud-c-search-box {
  display: flex;
  align-items: center;
  background: rgba(14, 22, 38, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  padding: 8px 16px;
  width: 260px;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.hud-c-search-box:focus-within, .hud-c-search-box:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
  width: 290px;
}

.search-icon {
  font-size: 0.95rem;
  margin-right: 8px;
  color: var(--cyan);
}

#hud-c-search-input {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  width: 100%;
  outline: none;
}

#hud-c-search-input::placeholder {
  color: var(--text-dim);
}

.search-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: 100px;
  transition: all 0.2s;
  cursor: pointer;
}

.search-btn:hover {
  background: var(--cyan);
  color: var(--bg-void);
  font-weight: 700;
}

/* Inner Glass Header Card (Logo + Nav Links) */
.hud-c-inner-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  background: rgba(11, 18, 32, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  padding: 8px 32px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.hud-c-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-orb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFF, var(--cyan) 50%, var(--purple) 90%);
  box-shadow: 0 0 15px var(--cyan);
  animation: rotate-orb 8s linear infinite;
}

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

.hud-c-brand strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.hud-c-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-item {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-white);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* Auth Area (Top Right) - REPLACED LOGIN WITH DYNASYNC.DE LINK */
.hud-c-auth {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-dynasync-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-cyan);
  padding: 8px 20px;
  border-radius: 100px;
  backdrop-filter: blur(12px);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.btn-dynasync-link:hover {
  background: var(--cyan);
  color: var(--bg-void);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-2px);
}

.btn-signup {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bg-void);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  padding: 8px 24px;
  border-radius: 100px;
  box-shadow: 0 0 20px var(--cyan-glow);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--cyan);
}

/* --- CENTER STAGE AREA (LIQUID GLASS TYPOGRAPHY + CTAS) --- */
.hud-c-center-stage {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: 65%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 15;
}

.hud-c-pills {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.pill-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-white);
  background: rgba(14, 22, 38, 0.8);
  border: 1px solid var(--border-bright);
  padding: 6px 18px;
  border-radius: 100px;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.6);
}

.pill-tag:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-2px);
  color: var(--cyan);
}

/* LIQUID GLASS TYPOGRAPHY (SCULPTED FROSTED GLASS EFFECT) */
.liquid-glass-container {
  padding: 12px 42px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  box-shadow: 
    inset 0 0 30px rgba(255, 255, 255, 0.18),
    0 20px 40px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 242, 254, 0.2);
  margin-bottom: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.liquid-glass-container:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 
    inset 0 0 40px rgba(0, 242, 254, 0.3),
    0 25px 50px rgba(0, 0, 0, 0.8),
    var(--shadow-cyan);
  transform: scale(1.02);
}

.title-liquid-glass {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 6.2vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  text-transform: uppercase;
  margin: 0;
  
  /* Refractive Liquid Glass Gradient */
  background: linear-gradient(
    135deg,
    #FFFFFF 0%,
    rgba(255, 255, 255, 0.9) 25%,
    #00F2FE 55%,
    #A5B4FC 80%,
    #FFFFFF 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Subsurface Refraction Shadows */
  filter: drop-shadow(0 4px 15px rgba(0, 242, 254, 0.45)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.25));
}

.hud-c-subtitle-box {
  max-width: 640px;
  margin-bottom: 26px;
  background: rgba(5, 8, 15, 0.75);
  padding: 12px 24px;
  border-radius: 14px;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.hud-c-subtitle {
  font-size: 1.02rem;
  color: var(--text-chrome);
  line-height: 1.55;
}

.hud-c-cta-row {
  display: flex;
  gap: 22px;
  margin-bottom: 22px;
}

.btn-cta-primary {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--bg-void);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  padding: 14px 34px;
  border-radius: 100px;
  box-shadow: 0 0 25px var(--cyan-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-cta-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 45px var(--cyan);
}

.btn-cta-secondary {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-bright);
  padding: 14px 34px;
  border-radius: 100px;
  backdrop-filter: blur(16px);
  transition: all 0.3s;
  cursor: pointer;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(255,255,255,0.35);
}

.hud-c-dots {
  display: flex;
  gap: 10px;
}

.hud-c-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s;
}

.hud-c-dots .dot.active, .hud-c-dots .dot:hover {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transform: scale(1.4);
}

/* --- THE 4 CORNER INTERACTIVE PANELS --- */
.hud-c-panel {
  position: absolute;
  width: 23%;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
}

.hud-c-panel:hover {
  border-color: var(--cyan);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 50px rgba(0,0,0,0.9), var(--shadow-cyan);
  transform: translateY(-5px) scale(1.02);
  z-index: 30;
}

.panel-tl { top: 20%; left: 4%; }
.panel-tr { top: 20%; right: 4%; }
.panel-bl { bottom: 21%; left: 4%; }
.panel-br { bottom: 21%; right: 4%; }

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 6px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.3); }
}

.panel-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #A5B4FC;
  line-height: 1.45;
}

.panel-code .kw { color: var(--pink); font-weight: 700; }
.panel-code .fn { color: var(--cyan); }
.panel-code .str { color: #34D399; }

.panel-meter {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px var(--cyan);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 44px;
  margin-top: 8px;
}

.chart-bars .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(0, 242, 254, 0.15) 100%);
  border-radius: 4px 4px 0 0;
  transition: all 0.2s;
}

.chart-bars .bar:hover {
  background: var(--pink);
  box-shadow: 0 0 15px var(--pink);
}

.panel-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --- BOTTOM 3 FEATURE CARDS ROW --- */
.hud-c-bottom-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  z-index: 20;
}

.hud-c-bottom-card {
  flex: 1;
  background: rgba(14, 22, 38, 0.82);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 18px 24px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-c-bottom-card:hover {
  border-color: var(--cyan);
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.9), var(--shadow-cyan);
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 6px;
}

.hud-c-bottom-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 6px;
}

.hud-c-bottom-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   6. CYBER GLASS MODALS (THE OPERATING SYSTEM WINDOWS)
   -------------------------------------------------------------------------- */
#hud-c-modals-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background: rgba(4, 7, 14, 0.88);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 40px;
}

#hud-c-modals-layer.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: rgba(14, 22, 38, 0.96);
  border: 1px solid var(--cyan);
  border-radius: 24px;
  width: 90%;
  max-width: 850px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0,0,0,0.95), 0 0 60px rgba(0, 242, 254, 0.3);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

.modal-window.active-modal {
  display: flex;
}

#hud-c-modals-layer.active .modal-window.active-modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  background: rgba(8, 13, 26, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid var(--border-cyan);
  padding: 6px 16px;
  border-radius: 100px;
}

.modal-close-btn {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--pink);
  color: var(--text-white);
  border-color: var(--pink);
  box-shadow: 0 0 20px var(--pink);
}

.modal-body {
  padding: 38px 46px;
  overflow-y: auto;
  color: var(--text-chrome);
  font-size: 1.05rem;
  line-height: 1.7;
}

.modal-body h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-white);
  margin-bottom: 12px;
}

.modal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-white);
  margin-top: 24px;
  margin-bottom: 10px;
}

.modal-body p { margin-bottom: 16px; }
.modal-body ul { padding-left: 20px; margin-bottom: 20px; }
.modal-body li { margin-bottom: 8px; }

/* Modal Profile Grid */
.profile-modal-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: start;
  margin-top: 20px;
}

.profile-modal-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border-cyan);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* Matrix Table in Modal */
.modal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.modal-table th, .modal-table td {
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  text-align: left;
  font-size: 0.92rem;
}

.modal-table th {
  background: rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  color: var(--cyan);
}

.modal-table td.highlight-col {
  background: rgba(0, 242, 254, 0.06);
  color: var(--text-white);
  font-weight: 600;
}

/* Toast & Notification Overlay */
.hud-c-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-60px);
  background: rgba(14, 22, 38, 0.95);
  border: 1px solid var(--cyan);
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.9), 0 0 30px var(--cyan-glow);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-c-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   7. COMPREHENSIVE RESPONSIVE ARCHITECTURE FOR MOBILE & TABLET (< 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  html, body {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
  }

  .hud-c-outer-frame {
    display: none; /* Hide decorative brackets on mobile for clean touch space */
  }

  #hud-c-interactive {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    justify-content: flex-start;
  }

  /* Compact Top Bar */
  .hud-c-top-bar {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .hud-c-inner-nav {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 20px;
  }

  .hud-c-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hud-c-search-box {
    width: 100%;
    max-width: none;
  }

  .hud-c-auth {
    justify-content: center;
  }

  /* Center Stage */
  .hud-c-center-stage {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin: 20px 0;
  }

  .title-liquid-glass {
    font-size: clamp(2.4rem, 9vw, 3.8rem);
  }

  .liquid-glass-container {
    padding: 10px 24px;
    border-radius: 24px;
  }

  .hud-c-cta-row {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
  }

  .btn-cta-primary, .btn-cta-secondary {
    width: 100%;
  }

  /* Corner Panels -> Stacked Vertical Columns */
  .hud-c-panel {
    position: relative;
    width: 100%;
    max-width: none;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-bottom: 14px;
    transform: none !important;
  }

  /* Bottom Cards -> Stacked Column */
  .hud-c-bottom-row {
    flex-direction: column;
    gap: 16px;
  }

  .hud-c-bottom-card {
    width: 100%;
    transform: none !important;
  }

  .profile-modal-grid {
    grid-template-columns: 1fr;
  }
}
