/**
 * Carib Live Results — Luxury Dark Sports Timing Design System
 * Caribbean Cyber-Sport Aesthetic: Midnight Indigo, Electric Cyan, Neon Magenta, Championship Gold
 * Optimized for mobile, tablet, and high-DPI desktop
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Brand Core Colors */
  --bg-dark: #040814;
  --bg-surface: #0a1128;
  --bg-card: rgba(13, 22, 48, 0.75);
  --bg-card-hover: rgba(22, 36, 75, 0.85);
  --bg-glass: rgba(10, 17, 40, 0.65);
  --bg-glass-elevated: rgba(16, 29, 66, 0.82);

  /* Primary Neon Accents */
  --cyan: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.4);
  --cyan-dark: #4facfe;
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);

  /* Secondary Accents */
  --coral: #ff2a6d;
  --coral-glow: rgba(255, 42, 109, 0.45);
  --gold: #ffbe0b;
  --gold-glow: rgba(255, 190, 11, 0.35);
  --emerald: #05ffa1;
  --emerald-glow: rgba(5, 255, 161, 0.35);
  --purple: #7928ca;
  --purple-gradient: linear-gradient(135deg, #ff2a6d 0%, #7928ca 100%);

  /* Borders & Dividers */
  --border: rgba(0, 242, 254, 0.16);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 242, 254, 0.65);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  /* Shadows & Elevations */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
  --shadow-glow: 0 0 35px var(--cyan-glow);
  --shadow-coral-glow: 0 0 35px var(--coral-glow);

  /* Layout */
  --max-w: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 15% 10%, rgba(0, 242, 254, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 85% 25%, rgba(121, 40, 202, 0.18) 0%, transparent 50%),
              radial-gradient(circle at 50% 80%, rgba(255, 42, 109, 0.08) 0%, transparent 50%),
              var(--bg-dark);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere Grid */
.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

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

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-coral {
  background: linear-gradient(135deg, #ff2a6d 0%, #ffbe0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 42, 109, 0.16);
  border: 1px solid rgba(255, 42, 109, 0.4);
  color: #ff6b95;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-live .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral);
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.badge-upcoming {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 190, 11, 0.12);
  border: 1px solid rgba(255, 190, 11, 0.35);
  color: #ffd166;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.badge-completed {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(5, 255, 161, 0.12);
  border: 1px solid rgba(5, 255, 161, 0.35);
  color: #05ffa1;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 8, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(4, 8, 20, 0.95);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.35));
  transition: var(--transition);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 18px rgba(0, 242, 254, 0.6));
}

.main-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.main-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

.main-nav-links a:hover,
.main-nav-links a.active {
  color: var(--cyan);
}

.main-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.main-nav-links a:hover::after,
.main-nav-links a.active::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #040814;
  box-shadow: 0 4px 18px var(--cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.6);
  color: #000;
}

.btn-live-pulse {
  background: linear-gradient(135deg, #ff2a6d 0%, #ff5e3a 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--coral-glow);
  position: relative;
  overflow: hidden;
}

.btn-live-pulse:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 42, 109, 0.7);
  color: #fff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.1rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-pill-badge i {
  color: var(--cyan);
  font-size: 0.9rem;
}

.hero-pill-badge span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.hero-title {
  font-size: 3.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-features-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-feature-item i {
  color: var(--emerald);
  font-size: 1rem;
}

/* Hero Live Scoreboard Preview Card */
.live-preview-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.live-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.preview-event-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.preview-event-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.preview-score-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.preview-score-table th {
  text-align: left;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.preview-score-table td {
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.preview-score-table tr.winner-row {
  background: rgba(0, 242, 254, 0.06);
}

.place-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.place-1 { background: #ffd700; color: #000; box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.place-2 { background: #c0c0c0; color: #000; }
.place-3 { background: #cd7f32; color: #fff; }

.athlete-name {
  font-weight: 600;
  color: var(--text-main);
}

.athlete-country {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.finish-time {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--cyan);
}

.live-stream-sync-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.sync-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--emerald);
  font-family: var(--font-mono);
}

/* Live Ticker Strip */
.live-ticker-strip {
  background: rgba(10, 17, 40, 0.95);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: tickerSlide 35s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.ticker-item strong {
  color: var(--text-main);
}

.ticker-time {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-weight: 700;
}

/* Section Common Styling */
.section-wrapper {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Meet Filter Controls */
.meet-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.filter-tab.active {
  background: var(--primary-gradient);
  color: #040814;
  box-shadow: 0 2px 12px var(--cyan-glow);
}

.meet-search-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(4, 8, 20, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.1rem;
  min-width: 260px;
  transition: var(--transition);
}

.meet-search-box:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 14px var(--cyan-glow);
}

.meet-search-box input {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 0.88rem;
  outline: none;
  width: 100%;
}

.meet-search-box i {
  color: var(--text-subtle);
}

/* Meet Grid & Cards */
.meets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.meet-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.meet-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px var(--cyan-glow);
  background: var(--bg-card-hover);
}

.meet-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.meet-icon-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.meet-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.meet-card:hover .meet-card-title {
  color: var(--cyan);
}

.meet-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.meet-meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.meet-meta-item i {
  color: var(--cyan);
  width: 16px;
  text-align: center;
}

.meet-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.meet-venue-badge {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}

/* Direct AthleticLive Link Card (Banner) */
.results-direct-banner {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(121, 40, 202, 0.18) 100%),
              var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin: 4rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.results-direct-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.direct-banner-text h3 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.direct-banner-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 20px var(--cyan-glow);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0.1) 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-box h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Timing Tech Strip / Partners */
.tech-strip {
  background: rgba(10, 17, 40, 0.7);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
}

.tech-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  opacity: 0.85;
}

.tech-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.tech-badge-item i {
  color: var(--cyan);
  font-size: 1.4rem;
}

.tech-badge-item:hover {
  color: var(--text-main);
  opacity: 1;
  transform: translateY(-2px);
}

/* Meet Directors / Quote Section */
.director-quote-section {
  background: radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.1) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(255, 42, 109, 0.08) 0%, transparent 60%),
              var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5.5rem 0;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.quote-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.25rem;
}

.quote-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.quote-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.quote-check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-main);
}

.quote-check-list li i {
  color: var(--emerald);
  font-size: 1.1rem;
}

.quote-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.quote-form-card h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quote-form-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: rgba(4, 8, 20, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300f2fe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

/* Footer */
.site-footer {
  background: #02040a;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 1.2rem 0 1.5rem;
  max-width: 340px;
}

.social-links-row {
  display: flex;
  gap: 0.75rem;
}

.social-link-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.social-link-btn:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 242, 254, 0.1);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--cyan);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-subtle);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-subtle);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-layout,
  .quote-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav-links,
  .header-cta-group .btn-outline {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .results-direct-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .meets-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Athletic.net API Integration & Month Filter Tabs
   ========================================================================== */
.calendar-source-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.4rem;
  margin-bottom: 1.5rem;
}

.calendar-source-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.calendar-source-info i {
  color: var(--cyan);
  font-size: 1.1rem;
}

.calendar-source-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-athletic-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-athletic-link:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-sync-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #05ffa1 0%, #00b4d8 100%);
  color: #040814;
  border: none;
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-sync-trigger:hover {
  box-shadow: 0 0 16px var(--emerald-glow);
  transform: translateY(-1px);
}

/* Month Navigation Strip */
.month-tabs-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) rgba(255,255,255,0.05);
}

.month-tabs-list {
  display: inline-flex;
  gap: 0.5rem;
}

.month-tab-btn {
  background: rgba(13, 22, 48, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.month-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--cyan);
  background: rgba(0, 242, 254, 0.08);
}

.month-tab-btn.active {
  background: var(--cyan);
  color: #040814;
  border-color: var(--cyan);
  box-shadow: 0 0 14px var(--cyan-glow);
}

/* Calendar Add/Sync Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 8, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.modal-overlay.open,
.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease-out forwards;
}

.modal-content-card {
  background: #0a1128;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--cyan-glow);
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--coral);
}

.modal-field {
  margin-bottom: 1rem;
}

.modal-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-input, .modal-select {
  width: 100%;
  background: rgba(4, 8, 20, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.modal-input:focus, .modal-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.modal-btn-row {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Meet Count Counter Pill */
.meets-counter-pill {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-left: 0.5rem;
}

/* ==========================================================================
   Athlete Leaderboard & FAT Marks Matrix Styles
   ========================================================================== */
.athlete-section-wrapper {
  padding: 5rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(5, 255, 161, 0.04) 0%, transparent 60%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.athlete-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
  background: rgba(13, 22, 48, 0.7);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
}

.country-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.country-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.country-pill-btn:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.4);
  color: var(--text-main);
  transform: translateY(-1px);
}

.country-pill-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(5, 255, 161, 0.25));
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 14px var(--cyan-glow);
}

.athlete-search-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.athlete-search-input-box {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.athlete-search-input-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.athlete-search-input-box input {
  width: 100%;
  background: rgba(4, 8, 20, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.athlete-search-input-box input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 12px rgba(5, 255, 161, 0.3);
}

.athlete-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.athlete-card {
  background: linear-gradient(135deg, rgba(16, 26, 56, 0.75), rgba(9, 14, 30, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.athlete-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  opacity: 0;
  transition: var(--transition);
}

.athlete-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 255, 161, 0.35);
  box-shadow: 0 12px 30px rgba(5, 255, 161, 0.12);
}

.athlete-card:hover::before {
  opacity: 1;
}

.athlete-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.athlete-rank-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.05rem;
}

.athlete-rank-badge.rank-1 {
  background: linear-gradient(135deg, #ffd166, #ffbe0b);
  color: #1a1500;
  box-shadow: 0 0 16px rgba(255, 209, 102, 0.5);
}

.athlete-rank-badge.rank-2 {
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
  color: #0f172a;
  box-shadow: 0 0 12px rgba(226, 232, 240, 0.4);
}

.athlete-rank-badge.rank-3 {
  background: linear-gradient(135deg, #f97316, #b45309);
  color: #fff;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}

.athlete-rank-badge.rank-other {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--cyan);
}

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

.athlete-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.athlete-team {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.athlete-mark-hero {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mark-event-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.mark-digits {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--emerald);
  line-height: 1;
}

.badge-pr {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(255, 190, 11, 0.3));
  border: 1px solid #ffd166;
  color: #ffd166;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 8px rgba(255, 209, 102, 0.3);
}

.badge-wind {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.athlete-meta-strip {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.athlete-meta-strip div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.athlete-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  gap: 0.75rem;
}

.btn-cert-verify {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-cert-verify:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

