/* =============================================================================
   CSS Variables & Reset
   ============================================================================= */

:root {
  /* Colors */
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #818cf8;
  --color-secondary: #0ea5e9;
  --color-accent: #10b981;

  --color-bg: #0f0f23;
  --color-bg-secondary: #1a1a2e;
  --color-bg-card: #16162a;
  --color-bg-elevated: #1e1e3f;

  --color-text: #e2e8f0;
  --color-text-secondary: #a8b3cf;
  --color-text-muted: #8892b0;

  --color-border: #2d2d4a;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  /* Focus Colors */
  --color-focus: #fbbf24;
  --color-focus-bg: rgba(251, 191, 36, 0.1);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* =============================================================================
   Accessibility & Keyboard Navigation
   ============================================================================= */

/* Skip Links */
.skip-links {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 9999;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background-color: var(--color-bg-elevated);
  color: var(--color-focus);
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-focus);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.skip-link:focus {
  position: static;
  left: auto;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

/* Focus Indicators */
*:focus {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

a:focus,
button:focus,
[role="tab"]:focus,
[role="button"]:focus {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--color-focus-bg);
}

/* Improve focus for interactive elements */
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px var(--color-focus-bg), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-links a:focus {
  background-color: var(--color-focus-bg);
  border-radius: 4px;
  padding: var(--space-2) var(--space-3);
  margin: calc(var(--space-2) * -1) calc(var(--space-3) * -1);
}

.pricing-tab:focus {
  background-color: var(--color-focus-bg);
  border-color: var(--color-focus);
  color: var(--color-focus);
}

/* =============================================================================
   Layout
   ============================================================================= */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* =============================================================================
   Navigation
   ============================================================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 35, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(15, 15, 35, 0.98);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 123px;
  width: auto;
  object-fit: contain;
}

.login-logo {
  height: 155px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-6);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
  .logo-img {
    height: 93px;
  }
  
  .login-logo {
    height: 123px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 75px;
  }
  
  .login-logo {
    height: 104px;
  }
}

.nav-links {
  display: flex;
  gap: var(--space-8);
}

.nav-links a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-text);
}

/* Auth Navigation */
.nav-auth {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.auth-loading {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-top: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.auth-logged-out {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.auth-logged-in {
  display: flex;
  align-items: center;
}

/* User Menu */
.user-menu {
  position: relative;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-4);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--color-text);
  font-family: inherit;
  font-size: var(--font-size-sm);
}

.user-menu-btn:hover {
  background: var(--color-bg-card);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  object-fit: cover;
}

.user-name {
  font-weight: 600;
  color: var(--color-text);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-btn svg {
  width: 16px;
  height: 16px;
  color: var(--color-text-secondary);
  transition: transform var(--transition-fast);
}

.user-dropdown.show .user-menu-btn svg {
  transform: rotate(180deg);
}

/* User Dropdown */
.user-dropdown {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  min-width: 240px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-4) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 1000;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-header {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-2);
}

.user-email {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: var(--space-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-tier {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  display: inline-block;
}

.user-tier.tier-free {
  background: rgba(100, 116, 139, 0.1);
  border-color: rgba(100, 116, 139, 0.3);
  color: #64748b;
}

.user-tier.tier-pro {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--color-primary);
}

.user-tier.tier-elite {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--color-success);
}

.user-dropdown-item {
  display: block;
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.user-dropdown-item:hover {
  background: var(--color-bg-card);
  color: var(--color-text);
}

.user-dropdown-item.user-dropdown-logout {
  color: var(--color-error);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-2);
  padding-top: var(--space-4);
}

.user-dropdown-item.user-dropdown-logout:hover {
  background: rgba(239, 68, 68, 0.1);
}

.user-dropdown-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-2) 0;
}

#admin-manage-link {
  display: none;
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-xs);
}

/* =============================================================================
   Buttons
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px var(--color-primary);
}

/* Override for hero CTA button */
.hero-cta .btn {
  transition: none !important;
}

.btn-secondary {
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-card);
  border-color: var(--color-primary);
}

.btn-danger {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px #e74c3c;
}

.btn-outline-danger {
  background: transparent;
  color: #e74c3c;
  border: 2px solid #e74c3c;
}

.btn-outline-danger:hover {
  background: #e74c3c;
  color: white;
  border-color: #c0392b;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px -5px rgba(231, 76, 60, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-outline:hover {
  background: var(--color-bg-elevated);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
}

.btn-block {
  width: 100%;
}

/* =============================================================================
   Hero Section
   ============================================================================= */

.hero {
  padding: calc(72px + var(--space-12)) 0 var(--space-12);
  min-height: auto;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
    var(--color-bg);
}

.hero .container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Row - contains content and visual side by side */
.hero-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  width: 100%;
  margin-bottom: var(--space-12);
}

.hero-content {
  flex: 1 1 50%;
  max-width: 560px;
}

.hero-content h1 {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
}

.hero-disclaimer {
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Dashboard Preview */
.hero-visual {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero Panels - full width below the row */
.hero-panels-wrapper {
  width: 100%;
}

.hero-panels {
  display: flex;
  gap: var(--space-6);
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.upcoming-date-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.hero-panel {
  flex: 1 1 160px;
  min-width: 280px;
  max-width: 280px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-5) var(--space-6);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.hero-panel:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--color-primary);
}

/* Blowout Alert Indicator */
.hero-panel.has-blowout-alert {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(239, 68, 68, 0.12) 100%);
  border-color: rgba(239, 68, 68, 0.3);
}

.hero-panel.has-blowout-alert:hover {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(239, 68, 68, 0.16) 100%);
  border-color: rgba(239, 68, 68, 0.5);
}

.panel-title {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-2);
}

.panel-value {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.panel-value.good { color: var(--color-success); }
.panel-value.warning { color: var(--color-warning); }
.panel-value.error { color: var(--color-error); }

.panel-meta {
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}

/* Player Card Variant */
.hero-panel-player-card {
  max-width: 280px;
  padding: var(--space-6);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-elevated) 100%);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.player-card-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.player-card-name {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.player-card-meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  font-weight: 500;
}

.player-card-badge {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: 600;
  line-height: 1.4;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--color-warning);
}

.player-card-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--color-warning);
}

.player-card-insight {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.player-card-archetype {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}

.player-card-archetype .archetype-icon {
  font-size: var(--font-size-lg);
}

.player-card-archetype .archetype-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
}

/* Blowout Alert Card Variant */
.hero-panel-blowout-alert {
  max-width: 280px;
  padding: var(--space-5);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Player Stats Card Variant - ensure same width as other cards */
.hero-panel-player-stats {
  max-width: 280px;
}

.blowout-alert-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-error);
}

.blowout-alert-header svg {
  color: var(--color-error);
  flex-shrink: 0;
}

.blowout-alert-message {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: 1.5;
  font-weight: 500;
}

.blowout-alert-badge {
  align-self: flex-end;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  border: 1.5px solid rgba(245, 158, 11, 0.6);
  color: var(--color-warning);
}

.blowout-alert-details {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: 1.6;
  padding-top: var(--space-2);
  border-top: 1px solid rgba(239, 68, 68, 0.2);
}

/* Injury Report Card Variant */
.hero-panel-injury-report {
  max-width: 280px;
  padding: var(--space-4);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.injury-report-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(45, 45, 74, 0.5);
}

.injury-report-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.injury-report-name {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-top: var(--space-2);
}

.injury-report-badge {
  flex-shrink: 0;
  align-self: flex-end;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: capitalize;
  white-space: nowrap;
}

.injury-report-desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.injury-report-badge.questionable {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.injury-report-badge.out {
  background: rgba(239, 68, 68, 0.15);
  color: var(--color-error);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Game Odds Card Variant */
.hero-panel-game-odds {
  max-width: 280px;
  padding: var(--space-5);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.game-odds-betting {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.game-odds-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.game-odds-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.game-odds-values {
  display: flex;
  gap: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.odds-value {
  white-space: nowrap;
}

.game-odds-quality {
  display: flex;
  gap: var(--space-1);
  align-items: center;
}

.game-odds-quality .star {
  font-size: 14px;
  line-height: 0.9;
  display: block;
  transition: transform 0.15s, color 0.15s;
  color: var(--color-border);
}

.game-odds-quality .star.filled {
  color: rgb(251, 191, 36);
  text-shadow: rgba(0, 0, 0, 0.4) 0px 1px 3px;
}

.game-odds-matchup {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.game-odds-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.team-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.team-stats {
  font-size: var(--font-size-xs);
  font-weight: 600;
  white-space: nowrap;
}

.team-stats.negative {
  color: #ef4444;
}

.team-stats.positive {
  color: #10b981;
}

.game-odds-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.score-display {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.game-status {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-text-secondary);
  padding: var(--space-1) var(--space-2);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-sm);
}

/* Player Stats Card Variant */
.hero-panel-player-stats {
  max-width: 200px;
  padding: var(--space-5);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.player-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}

.player-stats-name {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.player-stats-position {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.player-stats-icons {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.player-icon {
  color: var(--color-text-muted);
}

.player-stats-status {
  align-self: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.player-stats-status.probable {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.player-stats-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.player-stats-grid .stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-1) 0;
}

.player-stats-grid .stat-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  font-weight: 500;
}

.player-stats-grid .stat-value {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
}

/* Leaderboard Card Variant */
.hero-panel-leaderboard {
  max-width: 280px;
  padding: var(--space-4);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.leaderboard-header {
  display: grid;
  grid-template-columns: 32px 1fr 48px 40px;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.leaderboard-rank,
.leaderboard-player {
  display: flex;
  align-items: center;
}

.leaderboard-stat {
  text-align: right;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 32px 1fr 48px 40px;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-2);
  align-items: center;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.leaderboard-row:hover {
  background: var(--color-bg-secondary);
}

.leaderboard-rank-badge {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--color-bg-secondary);
  color: var(--color-text);
}

.leaderboard-row.rank-1 {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.leaderboard-row.rank-1 .leaderboard-rank-badge {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.leaderboard-row.rank-2 .leaderboard-rank-badge {
  background: linear-gradient(135deg, #E8E8E8 0%, #C0C0C0 100%);
  color: #000;
}

.leaderboard-row.rank-3 {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.15) 0%, rgba(205, 127, 50, 0.05) 100%);
}

.leaderboard-row.rank-3 .leaderboard-rank-badge {
  background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
  color: #fff;
}

.leaderboard-row.rank-4 {
  background: rgba(30, 50, 80, 0.3);
}

.leaderboard-row.rank-5 {
  background: rgba(20, 30, 50, 0.4);
}

.leaderboard-player-name {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leaderboard-stat-value {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
  text-align: right;
}

/* Hero responsive */
@media (max-width: 968px) {
  .hero-row {
    flex-direction: column;
    text-align: center;
    gap: var(--space-8);
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
  }

  .preview-card {
    transform: none;
    width: 100%;
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-panels {
    gap: var(--space-3);
  }

  .hero-panel {
    flex: 1 1 140px;
    padding: var(--space-4);
  }

  .panel-value {
    font-size: var(--font-size-xl);
  }
}

.dashboard-preview {
  perspective: 1000px;
}

.preview-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  width: 420px;
  transform: rotateY(-5deg) rotateX(5deg);
  box-shadow: var(--shadow-xl);
  filter: brightness(1.15);
}

.preview-header {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.preview-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--color-border);
}

.preview-dot:nth-child(1) { background: #ef4444; }
.preview-dot:nth-child(2) { background: #f59e0b; }
.preview-dot:nth-child(3) { background: #10b981; }

.preview-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.preview-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.stat-value {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.stat-value.good {
  color: var(--color-success);
}

/* Preview Card Game Odds Variant */
.preview-card-game-odds .preview-content {
  gap: var(--space-5);
}

.preview-card-game-odds .game-odds-betting {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.preview-card-game-odds .game-odds-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.preview-card-game-odds .game-odds-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.preview-card-game-odds .game-odds-values {
  display: flex;
  gap: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.preview-card-game-odds .odds-value {
  white-space: nowrap;
}

.preview-card-game-odds .game-odds-quality {
  display: flex;
  gap: var(--space-1);
  align-items: center;
  justify-content: center;
  padding: var(--space-2) 0;
}

.preview-card-game-odds .game-odds-quality .star {
  font-size: 18px;
  line-height: 0.9;
  display: block;
  transition: transform 0.15s, color 0.15s;
  color: var(--color-border);
}

.preview-card-game-odds .game-odds-quality .star.filled {
  color: rgb(251, 191, 36);
  text-shadow: rgba(0, 0, 0, 0.4) 0px 1px 3px;
}

.preview-card-game-odds .game-odds-matchup {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
}

.preview-card-game-odds .game-odds-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
}

.preview-card-game-odds .team-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.preview-card-game-odds .team-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.preview-card-game-odds .team-record {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
}

.preview-card-game-odds .team-streak {
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.preview-card-game-odds .team-stats.negative .team-streak {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.preview-card-game-odds .team-stats.positive .team-streak {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.preview-card-game-odds .game-odds-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  flex: 0 0 auto;
}

.preview-card-game-odds .score-display {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.preview-card-game-odds .game-status {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-text-secondary);
  padding: var(--space-1) var(--space-2);
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

/* =============================================================================
   Section Styles
   ============================================================================= */

section {
  padding: var(--space-20) 0;
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: var(--space-12);
}

/* =============================================================================
   Features Section
   ============================================================================= */

.features {
  position: relative;
  background: linear-gradient(180deg, #252552 0%, #1a1a2e 100%);
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.45) 50%, transparent 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  justify-items: center;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  transition: all var(--transition-normal);
  min-width: 260px;
  max-width: 320px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px -20px rgba(99, 102, 241, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  color: white;
  flex-shrink: 0;
}

.feature-icon svg {
  display: block;
}

.feature-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  text-align: center;
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  text-align: center;
}

/* Edge Driver Feature Cards */
.feature-card.edge-driver {
  position: relative;
  border-color: rgba(99, 102, 241, 0.25);
  background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(99, 102, 241, 0.03) 100%);
}

.feature-card.edge-driver::before {
  content: "EDGE";
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0.9;
}

.feature-card.edge-driver:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 40px -20px rgba(99, 102, 241, 0.4);
}

/* =============================================================================
   Core Intelligence Pillars
   ============================================================================= */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.pillar-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-top: 4px solid transparent;
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.35);
}

.pillar-red    { border-top-color: #e74c3c; }
.pillar-green  { border-top-color: #27ae60; }
.pillar-purple { border-top-color: #6366f1; }
.pillar-gold   { border-top-color: #f39c12; }
.pillar-blue   { border-top-color: #3498db; }
.pillar-teal   { border-top-color: #1abc9c; }

.pillar-emoji {
  font-size: 2.4rem;
  line-height: 1;
}

.pillar-card h3 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.pillar-card > p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--space-3);
}

.pillar-tag {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =============================================================================
   Explore All Features Carousel
   ============================================================================= */

.features-explore {
  border-top: 1px solid rgba(99, 102, 241, 0.15);
}

.features-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.features-carousel {
  display: flex;
  gap: var(--space-6);
  overflow: hidden;
  flex: 1;
}

.features-carousel .feature-card {
  flex: 0 0 calc(33.33% - 1rem);
  min-width: 0;
  max-width: none;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.carousel-btn:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--color-primary);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-6);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.25);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.carousel-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

/* =============================================================================
   How It Works Section
   ============================================================================= */

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-4);
}

.step {
  text-align: center;
  max-width: 280px;
}

.step-number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-full);
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: white;
  margin: 0 auto var(--space-6);
}

.step h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.step p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.step-connector {
  width: 80px;
  height: 2px;
  background: var(--color-border);
  margin-top: 32px;
}

/* =============================================================================
   How It Works Section
   ============================================================================= */

.how-it-works {
  position: relative;
  background: linear-gradient(180deg, #13102a 0%, #1b1638 100%);
  padding: var(--space-20) 0;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(129, 140, 248, 0.4) 50%, transparent 100%);
}

/* =============================================================================
   How It Works CTA
   ============================================================================= */

.how-it-works-cta {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem 0;
}

.how-it-works-cta .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(52, 144, 220, 0.3);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.how-it-works-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 144, 220, 0.4);
}

/* =============================================================================
   Pricing Section
   ============================================================================= */

.pricing {
  position: relative;
  background: linear-gradient(180deg, #1e1e44 0%, #141428 100%);
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.5) 50%, transparent 100%);
}

/* Pricing Trust Echo */
.pricing-reassurance {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.pricing-trust-echo {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-trust-echo p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 1;
  margin: 0;
}

/* Section Divider */
.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary-light) 40%, var(--color-primary-dark) 60%, transparent);
  opacity: 0.12;
  margin: 0 auto;
  box-shadow: 0 0 12px 0 var(--color-primary-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  transition: all var(--transition-normal);
  min-width: 333px;
  max-width: 350px;
  min-height: 340px;
}

.pricing-card.featured {
  border-color: var(--color-primary);
  transform: scale(1.05);
  box-shadow: 0 20px 40px -20px rgba(99, 102, 241, 0.4);
}

/* Hover effects for non-featured pricing cards */
.pricing-card:not(.featured):hover {
  border-color: var(--color-primary);
  transform: scale(1.05);
  box-shadow: 0 20px 40px -20px rgba(99, 102, 241, 0.4);
  transition: all 0.3s ease;
}

.pricing-card {
  transition: all 0.3s ease;
}

/* Pricing Tabs */
.pricing-tabs {
  display: flex;
  margin-top: var(--space-4);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.pricing-tab {
  flex: 1;
  padding: var(--space-2) var(--space-3);
  background: var(--color-card);
  border: none;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border-right: 1px solid var(--color-border);
}

.pricing-tab:last-child {
  border-right: none;
}

.pricing-tab:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-text);
}

.pricing-tab.active {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.pricing-header h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.pricing-card .feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-6);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-1);
}

.price .amount {
  font-size: var(--font-size-4xl);
  font-weight: 800;
}

.price .period {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.pricing-features {
  margin-bottom: var(--space-8);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: 13px;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--color-success);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

.pricing-features .feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pricing-features .feature-detail {
  font-size: 12px;
  color: var(--color-text-tertiary);
  font-weight: normal;
}

/* Feature Categories - Override default list item styles */
.pricing-features .feature-category {
  display: block;
  border-bottom: none;
  padding: 0;
  margin-bottom: var(--space-4);
}

.pricing-features .feature-category:last-child {
  margin-bottom: 0;
}

.pricing-features .feature-category::before {
  display: none;
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.category-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.category-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-grow: 1;
}

.category-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  padding-left: var(--space-4);
  font-size: 12px;
  color: var(--color-text-secondary);
  border-bottom: none;
  line-height: 1.5;
}

.category-features li::before {
  content: "•";
  color: var(--color-primary);
  font-weight: bold;
  font-size: 14px;
  line-height: 1.5;
  flex-shrink: 0;
  margin-right: 2px;
}

/* Sport Badges */
.sport-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 600;
  margin-left: 4px;
  vertical-align: middle;
  white-space: nowrap;
  line-height: 1.2;
  flex-shrink: 0;
}

.sport-badge.nba {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
}

.sport-badge.ncaab {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: white;
}

.sport-badge.multi {
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
}

.sport-badge.coming-soon {
  background: #6b7280;
  color: white;
  opacity: 0.6;
}

/* Sport Groups - Group features by sport */
.sport-group {
  margin-bottom: var(--space-3);
}

.sport-group:last-child {
  margin-bottom: 0;
}

.sport-group-header {
  padding: var(--space-2) 0;
  padding-left: var(--space-4);
}

.sport-group-header .sport-badge {
  margin-left: 0;
}

.sport-group-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sport-group-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-1) 0;
  padding-left: var(--space-8);
  font-size: 12px;
  color: var(--color-text-secondary);
  border-bottom: none;
  line-height: 1.5;
}

.sport-group-features li::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--color-success);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-right: 2px;
}

.pricing-value-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-style: italic;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =============================================================================
   Stats Bar
   ============================================================================= */

.trust-bar {
  background: #111126;
  padding: var(--space-12) 0;
  border-top: 1px solid rgba(99, 102, 241, 0.18);
  border-bottom: 1px solid rgba(99, 102, 241, 0.18);
}

.trust-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.trust-item {
  text-align: center;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.trust-item:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.trust-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.trust-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Legacy stats bar styles for backward compatibility */
.stats-bar {
  background: var(--color-bg-secondary);
  padding: var(--space-10) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
}

/* =============================================================================
   Archetypes Section
   ============================================================================= */

.archetypes {
  position: relative;
  padding: var(--space-20) 0;
}

.archetypes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(14, 165, 233, 0.35) 50%, transparent 100%);
}

.archetypes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.archetype-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
  transition: all var(--transition-normal);
}

.archetype-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.3);
}

.archetype-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 800;
  color: white;
}

.archetype-card h3,
.archetype-card h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.archetype-card p {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-bottom: var(--space-2);
}

.archetype-example {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.archetype-cta {
  text-align: center;
  padding: var(--space-6);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.archetype-cta p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin: 0 0 var(--space-4) 0;
}

.archetype-explore-btn {
  margin-top: var(--space-2);
}

/* =============================================================================
   FAQ Section
   ============================================================================= */

.faq {
  padding: var(--space-20) 0;
}

.faq-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.faq-category-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.faq-category-label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-light);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.85rem;
}

.faq-category-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.faq-item h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.faq-item p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* =============================================================================
   CTA Section
   ============================================================================= */

.cta {
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(99, 102, 241, 0.15), transparent),
    var(--color-bg);
}

.cta h2 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.cta > .container > p {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

.cta-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto var(--space-4);
  gap: var(--space-3);
}

.cta-form input {
  flex: 1;
  padding: var(--space-4) var(--space-6);
  font-size: var(--font-size-base);
  font-family: inherit;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast);
}

.cta-form input:focus {
  border-color: var(--color-primary);
}

.cta-form input::placeholder {
  color: var(--color-text-muted);
}

.cta-note {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* =============================================================================
   Footer
   ============================================================================= */

.footer {
  background: #07070f;
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin-top: var(--space-4);
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-bg-tertiary);
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-logo {
  height: 110px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-2);
}

/* Responsive footer logo sizing */
@media (max-width: 768px) {
  .footer-logo {
    height: 84px;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    height: 67px;
  }
}

.footer-links h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* =============================================================================
   Responsive Design
   ============================================================================= */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: var(--font-size-4xl);
  }

  .hero-subtitle {
    max-width: none;
  }

  .hero-cta {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-carousel .feature-card {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .archetypes-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-card.featured {
    transform: none;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-panels {
    flex-direction: column;
    align-items: center;
  }

  .hero-panel {
    max-width: 100%;
    width: 100%;
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .container {
    padding: 0 var(--space-4);
  }

  .features-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    width: 100%;
  }

  .feature-card {
    width: calc(100% - 2rem);
    max-width: 400px;
    margin: 0 auto;
  }

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

  .features-carousel .feature-card {
    flex: 0 0 100%;
    max-width: none;
    margin: 0;
    width: auto;
  }

  .carousel-btn {
    display: none;
  }

  .stats-grid {
    gap: var(--space-6);
  }

  .stat-number {
    font-size: var(--font-size-3xl);
  }

  .archetypes-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    width: 100%;
  }

  .archetype-card {
    padding: var(--space-5);
    width: calc(100% - 2rem);
    max-width: 400px;
    margin: 0 auto;
  }

  .faq-item {
    padding: var(--space-5);
  }

  .steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    width: 100%;
  }

  .step {
    width: calc(100% - 2rem);
    max-width: 400px;
    margin: 0 auto;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0 auto;
  }

  .pricing-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    width: 100%;
  }

  .pricing-card {
    width: calc(100% - 2rem);
    max-width: 400px;
    margin: 0 auto;
  }

  .cta-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }
}

/* =============================================================================
   Subscription Page Styles
   ============================================================================= */

.subscription-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4);
}

.subscription-container h2 {
  text-align: center;
  margin-bottom: var(--space-12);
  color: var(--color-text);
}

/* Loading State */
.loading {
  text-align: center;
  padding: var(--space-20);
  color: var(--color-text-secondary);
}

/* Authentication Required */
.auth-prompt {
  text-align: center;
  padding: var(--space-16);
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  max-width: 500px;
  margin: 0 auto;
}

.auth-prompt h3 {
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.auth-prompt p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

/* Pricing Tiers */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-10);
  margin: var(--space-12) 0;
}

.pricing-tier {
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-tier:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.pricing-tier.featured {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(99, 102, 241, 0.1) 100%);
}

.pricing-tier h3 {
  color: var(--color-text);
  margin-bottom: var(--space-2);
  font-size: var(--font-size-2xl);
}

.pricing-tier .tier-description {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  font-style: italic;
}

/* Frequency Options */
.frequency-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.frequency-card {
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-4);
  position: relative;
  transition: all 0.3s ease;
  text-align: center;
}

.frequency-card:hover {
  border-color: var(--color-primary);
}

.frequency-card.popular {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, rgba(99, 102, 241, 0.15) 100%);
}

.frequency-card .badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--border-radius);
  font-size: var(--font-size-xs);
  font-weight: 600;
  white-space: nowrap;
}

.frequency-label {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.frequency-card .price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.frequency-card .price span {
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--color-text-secondary);
}

.frequency-card .savings {
  color: var(--color-success);
  font-weight: 600;
  margin-bottom: var(--space-3);
  font-size: var(--font-size-xs);
}

.frequency-card .savings.no-savings {
  color: #dc3545; /* Red color for 0% savings */
}

/* Refund Disclosure */
.refund-disclosure {
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--border-radius-lg);
  text-align: center;
  backdrop-filter: blur(8px);
}

.refund-disclosure p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.refund-disclosure strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* Product Logo in Pricing Tiers */
.product-logo {
  text-align: center;
  margin-bottom: var(--space-4);
}

.product-logo-img {
  height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

/* Product Highlight in Hero Section */
.product-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Founders Edition Styling */
.pricing-grid.founders-grid {
  display: flex;
  justify-content: center;
  grid-template-columns: unset;
  gap: var(--space-10);
  max-width: 900px;
  margin: 100px auto 0 auto;
}

.founders-tiers {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  max-width: 900px;
  margin: 100px auto 0 auto;
}

.pricing-card.founders,
.pricing-tier.founders {
  border-color: rgba(255, 215, 0, 0.3);
}

.pricing-card.founders:hover,
.pricing-tier.founders:hover {
  border-color: rgba(255, 215, 0, 0.5);
}

.founders-badge {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #1a1a2e;
  font-weight: 700;
}

.founders-price-display {
  margin: var(--space-6) 0;
}

.founders-price-display .price {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}

.founders-price-display .price span {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-weight: 400;
}

.founders-disclaimer {
  margin-top: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-secondary);
  font-size: var(--font-size-xs);
  font-style: italic;
  text-align: center;
}

.product-highlight-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.product-highlight-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Rotating Headline */
.rotating-headline {
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  will-change: opacity, transform;
}

/* Product Branding in Pricing Cards */
.product-branding {
  text-align: center;
  margin-bottom: var(--space-3);
  padding: var(--space-2) 0;
}

.pricing-product-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

/* Product Logo in CTA Section */
.cta-product-highlight {
  text-align: center;
  margin-bottom: var(--space-4);
}

.cta-product-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
}

.frequency-card .btn {
  width: 100%;
  font-size: var(--font-size-sm);
  padding: var(--space-2) var(--space-3);
}

/* Highlighted frequency button animation */
.frequency-card .btn-primary,
.hero-cta .btn-primary {
  animation: pulseGlow 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

/* Tier Features */
.tier-features {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0 0;
  text-align: center;
}

.tier-features li {
  padding: var(--space-2) 0;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
}

.tier-features li:last-child {
  border-bottom: none;
}

.tier-features li:before {
  content: "✓";
  color: var(--color-success);
  font-weight: bold;
  margin-right: var(--space-2);
}

.tier-features .feature-text {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.tier-features .feature-detail {
  font-size: 11px;
  color: var(--color-text-tertiary);
  font-weight: normal;
}

/* Tier Feature Categories */
.tier-features .feature-category {
  display: block;
  border-bottom: none;
  padding: 0;
  margin-bottom: var(--space-4);
  text-align: left;
}

.tier-features .feature-category:last-child {
  margin-bottom: 0;
}

.tier-features .feature-category:before {
  display: none;
}

.tier-features .category-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.tier-features .category-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.tier-features .category-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-features .category-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier-features .category-features li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-size: 12px;
  color: var(--color-text-secondary);
  border-bottom: none;
  line-height: 1.5;
}

.tier-features .category-features li:before {
  content: "•";
  color: var(--color-primary);
  font-weight: bold;
  font-size: 14px;
  line-height: 1.5;
  flex-shrink: 0;
  margin-right: 2px;
}

/* Sport Groups for Tier Features */
.tier-features .sport-group {
  margin-bottom: var(--space-3);
}

.tier-features .sport-group:last-child {
  margin-bottom: 0;
}

.tier-features .sport-group-header {
  padding: var(--space-2) 0;
  text-align: center;
}

.tier-features .sport-group-header .sport-badge {
  margin-left: 0;
}

.tier-features .sport-group-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier-features .sport-group-features li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-1) 0;
  font-size: 12px;
  color: var(--color-text-secondary);
  border-bottom: none;
  line-height: 1.5;
}

.tier-features .sport-group-features li::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--color-success);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-right: 2px;
}

/* Active Subscription */
.subscription-status {
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-8);
  max-width: 600px;
  margin: 0 auto;
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.status-header h3 {
  color: var(--color-text);
  margin: 0;
}

.subscription-details {
  margin-bottom: var(--space-8);
}

.subscription-details .detail-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.subscription-details .detail-item:last-child {
  border-bottom: none;
}

.subscription-details .detail-item label {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.subscription-details .detail-item span {
  color: var(--color-text);
  font-weight: 600;
}

.subscription-actions {
  text-align: center;
}

/* Free Features Section */
.free-features-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  margin-bottom: var(--space-12);
  text-align: center;
}

.free-features-section h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.free-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  text-align: left;
}

.free-feature {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: all var(--transition-normal);
}

.free-feature:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.free-feature strong {
  display: block;
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.free-feature p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

.upgrade-prompt {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-primary-light);
  margin: 0;
}

@media (max-width: 768px) {
  .free-features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .free-features-section {
    padding: var(--space-6);
  }

  .free-features-section h3 {
    font-size: var(--font-size-xl);
  }
}

/* Badges */
.badge {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--border-radius);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background: rgba(16, 185, 129, 0.2);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.2);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-error {
  background: rgba(239, 68, 68, 0.2);
  color: var(--color-error);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-secondary {
  background: rgba(148, 163, 184, 0.2);
  color: var(--color-text-secondary);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Alert Messages */
.alert {
  padding: var(--space-4);
  border-radius: var(--border-radius);
  margin: var(--space-4) 0;
  border: 1px solid;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--color-success);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--color-error);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--color-warning);
}

/* =============================================================================
   Profile Page Styles
   ============================================================================= */

.profile-container {
  max-width: 900px;
  margin: 0 auto;
  padding: calc(72px + var(--space-12)) var(--space-4) var(--space-16);
  min-height: calc(100vh - 72px - 200px);
}

.profile-card {
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* Profile Header */
.profile-header {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-10);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
  border-bottom: 2px solid var(--color-border);
}

.profile-avatar-container {
  flex-shrink: 0;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  border: 4px solid var(--color-primary);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.profile-header-info {
  flex: 1;
}

.profile-name {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.profile-email {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.profile-badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Profile Details */
.profile-details {
  padding: var(--space-8);
}

.profile-section {
  margin-bottom: var(--space-10);
  margin-left: 20px;
  margin-top: 20px;
}

.profile-section-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-border);
}

.profile-section-title svg {
  color: var(--color-primary);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.detail-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.detail-item label {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-item span {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.auth-provider {
  display: flex;
  align-items: center;
}

/* Profile Actions */
.profile-actions {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}

.profile-actions .btn {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
  justify-content: center;
  transition: all 0.2s ease;
}

.profile-footer {
  padding: var(--space-6) var(--space-8);
  background: var(--color-bg-secondary);
  border-top: 2px solid var(--color-border);
}

.profile-actions-footer {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

/* Responsive Design for Subscription */
@media (max-width: 768px) {
  .subscription-container {
    padding: var(--space-4);
  }
  
  .pricing-tiers {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .frequency-options {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .status-header {
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
  }
  
  .detail-item {
    flex-direction: column;
    gap: var(--space-1);
  }

  /* Profile responsive */
  .profile-header {
    flex-direction: column;
    text-align: center;
    padding: var(--space-6);
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
  }

  .profile-name {
    font-size: var(--font-size-2xl);
  }

  .profile-badges {
    justify-content: center;
  }

  .profile-actions {
    flex-direction: column;
    width: 100%;
  }

  .profile-actions .btn {
    width: 100%;
    min-width: unset;
  }

  .profile-details {
    padding: var(--space-4);
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .detail-grid-2col {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .profile-actions-footer {
    flex-direction: column;
  }

  .profile-actions-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================================================
   Legal Pages (Privacy Policy & Terms of Service)
   ============================================================================= */

.legal-content {
  min-height: calc(100vh - 80px);
  padding: var(--space-16) 0 var(--space-20);
  background: linear-gradient(to bottom, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
}

.legal-header {
  text-align: center;
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 2px solid var(--color-border);
}

.legal-header h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-date {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-style: italic;
}

.legal-body {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-xl);
}

.legal-section {
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: var(--space-4);
  padding-top: var(--space-2);
}

.legal-section h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-section p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.legal-section ul,
.legal-section ol {
  margin: var(--space-4) 0 var(--space-4) var(--space-6);
  color: var(--color-text-secondary);
}

.legal-section li {
  margin-bottom: var(--space-2);
  line-height: 1.8;
  padding-left: var(--space-2);
}

.legal-section li::marker {
  color: var(--color-primary);
}

.legal-section strong {
  color: var(--color-text);
  font-weight: 600;
}

.contact-info {
  background: var(--color-bg-secondary);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  margin-top: var(--space-4);
}

.contact-info p {
  margin-bottom: 0;
  color: var(--color-text);
  line-height: 1.8;
}

.contact-info strong {
  color: var(--color-primary-light);
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-lg);
}

/* Highlight important notices */
.legal-section p:has(strong:only-child) {
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid var(--color-error);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin: var(--space-4) 0;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
  .legal-content {
    padding: var(--space-8) 0 var(--space-12);
  }

  .legal-header h1 {
    font-size: var(--font-size-3xl);
  }

  .legal-body {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
  }

  .legal-section {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
  }

  .legal-section h2 {
    font-size: var(--font-size-xl);
  }

  .legal-section h3 {
    font-size: var(--font-size-lg);
  }

  .contact-info {
    padding: var(--space-4);
  }
}

@media (max-width: 480px) {
  .legal-header h1 {
    font-size: var(--font-size-2xl);
  }

  .legal-body {
    padding: var(--space-4);
  }

  .legal-section ul,
  .legal-section ol {
    margin-left: var(--space-4);
  }
}

/* =============================================================================
   Dashboard Access Section
   ============================================================================= */

.dashboard-access-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-top: var(--space-4);
  transition: all var(--transition-normal);
}

.dashboard-access-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.dashboard-access-content {
  text-align: center;
  margin-bottom: var(--space-6);
}

.dashboard-icon {
  color: var(--color-primary-light);
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

.dashboard-access-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.dashboard-access-description {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.dashboard-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.dashboard-feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.dashboard-feature:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
}

.dashboard-feature svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
  font-weight: 600;
  border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
  .dashboard-features {
    grid-template-columns: 1fr 1fr;
  }
  
  .dashboard-access-card {
    padding: var(--space-6);
  }
}

@media (max-width: 480px) {
  .dashboard-features {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   Legal Pages (Terms & Privacy)
   ============================================================================= */

.legal-content {
  padding: var(--space-8) 0;
  min-height: 100vh;
}

.legal-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.legal-header h1 {
  margin-top: 100px;
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.legal-date {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-style: italic;
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: var(--space-10);
}

.legal-section h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.legal-section h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-section p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.legal-section ul,
.legal-section ol {
  margin-left: var(--space-8);
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
}

.legal-section li {
  margin-bottom: var(--space-2);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .legal-header h1 {
    font-size: var(--font-size-3xl);
    margin-top: 80px;
  }
  
  .legal-body {
    padding: 0 var(--space-4);
  }
  
  .legal-section h2 {
    font-size: var(--font-size-xl);
  }
}

/* =============================================================================
   Upgrade Prompt
   ============================================================================= */

.upgrade-prompt {
  padding: var(--space-8);
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: var(--space-4);
}

.upgrade-prompt h5 {
  margin: 0 0 var(--space-2) 0;
  font-size: var(--font-size-lg);
  color: var(--color-text);
  font-weight: 600;
}

.upgrade-prompt p {
  margin: 0 0 var(--space-4) 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.upgrade-prompt .btn {
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .upgrade-prompt {
    padding: var(--space-6);
  }
  
  .upgrade-prompt h5 {
    font-size: var(--font-size-base);
  }
  
  .upgrade-prompt p {
    font-size: 0.8125rem;
  }
}

/* =============================================================================
   Terms Modal
   ============================================================================= */

.terms-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.terms-modal-content {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.1);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.terms-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) var(--space-8);
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(to bottom, var(--color-bg-elevated), var(--color-bg-card));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.terms-modal-header h2 {
  margin: 0;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.terms-modal-close {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  font-size: 28px;
  line-height: 1;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.terms-modal-close:hover {
  background: var(--color-bg-elevated);
  border-color: var(--color-primary);
  color: var(--color-text);
  transform: rotate(90deg);
}

.terms-modal-body {
  flex: 1;
  overflow: hidden;
  padding: 0;
  background: var(--color-bg-card);
  min-height: 0; /* Critical for flex overflow */
}

.terms-scroll-area {
  max-height: 60vh;
  overflow-y: auto;
  padding: var(--space-8);
}

.terms-intro {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-warning);
  margin-bottom: var(--space-6);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--color-text);
}

.terms-intro strong {
  color: var(--color-warning);
}

.terms-section {
  margin-bottom: var(--space-5);
}

.terms-section h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-3) 0;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.terms-section p {
  margin: 0 0 var(--space-2) 0;
  line-height: 1.7;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.terms-section ul {
  margin: var(--space-2) 0;
  padding-left: var(--space-6);
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.terms-section li {
  margin-bottom: var(--space-1);
  line-height: 1.6;
  position: relative;
}

.terms-section li::marker {
  color: var(--color-primary);
}

.terms-full-link {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.terms-full-link a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.terms-full-link a:hover {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.terms-modal-footer {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-8);
  border-top: 1px solid var(--color-border);
  justify-content: flex-end;
  background: linear-gradient(to top, var(--color-bg-elevated), var(--color-bg-card));
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.terms-modal-footer .btn {
  min-width: 140px;
}

/* Scrollbar styling */
.terms-scroll-area::-webkit-scrollbar {
  width: 10px;
}

.terms-scroll-area::-webkit-scrollbar-track {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-sm);
}

.terms-scroll-area::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-bg-elevated);
}

.terms-scroll-area::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .terms-modal {
    padding: 0;
  }

  .terms-modal-content {
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }

  .terms-modal-header {
    padding: var(--space-5);
    border-radius: 0;
  }

  .terms-modal-header h2 {
    font-size: var(--font-size-xl);
  }

  .terms-scroll-area {
    padding: var(--space-5);
  }

  .terms-modal-footer {
    padding: var(--space-5);
    flex-direction: column-reverse;
    border-radius: 0;
  }

  .terms-modal-footer .btn {
    width: 100%;
    min-width: auto;
  }
}

/* =========================================================================
   Toast Notification System
   ========================================================================= */

#toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-left-width: 3px;
  box-shadow: var(--shadow-lg);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  max-width: 22rem;
  pointer-events: all;
  cursor: pointer;
  animation: toast-slide-in var(--transition-normal) forwards;
}

.toast-success { border-left-color: var(--color-success); }
.toast-error   { border-left-color: var(--color-error); }
.toast-warning { border-left-color: var(--color-warning); }
.toast-info    { border-left-color: var(--color-primary); }

.toast-icon {
  flex-shrink: 0;
  line-height: 1.5;
}

.toast-success .toast-icon { color: var(--color-success); }
.toast-error   .toast-icon { color: var(--color-error); }
.toast-warning .toast-icon { color: var(--color-warning); }
.toast-info    .toast-icon { color: var(--color-primary); }

@keyframes toast-slide-in {
  from { opacity: 0; transform: translateX(1.5rem); }
  to   { opacity: 1; transform: translateX(0); }
}

.toast-hiding {
  animation: toast-slide-out var(--transition-normal) forwards;
}

@keyframes toast-slide-out {
  to { opacity: 0; transform: translateX(1.5rem); }
}

/* Confirmation toast — wider, not click-to-dismiss */
.toast-confirm {
  cursor: default;
  max-width: 26rem;
  align-items: flex-start;
}

.toast-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.toast-confirm-desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.toast-actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.toast-action-btn {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: var(--font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  line-height: 1.5;
}

.toast-action-cancel {
  background: transparent;
  color: var(--color-text-muted);
}

.toast-action-cancel:hover {
  background: var(--color-bg-secondary);
  color: var(--color-text);
}

.toast-action-confirm {
  background: var(--color-error);
  color: #fff;
  border-color: var(--color-error);
}

.toast-action-confirm:hover {
  filter: brightness(1.15);
}

/* =============================================================================
   Game Card with Odds — ported from DFS project
   ============================================================================= */

.game-with-odds-container {
  position: relative;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-with-odds-container:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(99,102,241,0.04));
  border-radius: 8px;
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 4px 12px rgba(99,102,241,0.15),
    0 8px 24px rgba(0,0,0,0.1);
  z-index: 5;
}

.game-card {
  width: 100%;
  min-width: 300px;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(99,102,241,0.08));
  border: 1px solid rgba(99,102,241,0.4);
  border-radius: 8px;
  padding: 0.34rem 0.60rem;
  box-sizing: border-box;
  overflow: visible;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative !important;
  padding-left: 30px !important;
}

.game-card:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(99,102,241,0.08));
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 4px 12px rgba(99,102,241,0.2),
    0 8px 24px rgba(0,0,0,0.15);
  z-index: 10;
}

.game-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-width: 160px;
}

.team-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.16rem;
  min-width: 44px;
  max-width: 72px;
}

.team-block.text-end {
  align-items: flex-end;
  text-align: right;
  justify-self: end;
  padding-right: 0.45rem;
}

.team-block.text-start {
  align-items: flex-start;
  text-align: left;
  justify-self: start;
  padding-left: 0.45rem;
}

.team-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0b1220;
  position: relative;
  border: 1px solid rgba(11,18,32,0.06);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.team-logo:hover { transform: scale(1.08); }

.team-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.team-abbr { font-size: 0.8875rem; letter-spacing: 0.02em; }

.team-record {
  font-size: 0.8375rem;
  text-align: center;
  color: rgba(255,255,255,0.7);
  margin-top: 0.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.team-streak {
  font-size: 0.7875rem;
  opacity: 0.8;
  font-weight: 600;
  display: inline-block;
  margin-top: 0.1rem;
}

.team-record.record-positive { color: rgba(34, 197, 94, 0.95); }
.team-record.record-negative { color: rgba(239, 68, 68, 0.95); }
.team-streak.streak-positive  { color: rgba(34, 197, 94, 0.95); }
.team-streak.streak-negative  { color: rgba(239, 68, 68, 0.95); }

.score-block {
  text-align: center;
  min-width: 52px;
  justify-self: center;
  position: relative;
}

.score-main {
  font-weight: 800;
  font-size: 0.9875rem;
  color: #ffffff;
  white-space: nowrap;
}

.status-badge {
  display: inline-block;
  padding: 0.11rem 0.32rem;
  border-radius: 999px;
  font-size: 0.7475rem;
  font-weight: 700;
}

.status-live { background: linear-gradient(90deg, #22c55e, #16a34a); color: #06270b; }
.status-fin  { background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.85); }

/* Quality rating stars */
.game-quality-stars {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 10;
  pointer-events: none;
}

.game-quality-stars .star {
  font-size: 16px;
  line-height: 0.9;
  transition: transform 0.15s ease, color 0.15s ease;
  display: block;
}

.game-quality-stars .star.filled { color: #fbbf24 !important; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.game-quality-stars .star.empty  { color: #6b7280 !important; opacity: 0.5; }

.game-quality-stars.rating-high {
  background: radial-gradient(ellipse at center, rgba(34,197,94,0.25) 0%, transparent 70%);
  border-radius: 12px;
  padding: 2px 6px;
}

.game-quality-stars.rating-low {
  background: radial-gradient(ellipse at center, rgba(239,68,68,0.25) 0%, transparent 70%);
  border-radius: 12px;
  padding: 2px 6px;
}

/* Blowout Alert Icon - positioned above the score within score-block */
.blowout-alert-icon {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  z-index: 15;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: help;
}

@keyframes alarmGlowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(255, 200, 0, 0.5));
  }
  25% {
    filter: drop-shadow(0 0 3px rgba(255, 200, 0, 0.15));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(255, 200, 0, 0.5));
  }
  75% {
    filter: drop-shadow(0 0 24px rgba(255, 215, 0, 1)) drop-shadow(0 0 12px rgba(255, 215, 0, 0.9));
  }
}

.alarm-light-svg {
  width: 100%;
  height: 100%;
  animation: alarmGlowPulse 1.5s infinite;
}

.blowout-alert-icon:hover .alarm-light-svg {
  filter: drop-shadow(0 0 18px rgba(255, 215, 0, 1)) !important;
}

/* Light theme adjustments for SVG alarm */
@keyframes alarmGlowPulseLight {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(255, 180, 0, 0.6));
  }
  25% {
    filter: drop-shadow(0 0 2px rgba(255, 180, 0, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 6px rgba(255, 180, 0, 0.6));
  }
  75% {
    filter: drop-shadow(0 0 20px rgba(255, 200, 0, 1)) drop-shadow(0 0 10px rgba(255, 200, 0, 0.95));
  }
}

[data-theme="light"] .alarm-light-svg {
  animation: alarmGlowPulseLight 1.5s infinite;
}

/* Winner dominance meter */
.winner-dominance-container {
  width: 100%;
  margin-top: 0.5rem;
  margin-bottom: 10px;
  padding: 0.625rem 0.75rem;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.dominance-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(99,102,241,0.8);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dominance-meter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dominance-bar {
  flex: 1;
  height: 18px;
  background: rgba(255,255,255,0.08);
  border-radius: 9px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.dominance-fill {
  height: 100%;
  border-radius: 9px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(99,102,241,0.3);
  position: relative;
}

.dominance-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
  border-radius: 9px 9px 0 0;
}

.dominance-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  min-width: 75px;
  text-align: right;
  letter-spacing: 0.025em;
}

.game-card:hover .winner-dominance-container {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
}

/* Betting odds */
.betting-odds-container {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  font-size: 0.75rem;
  transition: all 0.2s ease;
  color: rgba(255,255,255,0.9);
}

.betting-line {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.25rem;
}

.betting-line:last-child { margin-bottom: 0; }

.betting-label {
  font-weight: 600;
  color: rgba(99,102,241,0.9);
  margin-right: 0.5rem;
  min-width: 60px;
  letter-spacing: 0.025em;
}

.betting-separator {
  margin: 0 0.5rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

.game-card:hover .betting-odds-container {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
}

/* Dashboard games grid */
/* Live game card inside the hero preview widget */
a.hero-game-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.preview-card-live-game {
  padding: 0;
  overflow: hidden;
  width: 500px;
}
.preview-card-live-game .game-card {
  min-width: 0;
  border: none;
  border-radius: var(--radius-xl);
}

.dashboard-games-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .game-card { padding-left: 26px !important; }
  .game-quality-stars { left: 5px; gap: 3px; }
  .game-quality-stars .star { font-size: 18px; }
}

/* =============================================================================
   Suspect Card Styles (from BlowOutAlert dfs project)
   ============================================================================= */

/* Suspect Card Styles */
.suspect-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.suspect-card:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(99,102,241,0.08)) !important;
  border-color: rgba(99,102,241,0.4) !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(99,102,241,0.2), 0 0 30px rgba(99,102,241,0.1);
  z-index: 10;
}

.suspect-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.suspect-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: left;
}

.suspect-name:hover {
  color: var(--color-primary);
}

.suspect-position-text {
  color: var(--color-text-muted);
  font-weight: 500;
}

.suspect-details {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  text-align: right;
}

.suspect-badges {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.suspect-team-container {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.suspect-tier-container {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tier-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.suspect-reasoning {
  font-size: 0.825rem;
  line-height: 1.4;
  color: var(--color-text);
}

.suspect-archetype {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.archetype-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.archetype-value {
  font-size: 0.875rem;
  font-weight: 500;
  margin-left: 0.5rem;
  color: var(--color-text);
}

.projection-badge-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

/* Team logo styling */
.suspect-card .team-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.team-logo-fallback {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hidden-fallback {
  display: none;
}

/* Projection Badge Styles */
.projection-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}

.projection-badge-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-end;
}

/* Projection Gauge Styles */
.gauge-needle {
  stroke: var(--color-text);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.gauge-pivot {
  fill: var(--color-text);
}

/* Suspect card styling */
.suspect-position-text {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.suspect-details {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.suspect-reasoning {
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--color-text);
}

.archetype-label {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.archetype-value {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text);
}

.tier-badge {
  font-size: 0.6875rem;
  font-weight: 600;
}

.team-logo-fallback {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.hero-panel .team-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}

.suspect-badges {
  text-align: center;
  margin-top: 0.75rem;
  width: 100%;
}

.suspect-tier-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

/* Projection gauge styling */
.projection-gauge-container {
  text-align: center;
}

.projection-gauge-container svg {
  display: block;
  margin: 0 auto;
}

.projection-gauge-container .gauge-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.25rem;
  color: var(--color-text);
}

/* Projection Gauge LOW/HIGH Labels */
.gauge-label-low,
.gauge-label-high {
  fill: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

[data-theme="light"] .gauge-label-low,
[data-theme="light"] .gauge-label-high {
  fill: rgba(0, 0, 0, 0.75);
}

/* Composite gauge styling */
.composite-gauge-container {
  text-align: center;
  margin: 0.75rem 0;
  position: relative;
}

.composite-gauge-container .score-gauge-svg {
  transform: rotate(-90deg);
  display: block;
  margin: 0 auto;
}

.composite-gauge-container .gauge-progress-circle {
  transition: stroke-dasharray 0.5s ease;
}

.composite-gauge-container .composite-score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  pointer-events: none;
}

/* Lineup player header styling */
.lineup-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
  width: 100%;
  flex-wrap: nowrap;
}

.lineup-player-name {
  font-size: 0.875rem;
  font-weight: 600;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lineup-player-pos {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Suspect header styling - match lineup player header */
.suspect-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
  width: 100%;
  flex-wrap: nowrap;
}

.suspect-name {
  font-size: 0.875rem;
  font-weight: 600;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suspect-team-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-basis: auto;
  width: auto;
}

.hero-panel .suspect-team-container .team-logo {
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(11,18,32,0.06);
  flex-shrink: 0;
}

/* Suspect stats - match lineup player stats */
.suspect-stats {
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-top: 0.5rem;
}

.suspect-stats .stat-line {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.25rem 0;
  margin: 0;
}

.suspect-stats .stat-label {
  color: var(--color-text-muted);
  flex-shrink: 0;
  text-transform: uppercase;
  font-size: 0.6875rem;
  font-weight: 500;
}

.suspect-stats .stat-value {
  color: var(--color-text);
  font-weight: 600;
  text-transform: uppercase;
  text-align: right;
  font-size: 0.6875rem;
}

/* Suspect archetype styling */
.suspect-archetype {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

/* Lineup player stats - match suspect stats */
.lineup-player-stats {
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-top: 0.5rem;
}

.lineup-player-stats .stat-line {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.25rem 0;
  margin: 0;
}

.lineup-player-stats .stat-label {
  color: var(--color-text-muted);
  flex-shrink: 0;
  text-transform: uppercase;
  font-size: 0.6875rem;
  font-weight: 500;
}

.lineup-player-stats .stat-value {
  color: var(--color-text);
  font-weight: 600;
  text-transform: uppercase;
  text-align: right;
  font-size: 0.6875rem;
}

/* =============================================================================
   Lineup Player Card Styles (from BlowOutAlert dfs project)
   ============================================================================= */

/* Base player card styling */
.lineup-player-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lineup-player-card:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(99,102,241,0.08));
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(99,102,241,0.2), 0 0 30px rgba(99,102,241,0.1);
  z-index: 10;
}

.lineup-player-card.clickable {
  background: rgba(255,255,255,0.03);
}

.lineup-player-card.clickable:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(99,102,241,0.1));
  border-color: rgba(99,102,241,0.5);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(99,102,241,0.25), 0 0 30px rgba(99,102,241,0.12);
}

/* Player header section */
.lineup-player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.lineup-player-name {
  font-weight: 600;
  color: var(--color-text);
  flex: 1;
  min-width: 0;
}

/* Position text */
.lineup-player-pos {
  color: var(--color-text-muted);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* Stats container and individual stat lines */
.lineup-player-stats {
  font-size: 0.65rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* Scoped to lineup cards only */
.lineup-player-card .lineup-player-stats .stat-line {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.lineup-player-card .lineup-player-stats .stat-line:hover {
  transform: scale(1.12);
  background: rgba(99, 102, 241, 0.15);
}

.lineup-player-card .lineup-player-stats .stat-label {
  color: var(--color-text-muted);
  flex-shrink: 0;
  text-transform: uppercase;
}

.lineup-player-card .lineup-player-stats .stat-value {
  color: var(--color-text);
  font-weight: 500;
  text-transform: uppercase;
  text-align: right;
}

/* Hero panel adaptation - remove nested card styling since hero-panel is already a card */
.hero-panel .lineup-player-header,
.hero-panel .lineup-player-stats {
  background: transparent;
  border: none;
  padding: 0;
}

.hero-panel .lineup-player-header {
  text-align: left;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

.hero-panel .lineup-player-name {
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-panel .composite-gauge-container {
  text-align: center;
  margin: 1rem auto;
}

.hero-panel .lineup-player-pos {
  font-size: 0.6875rem;
}

.hero-panel .lineup-player-stats {
  font-size: 0.6875rem;
  margin-top: 0.5rem;
  text-align: left;
}

.hero-panel .lineup-player-stats .stat-line {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.25rem 0;
  margin: 0;
}

.hero-panel .lineup-player-stats .stat-label {
  color: var(--color-text-muted);
  flex-shrink: 0;
  text-transform: uppercase;
  font-size: 0.6875rem;
  font-weight: 500;
}

.hero-panel .lineup-player-stats .stat-value {
  color: var(--color-text);
  font-weight: 600;
  text-transform: uppercase;
  text-align: right;
  font-size: 0.6875rem;
}

/* Composite Score Gauge */
.composite-gauge-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.75rem 0;
  position: relative;
}

.score-gauge-svg {
  width: 100px;
  height: 100px;
}

.gauge-bg-circle,
.gauge-progress-circle {
  transition: all 0.5s ease;
}

.composite-score-text {
  position: absolute;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Ensure content fits within card */
.hero-panel .flex-between-mt0 {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem;
}

/* Matchup Verdict Badges */
.matchup-verdict {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.matchup-verdict-very-positive {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.matchup-verdict-positive {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.matchup-verdict-neutral {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.matchup-verdict-negative {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.matchup-verdict-very-negative {
  background: rgba(220, 38, 38, 0.2);
  color: #ef4444;
  border: 1px solid rgba(220, 38, 38, 0.4);
}

/* Game Quality Verdict Display */
.veredict-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.veredict-alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  padding: 0.75rem;
}

.veredict-alert-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 0.35rem;
}

.veredict-alert-text {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.quality-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.quality-badge-elite {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.quality-badge-strong {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.quality-badge-average {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.quality-badge-below {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.quality-badge-poor {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.quality-details {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.veredict-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.veredict-section-header {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.veredict-section-header.pros {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border-left: 2px solid #22c55e;
}

.veredict-section-header.cons {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-left: 2px solid #ef4444;
}

.veredict-section-header.notes {
  background: rgba(156, 163, 175, 0.1);
  color: #9ca3af;
  border-left: 2px solid #9ca3af;
}

.veredict-item {
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--color-text-secondary);
  padding-left: 0.5rem;
}

/* Matchup Insight Items */
.matchup-insight-positive {
  color: #22c55e;
}

.matchup-insight-negative {
  color: #ef4444;
}

.matchup-insight-neutral {
  color: #f59e0b;
}

.matchup-insight-item {
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.35rem;
  border-radius: 4px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.matchup-insight-item-positive {
  background: rgba(34, 197, 94, 0.08);
  border-left: 2px solid rgba(34, 197, 94, 0.4);
}

.matchup-insight-item-negative {
  background: rgba(239, 68, 68, 0.08);
  border-left: 2px solid rgba(239, 68, 68, 0.4);
}

.matchup-insight-item-neutral {
  background: rgba(245, 158, 11, 0.08);
  border-left: 2px solid rgba(245, 158, 11, 0.4);
}

.matchup-insight-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.matchup-insight-icon {
  font-size: 0.875rem;
}

.matchup-insight-title {
  font-weight: 700;
}

.matchup-insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

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

.matchup-insight-section {
  display: flex;
  flex-direction: column;
}

.verdict-reasoning-text {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border-left: 2px solid var(--color-primary);
}

/* =============================================================================
   Notification Preferences
   ============================================================================= */

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
}

.checkbox-label:hover {
  background-color: rgba(129, 140, 248, 0.08);
}

/* Hide default checkbox */
.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:hover {
  border-color: rgba(129, 140, 248, 0.6);
  background-color: rgba(129, 140, 248, 0.1);
}

/* Focus state for accessibility */
.checkbox-label input[type="checkbox"]:focus {
  outline: none;
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

/* Checked state */
.checkbox-label input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  border-color: #818cf8;
}

/* Checkmark */
.checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 1;
  animation: checkmark 0.3s ease;
}

@keyframes checkmark {
  0% {
    transform: rotate(45deg) scale(0);
    opacity: 0;
  }
  50% {
    transform: rotate(45deg) scale(1.2);
  }
  100% {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }
}

.checkbox-label span {
  font-size: 14px;
  font-weight: 500;
  color: #e5e7eb;
  transition: color 0.2s ease;
}

.checkbox-label:hover span {
  color: #f3f4f6;
}

/* Disabled state */
.checkbox-label input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.02);
}

.checkbox-label input[type="checkbox"]:disabled + span {
  color: #6b7280;
  cursor: not-allowed;
}

.checkbox-label:has(input[type="checkbox"]:disabled) {
  cursor: not-allowed;
}

.checkbox-label:has(input[type="checkbox"]:disabled):hover {
  background-color: transparent;
}

