/* FootyRadar Design System - Light Sports & Clean App Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --card-border: #e2e8f0;
  --card-border-hover: #10b981;
  --primary-emerald: #10b981;
  --primary-emerald-hover: #059669;
  --primary-emerald-light: #ecfdf5;
  --primary-blue: #2563eb;
  --primary-blue-hover: #1d4ed8;
  --primary-blue-light: #eff6ff;
  --accent-amber: #d97706;
  --accent-amber-light: #fffbeb;
  --accent-red: #dc2626;
  --accent-red-light: #fef2f2;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

/* Monospace font for stats, minutes, odds, money */
.font-mono {
  font-family: 'JetBrains Mono', Consolas, monospace;
}

/* Custom Scrollbar (Light & Crisp) */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Crisp App Card */
.app-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  transform: translateY(-2px);
}

.app-card-emerald:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 30px -5px rgba(16, 185, 129, 0.15);
}

.app-card-blue:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 12px 30px -5px rgba(37, 99, 235, 0.15);
}

/* Metric Chip Styling (Light App Style) */
.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  transition: all 0.15s ease;
}

.metric-chip:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.metric-chip-emerald {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.metric-chip-blue {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

/* Custom Range Slider (Light Theme) */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: #e2e8f0;
  border-radius: 4px;
}

input[type=range]::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #10b981;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
  transition: transform 0.15s ease, background 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #059669;
}

/* Subtle Floating Animation for App Mockup */
@keyframes float-subtle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: float-subtle 4s ease-in-out infinite;
}

/* Live Pulse Indicator */
@keyframes ping-soft {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.animate-ping-soft {
  animation: ping-soft 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Accordion Smooth Height */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-content.open {
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0), opacity 0.35s ease;
}

/* Mockup Shadow & Glare */
.phone-mockup-frame {
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.8);
  border-radius: 36px;
  background: #ffffff;
}
