/* ====================================
   Pacific Hook — Sportfishing Design System
   ==================================== */

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

/* ===== CSS RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== CSS VARIABLES ===== */
:root {
  /* Ocean Blues */
  --ocean-deep: #0A1628;
  --ocean-medium: #1E3A5F;
  --ocean-surface: #2563EB;
  --ocean-light: #60A5FA;
  
  /* Teals */
  --teal-deep: #0D4A4A;
  --teal-medium: #0891B2;
  --teal-light: #22D3EE;
  
  /* Coral/Sunset */
  --coral: #F97316;
  --coral-light: #FB923C;
  --amber: #F59E0B;
  
  /* Beach */
  --sand: #FEF3C7;
  --driftwood: #D4A574;
  --shell: #FECDD3;
  
  /* Neutrals */
  --fog: #F1F5F9;
  --mist: #E2E8F0;
  --steel: #94A3B8;
  --slate: #475569;
  --storm: #1E293B;
  --sea-foam: #FFFFFF;
  --ink: #0F172A;
  
  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  
  /* Card & Border */
  --card-bg: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  
  /* Semantic */
  --success: #10B981;
  --danger: #EF4444;
  --live: #06B6D4;
  --upcoming: #8B5CF6;
  
  /* Fish Badges */
  --fish-tuna: #1E40AF;
  --fish-yellowtail: #EAB308;
  --fish-rockfish: #DC2626;
  --fish-bass: #16A34A;
  --fish-halibut: #92400E;
  --fish-marlin: #7C3EDC;
  
  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-toast: 400;
}

/* ===== LIGHT THEME (Coastal) ===== */
[data-theme="light"] {
  /* Ocean Blues - Lighter */
  --ocean-deep: #F0F9FF;
  --ocean-medium: #E0F2FE;
  --ocean-surface: #0284C7;
  --ocean-light: #0369A1;
  
  /* Teals */
  --teal-deep: #ECFEFF;
  --teal-medium: #0891B2;
  --teal-light: #0E7490;
  
  /* Coral/Sunset */
  --coral: #EA580C;
  --coral-light: #F97316;
  --amber: #D97706;
  
  /* Beach */
  --sand: #FFFBEB;
  --driftwood: #B45309;
  --shell: #FEE2E2;
  
  /* Neutrals - Coastal Feel */
  --fog: #FFFFFF;
  --mist: #F1F5F9;
  --steel: #475569;
  --slate: #334155;
  --storm: #1E3A5F;
  --sea-foam: #F0F9FF;
  --ink: #1E3A5F;
  
  /* Text Colors */
  --text-primary: #1E293B;
  --text-secondary: #475569;
  
  /* Card & Border */
  --card-bg: #FFFFFF;
  --border: rgba(0, 0, 0, 0.08);
  
  /* Semantic - Slightly adjusted */
  --success: #059669;
  --danger: #DC2626;
  --live: #0891B2;
  --upcoming: #7C3AED;
  
  /* Fish Badges - Slightly adjusted */
  --fish-tuna: #2563EB;
  --fish-yellowtail: #CA8A04;
  --fish-rockfish: #B91C1C;
  --fish-bass: #15803D;
  --fish-halibut: #A16207;
  --fish-marlin: #6D28D9;
}

/* ===== BASE STYLES ===== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ocean-deep);
  color: var(--sea-foam);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Ocean wave background animation - Dark Mode */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(8, 145, 178, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--ocean-deep) 0%, #0D1F3C 100%);
  z-index: -1;
  pointer-events: none;
  transition: background 0.3s ease;
}

/* Light mode background */
[data-theme="light"] body::before {
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(8, 145, 178, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 100%);
}

/* Light mode hero */
[data-theme="light"] .hero-bg::after {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.65) 100%
  );
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0891B2 0%, #0369A1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero-subtitle {
  color: var(--slate);
}

a {
  color: var(--teal-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--coral);
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sea-foam);
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
  color: var(--ink);
}

[data-theme="light"] body {
  color: var(--slate);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--ocean-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

/* ===== NAVIGATION ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md) 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--sea-foam);
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--amber) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--steel);
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-sm) 0;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--coral);
  border-radius: var(--radius-full);
}

[data-theme="light"] .nav-links a {
  color: var(--slate);
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  color: var(--storm);
}

[data-theme="light"] .nav-logo {
  color: var(--storm);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.375rem;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--storm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: var(--z-dropdown);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  color: var(--steel);
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--sea-foam);
}

[data-theme="light"] .nav-dropdown-menu {
  background: white;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .nav-dropdown-menu a {
  color: var(--slate);
}

[data-theme="light"] .nav-dropdown-menu a:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--ocean-surface);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--sea-foam);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-sm);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
  color: var(--sea-foam);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  color: var(--sea-foam);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--sea-foam);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--sea-foam);
}

[data-theme="light"] .btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  color: var(--storm);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.3);
  color: var(--storm);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal-medium) 0%, var(--teal-light) 100%);
  color: var(--sea-foam);
  box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
  color: var(--sea-foam);
}

.btn-danger {
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
  background: rgba(220, 38, 38, 0.3);
  border-color: rgba(220, 38, 38, 0.5);
  color: #fca5a5;
}

[data-theme="light"] .btn-danger {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.2);
}

[data-theme="light"] .btn-danger:hover {
  background: rgba(220, 38, 38, 0.2);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ===== CARDS ===== */
.card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-fast);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .card:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.card-image {
  margin: calc(-1 * var(--space-lg));
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--ocean-medium);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}

.card-subtitle {
  color: var(--steel);
  font-size: 0.875rem;
}

.card-body {
  color: var(--mist);
  font-size: 0.9375rem;
}

.card-footer {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-live {
  background: rgba(6, 182, 212, 0.2);
  color: var(--live);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--live);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

.badge-hot {
  background: rgba(249, 115, 22, 0.2);
  color: var(--coral);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

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

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

.badge-fish {
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
}

.badge-tuna { background: var(--fish-tuna); color: white; }
.badge-yellowtail { background: var(--fish-yellowtail); color: var(--ink); }
.badge-rockfish { background: var(--fish-rockfish); color: white; }
.badge-bass { background: var(--fish-bass); color: white; }
.badge-halibut { background: var(--fish-halibut); color: white; }
.badge-marlin { background: var(--fish-marlin); color: white; }

/* ===== PAGE HEADER LIGHT MODE ===== */
[data-theme="light"] .page-header {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .page-header h1 {
  color: var(--storm);
}

[data-theme="light"] .page-header p {
  color: var(--slate);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== LOADING PLACEHOLDER ===== */
.loading-placeholder {
  padding: 2rem;
  text-align: center;
  color: var(--steel);
  font-size: 0.875rem;
  animation: pulse 1.5s ease-in-out infinite;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--mist);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--sea-foam);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--teal-medium);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
}

.form-input::placeholder {
  color: var(--steel);
}

[data-theme="light"] .form-label {
  color: var(--slate);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select {
  color: var(--storm);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .form-input::placeholder {
  color: var(--steel);
}

.form-select {
  padding-right: 2.5rem;
}

[data-theme="light"] .form-select {
  background-image: none;
}

[data-theme="light"] .form-select option {
  background: white;
  color: var(--storm);
  padding: 0.5rem;
}

/* ===== TABLES ===== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.table th {
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-display);
  font-weight: 600;
  text-align: left;
  background: rgba(15, 23, 42, 0.8);
  color: var(--mist);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .table-wrapper {
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .table th {
  background: rgba(241, 245, 249, 0.9);
  color: var(--storm);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .table td {
  color: var(--slate);
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .table tbody tr:hover {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.table-mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.35) 0%,
    rgba(10, 22, 40, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  margin-bottom: var(--space-md);
  font-size: 2.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--mist);
  margin-bottom: 0;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.landing-counts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* ===== FISH REPORT CARD ===== */
.report-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

[data-theme="light"] .report-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .report-card-title {
  color: var(--storm);
}

[data-theme="light"] .report-card-excerpt {
  color: var(--slate);
}

.report-card-image {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ocean-medium);
}

.report-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-card-content {
  flex: 1;
}

.report-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
  color: var(--steel);
}

.report-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.report-card-excerpt {
  color: var(--mist);
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.report-card-fish {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.report-card-audio {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--live);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.report-card-audio:hover {
  background: rgba(6, 182, 212, 0.3);
}

/* ===== TRIP CARD ===== */
.trip-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-fast);
}

.trip-card:hover {
  border-color: var(--coral);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

[data-theme="light"] .trip-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .trip-card:hover {
  border-color: var(--coral);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}

[data-theme="light"] .trip-card-boat {
  color: var(--storm);
}

[data-theme="light"] .trip-card-landing {
  color: var(--steel);
}

.trip-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.trip-card-boat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.trip-card-landing {
  font-size: 0.875rem;
  color: var(--steel);
}

.trip-card-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.trip-card-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.trip-card-detail-label {
  font-size: 0.75rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trip-card-detail-value {
  font-family: var(--font-display);
  font-weight: 600;
}

[data-theme="light"] .trip-card-detail-value {
  color: var(--storm);
}

.trip-card-footer {
  display: flex;
  gap: var(--space-sm);
}

.trip-card-footer .btn {
  flex: 1;
}

/* ===== BOAT CARD ===== */
.boat-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.boat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .boat-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .boat-card:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .boat-card-landing {
  color: var(--steel);
}

.boat-card-image {
  aspect-ratio: 16/10;
  background: var(--ocean-medium);
  overflow: hidden;
}

.boat-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.boat-card:hover .boat-card-image img {
  transform: scale(1.05);
}

.boat-card-content {
  padding: var(--space-lg);
}

.boat-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.boat-card-landing {
  color: var(--steel);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.boat-card-stats {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.boat-card-stat {
  display: flex;
  flex-direction: column;
}

.boat-card-stat-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--teal-light);
}

.boat-card-stat-label {
  font-size: 0.75rem;
  color: var(--steel);
}

/* ===== FISH COUNT TABLE ===== */
.fish-count-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: var(--space-xs) var(--space-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  background: rgba(8, 145, 178, 0.2);
  border-radius: var(--radius-sm);
  color: var(--teal-light);
}

.fish-count-high {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.fish-count-zero {
  background: rgba(239, 68, 68, 0.1);
  color: var(--steel);
}

[data-theme="light"] .fish-count-highlight {
  background: rgba(8, 145, 178, 0.15);
}

[data-theme="light"] .fish-count-high {
  background: rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .fish-count-zero {
  background: rgba(239, 68, 68, 0.1);
}

/* ===== WEATHER WIDGET ===== */
.weather-widget {
  background: linear-gradient(135deg, var(--ocean-medium) 0%, var(--teal-deep) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.weather-widget-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--mist);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.weather-widget-icon {
  font-size: 1.25rem;
}

[data-theme="light"] .weather-widget {
  background: linear-gradient(135deg, #E0F2FE 0%, #ECFEFF 100%);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .weather-widget-title {
  color: var(--storm);
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(10, 22, 40, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
  transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .footer {
  background: rgba(241, 245, 249, 0.95);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer-column-title {
  color: var(--storm);
}

[data-theme="light"] .footer-links a {
  color: var(--slate);
}

[data-theme="light"] .footer-links a:hover {
  color: var(--ocean-surface);
}

[data-theme="light"] .footer-bottom {
  color: var(--slate);
}

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

.footer-brand {
  max-width: 300px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-brand-desc {
  color: var(--steel);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--steel);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--coral);
  color: var(--sea-foam);
}

.footer-column-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mist);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--steel);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--steel);
  font-size: 0.875rem;
}

/* ===== LIVE INDICATOR ===== */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--live);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.live-indicator-dot {
  width: 8px;
  height: 8px;
  background: var(--live);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-title-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.98);
  z-index: var(--z-modal);
  padding: var(--space-xl);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  border: none;
  color: var(--sea-foam);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu-links {
  list-style: none;
  margin-top: var(--space-3xl);
}

.mobile-menu-links a {
  display: block;
  padding: var(--space-md) 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--sea-foam);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .mobile-menu-close {
  color: var(--storm);
}

[data-theme="light"] .mobile-menu-links a {
  color: var(--storm);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  
  .hero-content { padding: var(--space-xl) 0; }
  
  /* Disable parallax on mobile for performance */
  .hero-bg {
    background-attachment: scroll;
    inset: 0;
    transform: none !important;
  }
  
  .report-card { grid-template-columns: 1fr; }
  .report-card-image { width: 100%; height: 200px; }
  
  .trip-card-details { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
  
  .section-header { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
}

/* Page Header Section */
.page-header {
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 2rem 0;
}

[data-theme="light"] .page-header {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(8, 145, 178, 0.12) 100%);
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .page-header h1 {
  color: var(--ink);
}

[data-theme="light"] .page-header p {
  color: var(--slate);
}

/* Filter Bar Section */
.filter-bar {
  background: rgba(30, 41, 59, 0.5);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

[data-theme="light"] .filter-bar {
  background: rgba(241, 245, 249, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Content Card */
.content-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

[data-theme="light"] .content-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Quick View Section */
.quick-view-section {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

[data-theme="light"] .quick-view-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(8, 145, 178, 0.08) 100%);
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.quick-view-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.quick-view-row .quick-view-panel {
  flex: 1;
  min-width: 0;
}

.quick-view-panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quick-view-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.quick-view-icon {
  font-size: 0.875rem;
}

.quick-view-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 120px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}


.quick-view-items::-webkit-scrollbar {
  width: 6px;
}

.quick-view-items::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.quick-view-items::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.quick-view-items::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .quick-view-items {
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

[data-theme="light"] .quick-view-items::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .quick-view-items::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .quick-view-items::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

.quick-view-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: inherit;
  transition: background var(--transition-fast);
}

a.quick-view-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .quick-view-item {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] a.quick-view-item:hover {
  background: rgba(0, 0, 0, 0.06);
}

.quick-view-count {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.quick-view-boat {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.quick-view-detail {
  font-size: 0.75rem;
  color: var(--steel);
}

/* Fish Reports Scroll Container */
.fish-reports-scroll {
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.fish-reports-scroll::-webkit-scrollbar {
  width: 6px;
}

.fish-reports-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.fish-reports-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.fish-reports-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .fish-reports-scroll {
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

[data-theme="light"] .fish-reports-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .fish-reports-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .fish-reports-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* ===== COMPACT REPORT ROWS ===== */
.report-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: inherit;
  transition: background var(--transition-fast);
  border-radius: var(--radius-sm);
}

.report-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.report-row:last-child {
  border-bottom: none;
}

[data-theme="light"] .report-row {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .report-row:hover {
  background: rgba(37, 99, 235, 0.04);
}

/* Status dot */
.report-row-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.report-row-live {
  background: var(--live);
  box-shadow: 0 0 6px rgba(6, 182, 212, 0.5);
  animation: pulse 2s infinite;
}

.report-row-hot {
  background: var(--coral);
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.4);
}

.report-row-default {
  background: var(--steel);
  opacity: 0.5;
}

/* Body */
.report-row-body {
  flex: 1;
  min-width: 0;
}

.report-row-main {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  line-height: 1.3;
}

.report-row-boat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--sea-foam);
  flex-shrink: 0;
}

[data-theme="light"] .report-row-boat {
  color: var(--storm);
}

.report-row-title {
  font-size: 0.875rem;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .report-row-title {
  color: var(--slate);
}

.report-row:hover .report-row-title {
  color: var(--teal-light);
}

[data-theme="light"] .report-row:hover .report-row-title {
  color: var(--ocean-surface);
}

/* Meta line: fish species + time */
.report-row-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.report-row-fish-inline {
  font-size: 0.7rem;
  color: var(--steel);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-row-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--steel);
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Trip Countdown Badge */
.trip-countdown-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.trip-countdown-timer {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--coral);
  background: rgba(249, 115, 22, 0.12);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.trip-countdown-timer.urgent {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.15);
  animation: countdownPulse 1s ease-in-out infinite;
}

.trip-countdown-timer.departed {
  color: var(--steel);
  background: rgba(148, 163, 184, 0.15);
  animation: none;
}

@keyframes countdownPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ===== SIDEBAR PANEL ===== */
.sidebar-panel {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

[data-theme="light"] .sidebar-panel {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
}

.sidebar-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .sidebar-panel-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.sidebar-panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-panel-link {
  font-size: 0.75rem;
  color: var(--steel);
  text-decoration: none;
}

.sidebar-panel-link:hover {
  color: var(--teal-light);
}

.sidebar-trips-scroll {
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.sidebar-trips-scroll::-webkit-scrollbar {
  width: 6px;
}

.sidebar-trips-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.sidebar-trips-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.sidebar-trips-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .sidebar-trips-scroll {
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

[data-theme="light"] .sidebar-trips-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .sidebar-trips-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .sidebar-trips-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* ===== MOBILE SIDE-BY-SIDE ===== */
@media (max-width: 768px) {
  .quick-view-grid { grid-template-columns: 1fr; }

  .quick-view-row {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .quick-view-items {
    max-height: 100px;
  }

  .main-layout {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .section-header {
    margin-bottom: 0.75rem !important;
  }

  .section-title {
    font-size: 0.9375rem !important;
  }

  .fish-reports-scroll,
  .sidebar-trips-scroll {
    max-height: 320px;
  }

  .report-row {
    padding: 0.5rem 0.4rem;
    gap: 0.4rem;
  }

  .report-row-boat {
    font-size: 0.75rem;
  }

  .report-row-title {
    font-size: 0.6875rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .report-row-fish-inline {
    font-size: 0.625rem;
  }

  .report-row-time {
    font-size: 0.625rem;
  }

  .sidebar-panel {
    padding: 0.75rem;
  }

  .sidebar-panel-header {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .sidebar-panel-title {
    font-size: 0.875rem;
  }

  .sidebar-panel-link {
    font-size: 0.65rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

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

@media (max-width: 480px) {
  .main-layout {
    grid-template-columns: 1fr !important;
  }

  .fish-reports-scroll,
  .sidebar-trips-scroll {
    max-height: 240px;
  }
}

/* Inline grid responsiveness */
@media (max-width: 1024px) {
  .two-col-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .two-col-grid { grid-template-columns: 1fr !important; }
  .five-col { grid-template-columns: repeat(2, 1fr) !important; }
  .weather-grid { grid-template-columns: 1fr !important; }
  .species-tags { gap: 0.5rem !important; }
  .hero { min-height: 35vh; }
  .hero-title { font-size: 1.75rem; }
  .landing-counts-grid { grid-template-columns: 1fr !important; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .landing-counts-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.25rem;
  color: var(--sea-foam);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .theme-toggle {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.05);
  color: var(--storm);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* ===== TOGGLE SWITCHES ===== */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  bottom: 2px;
  background: var(--steel);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}
.toggle-switch input:checked + .toggle-teal { background: var(--teal-light); border-color: var(--teal-light); }
.toggle-switch input:checked + .toggle-teal::before { transform: translateX(18px); background: #fff; }
.toggle-switch input:checked + .toggle-orange { background: var(--amber); border-color: var(--amber); }
.toggle-switch input:checked + .toggle-orange::before { transform: translateX(18px); background: #fff; }
.toggle-switch input:checked + .toggle-cyan { background: var(--teal-light); border-color: var(--teal-light); }
.toggle-switch input:checked + .toggle-cyan::before { transform: translateX(18px); background: #fff; }

/* ===== UTILITY CLASSES ===== */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.p-1 { padding: var(--space-md); }
.p-2 { padding: var(--space-xl); }
.gap-1 { gap: var(--space-md); }
.gap-2 { gap: var(--space-xl); }

/* ===== LEAFLET MAP OVERRIDES ===== */
.leaflet-container {
  font-family: var(--font-body);
}

.leaflet-control-zoom a {
  background: var(--ocean-medium) !important;
  color: var(--sea-foam) !important;
  border-color: rgba(255,255,255,0.1) !important;
}

.leaflet-control-zoom a:hover {
  background: var(--ocean-surface) !important;
}

.leaflet-control-attribution {
  background: rgba(0,0,0,0.5) !important;
  color: var(--steel) !important;
  font-size: 0.625rem !important;
}

.leaflet-control-attribution a {
  color: var(--teal-light) !important;
}

.leaflet-popup-content-wrapper {
  background: var(--ocean-medium);
  color: var(--sea-foam);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.leaflet-popup-tip {
  background: var(--ocean-medium);
}

[data-theme="light"] .leaflet-control-zoom a {
  background: white !important;
  color: var(--storm) !important;
  border-color: rgba(0,0,0,0.1) !important;
}

[data-theme="light"] .leaflet-control-zoom a:hover {
  background: var(--mist) !important;
}

[data-theme="light"] .leaflet-popup-content-wrapper {
  background: white;
  color: var(--storm);
}

[data-theme="light"] .leaflet-popup-tip {
  background: white;
}

/* Leaflet tooltips */
.landing-tooltip {
  background: var(--ocean-medium);
  color: var(--sea-foam);
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-family: var(--font-body);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.landing-tooltip::before {
  border-top-color: var(--ocean-medium);
}

[data-theme="light"] .landing-tooltip {
  background: white;
  color: var(--storm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

[data-theme="light"] .landing-tooltip::before {
  border-top-color: white;
}

/* ===== LOADING STATES ===== */
.sidebar-loading,
.quick-view-loading {
  padding: 1.5rem;
  text-align: center;
  color: var(--steel);
  font-size: 0.8rem;
  font-style: italic;
}

/* ===== HOMEPAGE LAYOUT ===== */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
}

.section-padding {
  padding: 3rem 0;
}

.section-padding-alt {
  padding: 3rem 0;
  background: rgba(15, 23, 42, 0.5);
}

.weather-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.landing-counts-aggregate {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.landing-counts-date {
  font-size: 0.8rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.landing-counts-summary {
  font-size: 1rem;
  color: var(--sea-foam);
}

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

.center-text-margin {
  text-align: center;
  margin-top: 1.5rem;
}

.hero-title {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}
