/* Babygirl OS Custom Theme */
:root {
  /* Babygirl OS Color Palette */
  --bg-primary: #ff1493;
  --bg-secondary: #ff69b4;
  --bg-tertiary: #da70d6;
  --bg-accent: #00ffff;
  --bg-dark: #8b008b;
  --bg-light: #ffc0cb;

  /* UI Colors */
  --window-bg: rgba(255, 192, 203, 0.95);
  --window-border: #ff1493;
  --window-header: linear-gradient(135deg, #ff1493 0%, #da70d6 100%);
  --button-bg: linear-gradient(135deg, #ff69b4 0%, #da70d6 100%);
  --button-hover: linear-gradient(135deg, #ff1493 0%, #8b008b 100%);
  --button-active: linear-gradient(135deg, #8b008b 0%, #ff1493 100%);

  /* Text Colors */
  --text-primary: #2d1b69;
  --text-secondary: #ffffff;
  --text-accent: #ff1493;
  --text-muted: #8b008b;

  /* Effects */
  --glow-pink: 0 0 20px rgba(255, 20, 147, 0.6);
  --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.6);
  --shadow-deep: 0 8px 32px rgba(139, 0, 139, 0.3);

  /* Typography */
  --font-primary: "Comic Sans MS", "Trebuchet MS", cursive;
  --font-secondary: "Arial", "Helvetica", sans-serif;
  --font-mono: "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 14px;
  background: #000;
  overflow: hidden;
}

/* CRT Monitor Container */
.crt-monitor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(ellipse at center, #1a1a1a 0%, #000 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* CRT Screen */
.crt-screen {
  width: 95vw;
  height: 95vh;
  max-width: 1200px;
  max-height: 900px;
  background: #000;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 50px rgba(0, 255, 255, 0.1),
    inset 0 0 100px rgba(255, 20, 147, 0.05),
    0 0 100px rgba(255, 20, 147, 0.3),
    0 0 200px rgba(0, 255, 255, 0.2);

  /* Screen curvature effect */
  transform: perspective(1000px) rotateX(2deg);

  /* Subtle screen flicker */
  animation: screen-flicker 0.15s linear infinite alternate;
}

/* CRT Scanlines Overlay */
.crt-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(
      to bottom,
      transparent 50%,
      rgba(0, 0, 0, 0.4) 50%
    ),
    linear-gradient(
      90deg,
      transparent 50%,
      rgba(255, 20, 147, 0.03) 50%
    );
  background-size: 100% 3px, 3px 100%;
  z-index: 1000;
  pointer-events: none;
  animation: scanlines 0.1s linear infinite;
}

/* Moving Scanline */
.crt-screen::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(0, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.05) 70%,
    transparent 100%
  );
  animation: moving-scanline 4s linear infinite;
  z-index: 999;
  pointer-events: none;
  filter: blur(1px);
}

/* Desktop Background */
.desktop {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 30%, var(--bg-tertiary) 70%, var(--bg-accent) 100%);
  position: relative;
  overflow: hidden;
  animation: desktop-glow 4s ease-in-out infinite alternate;
}

/* Animated Background Pattern */
.desktop::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(0, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.05) 3px, transparent 3px);
  background-size: 60px 60px, 40px 40px, 80px 80px;
  animation: sparkle 6s ease-in-out infinite;
  pointer-events: none;
}

/* Additional CRT Effects */
.crt-noise {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><filter id="noise"><feTurbulence baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/></filter></defs><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.02"/></svg>');
  z-index: 1001;
  pointer-events: none;
  animation: noise-flicker 0.2s linear infinite;
}

.crt-vignette {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(0, 0, 0, 0.1) 70%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 998;
  pointer-events: none;
}

.crt-reflection {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 30%;
  height: 40%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%
  );
  border-radius: 50%;
  z-index: 997;
  pointer-events: none;
  animation: reflection-shimmer 8s ease-in-out infinite;
}

/* CRT and Desktop Animations */
@keyframes sparkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

@keyframes moving-scanline {
  0% { transform: translateY(-100px); }
  100% { transform: translateY(100vh); }
}

@keyframes desktop-glow {
  0% { filter: brightness(1) saturate(1); }
  100% { filter: brightness(1.1) saturate(1.2); }
}

@keyframes text-glow {
  0%, 100% {
    text-shadow: 0 0 5px var(--bg-accent), 0 0 10px var(--bg-accent), 0 0 15px var(--bg-accent);
  }
  50% {
    text-shadow: 0 0 10px var(--bg-primary), 0 0 20px var(--bg-primary), 0 0 30px var(--bg-primary);
  }
}

@keyframes screen-flicker {
  0% {
    filter: brightness(1) contrast(1);
  }
  100% {
    filter: brightness(1.02) contrast(1.01);
  }
}

@keyframes noise-flicker {
  0% { opacity: 0.02; }
  50% { opacity: 0.04; }
  100% { opacity: 0.02; }
}

@keyframes reflection-shimmer {
  0%, 100% {
    opacity: 0.03;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.06;
    transform: scale(1.1) rotate(2deg);
  }
}

/* CRT Text Effects */
.crt-text {
  text-shadow:
    0 0 5px currentColor,
    0 0 10px currentColor,
    0 0 15px currentColor,
    0 0 20px currentColor;
  animation: text-flicker 0.15s linear infinite alternate;
}

@keyframes text-flicker {
  0% {
    opacity: 1;
    text-shadow:
      0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 15px currentColor,
      0 0 20px currentColor;
  }
  100% {
    opacity: 0.98;
    text-shadow:
      0 0 3px currentColor,
      0 0 8px currentColor,
      0 0 12px currentColor,
      0 0 18px currentColor;
  }
}
/* Babygirl OS Taskbar */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--window-header);
  border-top: 2px solid var(--window-border);
  display: flex;
  align-items: center;
  padding: 0 8px;
  z-index: 1001;
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(10px);
}

.start-button {
  background: var(--button-bg);
  border: 2px solid var(--window-border);
  border-radius: 20px;
  color: var(--text-secondary);
  font-weight: bold;
  font-family: var(--font-primary);
  padding: 4px 12px;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: var(--glow-pink);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.start-button:hover {
  background: var(--button-hover);
  box-shadow: var(--glow-cyan);
  transform: scale(1.05);
}

.start-button:active {
  background: var(--button-active);
  transform: scale(0.95);
}

.start-icon {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

.taskbar-items {
  flex: 1;
  margin-left: 12px;
  display: flex;
  gap: 8px;
}

.taskbar-item {
  background: var(--button-bg);
  border: 2px solid var(--window-border);
  border-radius: 15px;
  padding: 4px 12px;
  height: 28px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-family: var(--font-primary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.taskbar-item.active {
  background: var(--button-active);
  box-shadow: var(--glow-cyan);
  transform: scale(1.05);
}

.taskbar-item:hover {
  background: var(--button-hover);
  box-shadow: var(--glow-pink);
}

.taskbar-item.radio-app {
  cursor: pointer;
  transition: all 0.3s ease;
}

.taskbar-item.radio-app:hover {
  background: var(--button-hover);
  box-shadow: var(--glow-pink);
  transform: translateY(-1px);
}

.taskbar-item.radio-app.playing {
  background: rgba(255, 105, 180, 0.2);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  box-shadow: 0 0 12px rgba(255, 105, 180, 0.6);
  animation: radio-app-glow 2s ease-in-out infinite;
}

.taskbar-item.radio-app.active {
  background: rgba(255, 105, 180, 0.15);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  box-shadow: 0 0 8px rgba(255, 105, 180, 0.4);
}

@keyframes radio-app-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 105, 180, 0.6); }
  50% { box-shadow: 0 0 20px rgba(255, 105, 180, 0.8); }
}

/* Radio App - Standalone Window */
.radio-app-standalone {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: auto;
  z-index: 1000;
  background: #1a1a2e;
  border: 3px solid #ff69b4;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(255, 105, 180, 0.3);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
}

.radio-app-header {
  background: linear-gradient(135deg, #ff69b4, #ff1493);
  color: white;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
}

.radio-app-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-app-controls {
  display: flex;
  gap: 4px;
}

.radio-app-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 24px;
  height: 20px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  transition: background 0.2s;
}

.radio-app-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.radio-app-body {
  padding: 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
}

.radio-station-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 105, 180, 0.1);
  border: 1px solid rgba(255, 105, 180, 0.3);
  border-radius: 8px;
}

.radio-station-logo {
  font-size: 48px;
  animation: radio-pulse 2s ease-in-out infinite;
}

.radio-station-details h3 {
  margin: 0 0 5px 0;
  color: var(--accent-pink);
  font-size: 18px;
  font-weight: bold;
}

.radio-station-genre {
  margin: 0 0 8px 0;
  color: var(--text-secondary);
  font-size: 12px;
}

.radio-status-display {
  padding: 4px 12px;
  background: var(--button-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
  color: var(--text-primary);
  display: inline-block;
}

.radio-status-display.playing {
  background: rgba(255, 105, 180, 0.2);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  box-shadow: 0 0 8px rgba(255, 105, 180, 0.4);
}

/* Visualizer */
.radio-visualizer {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 4px;
  height: 60px;
  margin-bottom: 20px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 105, 180, 0.2);
}

.visualizer-bar {
  width: 8px;
  background: linear-gradient(to top, var(--accent-pink), #ff69b4, #ffc0cb);
  border-radius: 4px 4px 0 0;
  height: 10px;
  transition: height 0.1s ease;
}

.radio-visualizer.playing .visualizer-bar {
  animation: visualizer-dance 0.8s ease-in-out infinite;
}

.radio-visualizer.playing .visualizer-bar:nth-child(1) { animation-delay: 0s; }
.radio-visualizer.playing .visualizer-bar:nth-child(2) { animation-delay: 0.1s; }
.radio-visualizer.playing .visualizer-bar:nth-child(3) { animation-delay: 0.2s; }
.radio-visualizer.playing .visualizer-bar:nth-child(4) { animation-delay: 0.3s; }
.radio-visualizer.playing .visualizer-bar:nth-child(5) { animation-delay: 0.4s; }
.radio-visualizer.playing .visualizer-bar:nth-child(6) { animation-delay: 0.3s; }
.radio-visualizer.playing .visualizer-bar:nth-child(7) { animation-delay: 0.2s; }
.radio-visualizer.playing .visualizer-bar:nth-child(8) { animation-delay: 0.1s; }

@keyframes visualizer-dance {
  0%, 100% { height: 10px; }
  25% { height: 30px; }
  50% { height: 45px; }
  75% { height: 20px; }
}

@keyframes radio-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Radio Controls */
.radio-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.radio-control-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--button-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 14px;
}

.radio-control-btn:hover {
  background: var(--button-hover);
  box-shadow: var(--glow-pink);
  transform: translateY(-1px);
}

.radio-control-btn:active {
  transform: translateY(0);
}

.radio-control-btn.active {
  background: rgba(255, 105, 180, 0.2);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  box-shadow: 0 0 12px rgba(255, 105, 180, 0.4);
}

.radio-btn-icon {
  font-size: 16px;
}

/* Volume Control */
.radio-volume-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px;
  background: rgba(255, 105, 180, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 105, 180, 0.2);
}

.radio-volume-section label {
  color: var(--text-primary);
  font-size: 14px;
  min-width: 60px;
}

.radio-volume-slider {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

.radio-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--accent-pink);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255, 105, 180, 0.6);
}

.radio-volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--accent-pink);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 8px rgba(255, 105, 180, 0.6);
}

.radio-volume-value {
  color: var(--accent-pink);
  font-size: 12px;
  font-weight: bold;
  min-width: 35px;
  text-align: right;
}

/* Now Playing */
.radio-now-playing {
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(255, 105, 180, 0.2);
  text-align: center;
}

.now-playing-label {
  color: var(--text-secondary);
  font-size: 11px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.now-playing-text {
  color: var(--accent-pink);
  font-size: 14px;
  font-weight: bold;
  animation: text-glow 3s ease-in-out infinite;
}

@keyframes text-glow {
  0%, 100% { text-shadow: 0 0 5px rgba(255, 105, 180, 0.5); }
  50% { text-shadow: 0 0 15px rgba(255, 105, 180, 0.8); }
}

.system-tray {
  background: var(--button-bg);
  border: 2px solid var(--window-border);
  border-radius: 15px;
  padding: 4px 12px;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-primary);
  color: var(--text-secondary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: var(--glow-pink);
}

/* Radio Player */
.radio-player {
  display: flex;
  align-items: center;
}

.radio-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 10px;
  padding: 2px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  border-radius: 3px;
  transition: all 0.2s ease;
  font-family: var(--font-primary);
}

.radio-btn:hover {
  background: rgba(255, 105, 180, 0.1);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.radio-btn.playing {
  background: rgba(255, 105, 180, 0.2);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  box-shadow: 0 0 8px rgba(255, 105, 180, 0.4);
}

.radio-btn.playing .radio-icon {
  animation: radio-pulse 2s ease-in-out infinite;
}

.radio-icon {
  font-size: 11px;
}

.radio-status {
  font-size: 8px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes radio-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Hidden audio element for radio stream */
#radio-audio {
  display: none;
}

/* Babygirl OS Window System */
.window {
  background: var(--window-bg);
  border: 3px solid var(--window-border);
  border-radius: 20px;
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(15px);
  overflow: hidden;
}

.main-window {
  position: relative;
  z-index: 100;
  width: 90%;
  max-width: 1000px;
  height: 80vh;
  margin: 40px auto;
}

.title-bar {
  background: var(--window-header);
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--window-border);
}

.title-bar-text {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: bold;
  color: var(--text-secondary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  animation: text-glow 3s ease-in-out infinite;
}

.title-bar-controls {
  display: flex;
  gap: 8px;
}

.title-bar-controls button {
  width: 24px;
  height: 24px;
  border: 2px solid var(--window-border);
  border-radius: 50%;
  background: var(--button-bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.title-bar-controls button:hover {
  background: var(--button-hover);
  box-shadow: var(--glow-cyan);
  transform: scale(1.1);
}

.title-bar-controls button:active {
  background: var(--button-active);
  transform: scale(0.9);
}

/* Menu Bar */
.menu-bar {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-secondary) 100%);
  border-bottom: 2px solid var(--window-border);
  display: flex;
  padding: 4px 8px;
  gap: 4px;
}

.menu-item {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 14px;
  font-family: var(--font-primary);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.menu-item:hover {
  border: 2px solid var(--window-border);
  background: var(--button-bg);
  color: var(--text-secondary);
  box-shadow: var(--glow-pink);
  transform: translateY(-2px);
}

.menu-item:active {
  background: var(--button-active);
  transform: translateY(0);
}

.window-body {
  padding: 16px;
  height: calc(100% - 120px);
  overflow: auto;
}

/* Game Container */
.game-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  height: 100%;
  padding: 8px;
}

.avatar-section {
  grid-column: 1;
  grid-row: 1;
}

.click-section {
  grid-column: 2;
  grid-row: 1;
}

.stats-section {
  grid-column: 1;
  grid-row: 2;
}

.story-section {
  grid-column: 2;
  grid-row: 2;
}

/* Avatar Display */
.avatar-display {
  text-align: center;
  padding: 12px;
}

.avatar-display img {
  max-width: 120px;
  max-height: 120px;
  display: block;
  margin: 0 auto 8px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.mood-label {
  font-weight: bold;
  color: var(--babygirl-purple);
  font-size: 12px;
}

/* Click Target */
.click-target {
  position: relative;
  background: linear-gradient(to bottom, #ece9d8 0%, #d4d0c8 100%);
  border: 2px outset #ece9d8;
  padding: 8px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: all 0.1s;
}

.click-target:hover {
  background: linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 100%);
}

.click-target:active {
  border: 2px inset #ece9d8;
  background: linear-gradient(to bottom, #d4d0c8 0%, #ece9d8 100%);
}

.click-target img {
  width: 80px;
  height: 80px;
  display: block;
}

.click-counter {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--babygirl-pink);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

.click-counter.show {
  opacity: 1;
  transform: scale(1);
}

/* Flash animation for click feedback */
.click-target.flash {
  background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
  transform: scale(0.95);
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

/* Stats */
.field-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.field-row label {
  min-width: 80px;
  font-size: 11px;
}

.field-row progress {
  flex: 1;
  height: 16px;
}

.field-row span {
  min-width: 40px;
  font-size: 11px;
  text-align: right;
}

/* Story Section */
.story-text {
  background: white;
  border: 1px inset #ece9d8;
  padding: 8px;
  margin-bottom: 8px;
  min-height: 60px;
  font-size: 11px;
  line-height: 1.4;
}

.story-choices {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.story-choices button {
  font-size: 11px;
  padding: 4px 8px;
}

/* Responsive */
@media (max-width: 800px) {
  .game-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .avatar-section { grid-column: 1; grid-row: 1; }
  .click-section { grid-column: 1; grid-row: 2; }
  .stats-section { grid-column: 1; grid-row: 3; }
  .story-section { grid-column: 1; grid-row: 4; }
}

/* Socials */
.social-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:12px; padding:0; list-style:none}
.social-grid a{display:block; padding:14px; border-radius:12px; background:rgba(255,255,255,.06); color:var(--text); text-decoration:none; font-weight:700}
.social-grid a:hover{background:linear-gradient(135deg, rgba(255,77,216,.25), rgba(122,247,255,.2))}

/* Footer */
.footer{padding:28px 0; border-top:1px solid rgba(255,255,255,.06); color:var(--muted); text-align:center}

/* Additional Interactive Element States */

/* Tab buttons */
[role="tab"] {
  cursor: pointer;
  transition: all 0.1s ease;
}

[role="tab"]:hover {
  background: linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 100%);
}

[role="tab"]:active {
  background: linear-gradient(to bottom, #d4d0c8 0%, #ece9d8 100%);
}

/* Story choice buttons */
#choice-a, #choice-b, #next-event {
  cursor: pointer;
  transition: all 0.1s ease;
}

#choice-a:hover, #choice-b:hover, #next-event:hover {
  background: linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 100%);
}

#choice-a:active, #choice-b:active, #next-event:active {
  background: linear-gradient(to bottom, #d4d0c8 0%, #ece9d8 100%);
}

/* Social media buttons */
#tab-socials button {
  cursor: pointer;
  transition: all 0.1s ease;
}

#tab-socials button:hover {
  background: linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 100%);
  color: #2d1b69 !important;
}

#tab-socials button:active {
  background: linear-gradient(to bottom, #d4d0c8 0%, #ece9d8 100%);
  color: #2d1b69 !important;
}

/* Title bar control buttons */
.title-bar-controls button {
  cursor: pointer;
  transition: all 0.1s ease;
}

.title-bar-controls button:hover {
  background: linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 100%);
  color: #2d1b69 !important;
}

.title-bar-controls button:active {
  background: linear-gradient(to bottom, #d4d0c8 0%, #ece9d8 100%);
  color: #2d1b69 !important;
}

/* Start button hover state */
.start-button:hover {
  background: linear-gradient(to bottom, #8ae234 0%, #73d216 100%);
}

/* Focus states for keyboard navigation */
[role="tab"]:focus,
#choice-a:focus, #choice-b:focus, #next-event:focus,
#tab-socials button:focus,
.title-bar-controls button:focus,
.start-button:focus,
.menu-item:focus,
.click-target:focus {
  outline: 2px solid #0078d4;
  outline-offset: 2px;
}

/* Startup Animation Sequence */
.startup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: linear-gradient(135deg, #000 0%, #1a0033 50%, #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease-out;
}

.startup-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Skip Button */
.skip-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 14px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10000;
}

.skip-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--bg-accent);
  color: var(--text-secondary);
  transform: scale(1.05);
}

/* Boot Screen */
.boot-screen {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-secondary);
  animation: boot-fade-in 2s ease-out;
}

.boot-screen.active {
  display: flex;
}

.boot-content {
  max-width: 600px;
  padding: 40px;
}

.boot-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.boot-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--bg-accent);
  box-shadow: 0 0 30px var(--bg-accent);
  animation: boot-avatar-glow 3s ease-in-out infinite alternate;
}

.boot-title h1 {
  font-family: var(--font-primary);
  font-size: 48px;
  margin: 0;
  background: linear-gradient(45deg, var(--bg-accent), var(--bg-secondary), var(--bg-primary));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease-in-out infinite;
}

.version {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.boot-progress {
  margin: 40px 0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--bg-accent), var(--bg-secondary));
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--bg-accent);
}

.boot-text {
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--text-secondary);
}

.boot-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--text-muted);
}

.spec-line {
  opacity: 0;
  animation: spec-line-appear 0.5s ease-out forwards;
}

.spec-line:nth-child(1) { animation-delay: 1s; }
.spec-line:nth-child(2) { animation-delay: 1.5s; }
.spec-line:nth-child(3) { animation-delay: 2s; }
.spec-line:nth-child(4) { animation-delay: 2.5s; }

/* Loading Screen */
.loading-screen {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-secondary);
}

.loading-screen.active {
  display: flex;
  animation: fade-in 1s ease-out;
}

.loading-content {
  max-width: 500px;
  padding: 40px;
}

.loading-spinner {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 40px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

.spinner-ring:nth-child(1) {
  border-top-color: var(--bg-accent);
  animation-duration: 2s;
}

.spinner-ring:nth-child(2) {
  border-right-color: var(--bg-secondary);
  animation-duration: 3s;
  animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
  border-bottom-color: var(--bg-primary);
  animation-duration: 4s;
}

.loading-text h2 {
  font-family: var(--font-primary);
  font-size: 32px;
  margin: 0 0 20px 0;
  color: var(--text-secondary);
}

.loading-messages {
  height: 30px;
  overflow: hidden;
}

.loading-message {
  font-size: 16px;
  color: var(--text-muted);
  opacity: 0;
  animation: message-fade 2s ease-in-out;
}

/* Welcome Screen */
.welcome-screen {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-secondary);
}

.welcome-screen.active {
  display: flex;
  animation: welcome-entrance 2s ease-out;
}

.welcome-content {
  max-width: 600px;
  padding: 40px;
}

.welcome-avatar {
  position: relative;
  margin: 0 auto 40px;
  width: 200px;
  height: 200px;
}

.welcome-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid var(--bg-accent);
  box-shadow: 0 0 40px var(--bg-accent);
}

.avatar-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bg-accent) 0%, transparent 70%);
  opacity: 0.3;
  animation: glow-pulse 3s ease-in-out infinite;
}

.welcome-title {
  font-family: var(--font-primary);
  font-size: 48px;
  margin: 0 0 16px 0;
  background: linear-gradient(45deg, var(--bg-accent), var(--bg-secondary), var(--bg-primary));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite;
}

.welcome-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 40px 0;
  line-height: 1.5;
}

.enter-button {
  background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
  border: 3px solid var(--bg-primary);
  border-radius: 25px;
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: bold;
  padding: 16px 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: button-glow 2s ease-in-out infinite alternate;
}

.enter-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}

.enter-button:active {
  transform: translateY(-2px);
}

/* Fun Animations */
@keyframes floaty{0%{transform:translateY(0)}50%{transform:translateY(-6px)}100%{transform:translateY(0)}}
.about-art img{animation:floaty 4.5s ease-in-out infinite}

/* Shop System Styling */
.shop-container {
  padding: 16px;
  height: 100%;
  overflow-y: auto;
}

.shop-section {
  margin-bottom: 24px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.shop-item {
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(255, 255, 255, 0.8) 100%);
  border: 2px solid var(--window-border);
  border-radius: 15px;
  padding: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.shop-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.shop-item:hover::before {
  transform: translateX(100%);
}

.shop-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-pink);
  border-color: var(--bg-primary);
}

.shop-item h4 {
  font-family: var(--font-primary);
  color: var(--text-primary);
  margin: 0 0 8px 0;
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.shop-item p {
  color: var(--text-muted);
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.4;
}

.shop-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-primary);
}

.shop-buy-btn {
  background: var(--button-bg);
  border: 2px solid var(--window-border);
  border-radius: 20px;
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-weight: bold;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.shop-buy-btn:hover:not(:disabled) {
  background: var(--button-hover);
  box-shadow: var(--glow-cyan);
  transform: scale(1.05);
}

.shop-buy-btn:active:not(:disabled) {
  background: var(--button-active);
  transform: scale(0.95);
}

.shop-buy-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #666;
}

/* Game Effects */
.floating-text {
  position: fixed;
  font-family: var(--font-primary);
  font-weight: bold;
  color: var(--bg-accent);
  font-size: 18px;
  text-shadow: 0 0 10px currentColor;
  pointer-events: none;
  z-index: 1002;
  animation: float-up 2s ease-out forwards;
}

.level-up-effect {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: bold;
  color: var(--bg-accent);
  text-shadow: 0 0 20px currentColor;
  pointer-events: none;
  z-index: 1003;
  animation: level-up-animation 3s ease-out forwards;
}

.achievement-unlocked {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--window-bg);
  border: 3px solid var(--bg-accent);
  border-radius: 15px;
  padding: 16px;
  max-width: 300px;
  z-index: 1004;
  animation: achievement-slide-in 4s ease-out forwards;
  box-shadow: var(--glow-cyan);
}

.achievement-title {
  font-family: var(--font-primary);
  font-weight: bold;
  color: var(--bg-accent);
  font-size: 16px;
  margin-bottom: 4px;
}

.achievement-name {
  font-family: var(--font-primary);
  font-weight: bold;
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 2px;
}

.achievement-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

@keyframes float-up {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-50px);
  }
}

@keyframes level-up-animation {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes achievement-slide-in {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  10% {
    transform: translateX(0);
    opacity: 1;
  }
  90% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Story System Enhancements */
.choice-feedback {
  background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
  border: 2px solid var(--window-border);
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-weight: bold;
  text-align: center;
  animation: choice-feedback-appear 3s ease-out forwards;
  box-shadow: var(--glow-cyan);
}

.story-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 8px;
  border-left: 4px solid var(--bg-accent);
}

.story-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-choices button {
  background: var(--button-bg);
  border: 2px solid var(--window-border);
  border-radius: 15px;
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-weight: bold;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.story-choices button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.story-choices button:hover::before {
  left: 100%;
}

.story-choices button:hover {
  background: var(--button-hover);
  box-shadow: var(--glow-pink);
  transform: translateY(-2px);
}

.story-choices button:active {
  background: var(--button-active);
  transform: translateY(0);
}

#next-event {
  background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
  border: 3px solid var(--bg-primary);
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

#next-event:hover {
  animation: none;
  box-shadow: var(--glow-cyan);
}

@keyframes choice-feedback-appear {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
  }
  20% {
    opacity: 1;
    transform: translateY(0) scale(1.05);
  }
  80% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 5px var(--bg-accent);
  }
  100% {
    box-shadow: 0 0 20px var(--bg-accent), 0 0 30px var(--bg-accent);
  }
}

@keyframes mood-change {
  0% {
    transform: scale(1);
    color: var(--text-primary);
  }
  50% {
    transform: scale(1.1);
    color: var(--bg-accent);
    text-shadow: 0 0 10px var(--bg-accent);
  }
  100% {
    transform: scale(1);
    color: var(--text-primary);
  }
}

/* Startup Animation Keyframes */
@keyframes boot-fade-in {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes boot-avatar-glow {
  0% {
    box-shadow: 0 0 20px var(--bg-accent);
  }
  100% {
    box-shadow: 0 0 40px var(--bg-accent), 0 0 60px var(--bg-accent);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes spec-line-appear {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

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

@keyframes message-fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes welcome-entrance {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(50px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes glow-pulse {
  0% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.1);
  }
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
}

@keyframes button-glow {
  0% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 30px var(--bg-accent);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .game-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .story-choices {
    gap: 8px;
  }

  .story-choices button {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* No animations class */
.no-animations * {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

.no-animations .click-target:hover {
  transform: none !important;
}

.no-animations .enter-button {
  animation: none !important;
}

.no-animations .story-choices button:hover {
  transform: none !important;
}

/* Modal Dialog System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal-window {
  background: #c0c0c0;
  border: 2px outset #c0c0c0;
  min-width: 300px;
  max-width: 500px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-window .title-bar {
  background: linear-gradient(90deg, #0a246a 0%, #a6caf0 100%);
  color: white;
  padding: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-window .title-bar-text {
  font-weight: bold;
  padding: 2px 4px;
}

.modal-window .title-bar-controls button {
  width: 16px;
  height: 14px;
  background: #c0c0c0;
  border: 1px outset #c0c0c0;
  font-size: 8px;
  line-height: 1;
  cursor: pointer;
}

.modal-window .title-bar-controls button:active {
  border: 1px inset #c0c0c0;
}

.modal-window .window-body {
  padding: 10px;
}

.modal-input {
  width: 100%;
  padding: 2px;
  border: 1px inset #c0c0c0;
  background: white;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  margin: 5px 0;
  box-sizing: border-box;
}

.modal-buttons {
  text-align: center;
  margin-top: 15px;
}

.modal-button {
  background: #c0c0c0;
  border: 1px outset #c0c0c0;
  padding: 4px 12px;
  margin: 0 5px;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  cursor: pointer;
}

.modal-button:active {
  border: 1px inset #c0c0c0;
}

.modal-button.primary {
  font-weight: bold;
}

.modal-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.modal-list li {
  padding: 2px 0;
  cursor: pointer;
}

.modal-list li:hover {
  background: #316ac5;
  color: white;
}

@media (max-width: 768px) {
  .modal-window {
    margin: 20px;
    max-width: calc(100% - 40px);
  }
}

/* Easter Egg Animations */
@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0.3;
  }
}

/* Dynamic System Requirements */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 10px 0;
}

.req-item {
  display: flex;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #c0c0c0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.req-item:hover {
  background: rgba(255, 105, 180, 0.2);
  border-color: #ff69b4;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 105, 180, 0.3);
}

.req-icon {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border-radius: 50%;
  border: 2px solid #ff69b4;
  padding: 2px;
  background: white;
  transition: transform 0.3s ease;
}

.req-item:hover .req-icon {
  transform: rotate(10deg) scale(1.1);
}

.req-text {
  flex: 1;
  font-size: 11px;
  line-height: 1.3;
}

.req-text strong {
  color: #ff69b4;
  font-size: 12px;
}

.req-text small {
  color: #666;
  font-style: italic;
}

/* About Section Header */
.about-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: linear-gradient(45deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.1));
  border: 2px solid #ff69b4;
  border-radius: 8px;
}

.about-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ff69b4;
  margin-right: 15px;
  animation: gentle-bounce 3s ease-in-out infinite;
}

.about-title h3 {
  margin: 0;
  color: #ff69b4;
  font-size: 18px;
}

.about-subtitle {
  margin: 5px 0 0 0;
  font-size: 12px;
  color: #666;
  font-style: italic;
}

.about-content {
  margin: 15px 0;
}

@keyframes gentle-bounce {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.9;
  }
}

/* Socials Section */
.socials-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: linear-gradient(45deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.1));
  border: 2px solid #ff69b4;
  border-radius: 8px;
}

.socials-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ff69b4;
  margin-right: 15px;
  animation: gentle-bounce 3s ease-in-out infinite;
}

.socials-title h3 {
  margin: 0;
  color: #ff69b4;
  font-size: 18px;
}

.socials-subtitle {
  margin: 5px 0 0 0;
  font-size: 12px;
  color: #666;
  font-style: italic;
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 15px 0;
}

.social-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #c0c0c0;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.social-item:hover {
  background: rgba(255, 105, 180, 0.2);
  border-color: #ff69b4;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 105, 180, 0.3);
}

.social-icon {
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff69b4;
  color: white;
  border-radius: 50%;
  margin-right: 15px;
  font-weight: bold;
}

.social-content {
  flex: 1;
}

.social-content h4 {
  margin: 0 0 5px 0;
  color: #ff69b4;
  font-size: 14px;
}

.social-content p {
  margin: 0 0 10px 0;
  font-size: 11px;
  color: #666;
  font-style: italic;
}

.social-btn {
  background: linear-gradient(45deg, #ff69b4, #ff1493);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: linear-gradient(45deg, #ff1493, #dc143c);
  transform: scale(1.05);
}

/* Cortex Vortex Promo Section */
.promo-section {
  margin: 20px 0;
  border: 3px solid #ff69b4;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.15), rgba(255, 20, 147, 0.1));
  box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
  animation: promo-glow 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.promo-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff69b4, #ff1493, #ff69b4, #ff1493);
  border-radius: 12px;
  z-index: -1;
  animation: promo-border-flow 3s linear infinite;
}

.promo-section legend {
  background: linear-gradient(45deg, #ff69b4, #ff1493);
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 14px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.promo-content {
  padding: 20px;
  text-align: center;
}

.promo-highlight h3 {
  color: #ff69b4;
  font-size: 16px;
  margin: 0 0 10px 0;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.promo-emphasis {
  color: #ff1493;
  font-size: 14px;
  font-weight: bold;
  margin: 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-cta {
  background: linear-gradient(45deg, #ff69b4, #ff1493);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  margin: 15px auto 10px;
  display: inline-block;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 8px rgba(255, 105, 180, 0.4);
  animation: promo-pulse 2s ease-in-out infinite;
}

.promo-community-btn {
  background: linear-gradient(45deg, #ff1493, #dc143c, #ff69b4);
  background-size: 200% 200%;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin: 10px auto 0;
  display: block;
  cursor: pointer;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  box-shadow: 0 6px 15px rgba(255, 105, 180, 0.6);
  animation: promo-community-shine 3s ease-in-out infinite;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-community-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 105, 180, 0.8);
  animation: promo-community-hover 0.6s ease-in-out infinite;
}

@keyframes promo-glow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
  }
  50% {
    box-shadow: 0 12px 35px rgba(255, 105, 180, 0.7);
  }
}

@keyframes promo-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes promo-border-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes promo-community-shine {
  0%, 100% {
    background-position: 0% 50%;
    transform: scale(1);
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 200% 50%;
    transform: scale(1.02);
  }
  75% {
    background-position: 100% 50%;
  }
}

@keyframes promo-community-hover {
  0%, 100% {
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.8);
  }
  50% {
    box-shadow: 0 15px 35px rgba(255, 105, 180, 1);
  }
}

/* Giveaway Menu Button */
.giveaway-menu-btn {
  background: linear-gradient(45deg, #ff69b4, #ff1493) !important;
  color: white !important;
  animation: giveaway-menu-flash 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.6);
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.giveaway-menu-btn:hover {
  animation: giveaway-menu-hover 0.5s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.9);
}

/* Giveaway Popup */
.giveaway-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.giveaway-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  animation: giveaway-backdrop-fade 0.3s ease-out;
}

.giveaway-popup-content {
  position: relative;
  width: 500px;
  max-width: 90vw;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 4px solid #ff69b4;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(255, 105, 180, 0.6);
  animation: giveaway-popup-enter 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
  z-index: 10;
}

.giveaway-popup-content::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #ff69b4, #ff1493, #dc143c, #ff69b4);
  background-size: 400% 400%;
  border-radius: 15px;
  z-index: -1;
  animation: giveaway-border-flow 3s ease-in-out infinite;
}

.giveaway-header {
  background: linear-gradient(45deg, #ff69b4, #ff1493);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.giveaway-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: giveaway-shine 2s ease-in-out infinite;
}

.giveaway-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.giveaway-icon {
  font-size: 24px;
  animation: giveaway-icon-bounce 1s ease-in-out infinite;
}

.giveaway-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.giveaway-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.giveaway-body {
  padding: 30px;
  text-align: center;
  color: white;
}

.giveaway-image-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.giveaway-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 3px solid #ff69b4;
  box-shadow: 0 8px 25px rgba(255, 105, 180, 0.6);
  animation: giveaway-image-glow 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.giveaway-image:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 105, 180, 0.9);
}

.giveaway-highlight h3 {
  color: white;
  font-size: 20px;
  margin: 0 0 15px 0;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: giveaway-text-glow 3s ease-in-out infinite;
}

.giveaway-emphasis {
  color: white;
  font-size: 16px;
  font-weight: bold;
  margin: 15px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: giveaway-emphasis-pulse 2s ease-in-out infinite;
}

.giveaway-cta {
  background: linear-gradient(45deg, #ff69b4, #ff1493);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin: 20px auto;
  display: inline-block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  box-shadow: 0 6px 15px rgba(255, 105, 180, 0.6);
  animation: giveaway-cta-pulse 2s ease-in-out infinite;
}

.giveaway-community-btn {
  background: linear-gradient(45deg, #ff1493, #dc143c, #ff69b4);
  background-size: 300% 300%;
  color: white;
  border: none;
  padding: 18px 35px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  margin: 20px auto 0;
  display: block;
  cursor: pointer;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  box-shadow: 0 8px 20px rgba(255, 105, 180, 0.7);
  animation: giveaway-community-mega-shine 4s ease-in-out infinite;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.giveaway-community-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(255, 105, 180, 1);
  animation: giveaway-community-hover-mega 0.8s ease-in-out infinite;
}

/* Giveaway Animations */
@keyframes giveaway-menu-flash {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 105, 180, 1);
  }
}

@keyframes giveaway-menu-hover {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes giveaway-backdrop-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes giveaway-popup-enter {
  from {
    transform: scale(0.3) rotate(-10deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes giveaway-border-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes giveaway-shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes giveaway-icon-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-5px) rotate(-5deg); }
  75% { transform: translateY(-2px) rotate(5deg); }
}

@keyframes giveaway-text-glow {
  0%, 100% {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 105, 180, 0.5);
  }
  50% {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 105, 180, 1);
  }
}

@keyframes giveaway-emphasis-pulse {
  0%, 100% {
    transform: scale(1);
    color: #ff1493;
  }
  50% {
    transform: scale(1.05);
    color: #ff69b4;
  }
}

@keyframes giveaway-cta-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 15px rgba(255, 105, 180, 0.6);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.9);
  }
}

@keyframes giveaway-community-mega-shine {
  0%, 100% {
    background-position: 0% 50%;
    transform: scale(1);
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 200% 50%;
    transform: scale(1.02);
  }
  75% {
    background-position: 300% 50%;
  }
}

@keyframes giveaway-community-hover-mega {
  0%, 100% {
    box-shadow: 0 15px 35px rgba(255, 105, 180, 1);
  }
  50% {
    box-shadow: 0 20px 45px rgba(255, 105, 180, 1), 0 0 30px rgba(255, 105, 180, 0.8);
  }
}

@keyframes giveaway-image-glow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.6);
  }
  50% {
    box-shadow: 0 12px 35px rgba(255, 105, 180, 0.9), 0 0 20px rgba(255, 105, 180, 0.7);
  }
}

.disclaimer {
  font-size: 11px;
  color: #666;
  font-style: italic;
  text-align: center;
  margin: 10px 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

@media (max-width: 768px) {
  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .req-item {
    padding: 8px;
  }

  .req-icon {
    width: 35px;
    height: 35px;
  }

  .about-header {
    flex-direction: column;
    text-align: center;
  }

  .about-avatar {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .socials-header {
    flex-direction: column;
    text-align: center;
  }

  .socials-avatar {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .socials-grid {
    grid-template-columns: 1fr;
  }

  .social-item {
    padding: 12px;
  }
}

