/* ==========================================================================
   DXZ DETECTIVE NJ - 100VH ZERO-SCROLL LUXURY DETECTIVE LOUNGE THEME
   Palette: Rich Onyx (#090909) + Champagne Gold (#F6C75A) + Luminous Amber (#FFB300)
   Style: Sherlock Holmes Meets Luxury Casino Vault & AAA RPG Quest Screen
   ========================================================================== */

:root {
  --color-gold-champagne: #F6C75A;
  --color-gold-amber: #FFB300;
  --color-gold-bright: #FFF6D6;
  --color-gold-bronze: #C98800;
  --color-gold-dark: #8C5800;
  --color-gold-glow: #FFB300;
  
  --color-emerald-success: #2ecc71;
  --color-crimson-error: #ff2a5f;
  
  --bg-onyx-deep: #090909;
  --bg-onyx-card: rgba(14, 11, 8, 0.94);
  --bg-onyx-panel: rgba(18, 14, 10, 0.88);
  --bg-balloon-glass: rgba(12, 9, 6, 0.95);
  
  --border-gold-subtle: rgba(246, 199, 90, 0.25);
  --border-gold-glow: rgba(246, 199, 90, 0.55);
  --border-gold-bright: #F6C75A;
  
  --font-display: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ZERO SCROLL BODY CONFIGURATION */
html, body.mystery-fullscreen-body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden !important;
  background: var(--bg-onyx-deep);
  font-family: var(--font-body);
  position: fixed;
  color: #F7F5F0;
}

/* COMPACT TOP NAVBAR (LUXURY DETECTIVE SALON) */
.mystery-fullscreen-body .compact-nav {
  height: 50px;
  min-height: 50px;
  background: rgba(9, 7, 5, 0.98);
  border-bottom: 1px solid rgba(246, 199, 90, 0.3);
  z-index: 100;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.mystery-fullscreen-body .compact-nav .navbar-container {
  height: 50px;
  padding: 0 1.5rem;
}

.mystery-fullscreen-body .nav-logo {
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.mystery-fullscreen-body .nav-logo .logo-dot {
  background: var(--color-gold-champagne);
  box-shadow: 0 0 12px var(--color-gold-champagne), 0 0 24px rgba(255, 179, 0, 0.7);
}

.mystery-fullscreen-body .nav-link a {
  color: #D1CDC7;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}

.mystery-fullscreen-body .nav-link a:hover {
  color: var(--color-gold-champagne);
  text-shadow: 0 0 10px rgba(246, 199, 90, 0.6);
}

.mystery-fullscreen-body .nav-link.active a {
  color: var(--color-gold-champagne) !important;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(255, 179, 0, 0.8);
}

.mystery-fullscreen-body .nav-link.active a::after {
  background: linear-gradient(90deg, var(--color-gold-amber), var(--color-gold-champagne), var(--color-gold-bright)) !important;
  box-shadow: 0 0 12px rgba(255, 179, 0, 0.9) !important;
  height: 2.5px;
}

.mystery-fullscreen-body .nav-socials .social-icon {
  color: #A8A29E;
  border-color: rgba(246, 199, 90, 0.2);
  transition: all 0.25s ease;
}

.mystery-fullscreen-body .nav-socials .social-icon:hover {
  color: var(--color-gold-bright);
  border-color: var(--color-gold-champagne);
  background: rgba(246, 199, 90, 0.12);
  box-shadow: 0 0 15px rgba(255, 179, 0, 0.5);
}

.mystery-fullscreen-body .global-search-trigger {
  color: #D1CDC7;
  border-color: rgba(246, 199, 90, 0.25);
}

.mystery-fullscreen-body .global-search-trigger:hover {
  color: var(--color-gold-bright);
  border-color: var(--color-gold-champagne);
  box-shadow: 0 0 15px rgba(255, 179, 0, 0.5);
}

/* 100VH GAME SCREEN APP (CINEMATIC CAFE BACKDROP) */
.game-screen-app {
  height: calc(100vh - 50px);
  width: 100vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: #090909 url('assets/cyber-cafe-bg.jpg') center center / cover no-repeat;
  box-sizing: border-box;
}

/* Warm Cinematic Vignette & Lighting Filter */
.game-screen-app::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 18% 55%, rgba(255, 179, 0, 0.22) 0%, rgba(201, 136, 0, 0.1) 35%, transparent 70%),
    radial-gradient(circle at 85% 20%, rgba(246, 199, 90, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, rgba(9, 9, 9, 0.72) 0%, rgba(9, 7, 5, 0.45) 40%, rgba(9, 9, 9, 0.88) 100%);
  pointer-events: none;
  z-index: 1;
}

/* FLOATING WARM BOKEH LIGHTS */
.cafe-ambient-bokeh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.bokeh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.6;
  pointer-events: none;
  animation: floatBokeh 10s infinite ease-in-out alternate;
}

.bokeh-1 {
  width: 140px;
  height: 140px;
  top: 22%;
  left: 14%;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.4) 0%, rgba(246, 199, 90, 0.1) 60%, transparent 80%);
  animation-duration: 9s;
}

.bokeh-2 {
  width: 90px;
  height: 90px;
  top: 55%;
  left: 38%;
  background: radial-gradient(circle, rgba(246, 199, 90, 0.45) 0%, rgba(255, 179, 0, 0.12) 60%, transparent 80%);
  animation-duration: 13s;
  animation-delay: -3s;
}

.bokeh-3 {
  width: 180px;
  height: 180px;
  top: 15%;
  right: 18%;
  background: radial-gradient(circle, rgba(255, 195, 18, 0.3) 0%, rgba(201, 136, 0, 0.08) 65%, transparent 80%);
  animation-duration: 11s;
  animation-delay: -6s;
}

.bokeh-4 {
  width: 110px;
  height: 110px;
  bottom: 25%;
  right: 10%;
  background: radial-gradient(circle, rgba(246, 199, 90, 0.35) 0%, transparent 75%);
  animation-duration: 8s;
  animation-delay: -2s;
}

.bokeh-5 {
  width: 70px;
  height: 70px;
  top: 40%;
  left: 28%;
  background: radial-gradient(circle, rgba(255, 246, 214, 0.5) 0%, transparent 80%);
  animation-duration: 7s;
}

@keyframes floatBokeh {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.45; }
  50% { transform: translateY(-20px) translateX(15px) scale(1.15); opacity: 0.75; }
  100% { transform: translateY(15px) translateX(-15px) scale(0.9); opacity: 0.45; }
}

/* ==========================================================================
   1. TOP GAME HUD STRIP (GOLDEN CHRONOMETER / VAULT HUD)
   ========================================================================== */
.hud-top-bar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: rgba(12, 9, 6, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 2px solid rgba(246, 199, 90, 0.4);
  padding: 0.45rem 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 179, 0, 0.12);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .hud-top-bar {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    text-align: center;
  }
}

.hud-left-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

@media (max-width: 860px) {
  .hud-left-profile {
    justify-content: center;
  }
}

.hud-avatar-circle {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--color-gold-champagne);
  box-shadow: 0 0 8px rgba(246, 199, 90, 0.35);
  background: #18120A;
  overflow: hidden;
  flex-shrink: 0;
}

.hud-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hud-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF6D6 0%, var(--color-gold-amber) 60%, var(--color-gold-dark) 100%);
  border: 2px solid #120E09;
  box-shadow: 0 0 10px var(--color-gold-amber);
  animation: pulseGoldDot 2s infinite ease-in-out;
}

@keyframes pulseGoldDot {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px var(--color-gold-amber); }
  50% { transform: scale(1.25); opacity: 0.85; box-shadow: 0 0 16px var(--color-gold-bright); }
}

.hud-name-group {
  display: flex;
  flex-direction: column;
}

.hud-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFF;
  letter-spacing: 0.05em;
  line-height: 1.15;
}

.hud-cafe-badge {
  font-size: 0.74rem;
  color: var(--color-gold-champagne);
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* HUD Progress Gauge */
.hud-center-progress {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.hud-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #D1CDC7;
  letter-spacing: 0.04em;
}

.hud-progress-labels strong {
  color: var(--color-gold-champagne);
  font-weight: 800;
  text-shadow: 0 0 8px rgba(246, 199, 90, 0.4);
}

.hud-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(246, 199, 90, 0.3);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8);
}

.hud-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C98800 0%, #FFB300 45%, #F6C75A 80%, #FFF6D6 100%);
  border-radius: 20px;
  box-shadow: 0 0 16px rgba(255, 179, 0, 0.85);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* HUD Right Actions */
.hud-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 860px) {
  .hud-right-actions {
    justify-content: center;
  }
}

.hud-bounty-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(246, 199, 90, 0.18), rgba(201, 136, 0, 0.1));
  border: 1.5px solid var(--color-gold-champagne);
  padding: 0.32rem 0.95rem;
  border-radius: 10px;
  color: var(--color-gold-champagne);
  box-shadow: 0 0 16px rgba(255, 179, 0, 0.32), inset 0 1px 1px rgba(255, 246, 214, 0.4);
}

.hud-bounty-box i {
  color: var(--color-gold-bright);
}

.bounty-lbl {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold-champagne);
  letter-spacing: 0.05em;
}

.bounty-val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: #FFF;
  text-shadow: 0 0 10px rgba(246, 199, 90, 0.5);
}

.btn-open-archives {
  background: linear-gradient(135deg, rgba(246, 199, 90, 0.15), rgba(201, 136, 0, 0.1));
  border: 1.5px solid var(--color-gold-champagne);
  color: var(--color-gold-champagne);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.38rem 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s ease;
  box-shadow: 0 0 14px rgba(255, 179, 0, 0.25);
}

.btn-open-archives:hover {
  background: linear-gradient(135deg, var(--color-gold-champagne), var(--color-gold-amber));
  color: #160F02;
  border-color: var(--color-gold-bright);
  transform: translateY(-1.5px);
  box-shadow: 0 0 25px rgba(255, 179, 0, 0.6);
}

.btn-hud-reset {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(246, 199, 90, 0.3);
  color: #A8A29E;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-hud-reset:hover {
  border-color: var(--color-gold-champagne);
  color: var(--color-gold-champagne);
  background: rgba(246, 199, 90, 0.18);
  box-shadow: 0 0 12px rgba(255, 179, 0, 0.35);
}

/* ==========================================================================
   2. MAIN INTERACTIVE ZERO-SCROLL STAGE (MASSIVE DETECTIVE NJ + SPEECH BALLOON)
   ========================================================================== */
.game-main-stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(460px, 48vw) minmax(480px, 1fr);
  gap: 1.5rem;
  align-items: flex-end;
  position: relative;
  height: calc(100vh - 102px);
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 0 2rem 0 0;
  box-sizing: border-box;
  z-index: 10;
}

@media (max-width: 1100px) {
  .game-main-stage {
    grid-template-columns: minmax(380px, 44vw) 1fr;
    padding: 0 1.25rem 0 0;
    gap: 1rem;
  }
}

@media (max-width: 860px) {
  .game-main-stage {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.5rem 1rem 1rem 1rem;
    overflow-y: auto;
    height: auto;
    max-height: calc(100vh - 102px);
  }
}

/* ==========================================================================
   3. LEFT COLUMN: MASSIVE FULL-SCREEN DETECTIVE NJ HERO (WARM RIM LIGHTING)
   ========================================================================== */
.stage-character-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.stage-character-col::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35px;
  background: linear-gradient(to top, rgba(9, 7, 5, 0.95) 0%, transparent 100%);
  pointer-events: none;
  z-index: 4;
}

@media (max-width: 860px) {
  .stage-character-col {
    height: 320px;
    align-items: center;
  }
}

.character-aura-glow {
  position: absolute;
  bottom: 0;
  left: 30%;
  transform: translateX(-50%);
  width: 340px;
  height: 400px;
  background: radial-gradient(ellipse at 45% 55%, rgba(246, 199, 90, 0.16) 0%, rgba(201, 136, 0, 0.06) 45%, transparent 70%);
  filter: blur(35px);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.25;
}

@keyframes heroGoldenAura {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.85; filter: blur(48px); }
  50% { transform: translateX(-50%) scale(1.08); opacity: 1; filter: blur(55px); }
}

.character-img-frame {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin-bottom: -22px;
}

@media (max-width: 860px) {
  .character-img-frame {
    justify-content: center;
    margin-bottom: -15px;
  }
}

/* MASSIVE TOWERING DETECTIVE NJ WITH SOFT WARM GOLDEN RIM LIGHTING */
.detective-character-hero {
  height: calc(100% + 22px);
  max-height: calc(100vh - 85px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom left;
  filter: 
    drop-shadow(0 20px 45px rgba(0, 0, 0, 0.95))
    drop-shadow(0 0 8px rgba(246, 199, 90, 0.2));
  animation: heroIdle 5.5s infinite ease-in-out;
  transform-origin: bottom left;
  transition: opacity 0.15s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  display: block;
}

.detective-character-hero.emote-swapping {
  opacity: 0.82;
  transform: scale(0.99);
}

@media (max-width: 860px) {
  .detective-character-hero {
    max-height: 320px;
    object-position: bottom center;
    transform-origin: bottom center;
  }
}

@keyframes heroIdle {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.012); }
}

/* COFFEE STEAM FLOATING EFFECT */
.coffee-steam-wrap {
  position: absolute;
  bottom: 220px;
  left: 200px;
  width: 50px;
  height: 90px;
  pointer-events: none;
  z-index: 6;
  opacity: 0.75;
}

.steam-particle {
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 35px;
  background: radial-gradient(ellipse at center, rgba(255, 246, 214, 0.6) 0%, rgba(246, 199, 90, 0.25) 50%, transparent 80%);
  border-radius: 50%;
  filter: blur(5px);
  animation: steamRise 3.5s infinite ease-out;
}

.steam-1 { left: 8px; animation-delay: 0s; }
.steam-2 { left: 22px; animation-delay: 1.1s; animation-duration: 4s; }
.steam-3 { left: 34px; animation-delay: 2.2s; animation-duration: 3.2s; }

@keyframes steamRise {
  0% { transform: translateY(0) scaleX(1) scaleY(1); opacity: 0; }
  30% { opacity: 0.7; }
  100% { transform: translateY(-80px) scaleX(2.2) scaleY(2.2) translateX(12px); opacity: 0; filter: blur(10px); }
}

/* ==========================================================================
   4. RIGHT COLUMN: LUXURY DETECTIVE INVESTIGATION BALLOON
   ========================================================================== */
.stage-dialogue-col {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.65rem;
  box-sizing: border-box;
}

.game-speech-balloon {
  background: var(--bg-balloon-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 2px solid var(--border-gold-glow);
  border-radius: 22px;
  padding: 1.35rem 1.85rem;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.95),
    0 0 35px rgba(255, 179, 0, 0.25),
    inset 0 1px 1px rgba(255, 246, 214, 0.35);
  position: relative;
  width: 100%;
  max-width: 850px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

@media (max-width: 860px) {
  .game-speech-balloon {
    max-height: none;
    padding: 1.15rem 1rem;
    border-radius: 18px;
  }
}

.balloon-scroll-body {
  overflow-y: auto;
  padding-right: 0.5rem;
  display: flex;
  flex-direction: column;
}

/* Custom Sleek Gold Scrollbar */
.balloon-scroll-body::-webkit-scrollbar {
  width: 5px;
}

.balloon-scroll-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.balloon-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(246, 199, 90, 0.4);
  border-radius: 10px;
}

.balloon-scroll-body::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-bright);
}

/* Speech Balloon Pointer Left pointing to Detective NJ */
.balloon-pointer-left {
  position: absolute;
  top: 70px;
  left: -20px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 20px solid var(--border-gold-glow);
}

.balloon-pointer-left::after {
  content: '';
  position: absolute;
  top: -13px;
  left: 3px;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-right: 18px solid #0C0906;
}

@media (max-width: 1024px) {
  .balloon-pointer-left {
    display: none;
  }
}

/* Balloon Header */
.balloon-header-row {
  margin-bottom: 0.75rem;
}

.balloon-badge-stack {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.badge-case-id {
  background: rgba(255, 42, 95, 0.16);
  border: 1.5px solid var(--color-crimson-error);
  color: var(--color-crimson-error);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.24rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-bounty {
  background: linear-gradient(135deg, rgba(246, 199, 90, 0.22), rgba(201, 136, 0, 0.12));
  border: 1.5px solid var(--color-gold-champagne);
  color: var(--color-gold-bright);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.24rem 0.8rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 0 12px rgba(255, 179, 0, 0.25);
}

.badge-status {
  background: rgba(246, 199, 90, 0.14);
  border: 1.5px solid var(--color-gold-champagne);
  color: var(--color-gold-champagne);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.24rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 0 10px rgba(255, 179, 0, 0.2);
}

.case-heading {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: #FFF;
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 640px) {
  .case-heading {
    font-size: 1.35rem;
  }
}

/* Incident Report Narrative Card */
.incident-report-card {
  background: linear-gradient(135deg, rgba(246, 199, 90, 0.07), rgba(18, 14, 10, 0.85));
  border: 1px solid rgba(246, 199, 90, 0.25);
  border-left: 4px solid var(--color-gold-amber);
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  margin-bottom: 0.95rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.incident-header {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-gold-champagne);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.incident-content {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #F7F5F0;
  margin: 0;
}

/* ==========================================================================
   5. STAR OF THE SHOW: AAA-GAME QUALITY "INSPECT CLUE DRAWER" BUTTON
   ========================================================================== */
.clue-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.05rem;
}

.btn-clue-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, #FFF6D6 0%, #F6C75A 22%, #FFB300 48%, #C98800 75%, #F6C75A 92%, #FFF4C2 100%);
  background-size: 200% 200%;
  border: 1.8px solid #FFF8DC;
  border-radius: 14px;
  color: #140E02;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 
    0 0 32px rgba(255, 179, 0, 0.6),
    0 12px 30px rgba(0, 0, 0, 0.88),
    inset 0 2px 3px rgba(255, 255, 255, 0.95),
    inset 0 -2px 4px rgba(120, 60, 0, 0.55);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: goldButtonPulse 3.5s infinite ease-in-out;
  z-index: 5;
}

/* Continuously Sweeping Diagonal Light Sheen */
.btn-clue-trigger::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 35%,
    rgba(255, 255, 255, 0.7) 48%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.7) 52%,
    transparent 65%
  );
  transform: translateX(-150%) skewX(-25deg);
  animation: goldSheenSweep 3.8s infinite cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
}

/* Ambient Pulsing Gold Glow Halo */
.btn-clue-trigger::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.45) 0%, transparent 70%);
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
  animation: goldHaloBreathe 3s infinite alternate ease-in-out;
}

@keyframes goldSheenSweep {
  0% { transform: translateX(-150%) skewX(-25deg); }
  28%, 100% { transform: translateX(250%) skewX(-25deg); }
}

@keyframes goldButtonPulse {
  0%, 100% { box-shadow: 0 0 28px rgba(255, 179, 0, 0.55), 0 10px 25px rgba(0, 0, 0, 0.85), inset 0 2px 3px rgba(255, 255, 255, 0.95); }
  50% { box-shadow: 0 0 42px rgba(255, 179, 0, 0.85), 0 14px 35px rgba(0, 0, 0, 0.92), inset 0 2px 4px rgba(255, 255, 255, 1); }
}

@keyframes goldHaloBreathe {
  0% { transform: scale(0.96); opacity: 0.5; }
  100% { transform: scale(1.08); opacity: 0.9; }
}

.btn-clue-trigger:hover {
  transform: translateY(-3.5px) scale(1.025);
  box-shadow: 
    0 0 50px rgba(255, 179, 0, 0.95),
    0 18px 45px rgba(0, 0, 0, 0.95),
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 0 -2px 6px rgba(120, 60, 0, 0.7);
  background-position: 100% 100%;
}

.btn-clue-trigger:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 
    0 0 20px rgba(255, 179, 0, 0.5),
    0 5px 15px rgba(0, 0, 0, 0.8);
}

.btn-clue-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #140E02;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6));
}

.btn-clue-sparkle {
  font-size: 0.85rem;
  color: #FFF;
  filter: drop-shadow(0 0 4px var(--color-gold-bright));
  animation: sparkleTwinkle 2s infinite ease-in-out;
}

@keyframes sparkleTwinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.3) rotate(180deg); opacity: 1; }
}

/* Secondary Clue Deep Link Button */
.clue-deep-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(246, 199, 90, 0.12);
  border: 1.5px solid var(--color-gold-champagne);
  color: var(--color-gold-bright);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.52rem 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 14px rgba(255, 179, 0, 0.2);
}

.clue-deep-link-btn:hover {
  background: rgba(246, 199, 90, 0.28);
  color: #FFF;
  border-color: var(--color-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 179, 0, 0.5);
}

/* ==========================================================================
   6. INTERROGATION SECTION & CASINO-SEAL CHOICE CARDS
   ========================================================================== */
.interrogation-box {
  border-top: 1px dashed rgba(246, 199, 90, 0.28);
  padding-top: 0.85rem;
}

.question-callout {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-gold-champagne);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.question-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFF;
  margin: 0 0 0.85rem 0;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

@media (max-width: 640px) {
  .question-title {
    font-size: 1.1rem;
  }
}

.choices-button-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.choice-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.05rem;
  background: linear-gradient(135deg, rgba(246, 199, 90, 0.05) 0%, rgba(16, 12, 8, 0.9) 100%);
  border: 1.5px solid rgba(246, 199, 90, 0.45);
  border-left: 4.5px solid var(--color-gold-champagne);
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 
    0 0 16px rgba(255, 179, 0, 0.25),
    0 4px 15px rgba(0, 0, 0, 0.7),
    inset 0 1px 1px rgba(255, 246, 214, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  box-sizing: border-box;
}

/* Glowing Top Highlight Line */
.choice-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--color-gold-bright) 0%, var(--color-gold-champagne) 50%, transparent 100%);
  box-shadow: 0 0 8px var(--color-gold-bright);
  pointer-events: none;
}

.choice-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(246, 199, 90, 0.22) 0%, rgba(201, 136, 0, 0.16) 100%);
  border-color: var(--color-gold-bright);
  border-left-color: #FFF6D6;
  transform: translateX(6px);
  box-shadow: 
    0 0 32px rgba(255, 179, 0, 0.6),
    0 8px 22px rgba(0, 0, 0, 0.85),
    inset 0 1px 2px rgba(255, 246, 214, 0.5);
}

.choice-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FFF5D6, var(--color-gold-champagne) 60%, var(--color-gold-amber));
  border: 1px solid #FFF8DC;
  color: #160F02;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255, 179, 0, 0.4);
}

.choice-text {
  flex: 1;
  color: #F7F5F0;
  line-height: 1.45;
}

/* Choice Correct / Wrong States */
.choice-btn.correct {
  background: rgba(46, 204, 113, 0.24) !important;
  border-color: var(--color-emerald-success) !important;
  color: var(--color-emerald-success) !important;
  box-shadow: 0 0 30px rgba(46, 204, 113, 0.55) !important;
}

.choice-btn.correct .choice-tag {
  background: var(--color-emerald-success);
  color: #0A0C14;
  border-color: var(--color-emerald-success);
}

.choice-btn.correct .choice-text {
  color: #FFF;
}

.choice-btn.wrong {
  background: rgba(255, 42, 95, 0.22) !important;
  border-color: var(--color-crimson-error) !important;
  color: var(--color-crimson-error) !important;
  animation: shakeChoice 0.4s ease;
}

.choice-btn.wrong .choice-tag {
  background: var(--color-crimson-error);
  color: #FFF;
  border-color: var(--color-crimson-error);
}

@keyframes shakeChoice {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* Feedback Bar */
.mystery-feedback-bar {
  margin-top: 0.95rem;
  padding: 0.95rem 1.25rem;
  border-radius: 12px;
  display: none;
  font-size: 0.94rem;
  line-height: 1.55;
  animation: fadeInFeedback 0.3s ease;
}

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

.mystery-feedback-bar.show {
  display: block;
}

.mystery-feedback-bar.success {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(12, 10, 8, 0.9));
  border: 1.5px solid var(--color-emerald-success);
  color: #F7F5F0;
  box-shadow: 0 0 30px rgba(46, 204, 113, 0.35);
}

.mystery-feedback-bar.success strong {
  color: var(--color-emerald-success);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.mystery-feedback-bar.error {
  background: linear-gradient(135deg, rgba(255, 42, 95, 0.2), rgba(12, 10, 8, 0.9));
  border: 1.5px solid var(--color-crimson-error);
  color: #FFA3BA;
  box-shadow: 0 0 30px rgba(255, 42, 95, 0.35);
}

.mystery-feedback-bar.error strong {
  color: var(--color-crimson-error);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* ==========================================================================
   7. CASE ARCHIVES MODAL (ROYAL VAULT DOSSIER)
   ========================================================================== */
.archives-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

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

.archives-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 3, 2, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.archives-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 960px;
  max-height: 85vh;
  overflow-y: auto;
  background: #0D0A07;
  border: 2px solid var(--color-gold-champagne);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.98),
    0 0 45px rgba(255, 179, 0, 0.35),
    inset 0 1px 2px rgba(255, 246, 214, 0.3);
  box-sizing: border-box;
}

.archives-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(246, 199, 90, 0.3);
  padding-bottom: 0.95rem;
  margin-bottom: 0.75rem;
}

.archives-header h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-gold-bright);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-shadow: 0 0 12px rgba(255, 179, 0, 0.4);
}

.archives-close-btn {
  background: none;
  border: none;
  color: #A8A29E;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.25rem;
}

.archives-close-btn:hover {
  color: var(--color-gold-bright);
}

.archives-subtitle {
  color: #D1CDC7;
  font-size: 0.94rem;
  margin: 0 0 1.6rem 0;
}

.case-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}

.case-archive-card {
  background: rgba(18, 14, 10, 0.9);
  border: 1.5px solid rgba(246, 199, 90, 0.25);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  box-sizing: border-box;
}

.case-archive-card:hover:not(.locked) {
  border-color: var(--color-gold-bright);
  transform: translateY(-2.5px);
  box-shadow: 0 8px 25px rgba(255, 179, 0, 0.35);
  background: rgba(246, 199, 90, 0.15);
}

.case-archive-card.active {
  border-color: var(--color-gold-bright);
  background: linear-gradient(135deg, rgba(246, 199, 90, 0.25), rgba(201, 136, 0, 0.15));
  box-shadow: 0 0 25px rgba(255, 179, 0, 0.45);
}

.case-archive-card.solved {
  border-color: rgba(46, 204, 113, 0.5);
}

.case-archive-card.solved.active {
  border-color: var(--color-emerald-success);
}

.case-archive-card.locked {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.85);
}

.archive-card-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.07em;
  margin-bottom: 0.45rem;
  color: #A8A29E;
}

.archive-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFF;
  margin: 0;
  line-height: 1.35;
}

/* ==========================================================================
   8. CLUES MODAL DRAWER
   ========================================================================== */
.clue-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

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

.clue-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 3, 2, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.clue-modal-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  background: #0D0A07;
  border: 2px solid var(--color-gold-champagne);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.98),
    0 0 45px rgba(255, 179, 0, 0.4),
    inset 0 1px 2px rgba(255, 246, 214, 0.3);
  box-sizing: border-box;
}

.clue-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(246, 199, 90, 0.3);
  padding-bottom: 0.95rem;
  margin-bottom: 1.15rem;
}

.clue-modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-gold-bright);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-shadow: 0 0 12px rgba(255, 179, 0, 0.4);
}

.clue-close-btn {
  background: none;
  border: none;
  color: #A8A29E;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.25rem;
}

.clue-close-btn:hover {
  color: var(--color-gold-bright);
}

.clue-modal-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #F7F5F0;
}

/* FLOATING SMART BACK BUTTON (GOLD LUXURY OVERRIDE) */
.mystery-fullscreen-body .floating-back-btn {
  background: rgba(18, 14, 10, 0.92);
  border: 1.5px solid rgba(246, 199, 90, 0.45);
  color: #FFF;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 179, 0, 0.3);
}

.mystery-fullscreen-body .floating-back-btn:hover {
  background: rgba(246, 199, 90, 0.28);
  border-color: var(--color-gold-bright);
  color: var(--color-gold-bright);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 179, 0, 0.65);
  transform: translateY(-2.5px);
}


/* VAULT CASH REWARD & PENALTY ANIMATIONS */
@keyframes gainFlash {
  0%, 100% { transform: scale(1); color: #FFF; }
  50% { transform: scale(1.28); color: #2ecc71; text-shadow: 0 0 18px #2ecc71; }
}

@keyframes lossFlash {
  0%, 100% { transform: scale(1); color: #FFF; }
  50% { transform: scale(1.28); color: #ff2a5f; text-shadow: 0 0 18px #ff2a5f; }
}

.bounty-val.bounty-gain {
  animation: gainFlash 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.bounty-val.penalty-loss {
  animation: lossFlash 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
