/* ==========================================
   PC TYCOON: IDLE BUILD — STYLESHEET v2
   Frontal View + Massive Upgrade Visuals
   ========================================== */

:root {
  --bg-primary: #050508;
  --bg-panel: #0e0e14;
  --bg-card: #151520;

  --neon-cyan:   #00f0ff;
  --neon-pink:   #ff0099;
  --neon-green:  #00ff88;
  --neon-orange: #ffaa00;
  --neon-purple: #bb00ff;
  --neon-blue:   #0066ff;
  --neon-red:    #ff3333;

  --text-primary: #e8e8f0;
  --text-secondary: #8a8aad;
  --text-muted: #555577;

  --font-main: 'Segoe UI', 'Roboto', system-ui, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.35s ease;
}

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

html { font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(255, 0, 170, 0.03) 0%, transparent 50%);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #2a2a40; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-cyan); }

/* ---- HEADER ---- */
.site-header {
  text-align: center;
  padding: 1.8rem 1rem 1.2rem;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
}

.neon-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0,240,255,0.45), 0 0 35px rgba(0,240,255,0.15);
}

.neon-title .version {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--neon-pink);
  text-shadow: 0 0 8px rgba(255,0,170,0.35);
  vertical-align: super;
}

.tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

/* Geräte-Erkennung Badge */
.device-badge {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  color: var(--neon-cyan);
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.25);
  box-shadow: 0 0 12px rgba(0,240,255,0.12);
  transition: all var(--transition-normal);
}
/* Im Handy-Modus in Pink */
body.mode-mobile .device-badge {
  color: var(--neon-pink);
  background: rgba(255,0,153,0.08);
  border-color: rgba(255,0,153,0.3);
  box-shadow: 0 0 12px rgba(255,0,153,0.15);
}

/* ---- MAIN GRID ---- */
.game-container {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .game-container { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; }
  .top-row { flex-wrap: wrap; justify-content: center; }
}

/* ---- PC ZONE ---- */
.pc-zone {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 240, 255, 0.06);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.pc-zone::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-cyan));
  opacity: 0.5;
}

.money-bar {
  text-align: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed rgba(0, 240, 255, 0.12);
}

.money-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.money-value {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(0,255,136,0.25);
  transition: transform var(--transition-fast);
}

.money-value.pulse { transform: scale(1.1); }

/* ==========================================
   DESK SETUP — FRONTAL VIEW
   ========================================== */
.desk-setup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0rem;
  padding: 2rem 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(0, 240, 255, 0.12);
  cursor: pointer;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.desk-setup:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: inset 0 0 40px rgba(0,240,255,0.04);
}

.desk-setup:active { transform: scale(0.985); }

.click-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 1rem;
}

/* ---- TOP ROW: Monitor(s) ---- */
.top-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  position: relative;
  min-height: 155px;
}

/* ---- RGB-Lichtleiste (Ecklampe) ---- */
.light-bar {
  position: relative;
  width: 26px;
  height: 180px;
  border-radius: 13px;
  background: #08080d;
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    0 0 28px rgba(0,240,255,0.30),
    0 0 55px rgba(187,0,255,0.18),
    0 6px 16px rgba(0,0,0,0.45);
  animation: rgbRotate 10s linear infinite;
}
.lb-inner {
  position: absolute;
  inset: 3px;
  border-radius: 10px;
  background: linear-gradient(180deg,
    var(--neon-pink), var(--neon-purple), var(--neon-blue),
    var(--neon-cyan), var(--neon-green), var(--neon-orange), var(--neon-pink));
  background-size: 100% 200%;
  filter: saturate(1.3);
  box-shadow: inset 0 0 12px rgba(255,255,255,0.25);
  animation: lightBarFlow 6s linear infinite;
}
@keyframes lightBarFlow {
  0%   { background-position: 0% 0%; }
  100% { background-position: 0% 200%; }
}

/* Single monitor */
.monitor-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  transition: all var(--transition-normal);
}

.monitor-bezel {
  width: 230px;
  height: 145px;
  background: #bdbdc2;
  border-radius: 8px;
  padding: 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow:
    0 6px 20px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.08) inset;
  transition: all var(--transition-normal);
}

/* Monitor evolves with GPU upgrade */
.monitor-bezel.modern {
  background: #14141a;
  border: 2px solid #2a2a35;
  box-shadow: 0 6px 25px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.monitor-bezel.gaming {
  background: #0b0b12;
  border: 2px solid var(--neon-cyan);
  box-shadow:
    0 6px 25px rgba(0,0,0,0.4),
    0 0 18px rgba(0,240,255,0.12),
    0 0 0 1px rgba(255,255,255,0.05) inset;
}

.screen {
  width: 100%;
  flex: 1;
  background: #06060a;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  font-family: var(--font-mono);
}

.boot-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-green);
  font-size: 0.85rem;
  text-shadow: 0 0 6px rgba(0,255,136,0.4);
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* When system is powered (CPU Lv>=1) boot goes away */
.screen.system-on .boot-text { opacity: 0; }

/* Wallpaper appears with GPU */
.wallpaper {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
  background-size: 400% 400%;
  transition: opacity 0.6s ease;
}
.screen.system-on .wallpaper {
  opacity: 0.25;
  animation: wallpaperPan 6s ease infinite;
}
@keyframes wallpaperPan {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.screen-fx {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.screen.system-on .screen-fx {
  opacity: 0.6;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,240,255,0.03) 2px, rgba(0,240,255,0.03) 4px);
}

.monitor-brand {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: #777;
  letter-spacing: 1px;
  transition: all 0.5s;
}

.monitor-rgb-bar {
  position: absolute;
  bottom: 3px;
  left: 20px;
  right: 20px;
  height: 2px;
  border-radius: 1px;
  background: #333;
  opacity: 0;
  transition: opacity 0.5s, box-shadow 0.5s, background 0.5s;
}

/* Second monitor */
.monitor-wrap.second { margin-left: -8px; z-index: 5; }
.monitor-wrap.second .monitor-bezel {
  width: 190px; height: 120px;
  transform: translateX(100%);
  opacity: 0;
}
.monitor-wrap.second.visible .monitor-bezel {
  transform: translateX(0);
  opacity: 1;
}

.hidden { display: none !important; }
.monitor-wrap.second.visible { display: flex !important; }

.monitor-bezel .screen.s2 {
  background: #08080a;
  border-radius: 3px;
}

.monitor-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2px;
}

.stand-neck {
  width: 22px;
  height: 18px;
  background: #9d9da3;
  border-radius: 0 0 4px 4px;
}
.stand-base {
  width: 70px;
  height: 5px;
  background: #8c8c93;
  border-radius: 3px;
  margin-top: -2px;
}

.monitor-stand.mini .stand-neck { width: 18px; height: 14px; }
.monitor-stand.mini .stand-base { width: 55px; }

.ambilight-glow {
  position: absolute;
  top: -10px; left: -20px; right: -20px; bottom: -15px;
  border-radius: 50%;
  background: transparent;
  opacity: 0;
  transition: opacity 0.8s ease, background 0.8s ease;
  filter: blur(22px);
  pointer-events: none;
  z-index: -1;
}

/* ==========================================
   BOTTOM ROW: Peripherals + Tower
   ========================================== */
.bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.2rem;
  width: 100%;
  max-width: 500px;
  position: relative;
}

.peripherals-zone {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 1.2rem;
}

/* ---- Keyboard ---- */
.keyboard {
  position: relative;
  width: 170px;
  height: 55px;
  background: #b2b2b8;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all var(--transition-normal);
}

.kb-row {
  height: 10px;
  display: flex;
  gap: 2px;
  justify-content: center;
}
/* key caps as ::before pseudo? no, just small divs would be better but let's use gradients */
.kr1 { background: repeating-linear-gradient(90deg, #999 0px, #999 10px, transparent 10px, transparent 12px); opacity: 0.25; border-radius: 2px; }
.kr2 { background: repeating-linear-gradient(90deg, #999 0px, #999 8px,  transparent 8px,  transparent 10px); opacity: 0.22; border-radius: 2px; }
.kr3 { background: repeating-linear-gradient(90deg, #999 0px, #999 8px,  transparent 8px,  transparent 10px); opacity: 0.22; border-radius: 2px; }
.kr4 { background: repeating-linear-gradient(90deg, #999 0px, #999 6px,  transparent 6px,  transparent 8px);  opacity: 0.20; border-radius: 2px; height: 8px; }

.kb-glow {
  position: absolute;
  inset: 0;
  border-radius: 5px;
  box-shadow: none;
  opacity: 0;
  transition: opacity 0.5s, box-shadow 0.5s;
  pointer-events: none;
}

/* ---- Mouse Area ---- */
.mouse-area {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mousepad {
  width: 55px; height: 38px;
  background: #44444a;
  border-radius: 4px;
  border: 1px solid #555;
  opacity: 0.6;
  transition: all var(--transition-normal);
}

.mouse {
  position: relative;
  width: 18px; height: 28px;
  background: #b2b2b8;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.22);
  transition: all var(--transition-normal);
}

.mouse-dongle {
  position: absolute;
  top: 3px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 7px;
  background: #888;
  border-radius: 0 0 3px 3px;
  transition: all 0.5s;
}

.mouse-light {
  position: absolute;
  bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.5s;
}

/* ==========================================
   TOWER — FRONT VIEW
   ========================================== */
.tower-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 900px;
  /* etwas kleiner, damit der Tower neben dem Monitor passt */
  transform: scale(0.8);
  transform-origin: bottom center;
}

.tower-front {
  position: relative;
  --tw-w: 115px;
  --tw-h: 270px;
  --tw-d: 46px;              /* Gehäuse-Tiefe */
  width: var(--tw-w);
  height: var(--tw-h);
  /* Ganze Box leicht schräg gedreht — echter 3D-Effekt */
  transform-style: preserve-3d;
  transform: rotateY(-20deg);
}

/* Rechte Seitenwand (gibt dem Gehäuse Tiefe) */
.tower-front::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: var(--tw-d);
  height: 100%;
  background: linear-gradient(90deg, rgba(26,28,37,0.92), rgba(7,8,12,0.96));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0 8px 8px 0;
  transform-origin: left center;
  transform: translateX(var(--tw-w)) translateZ(calc(var(--tw-d) / 2)) rotateY(90deg);
}

/* Deckel oben (schließt die Box nach hinten) */
.tower-front::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: var(--tw-d);
  background: linear-gradient(180deg, rgba(34,36,47,0.95), rgba(15,16,22,0.95));
  border-radius: 8px 8px 0 0;
  transform-origin: center top;
  transform: translateZ(calc(var(--tw-d) / 2)) rotateX(-90deg);
}

.tower-shell {
  position: absolute;
  inset: 0;
  /* Durchsichtige Glas-Front */
  background: rgba(120,125,140,0.16);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow:
    inset 0 0 30px rgba(0,0,0,0.18),
    0 10px 24px rgba(0,0,0,0.5);
  /* Front-Fläche der 3D-Box nach vorne geschoben */
  transform: translateZ(calc(var(--tw-d) / 2));
}

/* ==========================================
   GLAS-INNENRAUM (moderne Build)
   ========================================== */
.case-interior {
  position: absolute;
  inset: 5px;
  border-radius: 5px;
  background: linear-gradient(160deg, rgba(12,13,19,0.75), rgba(4,5,8,0.88));
  overflow: hidden;
}

/* Mainboard-Rückwand */
.mobo-plate {
  position: absolute;
  top: 6px; left: 5px;
  width: 54px; bottom: 40px;
  background: linear-gradient(135deg, #0d1219, #070a0e);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.5);
}

/* ---- RGB-Lüfter (Reihe rechts, Intake) ---- */
.case-fan {
  position: absolute;
  right: 5px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #202329 0 42%, #0c0d11 43% 100%);
  border: 2px solid #17181d;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
}
.case-fan.f1 { top: 6px; }
.case-fan.f2 { top: 48px; }
.case-fan.f3 { top: 90px; }

.cf-hub {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2a2d34;
  border: 1px solid #3a3d44;
  z-index: 2;
}
.cf-blades {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,0.05) 0deg 22deg, transparent 22deg 44deg);
}
.cf-ring {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid rgba(140,150,180,0.18);
  transition: border-color 0.4s, box-shadow 0.4s;
}

/* ---- Komponenten ---- */
.comp {
  position: absolute;
  font-size: 0.42rem;
  font-family: var(--font-mono);
  color: #667;
  background: #12141b;
  border: 1px solid #23262e;
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.35;
  transition: all 0.5s;
  letter-spacing: 0.5px;
}

.cpu-comp  { top: 10px; left: 9px;  width: 30px; height: 30px; }
.ram-comp  { top: 10px; left: 42px; width: 5px;  height: 30px; }
.ram2-comp { top: 10px; left: 50px; width: 5px;  height: 30px; }
.hdd-comp  { top: 50px; left: 9px;  width: 44px; height: 12px; }
.gpu-comp  { bottom: 44px; left: 6px; width: 93px; height: 24px;
             font-size: 0.5rem; letter-spacing: 1px; }
.psu-comp  { bottom: 6px; left: 6px; right: 6px; height: 26px;
             font-size: 0.5rem; letter-spacing: 1px;
             background: #0c0e13; border-color: #1c1f26; opacity: 0.6; }

/* ---- Wasserkühlung (AIO auf CPU) ---- */
.wc-block {
  position: absolute; top: 12px; left: 11px;
  width: 26px; height: 26px;
  background: #16181f;
  border: 1px solid #2a2d34;
  border-radius: 3px;
  opacity: 0;
  transition: all 0.5s;
}
.wc-tube {
  position: absolute;
  width: 3px;
  background: transparent;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.6s, background 0.6s, box-shadow 0.6s;
}
.wc-tube.t1 { top: 4px; left: 16px; height: 12px; }
.wc-tube.t2 { top: 4px; left: 24px; height: 12px; }
.wc-liquid {
  position: absolute;
  top: 12px; left: 20px;
  width: 4px; height: 0;
  background: var(--neon-blue);
  border-radius: 2px;
  opacity: 0;
  transition: all 0.8s;
}

/* ---- RGB-Streifen unten ---- */
.rgb-strip {
  position: absolute;
  left: 8px; right: 8px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: #2a2c33;
  opacity: 0.5;
  transition: all 0.5s;
}

/* ---- Glas-Reflexion auf der Front ---- */
.glass-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 16%, transparent 36%);
  pointer-events: none;
}

/* === GLOW ZONES === */
.tower-underglow {
  position: absolute; left: -6px; right: -6px; bottom: -6px;
  height: 8px; border-radius: 4px;
  background: transparent; opacity: 0;
  filter: blur(6px);
  transition: all 0.5s;
  transform: translateZ(24px);
}

.tower-sideglow {
  position: absolute; top: 20%; bottom: 20%; right: -4px;
  width: 4px; border-radius: 2px;
  background: transparent; opacity: 0;
  filter: blur(4px);
  transition: all 0.5s;
  transform: translateZ(24px);
}

.desk-glow {
  position: absolute; bottom: -5px; left: 10%; right: 10%;
  height: 12px; border-radius: 6px;
  background: transparent; opacity: 0;
  filter: blur(10px);
  transition: all 0.8s;
}

/* ==========================================
   UPGRADE VISUAL STATES
   ========================================== */

/* ---- CPU: system power ---- */
.system-on .pwr-btn {
  background: var(--neon-green);
  box-shadow: 0 0 6px rgba(0,255,136,0.6);
  border-color: var(--neon-green);
}
.cpu-level .cpu-comp {
  opacity: 1;
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 6px rgba(0,240,255,0.25);
  background: #0c1518;
}

/* ---- RAM ---- */
.ram-level .ram-comp,
.ram-level .ram2-comp {
  opacity: 1;
  color: var(--neon-pink);
  border-color: var(--neon-pink);
  box-shadow: 0 0 5px rgba(255,0,170,0.2);
  background: #180c14;
}

/* ---- HDD ---- */
.hdd-level .hdd-comp {
  opacity: 1;
  color: var(--neon-orange);
  border-color: var(--neon-orange);
  box-shadow: 0 0 5px rgba(255,170,0,0.2);
  background: #18120c;
}
.hdd-active .hdd-led {
  background: var(--neon-orange);
  box-shadow: 0 0 5px rgba(255,170,0,0.7);
}

/* ---- GPU ---- */
.gpu-level .gpu-comp {
  opacity: 1;
  color: var(--neon-green);
  border-color: var(--neon-green);
  box-shadow: 0 0 8px rgba(0,255,136,0.35);
  background: #0c1810;
}
.gpu-level .monitor-bezel {
  border-color: var(--neon-green);
  box-shadow: 0 6px 25px rgba(0,0,0,0.4), 0 0 18px rgba(0,255,136,0.12);
}
.gpu-level .monitor-brand {
  color: var(--neon-green);
  text-shadow: 0 0 5px rgba(0,255,136,0.4);
  font-weight: 700;
}

/* ---- PSU ---- */
.psu-level .psu-comp {
  opacity: 1;
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 5px rgba(0,240,255,0.2);
  background: #0c1418;
}
.psu-level .psu-vent {
  opacity: 0.8;
  background: radial-gradient(circle, var(--neon-cyan) 2px, transparent 2px);
  background-size: 6px 6px;
}
.psu-level .psu-label { color: var(--neon-cyan); }

/* ---- RGB ---- */
.rgb-1 .tower-sideglow { background: var(--neon-cyan); opacity: 0.6; }
.rgb-1 .kb-glow { box-shadow: 0 0 8px var(--neon-cyan); opacity: 0.4; border-radius: 4px; }
.rgb-1 .mouse-light { background: var(--neon-cyan); box-shadow: 0 0 6px var(--neon-cyan); opacity: 1; }
.rgb-1 .monitor-rgb-bar { opacity: 1; background: var(--neon-green); box-shadow: 0 0 6px var(--neon-green); }
.rgb-1 .fan-ring { border-color: var(--neon-cyan); opacity: 0.4; }

.rgb-2 .tower-sideglow { background: var(--neon-pink); opacity: 0.7; }
.rgb-2 .kb-glow { box-shadow: 0 0 12px var(--neon-pink); opacity: 0.6; }
.rgb-2 .mouse-light { background: var(--neon-pink); box-shadow: 0 0 8px var(--neon-pink); }
.rgb-2 .monitor-rgb-bar { background: linear-gradient(90deg, var(--neon-green), var(--neon-pink)); }
.rgb-2 .fan-ring { border-color: var(--neon-pink); opacity: 0.6; }

.rgb-3 .tower-sideglow { background: var(--neon-purple); opacity: 0.8; }
.rgb-3 .kb-glow { box-shadow: 0 0 18px var(--neon-purple); opacity: 0.75; }
.rgb-3 .mouse-light { background: var(--neon-purple); box-shadow: 0 0 10px var(--neon-purple); }
.rgb-3 .fan-ring { border-color: var(--neon-purple); opacity: 0.9; }
.rgb-3 .big-fan { border: 1px solid rgba(187,0,255,0.3); }

.rgb-4 .tower-sideglow {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
  opacity: 0.85;
}
.rgb-4 .monitor-rgb-bar {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
  box-shadow: 0 0 8px rgba(187,0,255,0.4);
}
.rgb-4 .kb-glow {
  box-shadow:
    0 0 15px var(--neon-cyan),
    0 0 30px var(--neon-pink),
    inset 0 0 5px rgba(255,255,255,0.1);
  opacity: 0.9;
}
.rgb-4 .fan-ring {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  opacity: 1;
}

.rgb-5 .tower-sideglow {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-pink), var(--neon-green));
  opacity: 1;
  animation: rgbRotate 1.5s linear infinite;
}
.rgb-5 .kb-glow {
  animation: rgbRotate 1.5s linear infinite;
  box-shadow: 0 0 20px var(--neon-cyan);
  opacity: 1;
}
.rgb-5 .mouse-light {
  background: var(--neon-green);
  box-shadow: 0 0 12px var(--neon-green);
  animation: rgbRotate 1.5s linear infinite;
}
.rgb-5 .monitor-rgb-bar {
  animation: rgbRotate 1.5s linear infinite;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-green));
  box-shadow: 0 0 10px var(--neon-cyan);
}
.rgb-5 .fan-ring {
  animation: rgbRotate 1.5s linear infinite;
  border-color: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}

@keyframes rgbRotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* ---- Water Cooling ---- */
.water-level .wc-tube.t1 { opacity: 0.7; background: var(--neon-blue); box-shadow: 0 0 5px var(--neon-blue); }
.water-level .wc-tube.t2 { opacity: 0.7; background: var(--neon-blue); box-shadow: 0 0 5px var(--neon-blue); }
.water-level .wc-tube.t3 { opacity: 0.7; background: var(--neon-blue); }
.water-level .wc-block   { opacity: 1; border-color: var(--neon-blue); background: #0a0c18; box-shadow: 0 0 5px var(--neon-blue); }
.water-level .wc-liquid  {
  opacity: 0.8;
  height: 30px;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
  animation: liquidPulse 1s ease-in-out infinite alternate;
}
@keyframes liquidPulse {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* ---- Dual Monitor ---- */
.dual-level .monitor-rgb-bar2 {
  background: var(--neon-pink); opacity: 1; box-shadow: 0 0 6px var(--neon-pink);
}

/* ---- Ambilight ---- */
.ambilight-level .ambilight-glow {
  opacity: 0.5;
  background: radial-gradient(ellipse at 50% 50%, var(--neon-cyan) 0%, transparent 70%);
}
.ambilight-level .desk-glow {
  opacity: 0.4;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan), var(--neon-pink));
  animation: rgbRotate 3s linear infinite;
}

/* ---- Gaming Case Lv1 ---- */
.case-1 .tower-shell {
  background: rgba(22,22,31,0.35);
  border: 1px solid #2a2a38;
  box-shadow: inset 0 0 25px rgba(0,0,0,0.25), 0 8px 20px rgba(0,0,0,0.5);
}
.case-1 .front-mesh.hidden-mesh { display: none; }
.case-1 .big-fan.active { opacity: 1; transform: scale(1); animation: fanSpin 0.35s linear infinite; }
.case-1 .fan-blades { opacity: 1; }
.case-1 .bays-row { border-color: rgba(255,255,255,0.05); }
.case-1 .bay { background: rgba(255,255,255,0.04); }

/* ---- Glass Case Lv2 ---- */
.case-2 .tower-shell {
  background: rgba(12,12,18,0.34);
  border: 1px solid rgba(255,0,170,0.15);
  box-shadow: inset 0 0 30px rgba(0,0,0,0.3), 0 0 15px rgba(255,0,170,0.08);
}
.case-2 .comp-window.active { opacity: 1; transform: scale(1); }
.case-2 .window-shine { opacity: 1; }

/* ---- Premium Glass Lv3 ---- */
.case-3 .tower-shell {
  background: rgba(10,10,16,0.32);
  border: 1px solid rgba(187,0,255,0.25);
  box-shadow:
    inset 0 0 35px rgba(0,0,0,0.35),
    0 0 20px rgba(187,0,255,0.12),
    0 8px 25px rgba(0,0,0,0.5);
}
.case-3 .comp-window.active {
  border-color: rgba(187,0,255,0.25);
  box-shadow: inset 0 0 10px rgba(187,0,255,0.05);
}

/* Spinning fans general */
@keyframes fanSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================
   RGB — Gehäuse-Lüfter & Streifen
   ========================================== */
.rgb-1 .cf-ring { border-color: var(--neon-cyan); box-shadow: 0 0 6px var(--neon-cyan); }
.rgb-1 .rgb-strip { background: var(--neon-cyan); opacity: 1; box-shadow: 0 0 6px var(--neon-cyan); }

.rgb-2 .case-fan.f1 .cf-ring { border-color: var(--neon-cyan);   box-shadow: 0 0 8px var(--neon-cyan); }
.rgb-2 .case-fan.f2 .cf-ring { border-color: var(--neon-pink);   box-shadow: 0 0 8px var(--neon-pink); }
.rgb-2 .case-fan.f3 .cf-ring { border-color: var(--neon-purple); box-shadow: 0 0 8px var(--neon-purple); }
.rgb-2 .rgb-strip { background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink)); }

.rgb-3 .case-fan.f1 .cf-ring { border-color: var(--neon-cyan);  box-shadow: 0 0 10px var(--neon-cyan); }
.rgb-3 .case-fan.f2 .cf-ring { border-color: var(--neon-green); box-shadow: 0 0 10px var(--neon-green); }
.rgb-3 .case-fan.f3 .cf-ring { border-color: var(--neon-pink);  box-shadow: 0 0 10px var(--neon-pink); }

.rgb-4 .rgb-strip {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
  box-shadow: 0 0 8px rgba(187,0,255,0.5);
}

/* Lüfter drehen sich, sobald RGB vorhanden ist */
.rgb-1 .cf-blades,
.rgb-2 .cf-blades,
.rgb-3 .cf-blades,
.rgb-4 .cf-blades { animation: fanSpin 0.9s linear infinite; }

.rgb-5 .case-fan .cf-ring {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  animation: rgbRotate 1.5s linear infinite;
}
.rgb-5 .cf-blades { animation: fanSpin 0.5s linear infinite; }
.rgb-5 .rgb-strip {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-green));
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: rgbRotate 1.5s linear infinite;
}

/* HDD/SSD-Aktivität blinkt beim Klicken */
.hdd-active .hdd-comp {
  box-shadow: 0 0 8px var(--neon-orange);
  border-color: var(--neon-orange);
}

/* ==========================================
   UPGRADE FLASH & LEVELUP BANNER
   ========================================== */
.upgrade-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0,240,255,0.15) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s;
  z-index: 50;
}
.upgrade-flash.flash-on {
  opacity: 1;
  animation: flashOut 0.4s ease-out forwards;
}
@keyframes flashOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.levelup-banner {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  padding: 1.2rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--neon-cyan);
  border-radius: var(--radius-md);
  color: var(--neon-cyan);
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0,240,255,0.4);
  box-shadow: 0 0 40px rgba(0,240,255,0.15), 0 8px 30px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  transition: opacity 0.3s, transform 0.3s;
}
.levelup-banner.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: bannerFade 1.8s ease forwards;
}
@keyframes bannerFade {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(0.7); }
  15% { opacity: 1; transform: translate(-50%,-50%) scale(1.05); }
  25% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  80% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(0.95); }
}

/* ==========================================
   MONEY POPUP ON SCREEN
   ========================================== */
.money-popup {
  position: absolute;
  color: var(--neon-green);
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-mono);
  pointer-events: none;
  animation: popupFloat 0.6s ease-out forwards;
  text-shadow: 0 0 8px rgba(0,255,136,0.6);
  white-space: nowrap;
  z-index: 20;
}
@keyframes popupFloat {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-45px) scale(1.15); }
}

/* ==========================================
   STATS PANEL
   ========================================== */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

@media (max-width: 600px) {
  .stats-panel { grid-template-columns: repeat(2, 1fr); }
  .tower-front { transform: rotateY(-20deg) scale(0.9); }
  .bottom-row { gap: 0.8rem; }
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 0.9rem;
  text-align: center;
  transition: all var(--transition-normal);
}
.stat-card:hover { border-color: rgba(0,240,255,0.15); transform: translateY(-2px); }
.stat-icon { font-size: 1.4rem; margin-bottom: 0.3rem; }
.stat-value {
  font-size: 1.2rem; font-weight: 700;
  font-family: var(--font-mono); color: var(--neon-cyan);
}
.stat-label {
  font-size: 0.7rem; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 1px;
}

/* ==========================================
   ACTIONS & SHOP
   ========================================== */
.action-buttons {
  display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap;
}
.btn-save, .btn-reset, .btn-code {
  padding: 0.6rem 1.3rem;
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font-main); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition-fast);
  text-transform: uppercase; letter-spacing: 1px;
}
.btn-code {
  background: rgba(187,0,255,0.1); color: var(--neon-purple);
  border: 1px solid rgba(187,0,255,0.3);
}
.btn-code:hover {
  background: rgba(187,0,255,0.22);
  box-shadow: 0 0 12px rgba(187,0,255,0.2);
}
.btn-save {
  background: rgba(0,240,255,0.1); color: var(--neon-cyan);
  border: 1px solid rgba(0,240,255,0.25);
}
.btn-save:hover {
  background: rgba(0,240,255,0.22);
  box-shadow: 0 0 12px rgba(0,240,255,0.15);
}
.btn-reset {
  background: rgba(255,0,170,0.06); color: var(--neon-pink);
  border: 1px solid rgba(255,0,170,0.2);
}
.btn-reset:hover { background: rgba(255,0,170,0.14); }

.shop-zone {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,240,255,0.06);
  padding: 1.4rem;
  position: sticky; top: 1.4rem;
  max-height: calc(100vh - 2.8rem); overflow-y: auto;
}
.shop-header { text-align: center; margin-bottom: 1.1rem; padding-bottom: 0.9rem; border-bottom: 1px dashed rgba(255,0,170,0.1); cursor: pointer; user-select: none; transition: color var(--transition-fast); }
.shop-header:hover h2 { text-shadow: 0 0 12px rgba(0,240,255,0.4); }

.shop-chevron {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--neon-cyan);
  vertical-align: middle;
  transition: transform 0.35s ease;
  text-shadow: 0 0 8px rgba(0,240,255,0.5);
}
.shop-zone.collapsed .shop-chevron { transform: rotate(-90deg); }

/* Aufklappbarer Shop-Inhalt */
.shop-body {
  overflow: hidden;
  max-height: 2400px;
  opacity: 1;
  transition: max-height 0.45s ease, opacity 0.3s ease;
}
.shop-zone.collapsed .shop-body {
  max-height: 0;
  opacity: 0;
}
.shop-header h2 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.shop-subtitle { font-size: 0.82rem; color: var(--text-secondary); }
.shop-list { display: flex; flex-direction: column; gap: 0.7rem; }

.upgrade-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 0.9rem;
  display: flex; align-items: center; gap: 0.9rem;
  transition: all var(--transition-normal);
  position: relative; overflow: hidden;
}
.upgrade-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--neon-cyan);
  opacity: 0; transition: opacity 0.3s;
}
.upgrade-card:hover::before { opacity: 0.5; }
.upgrade-card:hover { border-color: rgba(0,240,255,0.12); transform: translateX(2px); }
.upgrade-card.locked { opacity: 0.55; filter: grayscale(0.35); }
.upgrade-card.maxed { border-color: var(--neon-green); }
.upgrade-card.maxed::before { background: var(--neon-green); opacity: 0.8; }

.upgrade-icon {
  font-size: 1.8rem; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25); border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.upgrade-info { flex: 1; min-width: 0; }
.upgrade-name { font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; gap: 0.35rem; }
.upgrade-desc { font-size: 0.77rem; color: var(--text-secondary); }
.upgrade-level { font-size: 0.68rem; color: var(--text-muted); background: rgba(0,0,0,0.25); padding: 0.08rem 0.35rem; border-radius: 4px; }
.upgrade-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 0.25rem; flex-shrink: 0; }
.upgrade-cost { font-family: var(--font-mono); font-size: 0.85rem; color: var(--neon-orange); font-weight: 600; }

.btn-buy {
  padding: 0.4rem 0.9rem; border: none; border-radius: var(--radius-sm);
  background: rgba(0,255,136,0.1); color: var(--neon-green);
  border: 1px solid rgba(0,255,136,0.25);
  font-family: var(--font-main); font-size: 0.78rem; font-weight: 700;
  cursor: pointer; transition: all var(--transition-fast);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-buy:hover:not(:disabled) { background: rgba(0,255,136,0.22); box-shadow: 0 0 10px rgba(0,255,136,0.15); transform: scale(1.04); }
.btn-buy:disabled { background: rgba(80,80,100,0.08); color: var(--text-muted); border-color: rgba(80,80,100,0.1); cursor: not-allowed; }
.btn-buy.maxed { background: rgba(0,255,136,0.06); color: var(--text-muted); border-color: rgba(0,255,136,0.08); cursor: default; }
.btn-buy.own { background: rgba(0,240,255,0.1); color: var(--neon-cyan); border-color: rgba(0,240,255,0.25); }
.btn-buy.active { background: rgba(0,255,136,0.08); color: var(--neon-green); border-color: rgba(0,255,136,0.2); cursor: default; }

/* ==========================================
   SHOP: KATEGORIE-TABS (Neon RGB)
   ========================================== */
.shop-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.3rem;
}
.shop-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  min-height: 66px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #16161f, #0b0b12);
  border: 1px solid rgba(0,240,255,0.12);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.shop-tab .tab-ico {
  font-size: 1.65rem;
  line-height: 1;
  filter: drop-shadow(0 0 5px rgba(0,240,255,0.4));
  transition: filter 0.3s;
}
.shop-tab .tab-name {
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.3px;
}

/* Leuchtender Neon-Farbverlauf-Rahmen */
.shop-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple), var(--neon-cyan));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.shop-tab:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,240,255,0.18);
}
.shop-tab:hover::before { opacity: 0.75; }
.shop-tab:hover .tab-ico { filter: drop-shadow(0 0 8px var(--neon-cyan)); }

/* Aktiver Tab: voller RGB-Rahmen, der die Farbe wechselt */
.shop-tab.active {
  color: #fff;
  box-shadow:
    0 0 18px rgba(0,240,255,0.3),
    inset 0 0 14px rgba(0,240,255,0.08);
}
.shop-tab.active::before {
  opacity: 1;
  animation: rgbRotate 2.5s linear infinite;
}
.shop-tab.active .tab-ico {
  filter: drop-shadow(0 0 10px var(--neon-cyan));
  animation: tabIcoPulse 1.6s ease-in-out infinite;
}
@keyframes tabIcoPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

/* Besitz-Anzeige */
.shop-tab.owned {
  border-color: rgba(0,255,136,0.3);
}
.shop-tab.owned::after {
  content: '';
  position: absolute;
  top: 7px; right: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

/* ==========================================
   SHOP: MODELL-KARTEN
   ========================================== */
.model-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 0.9rem;
  margin-bottom: 0.7rem;
  transition: all var(--transition-normal);
  position: relative;
}
.model-card.active {
  border-color: var(--neon-green);
  box-shadow: 0 0 14px rgba(0,255,136,0.12);
}
.model-card.locked { opacity: 0.6; filter: grayscale(0.3); }

.model-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.model-name { font-weight: 700; font-size: 0.92rem; }
.model-badge {
  font-size: 0.58rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: rgba(0,255,136,0.15);
  color: var(--neon-green);
  letter-spacing: 0.5px;
}
.model-badge.own { background: rgba(0,240,255,0.12); color: var(--neon-cyan); }

.model-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.55rem;
}

.model-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}
.model-stats .stat {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(0,0,0,0.3);
}
.model-stats .stat.click { color: var(--neon-cyan); }
.model-stats .stat.pass  { color: var(--neon-orange); }
.model-stats .stat.mult  { color: var(--neon-green); }

.model-buy .btn-buy { width: 100%; }

/* ==========================================
   TOASTS
   ========================================== */
.toast-container {
  position: fixed; bottom: 1.4rem; right: 1.4rem;
  display: flex; flex-direction: column; gap: 0.45rem;
  pointer-events: none; z-index: 1000;
}
.toast {
  background: var(--bg-card); color: var(--text-primary);
  border-left: 3px solid var(--neon-cyan);
  padding: 0.7rem 1.1rem; border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  font-size: 0.88rem;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.4s forwards;
  opacity: 0.95;
}
.toast.success { border-left-color: var(--neon-green); }
.toast.error   { border-left-color: var(--neon-pink); }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 0.95; } }
@keyframes toastOut { from { transform: translateX(0); opacity: 0.95; } to { transform: translateX(100%); opacity: 0; } }

@media (max-width: 500px) {
  .neon-title { font-size: 1.5rem; }
  .money-value { font-size: 2rem; }
  .monitor-bezel { width: 180px; height: 115px; }
  .tower-front { --tw-w: 95px; --tw-h: 230px; --tw-d: 38px; transform: rotateY(-20deg) scale(0.85); }
  .keyboard { width: 140px; height: 48px; }
  .upgrade-card { padding: 0.75rem; gap: 0.5rem; }
  .upgrade-icon { width: 38px; height: 38px; font-size: 1.4rem; }
}
