/**
 * Tackle Pro Essentials - Core Design System & Tokens
 * Deep river dark mode aesthetics with high-vis chartreuse & tackle orange accents.
 */

:root {
  /* Color Palette */
  --bg-main: #060d17;
  --bg-surface: #0a1626;
  --bg-card: #0f2037;
  --bg-card-hover: #142a47;
  --bg-elevated: #183354;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(118, 255, 3, 0.4);
  --border-strong: #254b77;

  /* Accent Colors (High-Vis Catfish Attractants) */
  --accent-chartreuse: #76ff03;
  --accent-chartreuse-glow: rgba(118, 255, 3, 0.25);
  --accent-orange: #ff6d00;
  --accent-orange-glow: rgba(255, 109, 0, 0.25);
  --accent-red: #ff3d00;
  --accent-blue: #38bdf8;
  --accent-blue-glow: rgba(56, 189, 248, 0.2);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #060d17;

  /* Typography Families */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(118, 255, 3, 0.18);
  --glass-bg: rgba(15, 32, 55, 0.85);
  --glass-border: rgba(255, 255, 255, 0.12);

  /* Layout */
  --max-width: 1320px;
  --header-height: 76px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 116, 144, 0.18), transparent),
    radial-gradient(circle at 90% 20%, rgba(118, 255, 3, 0.04), transparent 40%),
    radial-gradient(circle at 10% 60%, rgba(255, 109, 0, 0.04), transparent 40%);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 48px;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-chartreuse) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-orange-gradient {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-chartreuse) 0%, #52b202 100%);
  color: #060d17;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px var(--accent-chartreuse-glow);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(118, 255, 3, 0.4);
  background: linear-gradient(135deg, #8aff1a 0%, #60d002 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-orange {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #d84315 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--accent-orange-glow);
}

.btn-orange:hover {
  box-shadow: 0 8px 24px rgba(255, 109, 0, 0.4);
  background: linear-gradient(135deg, #ff7d1a 0%, #e64a19 100%);
}

/* Badges */
.badge-hot {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #e65100 100%);
  color: #fff;
}

.badge-popular {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
}

.badge-rugged {
  background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-bundle {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  background: var(--bg-card);
  border: 1px solid var(--accent-chartreuse);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--accent-chartreuse-glow);
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-content svg {
  color: var(--accent-chartreuse);
  flex-shrink: 0;
}

.toast-warning {
  border-color: var(--accent-orange);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--accent-orange-glow);
}

.toast-warning svg {
  color: var(--accent-orange);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #1e3653;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2b4c73;
}
