/* =============================================================
   MAIN.CSS — Ultra Dark Sleek Arcade Theme
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Chakra+Petch:wght@600;700;800&display=swap');

:root {
  --bg-deep: #020204;
  --bg-main: #050508;
  --bg-surface: #0a0a0f;
  --bg-surface-2: #101018;
  --bg-card: #0c0c13;
  --bg-card-hover: #151520;

  --red: #8b0000;
  --red-bright: #cc0000;
  --red-blood: #990000;
  --red-glow: rgba(153, 0, 0, 0.45);
  --crimson: #660000;
  --crimson-glow: rgba(102, 0, 0, 0.4);

  --gold: #b91c1c;
  --gold-bright: #ef4444;
  --gold-glow: rgba(185, 28, 28, 0.35);

  --text-main: #f8fafc;
  --text-muted: #8892a4;
  --text-dim: #414856;

  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(153, 0, 0, 0.5);
  --border-red: rgba(153, 0, 0, 0.55);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.7);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.95);

  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-heading: 'Chakra Petch', 'Plus Jakarta Sans', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(245, 166, 35, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* FX Canvas layer (rendered on top so flying numbers and click bursts appear over the clicker) */
#fx-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
}




.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: var(--shadow-lg);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.modal-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin: 14px 0;
}

/* ============================================================
   FIRST-TIME ENTRANCE PAGE & NAME ROULETTE SLIDER (Floating, Scaled Up)
   ============================================================ */
.entrance-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: radial-gradient(ellipse at 50% 40%, #151621 0%, #0d0e15 45%, #050508 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.8s ease, transform 0.8s ease;
  backdrop-filter: blur(12px);
}

.entrance-overlay.fade-out {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

/* No rigid box — clean floating presentation */
.entrance-modal {
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Floating GIF with no circle */
.entrance-icon-wrap {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  overflow: visible;
}

.entrance-icon-wrap img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 25px rgba(245, 166, 35, 0.25));
  animation: float-icon-bounce 3s ease-in-out infinite alternate;
}

@keyframes float-icon-bounce {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-10px) scale(1.03);
  }
}

.entrance-welcome-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.95);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.entrance-welcome-title.moved-up {
  transform: translateY(-10px);
}

.entrance-phase-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
}

.entrance-phase-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scaled-up Horizontal Roulette Case Opening Slider */
.roulette-wrapper {
  width: 100%;
  height: 165px;
  background: rgba(8, 9, 14, 0.88);
  border: 1.5px solid rgba(245, 166, 35, 0.3);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.85),
    inset 0 0 35px rgba(0, 0, 0, 0.95);
  margin-bottom: 22px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.roulette-wrapper.visible {
  opacity: 1;
  transform: scale(1);
}

/* Center Pointer Marker */
.roulette-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3.5px;
  background: var(--gold-bright);
  transform: translateX(-50%);
  z-index: 20;
  box-shadow: 0 0 16px var(--gold-bright);
}

.roulette-marker::before,
.roulette-marker::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

.roulette-marker::before {
  top: 0;
  border-top: 11px solid var(--gold-bright);
}

.roulette-marker::after {
  bottom: 0;
  border-bottom: 11px solid var(--gold-bright);
}

.roulette-track-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.roulette-track {
  display: flex;
  gap: 14px;
  padding: 0 24px;
  will-change: transform;
}

/* Scaled-Up Square Name Slides */
.roulette-card {
  width: 125px;
  height: 125px;
  flex-shrink: 0;
  background: #11121a;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  user-select: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.75);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.roulette-card img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--border-gold);
  object-fit: cover;
}

.roulette-card span {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 900;
  color: #fff;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roulette-card.winner {
  border-color: var(--gold-bright);
  background: #1e1e12;
  box-shadow: 0 0 30px rgba(245, 166, 35, 0.8);
  transform: scale(1.06);
}

.roulette-card.winner span {
  color: var(--gold-bright);
}

.entrance-selected-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 20px rgba(245, 166, 35, 0.6);
}

/* 2 Overlapping Cards for Casino Lobby */
.lobby-overlapping-cards {
  position: relative;
  width: 58px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-lobby-card {
  position: absolute;
  width: 34px;
  height: 48px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.mini-card-back {
  background: #fff;
  color: #dc2626;
  border: 1px solid #991b1b;
  transform: rotate(-12deg) translate(-6px, 0);
  z-index: 1;
}

.mini-card-front {
  background: #fff;
  color: #111;
  border: 1px solid #333;
  transform: rotate(10deg) translate(6px, 2px);
  z-index: 2;
}

#dvd-bounce-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  overflow: hidden;
}

.dvd-bouncing-item {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 6px 16px rgba(168, 85, 247, 0.6));
}

.dvd-bouncing-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#app {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================================================
   HEADER & NAVBAR
   ============================================================ */
#game-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.header-logo:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.logo-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.logo-badge {
  font-size: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gold-bright);
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid var(--border-gold);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

/* Spread out Nav Tabs */
#main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.nav-btn.active {
  color: #fff;
  background: var(--bg-surface-2);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Header Currency & Profile */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.currency-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: 8px;
}

.currency-icon-tag {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--gold-bright);
  background: rgba(245, 166, 35, 0.15);
  padding: 2px 5px;
  border-radius: 4px;
}

.currency-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.user-profile-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 4px 12px 4px 4px;
  border-radius: 20px;
}

.user-pfp {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border-gold);
  object-fit: cover;
  background: var(--bg-surface-2);
}

.user-name-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
}

/* ============================================================
   TAB CONTAINER
   ============================================================ */
.tab-content {
  display: none;
  flex: 1;
  width: 100%;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background: #3b82f6;
  transform: translateY(-1px);
}

.btn-gold {
  background: #f59e0b;
  color: #000;
}

.btn-gold:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--bg-surface);
  border-color: var(--border);
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: var(--bg-surface-2);
  color: var(--text-main);
}

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
}

/* Toast */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.game-toast {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s ease;
  pointer-events: all;
}

.game-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-tag {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--gold-bright);
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid var(--border-gold);
  padding: 3px 6px;
  border-radius: 4px;
}

.toast-body {
  display: flex;
  flex-direction: column;
}

.toast-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

.toast-msg {
  font-size: 0.75rem;
  color: var(--text-muted);
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface-2);
  border-radius: 2px;
}

/* ============================================================
   WORLD SWITCHER & WORLD 2 WINTER THEME
   ============================================================ */

.nav-btn.world-nav-btn {
  color: #93c5fd;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(14, 165, 233, 0.08);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-btn.world-nav-btn:hover {
  background: rgba(14, 165, 233, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

.nav-btn.world-nav-btn.active,
.nav-btn.world-nav-btn.active-w2 {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  border-color: #7dd3fc !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.6) !important;
  font-weight: 800;
}

#world2-modal .modal-card {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.2), 0 20px 50px rgba(0, 0, 0, 0.9);
}

/* Modal Overlay Centering */
.modal-overlay,
#offline-modal,
#world2-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active,
#offline-modal.active,
#world2-modal.active {
  display: flex !important;
}

/* Bottom-Left World 1 Switcher Button (World 2 only) */
.world1-bottom-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1.5px solid rgba(245, 166, 35, 0.7);
  border-radius: 12px;
  color: #fbbf24;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 16px rgba(245, 166, 35, 0.25);
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
}

.world1-bottom-btn:hover {
  background: linear-gradient(135deg, #334155, #1e293b);
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75), 0 0 24px rgba(245, 166, 35, 0.45);
}

.world1-bottom-btn:active {
  transform: translateY(0);
}

/* Winter / World 2 Entrance Roulette Styling */
.entrance-overlay.winter-entrance {
  background: radial-gradient(circle at center, rgba(14, 45, 80, 0.96), rgba(3, 10, 20, 0.99));
}

.entrance-overlay.winter-entrance .entrance-modal {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 60px rgba(56, 189, 248, 0.3), 0 30px 80px rgba(0, 0, 0, 0.95);
}

.entrance-overlay.winter-entrance .entrance-welcome-title {
  color: #e0f2fe;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.7);
}

.entrance-overlay.winter-entrance .entrance-phase-text {
  color: #38bdf8;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

.entrance-overlay.winter-entrance .roulette-wrapper {
  background: rgba(8, 20, 36, 0.92);
  border-color: rgba(56, 189, 248, 0.4);
}

.entrance-overlay.winter-entrance .roulette-marker {
  background: #38bdf8;
  box-shadow: 0 0 18px #38bdf8;
}

.entrance-overlay.winter-entrance .roulette-marker::before {
  border-top-color: #38bdf8;
}

.entrance-overlay.winter-entrance .roulette-marker::after {
  border-bottom-color: #38bdf8;
}

.entrance-overlay.winter-entrance .roulette-card {
  background: #081526;
  border-color: rgba(56, 189, 248, 0.25);
}

.entrance-overlay.winter-entrance .roulette-card.winner {
  border-color: #38bdf8;
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.85);
  background: linear-gradient(180deg, #0c2b4d, #041424);
}

.entrance-overlay.winter-entrance .entrance-selected-name {
  color: #38bdf8;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.9);
}

/* Halloween / World 3 Entrance Roulette Styling */
.entrance-overlay.halloween-entrance {
  background: radial-gradient(circle at center, rgba(80, 30, 8, 0.96), rgba(20, 7, 2, 0.99));
}

.entrance-overlay.halloween-entrance .entrance-modal {
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 0 60px rgba(249, 115, 22, 0.35), 0 30px 80px rgba(0, 0, 0, 0.95);
}

.entrance-overlay.halloween-entrance .entrance-welcome-title {
  color: #ffedd5;
  text-shadow: 0 0 25px rgba(249, 115, 22, 0.8);
}

.entrance-overlay.halloween-entrance .entrance-phase-text {
  color: #f97316;
  text-shadow: 0 0 15px rgba(249, 115, 22, 0.6);
}

.entrance-overlay.halloween-entrance .roulette-wrapper {
  background: rgba(30, 12, 3, 0.92);
  border-color: rgba(249, 115, 22, 0.4);
}

.entrance-overlay.halloween-entrance .roulette-marker {
  background: #f97316;
  box-shadow: 0 0 18px #f97316;
}

.entrance-overlay.halloween-entrance .roulette-marker::before {
  border-top-color: #f97316;
}

.entrance-overlay.halloween-entrance .roulette-marker::after {
  border-bottom-color: #f97316;
}

.entrance-overlay.halloween-entrance .roulette-card {
  background: #1f0b02;
  border-color: rgba(249, 115, 22, 0.3);
}

.entrance-overlay.halloween-entrance .roulette-card.winner {
  border-color: #f97316;
  box-shadow: 0 0 35px rgba(249, 115, 22, 0.85);
  background: linear-gradient(180deg, #571e06, #1c0902);
}

.entrance-overlay.halloween-entrance .entrance-selected-name {
  color: #f97316;
  text-shadow: 0 0 25px rgba(249, 115, 22, 0.9);
}

/* ============================================================
   BODY.WORLD-2 (FROSTY WHITE / ICE THEME OVERRIDES)
   ============================================================ */

body.world-2 {
  background:
    radial-gradient(ellipse 90% 60% at 50% -15%, rgba(56, 189, 248, 0.18), transparent 75%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(14, 165, 233, 0.12), transparent 70%),
    linear-gradient(180deg, #07111e 0%, #0d1e34 45%, #081320 100%) !important;
  color: #f1f5f9;
}

body.world-2 #nav-clicker {
  display: none !important;
}

body.world-2 #world1-bottom-btn {
  display: inline-flex !important;
}

body.world-2 #game-header {
  background: rgba(9, 20, 36, 0.92);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.1);
}

body.world-2 .header-logo .logo-badge {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

body.world-2 .upgrades-column {
  background: rgba(11, 23, 40, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

body.world-2 .column-header {
  border-bottom-color: rgba(56, 189, 248, 0.2);
}

body.world-2 .column-title {
  color: #e0f2fe;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

body.world-2 .hud-stat-box {
  background: rgba(13, 27, 47, 0.8);
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.world-2 .hud-stat-val.gold {
  color: #38bdf8;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

body.world-2 .hud-stat-val.multiplier {
  color: #f43f5e;
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.4);
}

body.world-2 .power-indicator-pill {
  background: rgba(13, 27, 47, 0.85);
  border-color: rgba(56, 189, 248, 0.3);
}

body.world-2 .power-label {
  color: #38bdf8;
}

body.world-2 .upgrade-card {
  background: rgba(14, 28, 48, 0.65);
  border-color: rgba(56, 189, 248, 0.15);
}

body.world-2 .upgrade-card.affordable {
  border-color: rgba(56, 189, 248, 0.5);
  background: linear-gradient(135deg, rgba(14, 34, 61, 0.85), rgba(8, 20, 36, 0.9));
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

body.world-2 .upgrade-card.affordable:hover {
  border-color: #38bdf8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
}

body.world-2 .upgrade-count-tag {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

body.world-2 .upgrade-cost-num {
  color: #38bdf8;
}

body.world-2 .stat-gain {
  color: #38bdf8;
}

/* ============================================================
   BODY.WORLD-3 (HALLOWEEN ORANGE THEME OVERRIDES)
   ============================================================ */
body.world-3 {
  background: radial-gradient(ellipse at center, #271202 0%, #140700 60%, #080300 100%);
  --accent: #f97316;
}

body.world-3 #game-header {
  background: rgba(20, 9, 2, 0.97);
  border-bottom-color: rgba(249, 115, 22, 0.35);
}

body.world-3 .header-logo .logo-badge {
  background: #ea580c;
  color: #fff;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

body.world-3 .upgrades-column {
  background: rgba(28, 12, 3, 0.85);
  border-color: rgba(249, 115, 22, 0.25);
}

body.world-3 .column-header {
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.7), rgba(234, 88, 12, 0.5));
}

body.world-3 .column-title {
  color: #fed7aa;
}

body.world-3 .upgrade-card {
  background: rgba(38, 16, 4, 0.85);
  border-color: rgba(249, 115, 22, 0.2);
}

body.world-3 .upgrade-card:hover {
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

body.world-3 .upgrade-card.affordable {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.35);
}

body.world-3 .upgrade-card.affordable:hover {
  border-color: #f97316;
  box-shadow: 0 0 22px rgba(249, 115, 22, 0.55);
}

body.world-3 .upgrade-count-tag {
  background: rgba(249, 115, 22, 0.25);
  color: #fed7aa;
}

body.world-3 .upgrade-cost-num {
  color: #fed7aa;
}

body.world-3 .stat-gain {
  color: #fb923c;
}

/* World 3 Nav Button */
.nav-btn.world3-nav-btn {
  border-color: rgba(249, 115, 22, 0.5);
  color: #fed7aa;
}

.nav-btn.world3-nav-btn.active-w3 {
  background: linear-gradient(135deg, #c2410c, #ea580c) !important;
  border-color: #f97316 !important;
  color: #fff !important;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.6) !important;
  font-weight: 800;
}

/* Event Banner - Ho-Ho-Holocaust */
.event-banner.ho-ho-holocaust {
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.95), rgba(185, 28, 28, 0.95));
  border: 2px solid #7dd3fc;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.6), 0 0 20px rgba(239, 68, 68, 0.4);
  color: #ffffff;
}

.event-banner.ho-ho-holocaust #event-title {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(56, 189, 248, 0.8);
}

.event-banner.ho-ho-holocaust #event-sub {
  color: #fef08a;
  font-weight: 800;
}

/* ============================================================
   ADMIN GUI PANEL (SECRET MHITLER MODAL)
   ============================================================ */
.admin-modal-card {
  max-width: 580px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  background: radial-gradient(ellipse at top, #1c1917 0%, #0c0a09 100%);
  border: 2px solid #eab308;
  box-shadow: 0 0 50px rgba(234, 179, 8, 0.35), 0 25px 50px rgba(0, 0, 0, 0.9);
  padding: 24px;
  text-align: left;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(234, 179, 8, 0.3);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.admin-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: #fde047;
  letter-spacing: 0.08em;
  text-shadow: 0 0 15px rgba(234, 179, 8, 0.6);
}

.admin-close-btn {
  background: none;
  border: none;
  color: #a8a29e;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.15s;
}

.admin-close-btn:hover {
  color: #f87171;
}

.admin-section {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
}

.admin-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fde047;
  margin-bottom: 10px;
}

.admin-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-input {
  flex: 1;
  background: rgba(28, 25, 23, 0.9);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.admin-input:focus {
  outline: none;
  border-color: #eab308;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.4);
}

.admin-quick-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.admin-btn-chip {
  background: rgba(41, 37, 36, 0.85);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #fef08a;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.admin-btn-chip:hover {
  background: rgba(234, 179, 8, 0.2);
  border-color: #eab308;
  color: #fff;
  transform: translateY(-1px);
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}