/* ==========================================================================
   CUSTOM LOCAL TYPOGRAPHY: Psilograph
   ========================================================================== */
@font-face {
  font-family: 'Psilograph';
  src: url('../assets/fonts/Psilograph-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Psilograph';
  src: url('../assets/fonts/Psilograph-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Psilograph';
  src: url('../assets/fonts/Psilograph-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Psilograph';
  src: url('../assets/fonts/Psilograph-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color Palette */
  --bg-light: #edf0f5;
  --bg-light-surface: #f7f9fc;
  --bg-dark: #0a0b0e;
  --bg-dark-surface: #12141a;
  --bg-dark-card: #181b22;
  
  --text-dark-primary: #101216;
  --text-dark-secondary: #585e6c;
  --text-dark-muted: #8b92a1;
  
  --text-light-primary: #f5f7fa;
  --text-light-secondary: #9da6b8;
  --text-light-muted: #626a7a;
  
  /* Brand Accents */
  --brand-primary: #ff3b5c;
  --brand-cyan: #00f0ff;
  --brand-glacio: #4cc9f0;
  --brand-gold: #ffbe0b;
  
  /* Typography */
  --font-poster: 'Psilograph', 'Bebas Neue', 'Antonio', 'Space Grotesk', -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 25px rgba(255, 59, 92, 0.35);

  /* Transition speeds */
  --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #07080c;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: #07080c;
  color: var(--text-light-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

button, input, select, textarea, optgroup {
  font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

/* Ambient Layer */
.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 59, 92, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(76, 201, 240, 0.03) 0%, transparent 40%);
}

/* View Sections Container */
.view-section {
  width: 100%;
}

/* ==========================================================================
   HOME TAB: Zenless Modern Minimalist Showcase with Poster Typography
   ========================================================================== */
.home-zenless-showcase {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-x: hidden;
  overflow-y: visible;
  background: radial-gradient(ellipse at 50% 50%, #4a0c16 0%, #2f060d 45%, #180306 80%, #0a0102 100%);
  transition: background 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.theme-dark) .home-zenless-showcase {
  background: radial-gradient(ellipse at 50% 50%, #4a0c16 0%, #2f060d 45%, #180306 80%, #0a0102 100%);
}

.zenless-stage-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Atmospheric Mesh, Light Leaks & Canvas */
.marvel-ambient-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.marvel-bg-art-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marvel-bg-art-image {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.88;
  filter: contrast(1.15) brightness(1.02) saturate(1.1);
  mix-blend-mode: screen;
  transform: scale(1.02);
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
  animation: bgArtBreathing 20s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.marvel-bg-art-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 35%, rgba(10, 1, 2, 0.55) 70%, rgba(10, 1, 2, 0.95) 100%);
  pointer-events: none;
}

.marvel-ambient-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(600px, 70vw, 1000px);
  height: clamp(600px, 70vw, 1000px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--home-glow, rgba(255, 59, 92, 0.35)) 0%, rgba(230, 57, 70, 0.08) 50%, transparent 75%);
  filter: blur(85px);
  opacity: 0.8;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.marvel-tech-mesh {
  position: absolute;
  inset: 0;
  background-size: 44px 44px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.marvel-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   TOP MINIMALIST META PILL (REMOVED)
   ========================================================================== */
.zenless-top-meta,
.zenless-meta-pill {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


.meta-name {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.meta-dot {
  opacity: 0.35;
}

.meta-element {
  color: #ffd700;
  font-weight: 800;
}

.meta-weapon {
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   GIANT ANIMATED POSTER BACKGROUND TYPOGRAPHY
   ========================================================================== */
.marvel-bg-title-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.marvel-bg-title {
  font-family: 'Psilograph', var(--font-poster), sans-serif;
  font-size: clamp(10rem, 26vw, 30rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.72;
  color: #ffffff;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.25), 0 10px 40px rgba(0, 0, 0, 0.8);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.marvel-bg-code-watermark {
  display: none;
}

/* ==========================================================================
   CHARACTER CENTRAL STAGE (Clean, Majestic & Layered)
   ========================================================================== */
.marvel-character-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.marvel-char-img-wrap {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: auto;
  will-change: transform;
}

.marvel-character-img {
  height: clamp(520px, 78vh, 840px);
  max-height: 82vh;
  width: auto;
  max-width: 88vw;
  object-fit: contain;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 30px rgba(255, 59, 92, 0.25));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  animation: marvelLevitate 6s ease-in-out infinite alternate;
  will-change: transform;
  cursor: pointer;
  transform-origin: center bottom;
  transform: translateY(-8px) scale(1.0);
}

.marvel-character-img:hover {
  transform: translateY(-16px) scale(1.03);
}

/* ==========================================================================
   NEXT RESONATOR PREVIEW CARD (Minimalist Clean Rounded Pill)
   ========================================================================== */
.marvel-next-preview {
  position: absolute;
  right: clamp(20px, 3.5vw, 44px);
  bottom: clamp(20px, 3.5vh, 44px);
  z-index: 12;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.next-preview-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  background: rgba(10, 14, 24, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-light .next-preview-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.marvel-next-preview:hover .next-preview-card {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(15, 20, 32, 0.85);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 20px var(--home-glow, rgba(239, 68, 68, 0.25));
}

body.theme-light .marvel-next-preview:hover .next-preview-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.next-preview-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #090c14;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.theme-light .next-preview-avatar-wrap {
  background: #e2e8f0;
  border-color: rgba(0, 0, 0, 0.1);
}

.next-preview-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

.marvel-next-preview:hover .next-preview-avatar {
  transform: scale(1.08);
}

.next-preview-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.6;
}

.next-preview-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.next-preview-kicker {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

body.theme-light .next-preview-kicker {
  color: #64748b;
}

.next-preview-name {
  font-family: 'Plus Jakarta Sans', var(--font-sans), sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

body.theme-light .next-preview-name {
  color: #0f172a;
}

.next-preview-action-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  margin-left: 2px;
  transition: all 0.2s ease;
}

body.theme-light .next-preview-action-circle {
  background: rgba(0, 0, 0, 0.05);
  color: #475569;
}

.marvel-next-preview:hover .next-preview-action-circle {
  background: #ef4444;
  color: #ffffff;
  transform: translateX(2px);
}

/* ==========================================================================
   GAMEPLAY VIDEO MODAL DIALOG
   ========================================================================== */
.gameplay-modal-dialog {
  max-width: 800px;
  width: 92vw;
  background: rgba(12, 16, 26, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--home-glow, rgba(255, 59, 92, 0.3));
}

.gameplay-modal-header {
  margin-bottom: 14px;
}

.gameplay-modal-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--home-accent-color, #ff3b5c);
  display: inline-block;
  margin-bottom: 4px;
}

.gameplay-modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
}

.gameplay-modal-video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
}

.gameplay-modal-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gameplay-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.gameplay-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gameplay-modal-footer-text {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* ==========================================================================
   RESPONSIVE RULES FOR ZENLESS FLOATING DOCK
   ========================================================================== */
@media (max-width: 900px) {
  .zenless-floating-dock {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
    padding: 10px 14px;
    bottom: 16px;
  }
  .dock-divider {
    display: none;
  }
  .dock-hero-chip {
    display: none;
  }
  .marvel-character-img {
    height: clamp(480px, 72vh, 640px);
  }
}

@media (max-width: 600px) {
  .btn-dock-primary,
  .btn-dock-secondary {
    padding: 6px 12px;
    font-size: 0.74rem;
  }
  .dock-avatar-strip {
    max-width: 180px;
    overflow-x: auto;
  }
}
/* ==========================================================================
   TOP SECTION: AAA Game UI Character Showcase (Arknights/Solaris Style)
   ========================================================================== */
.hero-showcase {
  position: relative;
  width: 100%;
  min-height: 96vh;
  padding: 105px 4vw 70px 5vw;
  display: grid;
  grid-template-columns: 0.9fr 1.55fr;
  align-items: center;
  gap: 2rem;
  background-color: var(--bg-dark);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

/* Dynamic Angular Theme Backdrop */
.hero-theme-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-diagonal-slice {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 48%, rgba(255, 59, 92, 0.45) 0%, rgba(180, 15, 45, 0.2) 42%, rgba(10, 11, 14, 0.95) 75%);
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-stencil-text {
  position: absolute;
  left: 2%;
  bottom: 6%;
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 16rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.035);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  line-height: 0.85;
  transition: opacity 0.4s ease;
}

/* Technical Crosshairs & Tech Grids */
.hero-graphic-crosshair {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
  font-weight: 800;
}
.crosshair-top-left { top: 95px; left: 35px; }
.crosshair-bottom-right { bottom: 65px; right: 35px; }

.hero-tech-grid {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 90%);
}

/* Hero Content (Left Side) */
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Archive Subtitle & Meta */
.archive-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.archive-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.profile-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 10px var(--brand-primary);
  animation: pulseGlow 2s infinite;
}

.profile-label {
  letter-spacing: 0.12em;
}

.archive-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.archive-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  background-color: #ffffff;
  color: #0a0b0e;
  border-radius: 3px;
  letter-spacing: 0.1em;
}

.archive-bar {
  width: 24px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
}

.archive-faction {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.75);
}

/* Character Identity & Titles */
.character-identity {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.character-name-hero {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.8vw, 5.2rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
  transition: transform var(--trans-smooth), opacity var(--trans-fast);
}

.character-subheading {
  font-family: var(--font-sans);
  font-size: 1.22rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
}

/* Character Tags */
.character-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tag-element {
  background: rgba(255, 59, 92, 0.15);
  border-color: rgba(255, 59, 92, 0.4);
  color: #ff6b8b;
}

.tag-rarity {
  background: rgba(255, 59, 92, 0.15);
  border-color: rgba(255, 59, 92, 0.4);
  color: var(--brand-primary);
  letter-spacing: 2px;
}

/* Bio Text */
.character-bio {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
  max-width: 520px;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.2rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0a0b0e;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--trans-fast);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.02);
  background: #f0f2f5;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
}

.btn-hero-icon {
  font-size: 0.75rem;
  transition: transform var(--trans-fast);
}

.btn-hero-primary:hover .btn-hero-icon {
  transform: translateX(3px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all var(--trans-fast);
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Brand Collab Footer & Socials */
.hero-brand-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-social-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--trans-fast);
  text-decoration: none;
}

.social-circle-btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 59, 92, 0.4);
}

.lang-pill-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-brand-sign {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.08em;
}

.brand-name-bold {
  font-weight: 900;
  color: #fff;
}

.brand-divider {
  opacity: 0.4;
}

/* Visual Artwork (Right Side - Large & Majestic 2048x2032 Asset Render) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: clamp(560px, 84vh, 900px);
  z-index: 4;
  overflow: visible;
}

.visual-backdrop {
  position: absolute;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 92, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(80px);
  z-index: 1;
  transition: background var(--trans-smooth);
}

.visual-circle {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.15);
  z-index: 1;
  animation: spinSlow 40s linear infinite;
}

/* Primary Character Image */
.character-image {
  position: relative;
  z-index: 3;
  height: clamp(580px, 88vh, 980px);
  max-height: 90vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.7));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity var(--trans-fast);
  animation: floatIdle 6s ease-in-out infinite;
  transform-origin: center bottom;
}

.character-image.view-bust {
  transform: scale(1.20) translateY(2%);
}

/* Floating Hero Side Nav Arrows (Clean & Minimal ‹ and ›) */
.hero-side-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 20, 26, 0.82);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all var(--trans-fast);
  pointer-events: auto;
  line-height: 1;
}

.hero-side-nav span {
  position: relative;
  top: -2px;
}

.hero-side-prev {
  left: clamp(14px, 2vw, 32px);
}

.hero-side-next {
  right: clamp(14px, 2vw, 32px);
}

.hero-side-nav:hover {
  background: var(--brand-primary, #ff3b5c);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 10px 30px rgba(255, 59, 92, 0.45);
}

/* View Mode Switcher (Full Body vs 3/4 Splash) */
.visual-view-toggle {
  position: absolute;
  top: 15px;
  right: 25px;
  z-index: 6;
  display: flex;
  gap: 4px;
  background: rgba(18, 20, 26, 0.85);
  backdrop-filter: blur(14px);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.view-btn {
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.view-btn.active {
  background: #ffffff;
  color: #0a0b0e;
}

/* ==========================================================================
   FLOATING GAME UI CARDS (Arknights / Solaris Style)
   ========================================================================== */

/* 1. Floating Tags & Archetype Card */
.floating-archetype-card {
  position: absolute;
  top: 14%;
  left: -20px;
  z-index: 5;
  background: rgba(14, 16, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 59, 92, 0.15);
  animation: floatCardSlow 5s ease-in-out infinite alternate;
  min-width: 240px;
  cursor: default;
  transition: transform var(--trans-fast), border-color var(--trans-fast);
}

.floating-archetype-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px) scale(1.02);
}

.archetype-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.archetype-avatar-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.archetype-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archetype-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.archetype-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
}

.archetype-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.archetype-chip {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.archetype-chip.chip-highlight {
  background: rgba(255, 59, 92, 0.22);
  border-color: rgba(255, 59, 92, 0.5);
  color: #ffffff;
}

.archetype-toggle-arrow {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 2. Floating Skills Deck (Tarot Mini Cards) */
.floating-skills-deck {
  position: absolute;
  bottom: 18%;
  right: 15px;
  z-index: 5;
  background: rgba(14, 16, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: floatCardReverse 5.5s ease-in-out infinite alternate;
}

.skills-deck-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.skills-deck-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-skill-card {
  width: 46px;
  height: 54px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  padding: 4px;
  position: relative;
  font-size: 1.5rem;
}

.mini-skill-card:hover {
  transform: translateX(-8px) scale(1.15);
  border-color: var(--brand-primary);
  background: rgba(255, 59, 92, 0.2);
  box-shadow: 0 0 18px var(--brand-primary);
  z-index: 10;
}

.mini-skill-card img,
.mini-skill-card .icon-image-tag,
.mini-skill-icon-img {
  width: 32px !important;
  height: 32px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.mini-skill-card .icon-text-tag,
.mini-skill-icon-text {
  font-size: 1.6rem !important;
  line-height: 1 !important;
}

/* 3. Floating Weapon & Class Badge */
.floating-weapon-class-badge {
  position: absolute;
  top: 10%;
  right: 35px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(14, 16, 22, 0.85);
  backdrop-filter: blur(16px);
  padding: 10px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  animation: floatCardSlow 6s ease-in-out infinite alternate;
}

.class-badge-icon {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 8px var(--brand-primary));
}

.class-badge-stars {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-primary);
  letter-spacing: 2px;
  font-weight: 800;
}

/* 4. Floating Stat Calibration Card */
.floating-stat-card {
  display: none !important;
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  box-shadow: 0 0 8px var(--brand-primary);
}
.stat-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}
.stat-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
}

/* ==========================================================================
   SHOWCASE SCROLL NAVIGATOR (Vertical Pagination & Wheel Progress)
   ========================================================================== */
.showcase-scroll-navigator {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(14, 16, 22, 0.75);
  backdrop-filter: blur(16px);
  padding: 16px 8px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-arrow-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
  font-size: 0.7rem;
}

.nav-arrow-btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: scale(1.12);
  box-shadow: 0 0 12px var(--brand-primary);
}

.showcase-pagination-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
}

.pagination-track {
  width: 3px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.pagination-fill {
  width: 100%;
  height: 50%;
  background: var(--brand-primary);
  border-radius: 3px;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s;
  box-shadow: 0 0 8px var(--brand-primary);
}

.scroll-mouse-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--trans-fast);
}

.scroll-mouse-hint:hover {
  opacity: 1;
}

.mouse-icon {
  width: 16px;
  height: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  position: relative;
  display: flex;
  justify-content: center;
}

.mouse-wheel {
  width: 2px;
  height: 5px;
  background: #ffffff;
  border-radius: 2px;
  position: absolute;
  top: 4px;
  animation: mouseWheelAnim 1.8s infinite;
}

@keyframes mouseWheelAnim {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

@keyframes floatCardSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes floatCardReverse {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(8px) rotate(1deg); }
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  box-shadow: 0 0 8px var(--brand-primary);
}
.stat-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dark-secondary);
}
.stat-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark-primary);
}


/* ==========================================================================
   BOTTOM SECTION: Dynamic Slanted Dark Slice
   ========================================================================== */
.slanted-slice-section {
  position: relative;
  width: 100%;
  min-height: 50vh;
  margin-top: -60px;
  padding: 120px 6vw 90px 6vw;
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
  clip-path: polygon(0 90px, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  z-index: 3;
}

/* Faint Watermark (Behind Skills) */
.slice-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.watermark-text {
  position: absolute;
  bottom: -20px;
  right: 5%;
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 16rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  user-select: none;
}

.watermark-silhouette {
  position: absolute;
  bottom: -40px;
  right: 2%;
  max-height: 90%;
  opacity: 0.11;
  mix-blend-mode: luminosity;
  filter: grayscale(100%) contrast(150%);
  transition: opacity var(--trans-smooth);
}

.slanted-slice-section:has(#tabContentResonance.active) .watermark-silhouette,
.slanted-slice-section:has(#tabContentResonance.active) .watermark-text {
  opacity: 0 !important;
  pointer-events: none;
}

/* Dark Tech Grid Overlay */
.slice-grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 28px 28px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  pointer-events: none;
  z-index: 1;
}

.slice-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

/* Slice Header & Tabs */
.slice-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.2rem;
}

.slice-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.slice-slashes {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -2px;
}

.slice-heading {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: capitalize;
}

/* Tabs */
.slice-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.slice-tab {
  background: transparent;
  border: none;
  color: var(--text-light-secondary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.slice-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.slice-tab.active {
  background: #ffffff;
  color: var(--bg-dark);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Tab Panes */
.tab-pane {
  display: none;
  animation: fadeIn var(--trans-smooth);
}
.tab-pane.active {
  display: block;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-showcase {
    grid-template-columns: 1fr;
    padding-top: 100px;
    gap: 2.5rem;
    min-height: auto;
  }
  .hero-visual {
    order: -1;
    min-height: 540px;
  }
  .character-image {
    height: clamp(480px, 60vh, 650px);
    max-height: 650px;
  }
  .visual-backdrop {
    width: 480px;
    height: 480px;
  }
  .visual-circle {
    width: 400px;
    height: 400px;
  }
  .floating-archetype-card {
    top: 5%;
    left: 10px;
    transform: scale(0.9);
  }
  .floating-skills-deck {
    bottom: 5%;
    right: 10px;
    transform: scale(0.9);
  }
  .floating-weapon-class-badge {
    top: 5%;
    right: 15px;
    transform: scale(0.9);
  }
  .showcase-scroll-navigator {
    right: 10px;
    transform: translateY(-50%) scale(0.85);
  }
  .slanted-slice-section {
    clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
    padding-top: 90px;
    margin-top: -30px;
  }
}

@media (max-width: 640px) {
  .hero-showcase {
    padding: 85px 4vw 60px 4vw;
  }
  .character-name-hero {
    font-size: 2.8rem;
  }
  .hero-visual {
    min-height: 420px;
  }
  .character-image {
    height: clamp(380px, 50vh, 480px);
    max-height: 480px;
  }
  .visual-backdrop {
    width: 320px;
    height: 320px;
  }
  .visual-circle {
    width: 280px;
    height: 280px;
  }
  .floating-archetype-card {
    top: 0;
    left: 0;
    min-width: 180px;
    padding: 8px 12px;
    transform: scale(0.8);
    transform-origin: top left;
  }
  .floating-skills-deck {
    bottom: 0;
    right: 0;
    transform: scale(0.8);
    transform-origin: bottom right;
  }
  .floating-weapon-class-badge {
    top: 0;
    right: 0;
    transform: scale(0.8);
    transform-origin: top right;
  }
  .showcase-scroll-navigator {
    display: none;
  }
  .slice-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .slice-tab {
    white-space: nowrap;
    padding: 6px 14px;
    font-size: 0.78rem;
  }
  .floating-stat-card {
    display: none;
  }
}

/* ==========================================================================
   THEME MANAGER: DARK (🌙) & LIGHT (☀️) FULL SITE SUPPORT
   ========================================================================== */
/* 🌙 Dark Mode (Default) */
body.theme-dark,
body:not(.theme-light) {
  background-color: #07080c;
  color: #f8fafc;
  color-scheme: dark;
}

body.theme-dark .home-zenless-showcase {
  background: radial-gradient(ellipse at 50% 50%, #4a0c16 0%, #2f060d 45%, #180306 80%, #0a0102 100%);
}

body.theme-dark .marvel-stage-container {
  color: #ffffff;
}

body.theme-dark .marvel-bg-art-image {
  opacity: 0.88;
  filter: contrast(1.15) brightness(1.02) saturate(1.1);
  mix-blend-mode: screen;
}

body.theme-dark .marvel-bg-art-vignette {
  background: radial-gradient(circle at 50% 50%, transparent 35%, rgba(10, 1, 2, 0.55) 70%, rgba(10, 1, 2, 0.95) 100%);
}

body.theme-dark .marvel-ambient-glow {
  background: radial-gradient(circle, var(--home-glow, rgba(255, 59, 92, 0.35)) 0%, rgba(230, 57, 70, 0.08) 50%, transparent 75%);
  opacity: 0.85;
}

body.theme-dark .marvel-bg-title {
  color: #ffffff;
  -webkit-text-stroke: 0;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.25), 0 10px 40px rgba(0, 0, 0, 0.8);
}

body.theme-dark .marvel-character-img {
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 30px rgba(255, 59, 92, 0.25));
}

body.theme-dark .marvel-target-bracket {
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

body.theme-dark .reticle-tag {
  background: rgba(8, 10, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body.theme-dark .marvel-char-name {
  color: #ffffff;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

body.theme-dark .marvel-bio-text {
  color: #cbd5e1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

body.theme-dark .btn-marvel-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

body.theme-dark .btn-marvel-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

body.theme-dark .marvel-side-nav {
  background: rgba(18, 22, 32, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

body.theme-dark .marvel-art-toggle-btn {
  background: rgba(18, 22, 32, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body.theme-dark .alcateia-header {
  background: rgba(10, 12, 18, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* ==========================================================================
   ☀️ ARCHITECTURAL GAMING LIGHT THEME (Solaris Technical Blueprint)
   ========================================================================== */
body.theme-light {
  background-color: #f7f9fc;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  background-attachment: fixed;
  color: #0f172a;
  color-scheme: light;
}

body.theme-light .view-section,
body.theme-light .unified-game-section,
body.theme-light .profile-view-wrapper {
  background: transparent !important;
}

/* 1. TOP FLOATING HUD (Keeps the sleek dark capsule HUD in light mode) */
body.theme-light .alcateia-header.floating-hud-mode .alcateia-header-inner {
  background: rgba(13, 17, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18), 0 0 15px rgba(0, 0, 0, 0.08);
}

body.theme-light .alcateia-nav-item {
  color: #94a3b8;
}

body.theme-light .alcateia-nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

body.theme-light .alcateia-nav-item.active-capsule {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.35);
}

body.theme-light .tool-circle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
}

body.theme-light .tool-circle-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

/* 2. HERO CHARACTER STAGE */
body.theme-light .home-zenless-showcase {
  background: transparent;
}

body.theme-light .marvel-ambient-backdrop {
  opacity: 0.5;
}

body.theme-light .marvel-character-stage::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(580px, 85vw);
  height: min(580px, 85vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 232, 240, 0.8) 0%, rgba(241, 245, 249, 0.4) 55%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

body.theme-light .marvel-bg-title {
  color: transparent;
  -webkit-text-stroke: 2.2px rgba(15, 23, 42, 0.25);
  text-shadow: 0 4px 30px rgba(15, 23, 42, 0.05);
  opacity: 0.88;
}

body.theme-light .marvel-bg-code-watermark {
  color: #0f172a;
  opacity: 0.15;
  font-weight: 800;
}

body.theme-light .marvel-char-name {
  color: #0f172a;
  text-shadow: none;
}

body.theme-light .marvel-bio-text {
  color: #475569;
}

/* Meta Pills in Light Mode */
body.theme-light .marvel-meta-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

body.theme-light .marvel-meta-pill.pill-element {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
  color: #dc2626;
}

body.theme-light .marvel-meta-pill.pill-rarity {
  background: #fef3c7;
  border-color: #fde68a;
  color: #d97706;
}

/* Primary and Secondary Action Buttons */
body.theme-light .btn-marvel-primary,
body.theme-light .btn-dock-primary {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

body.theme-light .btn-marvel-primary:hover,
body.theme-light .btn-dock-primary:hover {
  background: #000000;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

body.theme-light .btn-marvel-secondary,
body.theme-light .btn-dock-secondary {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.theme-light .btn-marvel-secondary:hover,
body.theme-light .btn-dock-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

/* Art Switcher & Side Nav */
body.theme-light .marvel-art-toggle-btn,
body.theme-light .marvel-side-nav {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

body.theme-light .marvel-art-toggle-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Resonators Selector Dock */
body.theme-light .dock-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.theme-light .dock-item.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

/* Floating Forte Calibration Stats Card */
body.theme-light .marvel-stats-widget,
body.theme-light #floatingStatCard {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  color: #0f172a;
}

body.theme-light .marvel-stats-widget .stat-name {
  color: #64748b;
}

body.theme-light .marvel-stats-widget .stat-val {
  color: #0f172a;
}

/* Next Resonator Preview in Light Mode */
body.theme-light .next-preview-label {
  color: #64748b;
}

body.theme-light .marvel-next-preview:hover .next-preview-label {
  color: #0f172a;
}

body.theme-light .next-preview-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

body.theme-light .marvel-next-preview:hover .next-preview-card {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

body.theme-light .next-preview-avatar-wrap {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

body.theme-light .next-preview-name {
  color: #0f172a;
}

body.theme-light .next-preview-stars {
  color: #d97706;
}

/* ==========================================================================
   ☀️ PERSONAGENS SHOWCASE & BUILDS IN LIGHT MODE (Full White Blueprint)
   ========================================================================== */
body.theme-light .hero-showcase {
  background: transparent !important;
  background-color: transparent !important;
  color: #0f172a !important;
}

body.theme-light .hero-theme-backdrop {
  background: transparent !important;
}

body.theme-light .hero-diagonal-slice {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  background: transparent !important;
}

body.theme-light .visual-backdrop {
  display: none !important;
  background: transparent !important;
}

body.theme-light .visual-circle {
  border-color: rgba(15, 23, 42, 0.08) !important;
}

body.theme-light .hero-stencil-text {
  color: transparent !important;
  -webkit-text-stroke: 2.2px rgba(15, 23, 42, 0.18) !important;
  opacity: 0.75 !important;
  text-shadow: 0 4px 25px rgba(15, 23, 42, 0.04) !important;
}

body.theme-light .hero-graphic-crosshair {
  color: rgba(15, 23, 42, 0.35) !important;
}

body.theme-light .hero-tech-grid {
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px) !important;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 90%) !important;
}

body.theme-light .archive-tag-badge {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

body.theme-light .archive-badge {
  background-color: #0f172a !important;
  color: #ffffff !important;
}

body.theme-light .archive-bar {
  background-color: #cbd5e1 !important;
}

body.theme-light .archive-faction {
  color: #64748b !important;
}

body.theme-light .character-name-hero {
  color: #000000 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

body.theme-light .character-subheading {
  color: #334155 !important;
}

body.theme-light .tag {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

body.theme-light .tag-element {
  background: rgba(239, 68, 68, 0.08) !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
  color: #dc2626 !important;
}

body.theme-light .tag-rarity {
  background: #fef3c7 !important;
  border-color: #fde68a !important;
  color: #d97706 !important;
}

body.theme-light .character-bio {
  color: #475569 !important;
}

body.theme-light .btn-hero-primary {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #0f172a !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18) !important;
}

body.theme-light .btn-hero-primary:hover {
  background: #000000 !important;
  border-color: #000000 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.28) !important;
}

body.theme-light .btn-hero-secondary {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.theme-light .btn-hero-secondary:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

body.theme-light .hero-brand-footer {
  border-top-color: #e2e8f0 !important;
}

body.theme-light .social-circle-btn {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

body.theme-light .social-circle-btn:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

body.theme-light .lang-pill-badge {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

body.theme-light .hero-brand-sign {
  color: #64748b !important;
}

body.theme-light .brand-name-bold {
  color: #0f172a !important;
}

body.theme-light .visual-view-toggle {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

body.theme-light .view-btn {
  color: #64748b !important;
}

body.theme-light .view-btn.active {
  background: #0f172a !important;
  color: #ffffff !important;
}

body.theme-light .floating-skills-deck {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

body.theme-light .skills-deck-label {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.theme-light .mini-skill-card {
  background: #0f141f !important;
  border: 1.5px solid #1e293b !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

body.theme-light .mini-skill-card:hover {
  background: #1e2433 !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45) !important;
}

body.theme-light .floating-stat-card {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

body.theme-light .floating-stat-card .stat-title {
  color: #64748b !important;
}

body.theme-light .floating-stat-card .stat-label {
  color: #475569 !important;
}

body.theme-light .floating-stat-card .stat-val {
  color: #0f172a !important;
}

body.theme-light .hero-side-nav {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

body.theme-light .hero-side-nav:hover {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25) !important;
}

body.theme-light .floating-weapon-class-badge,
body.theme-light .floating-archetype-card {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  color: #0f172a !important;
}

body.theme-light .archetype-title {
  color: #0f172a !important;
}

body.theme-light .archetype-chip {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

/* Slanted Slice Section in Light Mode */
body.theme-light .slanted-slice-section {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  clip-path: none !important;
  margin-top: 0 !important;
  border-top: 1px solid #e2e8f0 !important;
}

body.theme-light .slice-watermark .watermark-text {
  color: transparent !important;
  -webkit-text-stroke: 2px rgba(15, 23, 42, 0.08) !important;
}

body.theme-light .slice-grid-overlay {
  display: none !important;
}

body.theme-light .slice-header-nav {
  border-bottom-color: #e2e8f0 !important;
}

body.theme-light .slice-heading {
  color: #0f172a !important;
}

body.theme-light .slice-tabs {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

body.theme-light .slice-tab {
  color: #64748b !important;
}

body.theme-light .slice-tab:hover {
  color: #0f172a !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

body.theme-light .slice-tab.active {
  background: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}

/* Sub-section Headers in Light Mode (Investimento Recomendado & Gameplay) */
body.theme-light .sub-section-tag {
  color: #ef4444 !important;
  font-family: var(--font-mono, monospace) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-shadow: none !important;
}

body.theme-light .sub-section-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

/* Skills 4-Grid in Light Mode */
body.theme-light .skill-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
}

body.theme-light .skill-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-3px);
}

body.theme-light .skill-icon-wrap {
  background: #0f141f !important;
  border: 1.5px solid #1e293b !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18) !important;
  color: #ffffff !important;
}

body.theme-light .skill-card:hover .skill-icon-wrap {
  border-color: #ef4444 !important;
  background: #1e2433 !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4) !important;
}

body.theme-light .skill-type-tag {
  color: #ef4444 !important;
  font-weight: 800 !important;
}

body.theme-light .skill-name {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.theme-light .skill-desc {
  color: #475569 !important;
}

/* Priority Flow Nodes in Light Mode (Investimento Recomendado) */
body.theme-light .priority-node-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

body.theme-light .priority-node-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-2px);
}

body.theme-light .priority-step-badge {
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1.5px solid #ef4444 !important;
  color: #ef4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.18) !important;
}

body.theme-light .priority-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.theme-light .priority-tag {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

body.theme-light .priority-tag.tag-max {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #dc2626 !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}

body.theme-light .priority-reason {
  color: #64748b !important;
}

/* Combat Rotation Cards in Light Mode (Gameplay & Timing) */
body.theme-light .rotation-step-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

body.theme-light .rotation-step-card:hover {
  border-color: #ef4444 !important;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.12) !important;
  transform: translateY(-2px);
}

body.theme-light .rotation-num {
  color: #ef4444 !important;
  font-weight: 900 !important;
}

body.theme-light .rotation-action-tag {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.theme-light .priority-icon-wrap,
body.theme-light .rotation-icon-wrap {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.04) !important;
}

body.theme-light .priority-node-card:hover .priority-icon-wrap,
body.theme-light .rotation-step-card:hover .rotation-icon-wrap {
  background: #ffffff !important;
  border-color: #ef4444 !important;
}

body.theme-light .rotation-key-badge {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

/* Weapons, Echoes, Teams in Light Mode */
body.theme-light .weapon-card,
body.theme-light .echo-card,
body.theme-light .team-card,
body.theme-light .farm-calculator-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
}

body.theme-light .weapon-icon-box,
body.theme-light .echo-icon-box {
  background: #0f141f !important;
  border-color: #1e293b !important;
  color: #ffffff !important;
}

body.theme-light .weapon-title,
body.theme-light .echo-set-title,
body.theme-light .team-title,
body.theme-light .team-name,
body.theme-light .team-hero-name {
  color: #0f172a !important;
}

body.theme-light .weapon-effect,
body.theme-light .echo-bonus-desc,
body.theme-light .team-desc {
  color: #475569 !important;
}

/* ==========================================================================
   ☀️ SOLARIS-3 WORLD SECTION IN LIGHT MODE (Full White Blueprint Grid)
   ========================================================================== */
body.theme-light .solaris-world-section {
  background: transparent !important;
  color: #0f172a !important;
}

body.theme-light .world-backdrop-glow {
  display: none !important;
}

body.theme-light .world-backdrop-tech-grid {
  display: none !important;
}

body.theme-light .world-chapter-tag-pill {
  background: rgba(255, 59, 92, 0.08) !important;
  border: 1.5px solid rgba(255, 59, 92, 0.25) !important;
  color: #ef4444 !important;
}

body.theme-light .btn-world-nav {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.theme-light .btn-world-nav:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4) !important;
}

body.theme-light .world-nav-divider-track {
  background: #e2e8f0 !important;
}

body.theme-light .world-main-title {
  color: #0f172a !important;
  text-shadow: none !important;
  font-weight: 900 !important;
}

body.theme-light .world-lore-card-wrap {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1.5px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06) !important;
}

body.theme-light .world-lore-paragraph {
  color: #334155 !important;
  font-weight: 500 !important;
}

body.theme-light .world-badge {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #475569 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

body.theme-light .btn-world-explore-res {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18) !important;
}

body.theme-light .btn-world-explore-res:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4) !important;
}

/* World Accordion Cards in Light Mode */
body.theme-light .world-accordion-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

body.theme-light .world-accordion-card:hover {
  border-color: #94a3b8 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

body.theme-light .world-accordion-card.active {
  border: 2px solid #ff3b5c !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.16), 0 0 25px rgba(255, 59, 92, 0.25) !important;
}

body.theme-light .world-accordion-card:not(.active) .world-card-title {
  background: rgba(255, 255, 255, 0.88) !important;
  color: #0f172a !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

body.theme-light .world-card-active-info {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 55%, transparent 100%) !important;
  color: #0f172a !important;
}

body.theme-light .world-card-active-info h4 {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.theme-light .world-card-active-info p {
  color: #475569 !important;
}

body.theme-light .world-card-collapsed-label {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

body.theme-light .world-floating-arrow {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

body.theme-light .world-floating-arrow:hover {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
}



/* 3. HEADINGS & TITLES ACROSS VIEWS */
body.theme-light .view-category-badge {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.theme-light .view-category-badge .badge-text {
  color: #0f172a;
}

body.theme-light .view-main-title,
body.theme-light .stories-main-title,
body.theme-light .gallery-main-title {
  color: #0f172a;
}

body.theme-light .view-lead-subtitle,
body.theme-light .stories-subtitle,
body.theme-light .gallery-subtitle {
  color: #64748b;
}

/* 4. CARDS IN ALL SECTIONS (White Glass Cards) */
body.theme-light .skill-card,
body.theme-light .build-weapon-card,
body.theme-light .build-echo-box,
body.theme-light .planner-controls-card,
body.theme-light .farm-checklist-card,
body.theme-light .info-solar-card,
body.theme-light .feed-news-card,
body.theme-light .news-side-card,
body.theme-light .news-magazine-featured,
body.theme-light .story-game-card,
body.theme-light .gallery-item-card,
body.theme-light .profile-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  color: #0f172a;
}

body.theme-light .skill-card:hover,
body.theme-light .build-weapon-card:hover,
body.theme-light .build-echo-box:hover,
body.theme-light .feed-news-card:hover,
body.theme-light .story-game-card:hover,
body.theme-light .gallery-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* Card Typography */
body.theme-light .skill-title,
body.theme-light .weapon-title,
body.theme-light .echo-set-title,
body.theme-light .planner-title,
body.theme-light .card-title,
body.theme-light .feed-news-title,
body.theme-light .news-side-title,
body.theme-light .news-mag-title,
body.theme-light .story-game-title,
body.theme-light .profile-title {
  color: #0f172a;
}

body.theme-light .skill-desc,
body.theme-light .feed-news-desc,
body.theme-light .news-mag-desc,
body.theme-light .story-game-desc,
body.theme-light .profile-desc,
body.theme-light .intel-strip-sub {
  color: #475569;
}

/* 5. NEWS PAGE LIGHT STYLES */
body.theme-light .news-search-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

body.theme-light .news-search-input {
  color: #0f172a;
}

body.theme-light .news-search-input::placeholder {
  color: #94a3b8;
}

body.theme-light .news-filter-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

body.theme-light .news-filter-pill:hover {
  color: #0f172a;
  border-color: #cbd5e1;
}

body.theme-light .news-filter-pill.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

body.theme-light .news-quick-intel-strip {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.04) 0%, #ffffff 50%, rgba(245, 158, 11, 0.04) 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

body.theme-light .intel-strip-title {
  color: #0f172a;
}

body.theme-light .code-copy-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

body.theme-light .code-copy-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

body.theme-light .code-reward {
  color: #64748b;
}

/* 6. MODALS IN LIGHT MODE */
body.theme-light .modal-card,
body.theme-light .modal-article-card,
body.theme-light .modal-members-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.2);
  color: #0f172a;
}

body.theme-light .modal-header h3,
body.theme-light #articleModalTitle {
  color: #0f172a !important;
}

body.theme-light .modal-close-btn {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

body.theme-light .modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

body.theme-light .article-text-body {
  color: #334155;
}

body.theme-light .article-text-body h3 {
  color: #0f172a;
}

body.theme-light .article-text-body blockquote {
  background: rgba(239, 68, 68, 0.05);
  border-left-color: #ef4444;
  color: #1e293b;
}


/* ==========================================================================
   CINEMATIC / IMMERSIVE WALLPAPER MODE
   ========================================================================== */
.cinematic-exit-pill {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 18, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--home-glow, rgba(255, 59, 92, 0.3));
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-exit-pill:hover {
  transform: translateX(-50%) translateY(0) scale(1.05);
  background: rgba(14, 18, 28, 0.95);
  border-color: var(--home-accent-color, #ff3b5c);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 30px var(--home-glow, rgba(255, 59, 92, 0.5));
}

.cinematic-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGlow 1.8s infinite;
}

body.cinematic-mode-active .header-container,
body.cinematic-mode-active .marvel-identity-block,
body.cinematic-mode-active .marvel-bottom-left-group,
body.cinematic-mode-active .marvel-side-nav,
body.cinematic-mode-active .admin-active-pill,
body.cinematic-mode-active #floatingSkillsDeck,
body.cinematic-mode-active .visual-view-toggle,
body.cinematic-mode-active #floatingStatCard,
body.cinematic-mode-active .hero-content {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-12px) !important;
  transition: opacity 0.35s ease, transform 0.35s ease !important;
}

body.cinematic-mode-active .cinematic-exit-pill {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   FLOATING SCROLL DOWN INDICATOR
   ========================================================================== */
.scroll-down-indicator {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  opacity: 0.85;
  transition: all 0.3s ease;
  user-select: none;
}

.scroll-down-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}

.scroll-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.scroll-chevron-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 18, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  animation: chevronBounce 2s infinite ease-in-out;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

@keyframes chevronBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

/* ==========================================================================
   SOLARIS-3 WORLD & LORE ARCHIVE SECTION (PREMIUM SCI-FI TERMINAL)
   ========================================================================== */
.solaris-world-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 120px 4vw 100px 4vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050609;
  overflow: hidden;
  z-index: 2;
  transition: background 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.world-section-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.world-backdrop-glow {
  position: absolute;
  width: 1000px;
  height: 1000px;
  right: -5%;
  top: 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(239, 68, 68, 0.08) 35%, transparent 70%);
  filter: blur(90px);
  transition: background 0.8s ease;
  animation: pulseWorldBackdrop 9s ease-in-out infinite alternate;
}

@keyframes pulseWorldBackdrop {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 1.15; }
}

.world-backdrop-tech-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 45%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 45%, transparent 85%);
}

.world-section-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 1180px) {
  .world-section-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .solaris-world-section {
    padding: 100px 24px 70px 24px;
  }
}

/* LEFT COLUMN: Terminal Briefing & Lore */
.world-lore-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Top Bar: Slider Navigation */
.world-lore-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.world-chapter-tag-pill {
  display: none;
}

/* Navigation Slider Controls */
.world-nav-controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  max-width: 240px;
}

.btn-world-nav {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-world-nav:hover {
  background: var(--prof-accent-red, #ff3b5c);
  border-color: var(--prof-accent-red, #ff3b5c);
  box-shadow: 0 0 16px rgba(255, 59, 92, 0.5);
  transform: scale(1.06);
}

.world-nav-divider-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  border-radius: 9999px;
  overflow: hidden;
}

.world-nav-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff3b5c 0%, #ff6b81 100%);
  border-radius: 9999px;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(255, 59, 92, 0.5);
}

/* Title & Lore Text */
.world-lore-text-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.world-main-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.6px;
  line-height: 1.08;
  margin: 0;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.world-lore-card-wrap {
  background: rgba(12, 14, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.world-lore-paragraph {
  font-size: 0.94rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  transition: opacity 0.25s ease;
}

/* Meta Badges & Call to Action */
.world-meta-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.world-meta-badges-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.world-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 10px;
  letter-spacing: 0.4px;
}

.btn-world-explore-res {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.18) 0%, rgba(220, 38, 38, 0.1) 100%);
  border: 1px solid rgba(255, 59, 92, 0.4);
  color: #ff6b81;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-world-explore-res:hover {
  background: linear-gradient(135deg, #ff3b5c 0%, #dc2626 100%);
  border-color: #ff3b5c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 59, 92, 0.45);
}

/* RIGHT COLUMN: Modern Accordion Cards */
.world-cards-gallery-col {
  position: relative;
  width: 100%;
  min-width: 0;
}

.world-cards-accordion {
  display: flex;
  gap: 16px;
  align-items: stretch;
  height: 580px;
  width: 100%;
}

@media (max-width: 900px) {
  .world-cards-accordion {
    height: 440px;
    gap: 10px;
  }
}

.world-accordion-card {
  position: relative;
  flex: 0.85;
  min-width: 90px;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: #090a0f;
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease, 
              filter 0.35s ease;
  filter: brightness(0.7) saturate(0.9);
}

.world-accordion-card:hover {
  flex: 1.25;
  filter: brightness(0.92) saturate(1.05);
  border-color: rgba(255, 255, 255, 0.35);
}

.world-accordion-card.active {
  flex: 4.2;
  min-width: 300px;
  filter: brightness(1) saturate(1.05);
  border: 2px solid rgba(255, 59, 92, 0.85);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 59, 92, 0.35);
  cursor: default;
}

.world-card-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.world-accordion-card.active .world-card-bg-img {
  transform: scale(1.03);
}

.world-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 45%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}

.world-card-tag-num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 3;
}

.world-accordion-card.active .world-card-tag-num {
  background: rgba(255, 59, 92, 0.25);
  border-color: rgba(255, 59, 92, 0.85);
  color: #ff6b81;
}

.world-card-footer-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.world-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.world-accordion-card:not(.active) .world-card-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform-origin: center;
  margin-left: -12px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #ffffff;
  background: rgba(8, 10, 16, 0.7);
  padding: 16px 8px;
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.world-card-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  display: none;
}

.world-accordion-card.active .world-card-sub {
  display: block;
}

/* ==========================================================================
   UNIFIED AAA GAMING VIEW SECTION BACKGROUNDS
   ========================================================================== */
.view-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 10%, rgba(239, 68, 68, 0.08) 0%, rgba(13, 16, 25, 0.98) 50%, #07080c 100%);
  overflow-x: hidden;
}

body.theme-light .view-section {
  background: transparent !important;
}

/* ==========================================================================
   MASTER MOBILE & TABLET RESPONSIVE SYSTEM
   Flawless UI Scaling, Fluid Touch Navigation & Overflow Prevention
   ========================================================================== */
@media (max-width: 900px) {
  /* Floating HUD Header */
  .alcateia-header.floating-hud-mode {
    top: 8px;
    padding: 0 8px;
  }

  .alcateia-header.floating-hud-mode .alcateia-header-inner {
    max-width: calc(100vw - 16px);
    padding: 4px 6px;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .alcateia-header.floating-hud-mode .alcateia-header-inner::-webkit-scrollbar {
    display: none;
  }

  .alcateia-nav-bar {
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 1;
    min-width: 0;
  }

  .alcateia-nav-bar::-webkit-scrollbar {
    display: none;
  }

  .alcateia-nav-item {
    padding: 6px 11px;
    font-size: 0.74rem;
    gap: 4px;
  }

  .alcateia-header-tools {
    gap: 4px;
    flex-shrink: 0;
  }

  .tool-circle-btn {
    width: 32px;
    height: 32px;
  }

  .top-user-pill {
    padding: 3px 8px 3px 3px;
    font-size: 0.72rem;
  }

  /* Home Zenless Showcase on Mobile / Tablet */
  .marvel-bg-title {
    font-size: clamp(4.5rem, 18vw, 11rem);
  }

  .marvel-character-img {
    height: clamp(380px, 62vh, 600px);
    max-width: 92vw;
    transform: translateY(16px) scale(1);
  }

  .marvel-next-preview {
    right: 14px;
    bottom: 14px;
  }

  .next-preview-card {
    padding: 4px 10px 4px 4px;
    gap: 8px;
  }

  .next-preview-avatar-wrap {
    width: 34px;
    height: 34px;
  }

  .next-preview-name {
    font-size: 0.8rem;
  }

  .scroll-down-indicator {
    bottom: 14px;
    left: 14px;
    transform: none;
    padding: 6px 12px;
  }

  /* World / Lore Section */
  .solaris-world-section {
    padding: 60px 16px;
  }

  .world-accordion-container {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .world-accordion-card {
    width: 100%;
    min-height: 140px;
    flex: none !important;
  }

  .world-accordion-card.active {
    min-height: 320px;
  }

  .world-accordion-card:not(.active) .world-card-title {
    writing-mode: horizontal-tb;
    transform: none;
    position: absolute;
    bottom: 14px;
    left: 16px;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .alcateia-header.floating-hud-mode .alcateia-header-inner {
    max-width: calc(100vw - 12px);
    border-radius: 20px;
  }

  .alcateia-nav-item span {
    font-size: 0.72rem;
  }

  .marvel-bg-title {
    font-size: clamp(3.6rem, 16vw, 6.5rem);
    letter-spacing: -0.01em;
  }

  .marvel-character-img {
    height: clamp(300px, 54vh, 440px);
    max-width: 95vw;
  }

  .marvel-ambient-glow {
    width: 320px;
    height: 320px;
  }

  .scroll-down-indicator {
    display: none;
  }

  /* Modal responsiveness */
  .modal-box {
    max-width: 96vw !important;
    margin: 6px !important;
    border-radius: 18px !important;
  }

  .admin-status-dock {
    bottom: 14px;
    right: 14px;
    padding: 6px 12px;
    font-size: 0.72rem;
  }
}




