/* ViceCityLaunch.live - Modern Vice City Neon Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  --bg-midnight: #0B0B14;
  --bg-deep: #0e0e1a;
  --bg-card: #131326;
  --bg-card-elevated: #1a1a33;
  --neon-pink: #FF2A85;
  --neon-pink-soft: rgba(255, 42, 133, 0.15);
  --neon-cyan: #00F0FF;
  --neon-cyan-soft: rgba(0, 240, 255, 0.15);
  --sunset-gold: #FFB800;
  --sunset-gold-soft: rgba(255, 184, 0, 0.15);
  --neon-green: #00FF88;
  --neon-green-soft: rgba(0, 255, 136, 0.15);
  --neon-red: #FF385C;
  --neon-red-soft: rgba(255, 56, 92, 0.15);
  --text-primary: #F8FAFC;
  --text-muted: #94A3B8;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-midnight);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
  min-height: 100vh;
  background-color: var(--bg-midnight);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Vice City Display Typography */
.font-display {
  font-family: 'Outfit', -apple-system, sans-serif;
  letter-spacing: -0.02em;
}

.font-mono-num {
  font-family: 'Space Grotesk', monospace, sans-serif;
  font-variant-numeric: tabular-nums;
}

/* Ambient Neon Background Atmosphere */
.ambient-glow-pink {
  position: absolute;
  top: -100px;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 42, 133, 0.14) 0%, rgba(255, 42, 133, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

.ambient-glow-cyan {
  position: absolute;
  top: 150px;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(0, 240, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
}

.ambient-glow-gold {
  position: absolute;
  top: 600px;
  left: 30%;
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.08) 0%, rgba(255, 184, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

/* Subtle Retro Grid Horizon */
.retro-grid-bg {
  background-image: 
    linear-gradient(to right, rgba(255, 42, 133, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 60%, transparent 100%);
}

/* Neon Glow Accents */
.text-glow-pink {
  text-shadow: 0 0 12px rgba(255, 42, 133, 0.6), 0 0 30px rgba(255, 42, 133, 0.3);
}

.text-glow-cyan {
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.6), 0 0 30px rgba(0, 240, 255, 0.3);
}

.text-glow-gold {
  text-shadow: 0 0 12px rgba(255, 184, 0, 0.6), 0 0 25px rgba(255, 184, 0, 0.3);
}

.box-glow-pink {
  box-shadow: 0 0 25px rgba(255, 42, 133, 0.25), inset 0 0 15px rgba(255, 42, 133, 0.1);
}

.box-glow-cyan {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.25), inset 0 0 15px rgba(0, 240, 255, 0.1);
}

.box-glow-green {
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3), inset 0 0 10px rgba(0, 255, 136, 0.1);
}

/* Live Pulse Animation */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

.pulse-live-indicator {
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Card Styling */
.vice-card {
  background: linear-gradient(180deg, rgba(22, 22, 42, 0.85) 0%, rgba(15, 15, 30, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vice-card:hover {
  border-color: rgba(255, 42, 133, 0.28);
}

/* Clock Card Active highlight */
.vice-card-live {
  background: linear-gradient(180deg, rgba(16, 36, 30, 0.85) 0%, rgba(11, 20, 20, 0.95) 100%);
  border: 1px solid rgba(0, 255, 136, 0.4);
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.15);
}

/* Buttons */
.btn-pink {
  background: #FF2A85;
  color: #FFFFFF;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(255, 42, 133, 0.4);
}

.btn-pink:hover {
  background: #ff4797;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 42, 133, 0.6);
}

.btn-cyan {
  background: #00F0FF;
  color: #0B0B14;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.35);
}

.btn-cyan:hover {
  background: #33f3ff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Custom Checkbox Styling */
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  background-color: rgba(11, 11, 20, 0.6);
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: all 0.15s ease-out;
  flex-shrink: 0;
}

.custom-checkbox:hover {
  border-color: var(--neon-cyan);
}

.custom-checkbox:checked {
  background-color: var(--neon-pink);
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px rgba(255, 42, 133, 0.5);
}

.custom-checkbox:checked::before {
  content: "";
  width: 0.55rem;
  height: 0.3rem;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(-45deg) translate(1px, -1px);
}

/* Storage Gauge Bar */
.storage-bar-track {
  height: 28px;
  background-color: #1a1a2e;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  position: relative;
}

.storage-segment {
  height: 100%;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.storage-segment-games {
  background: linear-gradient(90deg, #FF2A85, #d91b6c);
}

.storage-segment-gta6 {
  background: linear-gradient(90deg, #00F0FF, #00b4d8);
}

.storage-segment-free {
  background: linear-gradient(90deg, #00FF88, #10b981);
}

.storage-segment-overflow {
  background: repeating-linear-gradient(
    45deg,
    #FF385C,
    #FF385C 10px,
    #b91c1c 10px,
    #b91c1c 20px
  );
  animation: overflow-stripes 1.5s linear infinite;
}

@keyframes overflow-stripes {
  from { background-position: 0 0; }
  to { background-position: 40px 0; }
}

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

.toast {
  pointer-events: auto;
  background: #14142B;
  color: #FFFFFF;
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 240, 255, 0.2);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Ad Slot Containers */
.ad-slot-container {
  background: rgba(19, 19, 38, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ad-slot-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0B0B14;
}

::-webkit-scrollbar-thumb {
  background: #23233c;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #FF2A85;
}

/* Collapsible transition */
.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.collapsible-content.expanded {
  max-height: 1200px;
}
