/* =================================================================
   ORAS Lietuva - Features Styles
   Clothing, Health, Best Hour, Activities, Fishing
   ================================================================= */

/* ================= CLOTHING RECOMMENDATIONS ================= */
.clothing-section {
  background: var(--bg-surface, #18181B);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.clothing-summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 16px;
}

.clothing-layers,
.clothing-accessories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.clothing-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg-base, #09090B);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary, #FAFAFA);
}

.clothing-icon {
  font-size: 16px;
}

.clothing-tips {
  border-top: 1px solid var(--border, rgba(255,255,255,0.1));
  padding-top: 12px;
  margin-top: 12px;
}

.clothing-tip {
  font-size: 14px;
  color: var(--text-secondary, #A1A1AA);
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

.clothing-tip::before {
  content: '💡';
  position: absolute;
  left: 0;
  font-size: 12px;
}

/* ================= OUTFIT RECOMMENDATIONS ================= */
.outfit-card {
  background: var(--bg-surface);
}

.outfit-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.outfit-main {
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent-muted) 0%, transparent 100%);
  border-radius: 12px;
}

.outfit-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.outfit-temp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-surface);
  border-radius: 50%;
  border: 3px solid var(--accent);
}

.outfit-temp-badge.temp-freezing { border-color: #60A5FA; background: rgba(96, 165, 250, 0.15); }
.outfit-temp-badge.temp-cold { border-color: #38BDF8; background: rgba(56, 189, 248, 0.15); }
.outfit-temp-badge.temp-cool { border-color: #22D3EE; background: rgba(34, 211, 238, 0.15); }
.outfit-temp-badge.temp-mild { border-color: #34D399; background: rgba(52, 211, 153, 0.15); }
.outfit-temp-badge.temp-warm { border-color: #FBBF24; background: rgba(251, 191, 36, 0.15); }
.outfit-temp-badge.temp-hot { border-color: #F97316; background: rgba(249, 115, 22, 0.15); }
.outfit-temp-badge.temp-extreme { border-color: #EF4444; background: rgba(239, 68, 68, 0.15); }

.outfit-condition {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.outfit-layers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 400px) {
  .outfit-layers {
    grid-template-columns: 1fr;
  }
}

.outfit-category {
  background: var(--bg-base);
  border-radius: 10px;
  padding: 12px;
}

.outfit-category-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin: 0 0 8px 0;
}

.outfit-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.outfit-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: var(--bg-surface);
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.outfit-item:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.outfit-item.essential {
  background: var(--accent-muted);
  border-color: var(--accent);
}

.outfit-item.optional {
  opacity: 0.7;
  border-style: dashed;
}

.outfit-item-icon {
  font-size: 16px;
  line-height: 1;
}

.outfit-item-name {
  font-size: 13px;
  white-space: nowrap;
}

.outfit-tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: var(--bg-base);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}

.outfit-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.outfit-tip-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.outfit-tip-text {
  flex: 1;
}

/* Weather condition badges */
.outfit-weather-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}

.weather-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg-surface);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.weather-badge.rain { color: #60A5FA; }
.weather-badge.snow { color: #A5B4FC; }
.weather-badge.wind { color: #6EE7B7; }
.weather-badge.sun { color: #FCD34D; }
.weather-badge.fog { color: #9CA3AF; }
.weather-badge.storm { color: #F87171; }

/* ================= HEALTH INDICATORS ================= */
.health-section {
  background: var(--bg-surface, #18181B);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.health-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin: 0 0 16px 0;
}

#health-indicators {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.health-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg-base, #09090B);
}

.health-indicator.health-high {
  border-left: 3px solid #EF4444;
}

.health-indicator.health-medium {
  border-left: 3px solid #F59E0B;
}

.health-indicator.health-low {
  border-left: 3px solid #10B981;
}

.health-icon {
  font-size: 20px;
}

.health-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.health-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary, #FAFAFA);
}

.health-level {
  font-size: 12px;
  color: var(--text-secondary, #A1A1AA);
}

.health-ok {
  text-align: center;
  color: #10B981;
  font-size: 14px;
  padding: 16px;
}

/* ================= BEST HOUR ================= */
.best-hour-section {
  background: linear-gradient(135deg, var(--accent, #0EA5E9) 0%, #06B6D4 100%);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  color: white;
}

.best-hour-section h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
  margin: 0 0 8px 0;
}

#best-hour {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.best-hour-time {
  font-size: 32px;
  font-weight: 700;
}

.best-hour-reason {
  font-size: 14px;
  opacity: 0.9;
}

/* ================= ACTIVITY SUGGESTIONS ================= */
.activities-section {
  background: var(--bg-surface, #18181B);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.activities-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin: 0 0 16px 0;
}

#activity-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.activity-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-base, #09090B);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-primary, #FAFAFA);
  transition: transform 0.2s;
}

.activity-item:hover {
  transform: translateY(-2px);
}

.activity-item span {
  font-size: 18px;
}

/* ================= FISHING INDEX ================= */
.fishing-section {
  background: var(--bg-surface, #18181B);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.fishing-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fishing-section h3::before {
  content: '🎣';
}

#fishing-index {
  text-align: center;
}

.fishing-score {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent, #0EA5E9);
  margin-bottom: 4px;
}

.fishing-status {
  font-size: 14px;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 8px;
}

.fishing-best-time {
  font-size: 12px;
  color: var(--text-secondary, #A1A1AA);
}

/* ================= ERROR STATE ================= */
.error-state {
  text-align: center;
  padding: 40px 20px;
}

.error-icon {
  color: var(--text-secondary, #666);
  margin-bottom: 16px;
}

.error-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary, #1a1a1a);
  margin: 0 0 8px 0;
}

.error-state p {
  font-size: 14px;
  color: var(--text-secondary, #666);
  margin: 0 0 20px 0;
}

/* ================= LOADING STATE ================= */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 20px;
}

.loading-spinner {
  width: 56px;
  height: 56px;
  position: relative;
}

/* Outer ring - Yellow */
.loading-spinner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #FFD700;
  border-right-color: #FFD700;
  animation: spinner-rotate 1s linear infinite;
}

/* Middle ring - Green */
.loading-spinner::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #22C55E;
  border-right-color: #22C55E;
  animation: spinner-rotate-reverse 0.8s linear infinite;
}

/* Inner ring - Red (using child element) */
.loading-spinner span {
  display: block;
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #EF4444;
  border-right-color: #EF4444;
  animation: spinner-rotate 0.6s linear infinite;
}

.loading-state > span {
  font-size: 14px;
  color: var(--text-secondary, #666);
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes spinner-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinner-rotate-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ================= PHASE 5: FEATURE CARDS ================= */
.feature-card {
  background: var(--bg-surface, #18181B);
  border-radius: 16px;
  padding: 20px;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ================= MULTI-ACTIVITY BEST HOURS (5.2) ================= */
.best-hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.best-hour-item {
  background: var(--bg-base, #09090B);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.best-hour-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.bh-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.bh-activity {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

.bh-time {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent, #0EA5E9);
}

.bh-reason {
  font-size: 11px;
  color: var(--text-secondary, #A1A1AA);
  line-height: 1.3;
}

/* ================= HEALTH BAROMETER (5.3) ================= */
.health-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Positive indicators (mood, sports, sleep) */
.health-positive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.health-positive-item {
  background: var(--bg-base, #09090B);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.health-positive-item.health-good {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.health-positive-item.health-medium {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.health-positive-item.health-bad {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.hp-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.hp-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.hp-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

.hp-score {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent, #0EA5E9);
}

.health-positive-item.health-good .hp-score { color: #10B981; }
.health-positive-item.health-medium .hp-score { color: #F59E0B; }
.health-positive-item.health-bad .hp-score { color: #EF4444; }

.hp-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.hp-bar-fill {
  height: 100%;
  background: var(--accent, #0EA5E9);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.health-positive-item.health-good .hp-bar-fill { background: #10B981; }
.health-positive-item.health-medium .hp-bar-fill { background: #F59E0B; }
.health-positive-item.health-bad .hp-bar-fill { background: #EF4444; }

.hp-factors {
  font-size: 11px;
  color: var(--text-secondary, #A1A1AA);
}

.hp-score-text {
  font-size: 14px !important;
}

.hp-advice {
  font-size: 10px;
  color: var(--text-secondary, #A1A1AA);
  font-style: italic;
  margin-top: 6px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

/* Divider */
.health-divider {
  height: 1px;
  background: var(--border, rgba(255,255,255,0.1));
  margin: 8px 0;
}

/* Risk indicators grid */
.health-risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.health-bar-item {
  background: var(--bg-base, #09090B);
  border-radius: 12px;
  padding: 12px;
  border-left: 4px solid var(--accent, #0EA5E9);
  transition: transform 0.2s;
}

.health-bar-item:hover {
  transform: translateY(-2px);
}

.health-bar-item.health-minimal {
  border-left-color: #10B981;
}

.health-bar-item.health-low {
  border-left-color: #34D399;
}

.health-bar-item.health-medium {
  border-left-color: #F59E0B;
}

.health-bar-item.health-high {
  border-left-color: #EF4444;
}

.hb-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hb-icon {
  font-size: 18px;
}

.hb-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

.hb-level {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.hb-level.level-minimal {
  color: #10B981;
}

.hb-level.level-low {
  color: #34D399;
}

.hb-level.level-medium {
  color: #F59E0B;
}

.hb-level.level-high {
  color: #EF4444;
}

.hb-factors {
  font-size: 10px;
  color: var(--text-secondary, #A1A1AA);
  line-height: 1.3;
}

.hb-extra {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent, #0EA5E9);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--border, rgba(255,255,255,0.1));
}

.hb-advice {
  font-size: 10px;
  color: var(--text-secondary, #A1A1AA);
  font-style: italic;
  margin-top: 6px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.health-loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted, #71717A);
  font-size: 14px;
}

/* ================= HISTORICAL WEATHER (5.4) - EXPANDED ================= */
.historical-section {
  background: var(--bg-base, #09090B);
  border-radius: 16px;
  padding: 20px;
}

/* Header */
.hist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.1));
}

.hist-date {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
}

.hist-season {
  font-size: 13px;
  padding: 4px 12px;
  background: var(--bg-elevated, #18181B);
  border-radius: 20px;
  color: var(--text-secondary, #A1A1AA);
}

/* Near record alert */
.hist-near-record {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  animation: pulse 2s infinite;
}

.hist-near-record.hot {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(251, 146, 60, 0.15) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.hist-near-record.cold {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(147, 197, 253, 0.15) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.hnr-icon {
  font-size: 24px;
}

.hnr-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Main comparison */
.hist-main-comparison {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
  background: var(--bg-elevated, #18181B);
  border-radius: 16px;
  margin-bottom: 16px;
}

.hist-main-comparison.anomaly-high {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hist-main-comparison.anomaly-low {
  background: var(--bg-elevated, #18181B);
}

.hist-current-block,
.hist-norm-block {
  text-align: center;
}

.hist-current-temp,
.hist-norm-temp {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
}

.hist-current-label,
.hist-norm-label {
  font-size: 12px;
  color: var(--text-muted, #71717A);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hist-diff-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  border-radius: 12px;
}

.hist-diff-block.warmer {
  background: rgba(239, 68, 68, 0.15);
}

.hist-diff-block.colder {
  background: rgba(59, 130, 246, 0.15);
}

.hist-diff-block.normal {
  background: rgba(16, 185, 129, 0.15);
}

.hist-diff-icon {
  font-size: 20px;
}

.hist-diff-value {
  font-size: 24px;
  font-weight: 700;
}

.hist-diff-block.warmer .hist-diff-value { color: #F87171; }
.hist-diff-block.colder .hist-diff-value { color: #60A5FA; }
.hist-diff-block.normal .hist-diff-value { color: #34D399; }

.hist-diff-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary, #A1A1AA);
}

/* Thermometer */
.hist-thermometer {
  margin-bottom: 16px;
  padding: 0 8px;
}

.hist-thermo-bar {
  position: relative;
  height: 12px;
  background: var(--bg-elevated, #18181B);
  border-radius: 6px;
  overflow: visible;
  display: flex;
}

.hist-thermo-cold {
  height: 100%;
  background: linear-gradient(90deg, #3B82F6 0%, #60A5FA 100%);
  border-radius: 6px 0 0 6px;
}

.hist-thermo-warm {
  height: 100%;
  background: linear-gradient(90deg, #F87171 0%, #EF4444 100%);
  border-radius: 0 6px 6px 0;
}

.hist-thermo-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hist-thermo-marker.avg .htm-line {
  display: block;
  width: 2px;
  height: 20px;
  background: var(--text-primary, #FAFAFA);
  position: relative;
}

.hist-thermo-marker.avg .htm-label {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary, #A1A1AA);
}

.hist-thermo-marker.current .htm-dot {
  display: block;
  width: 16px;
  height: 16px;
  background: var(--accent, #F59E0B);
  border: 3px solid var(--bg-base, #09090B);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.hist-thermo-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted, #71717A);
}

/* Description box */
.hist-description-box {
  background: var(--bg-elevated, #18181B);
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.hist-description-box p {
  margin: 0;
  font-size: 14px;
  color: var(--text-primary, #FAFAFA);
  line-height: 1.5;
}

/* Details grid */
.hist-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.hist-detail-card {
  background: var(--bg-elevated, #18181B);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
}

.hdc-icon {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.hdc-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted, #71717A);
  margin-bottom: 4px;
}

.hdc-value {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

/* Section titles */
.hist-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, #A1A1AA);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Records section */
.hist-records-section {
  margin-bottom: 20px;
}

.hist-records-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hist-record-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
}

.hist-record-card.hot {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(251, 146, 60, 0.1) 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hist-record-card.cold {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(147, 197, 253, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.hrc-icon {
  font-size: 28px;
}

.hrc-info {
  flex: 1;
}

.hrc-temp {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
}

.hrc-year {
  font-size: 12px;
  color: var(--text-muted, #71717A);
}

.hrc-label {
  font-size: 10px;
  color: var(--text-secondary, #A1A1AA);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Week section */
.hist-week-section {
  margin-bottom: 20px;
}

.hist-week-grid {
  display: flex;
  gap: 8px;
}

.hist-week-day {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  background: var(--bg-elevated, #18181B);
  border-radius: 12px;
  transition: transform 0.2s, background 0.2s;
}

.hist-week-day.today {
  background: var(--accent, #F59E0B);
}

.hist-week-day.today .hwd-name,
.hist-week-day.today .hwd-temp,
.hist-week-day.today .hwd-range {
  color: #000 !important;
}

.hwd-name {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary, #A1A1AA);
  margin-bottom: 6px;
}

.hwd-temp {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
}

.hwd-range {
  display: block;
  font-size: 10px;
  color: var(--text-muted, #71717A);
  margin-top: 4px;
}

/* Years section */
.hist-years-section {
  margin-bottom: 20px;
}

.hist-years-grid {
  display: flex;
  gap: 10px;
}

.hist-year-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  background: var(--bg-elevated, #18181B);
  border-radius: 12px;
  border: 1px solid transparent;
}

.hist-year-item.warmer {
  border-color: rgba(239, 68, 68, 0.2);
}

.hist-year-item.colder {
  border-color: rgba(59, 130, 246, 0.2);
}

.hy-year {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary, #A1A1AA);
}

.hy-temp {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
  margin: 4px 0;
}

.hy-icon {
  font-size: 12px;
}

/* Historical fact */
.hist-fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  margin-bottom: 20px;
}

.hf-icon {
  font-size: 24px;
}

.hf-text {
  font-size: 13px;
  color: var(--text-primary, #FAFAFA);
  line-height: 1.5;
}

/* Absolute records */
.hist-absolute-records {
  padding-top: 16px;
  border-top: 1px solid var(--border, rgba(255,255,255,0.1));
}

.hist-abs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hist-abs-item {
  text-align: center;
  padding: 12px 8px;
  background: var(--bg-elevated, #18181B);
  border-radius: 10px;
}

.hai-icon {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.hai-value {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
}

.hai-info {
  display: block;
  font-size: 9px;
  color: var(--text-muted, #71717A);
  margin-top: 2px;
}

/* Historical Loading */
.hist-loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted, #71717A);
  font-size: 14px;
}

/* Responsive - Historical */
@media (max-width: 768px) {
  .historical-section {
    padding: 16px;
  }

  .hist-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hist-date {
    font-size: 16px;
  }

  .hist-details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hist-detail-card {
    padding: 10px;
  }

  .hdc-icon {
    font-size: 18px;
  }

  .hdc-value {
    font-size: 12px;
  }

  .hist-abs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hist-abs-item {
    padding: 10px 6px;
  }

  .hai-value {
    font-size: 13px;
  }

  .hist-main-comparison {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .hist-current-block,
  .hist-norm-block {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
  }

  .hist-current-temp,
  .hist-norm-temp {
    font-size: 28px;
  }

  .hist-current-label,
  .hist-norm-label {
    font-size: 11px;
  }

  .hist-diff-block {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
  }

  .hist-diff-value {
    font-size: 20px;
  }

  .hist-records-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hist-record-card {
    padding: 12px;
  }

  .hrc-icon {
    font-size: 24px;
  }

  .hrc-temp {
    font-size: 18px;
  }

  .hist-week-grid {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hist-week-grid::-webkit-scrollbar {
    display: none;
  }

  .hist-week-day {
    flex: 0 0 auto;
    min-width: 52px;
    padding: 10px 6px;
  }

  .hwd-name {
    font-size: 10px;
  }

  .hwd-temp {
    font-size: 16px;
  }

  .hwd-range {
    font-size: 9px;
  }

  .hist-years-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .hist-year-item {
    padding: 10px 8px;
  }

  .hy-year {
    font-size: 11px;
  }

  .hy-temp {
    font-size: 16px;
  }

  .hist-fact {
    padding: 12px;
    gap: 10px;
  }

  .hf-icon {
    font-size: 20px;
  }

  .hf-text {
    font-size: 12px;
  }

  .hist-near-record {
    padding: 10px 12px;
    gap: 8px;
  }

  .hnr-icon {
    font-size: 20px;
  }

  .hnr-text {
    font-size: 13px;
  }

  .hist-description-box {
    padding: 12px;
  }

  .hist-description-box p {
    font-size: 13px;
  }

  .hist-section-title {
    font-size: 12px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .hist-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hist-abs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hist-years-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hist-year-item {
    flex: 1 1 calc(50% - 4px);
  }

  .hist-current-temp,
  .hist-norm-temp {
    font-size: 24px;
  }

  .hist-week-day {
    min-width: 48px;
  }
}

/* ================= WEATHER POETRY (5.5) ================= */
.poetry-card {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.poetry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.poetry-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.poetry-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.poetry-text {
  flex: 1;
}

.poetry-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-primary, #FAFAFA);
  margin: 0;
  font-style: italic;
  white-space: pre-line;
}

.poetry-mood {
  margin-top: 12px;
  font-size: 12px;
  color: var(--accent, #0EA5E9);
  font-weight: 500;
}

.btn-refresh-poetry {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-secondary, #A1A1AA);
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
}

.btn-refresh-poetry:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary, #FAFAFA);
}

/* ================= SLEEP QUALITY (Integrated in Health Barometer) ================= */
.health-barometer-card {
  overflow: hidden;
}

.sleep-hero {
  background: linear-gradient(135deg, #312E81 0%, #1E1B4B 100%);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.sleep-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.sleep-hero::after {
  content: '🌙';
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  opacity: 0.4;
}

.sleep-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.sleep-emoji {
  font-size: 48px;
  line-height: 1;
}

.sleep-score-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #8B5CF6 calc(var(--score, 75) * 3.6deg),
    rgba(255, 255, 255, 0.1) calc(var(--score, 75) * 3.6deg)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sleep-score-ring::before {
  content: '';
  position: absolute;
  inset: 6px;
  background: #1E1B4B;
  border-radius: 50%;
}

.sleep-value {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 700;
  color: #FAFAFA;
}

.sleep-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.sleep-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.sleep-label {
  font-size: 18px;
  font-weight: 600;
  color: #FAFAFA;
  margin-bottom: 8px;
}

.sleep-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sleep-factor {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}

.sleep-factor.positive {
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
}

.sleep-factor.negative {
  background: rgba(239, 68, 68, 0.2);
  color: #FCA5A5;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .clothing-section,
  .health-section,
  .activities-section,
  .fishing-section,
  .best-hour-section,
  .feature-card,
  .poetry-card {
    padding: 16px;
    border-radius: 12px;
  }

  .best-hour-time {
    font-size: 28px;
  }

  .fishing-score {
    font-size: 24px;
  }

  /* Phase 5 responsive */
  .best-hours-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .best-hour-item {
    padding: 12px;
  }

  .bh-icon {
    font-size: 20px;
  }

  .bh-time {
    font-size: 16px;
  }

  .health-positive-grid {
    grid-template-columns: 1fr;
  }

  .health-risk-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .health-bar-item {
    padding: 10px;
  }

  .hb-icon {
    font-size: 16px;
  }

  .hb-label {
    font-size: 11px;
  }

  .hist-current {
    font-size: 24px;
  }

  .hist-diff {
    font-size: 14px;
  }

  .poetry-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .poetry-text p {
    font-size: 14px;
  }

  .sleep-hero {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  .sleep-hero::after {
    display: none;
  }

  .sleep-score-ring {
    width: 70px;
    height: 70px;
  }

  .sleep-emoji {
    font-size: 36px;
  }

  .sleep-value {
    font-size: 20px;
  }

  .sleep-label {
    font-size: 16px;
  }

  .sleep-factors {
    justify-content: center;
  }
}

/* ==================== SUN & MOON SECTION ==================== */
.sun-moon-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sun-arc-wrapper {
  background: linear-gradient(180deg, rgba(255, 200, 100, 0.1) 0%, transparent 100%);
  border-radius: 16px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.sun-arc-svg {
  width: 100%;
  height: auto;
  max-height: 160px;
}

.sun-arc-label {
  font-size: 11px;
  fill: var(--text-muted, #71717A);
  font-family: inherit;
}

.sun-times-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sun-time-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-elevated, #18181B);
  border-radius: 12px;
}

.sun-time-icon {
  font-size: 24px;
}

.sun-time-info {
  display: flex;
  flex-direction: column;
}

.sun-time-label {
  font-size: 11px;
  color: var(--text-muted, #71717A);
}

.sun-time-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

/* Moon section */
.moon-section {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(100, 100, 180, 0.15) 0%, rgba(50, 50, 100, 0.1) 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.moon-phase-visual {
  flex-shrink: 0;
}

.moon-disc {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  /* No glow - using real moon photo */
}

.moon-shadow {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: #1a1a2e;
  border-radius: 0 50% 50% 0;
  transition: all 0.5s ease;
}

.moon-info {
  flex: 1;
}

.moon-phase-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 4px;
}

.moon-illumination {
  font-size: 13px;
  color: var(--text-secondary, #A1A1AA);
  margin-bottom: 8px;
}

.moon-times {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted, #71717A);
  margin-bottom: 12px;
}

.moon-calendar {
  display: flex;
  gap: 16px;
}

.moon-event {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary, #A1A1AA);
}

.moon-event-icon {
  font-size: 16px;
}

/* ==================== UV INDEX SECTION ==================== */
.uv-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.uv-main {
  text-align: center;
}

.uv-gauge {
  max-width: 200px;
  margin: 0 auto 16px;
}

.uv-gauge-svg {
  width: 100%;
  height: auto;
}

.uv-value-text {
  font-size: 28px;
  font-weight: 700;
  fill: var(--text-primary, #FAFAFA);
  font-family: inherit;
}

#uv-needle {
  transform-origin: 100px 100px;
  transition: transform 0.5s ease;
  stroke: var(--text-primary, #1a1a1a);
}

/* UV gauge needle center circle */
.uv-gauge-svg circle {
  fill: var(--text-primary, #1a1a1a);
}

/* UV gauge background arc - adapts to theme */
.uv-gauge-svg path[stroke="#333"] {
  stroke: var(--border, #333);
}

.uv-level {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 4px;
}

.uv-level.uv-low { color: #3ea72d; }
.uv-level.uv-moderate { color: #fff300; }
.uv-level.uv-high { color: #f18b00; }
.uv-level.uv-very-high { color: #e53210; }
.uv-level.uv-extreme { color: #b567a4; }

.uv-description {
  font-size: 14px;
  color: var(--text-muted, #71717A);
}

.uv-source {
  font-size: 12px;
  color: var(--text-muted, #71717A);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.uv-live-badge {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: live-pulse 2s ease-in-out infinite;
}

.uv-hour-bar.current {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  border: 2px solid white;
}

.uv-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.uv-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-elevated, #18181B);
  border-radius: 12px;
}

.uv-detail-icon {
  font-size: 20px;
}

.uv-detail-info {
  display: flex;
  flex-direction: column;
}

.uv-detail-label {
  font-size: 11px;
  color: var(--text-muted, #71717A);
}

.uv-detail-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

.uv-hourly {
  padding: 16px;
  background: var(--bg-elevated, #18181B);
  border-radius: 12px;
}

.uv-hourly-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 12px;
}

.uv-hourly-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
}

.uv-hour-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  transition: height 0.3s ease;
  position: relative;
}

.uv-hour-bar::after {
  content: attr(data-hour);
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--text-muted, #71717A);
}

.uv-tips {
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 200, 50, 0.1) 0%, transparent 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 200, 50, 0.2);
}

.uv-tip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-secondary, #A1A1AA);
}

.uv-tip-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==================== SCHUMANN SECTION ==================== */
.schumann-card {
  border: 1px solid var(--border, #27272A);
}

.sch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* Main intensity display */
.sch-main-display {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 16px;
  margin-bottom: 16px;
}

.sch-intensity-circle {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.sch-circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.sch-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 8;
}

.sch-circle-progress {
  fill: none;
  stroke: url(#sch-gradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 1s ease-out;
}

.sch-circle-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sch-circle-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
  line-height: 1;
}

.sch-circle-unit {
  font-size: 11px;
  color: var(--text-muted, #71717A);
  margin-top: 2px;
}

.sch-main-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sch-effect-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary, #A1A1AA);
}

.sch-effect-icon {
  font-size: 16px;
}

/* Section titles */
.sch-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin: 20px 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border, #27272A);
}

/* Harmonics section */
.sch-harmonics-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sch-harmonics-info {
  font-size: 12px;
  color: var(--text-muted, #71717A);
  line-height: 1.5;
}

/* Health effects grid */
.sch-health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.sch-health-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-base, #09090B);
  border: 1px solid var(--border, #27272A);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.sch-health-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.sch-health-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.sch-health-info {
  flex: 1;
  min-width: 0;
}

.sch-health-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, #71717A);
  margin-bottom: 2px;
}

.sch-health-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

.sch-health-value.good { color: #22c55e; }
.sch-health-value.moderate { color: #f59e0b; }
.sch-health-value.poor { color: #ef4444; }

/* Health effects compact */
.sch-health-compact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  background: var(--bg-base, #09090B);
  border: 1px solid var(--border, #27272A);
  border-radius: 12px;
}

.sch-health-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sch-health-text {
  font-size: 13px;
  color: var(--text-secondary, #A1A1AA);
}

.sch-health-text.good { color: #22c55e; }
.sch-health-text.moderate { color: #f59e0b; }
.sch-health-text.poor { color: #ef4444; }

/* Info box */
.sch-info-box {
  margin-top: 20px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 12px;
}

.sch-info-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 10px;
}

.sch-info-content {
  font-size: 13px;
  color: var(--text-secondary, #A1A1AA);
  line-height: 1.6;
}

.sch-info-content strong {
  color: #38bdf8;
}

.sch-info-sources {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: var(--text-muted, #71717A);
}

.sch-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted, #71717A);
}

.sch-badge {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  text-transform: uppercase;
}

.sch-badge.cache {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.sch-top {
  display: block;
  margin-bottom: 18px;
}

.sch-visual {
  width: 100%;
}

.sch-image-shell {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  width: 100%;
  min-height: 200px;
  height: auto;
  aspect-ratio: 16 / 5;
  border: 1px solid var(--border, #27272A);
  background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08), transparent 45%),
              radial-gradient(circle at 80% 10%, rgba(236, 72, 153, 0.08), transparent 35%),
              var(--bg-base, #0f0f10);
}

#sch-image {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
  display: block;
  object-fit: contain;
  background: #000;
  filter: saturate(1.05) contrast(1.02);
}

.sch-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.sch-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.sch-corner-mask {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 60px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 10px;
  gap: 6px;
  color: #e5e7eb;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

.sch-image-loading {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-muted, #A1A1AA);
  font-size: 13px;
  z-index: 3;
}

.sch-frequency-tags {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2;
}

.sch-frequency-tags span {
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sch-info {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sch-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sch-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sch-status {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
}

.sch-status.sch-storm { color: #f87171; }
.sch-status.sch-active { color: #f59e0b; }
.sch-status.sch-calm { color: #22c55e; }

.sch-description {
  color: var(--text-muted, #71717A);
  font-size: 13px;
}

.sch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.sch-wide-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.sch-tile {
  background: var(--bg-base, #09090B);
  border: 1px solid var(--border, #27272A);
  border-radius: 12px;
  padding: 12px;
}

.sch-tile-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, #71717A);
}

.sch-tile-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
  margin-top: 4px;
}

.sch-harmonics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.sch-harmonics span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border, #27272A);
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-primary, #FAFAFA);
}

.sch-tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.sch-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.02) 100%);
  color: var(--text-secondary, #A1A1AA);
  font-size: 13px;
}

.sch-tip span {
  font-size: 16px;
}

@media (max-width: 1024px) {
  .sch-top {
    flex-direction: column;
  }

  .sch-history-chart {
    height: 100px;
  }
}

/* Schumann Mobile Responsive */
@media (max-width: 768px) {
  .sch-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .sch-main-display {
    flex-direction: column;
    text-align: center;
    padding: 14px;
    gap: 14px;
  }

  .sch-intensity-circle {
    width: 90px;
    height: 90px;
  }

  .sch-circle-value {
    font-size: 24px;
  }

  .sch-main-info {
    align-items: center;
  }

  .sch-effect-label {
    font-size: 12px;
    padding: 6px 10px;
  }

  .sch-image-shell {
    min-height: 180px;
    aspect-ratio: 16 / 6;
    border-radius: 10px;
  }

  .sch-frequency-tags {
    left: 8px;
    bottom: 8px;
    gap: 4px;
  }

  .sch-frequency-tags span {
    padding: 3px 6px;
    font-size: 10px;
    border-radius: 6px;
  }

  .sch-section-title {
    font-size: 13px;
    margin: 16px 0 10px 0;
  }

  .sch-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .sch-wide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sch-tile {
    padding: 10px;
    border-radius: 10px;
  }

  .sch-tile-label {
    font-size: 10px;
  }

  .sch-tile-value {
    font-size: 15px;
  }

  .sch-health-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .sch-health-item {
    padding: 10px;
    gap: 8px;
  }

  .sch-health-icon {
    font-size: 20px;
  }

  .sch-health-label {
    font-size: 9px;
  }

  .sch-health-value {
    font-size: 11px;
  }

  .sch-status {
    font-size: 17px;
  }

  .sch-description {
    font-size: 12px;
  }

  .sch-tip {
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 10px;
  }

  .sch-harmonics span {
    padding: 4px 6px;
    font-size: 11px;
    border-radius: 8px;
  }

  .sch-info-box {
    padding: 12px;
  }

  .sch-info-title {
    font-size: 13px;
  }

  .sch-info-content {
    font-size: 12px;
  }

  .sch-harmonics-info {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .schumann-card {
    padding: 12px;
  }

  .sch-main-display {
    padding: 12px;
    gap: 12px;
  }

  .sch-intensity-circle {
    width: 80px;
    height: 80px;
  }

  .sch-circle-value {
    font-size: 20px;
  }

  .sch-circle-unit {
    font-size: 9px;
  }

  .sch-effect-label {
    font-size: 11px;
    padding: 5px 8px;
  }

  .sch-image-shell {
    min-height: 120px;
  }

  .sch-frequency-tags {
    left: 6px;
    bottom: 6px;
    gap: 3px;
  }

  .sch-frequency-tags span {
    padding: 2px 5px;
    font-size: 9px;
  }

  .sch-section-title {
    font-size: 12px;
    margin: 14px 0 8px 0;
  }

  .sch-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .sch-tile {
    padding: 8px;
  }

  .sch-tile-label {
    font-size: 9px;
  }

  .sch-tile-value {
    font-size: 13px;
  }

  .sch-health-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .sch-health-item {
    padding: 8px;
    gap: 6px;
  }

  .sch-health-icon {
    font-size: 18px;
  }

  .sch-health-label {
    font-size: 8px;
  }

  .sch-health-value {
    font-size: 10px;
  }

  .sch-status {
    font-size: 15px;
  }

  .sch-description {
    font-size: 11px;
  }

  .sch-tip {
    padding: 6px 8px;
    font-size: 11px;
  }

  .sch-meta {
    gap: 6px;
    font-size: 10px;
  }

  .sch-badge {
    padding: 3px 6px;
    font-size: 9px;
  }

  .sch-top {
    margin-bottom: 12px;
  }

  .sch-details {
    gap: 10px;
  }

  .sch-info-box {
    padding: 10px;
  }

  .sch-info-title {
    font-size: 12px;
  }

  .sch-info-content {
    font-size: 11px;
  }

  .sch-info-sources {
    font-size: 9px;
  }

  .sch-harmonics-info {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .schumann-card {
    padding: 10px;
  }

  .sch-main-display {
    padding: 10px;
    gap: 10px;
    border-radius: 12px;
  }

  .sch-intensity-circle {
    width: 70px;
    height: 70px;
  }

  .sch-circle-value {
    font-size: 18px;
  }

  .sch-circle-unit {
    font-size: 8px;
  }

  .sch-effect-label {
    font-size: 10px;
    padding: 4px 6px;
  }

  .sch-image-shell {
    min-height: 100px;
    border-radius: 8px;
  }

  .sch-frequency-tags {
    display: none;
  }

  .sch-section-title {
    font-size: 11px;
    margin: 12px 0 6px 0;
  }

  .sch-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .sch-tile {
    padding: 6px;
    border-radius: 8px;
  }

  .sch-tile-label {
    font-size: 8px;
    letter-spacing: 0.3px;
  }

  .sch-tile-value {
    font-size: 12px;
    margin-top: 2px;
  }

  .sch-health-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .sch-health-item {
    padding: 6px;
    gap: 5px;
    border-radius: 8px;
  }

  .sch-health-icon {
    font-size: 16px;
  }

  .sch-health-label {
    font-size: 7px;
  }

  .sch-health-value {
    font-size: 9px;
  }

  .sch-status {
    font-size: 14px;
  }

  .sch-description {
    font-size: 10px;
  }

  .sch-tip {
    padding: 5px 7px;
    font-size: 10px;
    gap: 6px;
  }

  .sch-tip span {
    font-size: 13px;
  }

  .sch-harmonics {
    gap: 4px;
    margin-top: 4px;
  }

  .sch-harmonics span {
    padding: 3px 5px;
    font-size: 10px;
    border-radius: 6px;
  }

  .sch-header .feature-title {
    font-size: 16px;
  }

  .sch-info-box {
    padding: 8px;
    border-radius: 10px;
  }

  .sch-info-title {
    font-size: 11px;
  }

  .sch-info-content {
    font-size: 10px;
  }

  .sch-info-sources {
    font-size: 8px;
    margin-top: 8px;
    padding-top: 6px;
  }

  .sch-harmonics-info {
    font-size: 9px;
  }
}

@media (max-width: 320px) {
  .schumann-card {
    padding: 6px;
  }

  .sch-main-display {
    padding: 8px;
    gap: 8px;
    border-radius: 10px;
  }

  .sch-intensity-circle {
    width: 60px;
    height: 60px;
  }

  .sch-circle-value {
    font-size: 16px;
  }

  .sch-circle-unit {
    font-size: 7px;
  }

  .sch-effect-label {
    font-size: 9px;
    padding: 3px 5px;
    border-radius: 6px;
  }

  .sch-image-shell {
    min-height: 70px;
  }

  .sch-section-title {
    font-size: 10px;
    margin: 10px 0 5px 0;
    padding-bottom: 4px;
  }

  .sch-grid {
    gap: 3px;
  }

  .sch-tile {
    padding: 5px;
    border-radius: 6px;
  }

  .sch-tile-label {
    font-size: 7px;
  }

  .sch-tile-value {
    font-size: 11px;
  }

  .sch-health-grid {
    gap: 3px;
  }

  .sch-health-item {
    padding: 5px;
    gap: 4px;
    border-radius: 6px;
  }

  .sch-health-icon {
    font-size: 14px;
  }

  .sch-health-label {
    font-size: 6px;
  }

  .sch-health-value {
    font-size: 8px;
  }

  .sch-status {
    font-size: 13px;
  }

  .sch-description {
    font-size: 9px;
  }

  .sch-summary {
    gap: 4px;
  }

  .sch-tips {
    gap: 3px;
  }

  .sch-tip {
    padding: 4px 6px;
    font-size: 9px;
    border-radius: 6px;
  }

  .sch-tip span {
    font-size: 11px;
  }

  .sch-header .feature-title {
    font-size: 14px;
  }

  .sch-meta {
    gap: 4px;
    font-size: 9px;
  }

  .sch-badge {
    padding: 2px 5px;
    font-size: 8px;
  }

  .sch-harmonics span {
    padding: 2px 4px;
    font-size: 9px;
  }

  .sch-info-box {
    padding: 6px;
    border-radius: 8px;
    margin-top: 10px;
  }

  .sch-info-title {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .sch-info-content {
    font-size: 9px;
    line-height: 1.4;
  }

  .sch-info-sources {
    font-size: 7px;
    margin-top: 6px;
    padding-top: 4px;
  }

  .sch-harmonics-info {
    font-size: 8px;
  }

  .sch-harmonics-section {
    gap: 6px;
  }

  .sch-top {
    margin-bottom: 8px;
  }

  .sch-details {
    gap: 6px;
  }
}

/* ==================== AIR QUALITY SECTION ==================== */
.aqi-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aqi-main {
  text-align: center;
  padding: 20px;
}

.aqi-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  position: relative;
}

.aqi-circle-svg {
  width: 100%;
  height: 100%;
}

#aqi-progress {
  transition: stroke-dashoffset 0.5s ease, stroke 0.3s ease;
}

.aqi-value-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.aqi-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
}

.aqi-label {
  font-size: 12px;
  color: var(--text-muted, #71717A);
  text-transform: uppercase;
}

.aqi-status {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 4px;
}

.aqi-status.very-good { color: #4ade80; }
.aqi-status.good { color: #a3e635; }
.aqi-status.moderate { color: #facc15; }
.aqi-status.poor { color: #fb923c; }
.aqi-status.very-poor { color: #ef4444; }
.aqi-status.hazardous { color: #7f1d1d; }

.aqi-recommendation {
  font-size: 14px;
  color: var(--text-muted, #71717A);
}

.aqi-source {
  font-size: 12px;
  color: var(--text-muted, #71717A);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.aqi-live-badge {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.aqi-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 12px;
}

.pollutant-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pollutant-item {
  padding: 12px;
  background: var(--bg-elevated, #18181B);
  border-radius: 10px;
}

.pollutant-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary, #A1A1AA);
  margin-bottom: 8px;
}

.pollutant-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.pollutant-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #4ade80 0%, #facc15 50%, #ef4444 100%);
  transition: width 0.5s ease;
}

.pollutant-value {
  font-size: 11px;
  color: var(--text-muted, #71717A);
}

.health-group-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.health-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: var(--bg-elevated, #18181B);
  border-radius: 10px;
  text-align: center;
}

.health-group-icon {
  font-size: 24px;
}

.health-group-label {
  font-size: 10px;
  color: var(--text-muted, #71717A);
}

.health-group-status {
  font-size: 14px;
  font-weight: 600;
}

.health-group-status.safe { color: #4ade80; }
.health-group-status.caution { color: #facc15; }
.health-group-status.warning { color: #ef4444; }

/* ==================== POLLEN SECTION ==================== */
.pollen-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pollen-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-elevated, #18181B);
  border-radius: 16px;
}

.pollen-level-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pollen-level-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  transition: background 0.3s ease;
}

.pollen-level-circle.very-low { background: linear-gradient(135deg, #86efac 0%, #4ade80 100%); }
.pollen-level-circle.low { background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%); }
.pollen-level-circle.moderate { background: linear-gradient(135deg, #facc15 0%, #eab308 100%); }
.pollen-level-circle.high { background: linear-gradient(135deg, #fb923c 0%, #f97316 100%); }
.pollen-level-circle.very-high { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

.pollen-level-value {
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

.pollen-level-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

.pollen-season-info {
  flex: 1;
  font-size: 13px;
  color: var(--text-secondary, #A1A1AA);
  line-height: 1.5;
}

.pollen-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 12px;
}

.pollen-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pollen-type-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-elevated, #18181B);
  border-radius: 12px;
}

.pollen-type-icon {
  font-size: 28px;
}

.pollen-type-info {
  flex: 1;
}

.pollen-type-name {
  display: block;
  font-size: 12px;
  color: var(--text-secondary, #A1A1AA);
  margin-bottom: 6px;
}

.pollen-type-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.pollen-type-fill {
  height: 100%;
  border-radius: 3px;
  background: #4ade80;
  width: 20%;
  transition: width 0.5s ease, background 0.3s ease;
}

.pollen-type-fill.very-low { background: #86efac; }
.pollen-type-fill.low { background: #a3e635; }
.pollen-type-fill.moderate { background: #facc15; }
.pollen-type-fill.high { background: #fb923c; }
.pollen-type-fill.very-high { background: #ef4444; }

.pollen-type-level {
  font-size: 11px;
  color: var(--text-muted, #71717A);
}

.pollen-plants-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pollen-plant-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-elevated, #18181B);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary, #A1A1AA);
}

.pollen-plant-tag.active {
  background: rgba(251, 146, 60, 0.2);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.pollen-plant-tag.low {
  background: rgba(163, 230, 53, 0.15);
  color: #a3e635;
  border: 1px solid rgba(163, 230, 53, 0.3);
}

.pollen-plant-tag.moderate {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.pollen-plant-tag.high {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.pollen-plant-tag.inactive {
  background: var(--bg-elevated, #18181B);
  color: var(--text-muted, #71717A);
  border: 1px solid transparent;
}

/* Pollen weather factors */
.pollen-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.pollen-factor {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
}

.pollen-factor.positive {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

.pollen-factor.negative {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* Pollen diurnal info */
.pollen-diurnal {
  font-size: 12px;
  color: var(--text-secondary, #A1A1AA);
  padding: 8px 12px;
  background: var(--bg-elevated, #18181B);
  border-radius: 8px;
  margin-top: 12px;
}

.pollen-tips {
  padding: 16px;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, transparent 100%);
  border-radius: 12px;
  border: 1px solid rgba(251, 146, 60, 0.2);
}

/* ==================== ACTIVITIES SECTION ==================== */
.activities-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.activity-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-elevated, #18181B);
  border-radius: 16px;
}

.activity-score-circle {
  width: 80px;
  height: 80px;
  position: relative;
}

.activity-score-svg {
  width: 100%;
  height: 100%;
}

#activity-score-progress {
  transition: stroke-dashoffset 0.5s ease, stroke 0.3s ease;
}

.activity-score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.activity-score-value span:first-child {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
}

.activity-score-label {
  font-size: 12px;
  color: var(--text-muted, #71717A);
}

.activity-verdict {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-elevated, #18181B);
  border-radius: 12px;
  transition: transform 0.2s, background 0.2s;
}

.activity-item:hover {
  transform: translateY(-2px);
  background: var(--bg-hover, #27272A);
}

.activity-icon {
  font-size: 28px;
}

.activity-info {
  flex: 1;
}

.activity-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 4px;
}

.activity-rating {
  display: flex;
  gap: 2px;
}

.rating-stars {
  font-size: 12px;
  color: #facc15;
  letter-spacing: 1px;
}

.rating-stars.low { color: #ef4444; }
.rating-stars.medium { color: #fb923c; }
.rating-stars.good { color: #facc15; }
.rating-stars.excellent { color: #4ade80; }

.activity-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.activity-status.excellent { background: rgba(74, 222, 128, 0.2); color: #4ade80; }
.activity-status.good { background: rgba(250, 204, 21, 0.2); color: #facc15; }
.activity-status.moderate { background: rgba(251, 146, 60, 0.2); color: #fb923c; }
.activity-status.poor { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.activity-tips {
  padding: 16px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, transparent 100%);
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

/* ==================== FISHING SECTION ==================== */
.fishing-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fishing-main {
  text-align: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.1) 0%, transparent 100%);
  border-radius: 16px;
}

.fishing-score-circle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, rgba(14, 165, 233, 0.1) 100%);
  border: 3px solid rgba(14, 165, 233, 0.5);
  margin-bottom: 12px;
}

.fishing-score-circle.excellent {
  background: radial-gradient(circle, rgba(74, 222, 128, 0.3) 0%, rgba(74, 222, 128, 0.1) 100%);
  border-color: rgba(74, 222, 128, 0.5);
}

.fishing-score-circle.good {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, rgba(34, 197, 94, 0.1) 100%);
  border-color: rgba(34, 197, 94, 0.5);
}

.fishing-score-circle.average {
  background: radial-gradient(circle, rgba(250, 204, 21, 0.3) 0%, rgba(250, 204, 21, 0.1) 100%);
  border-color: rgba(250, 204, 21, 0.5);
}

.fishing-score-circle.poor {
  background: radial-gradient(circle, rgba(251, 146, 60, 0.3) 0%, rgba(251, 146, 60, 0.1) 100%);
  border-color: rgba(251, 146, 60, 0.5);
}

.fishing-score-circle.bad {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.3) 0%, rgba(239, 68, 68, 0.1) 100%);
  border-color: rgba(239, 68, 68, 0.5);
}

.fishing-score-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
}

.fishing-score-label {
  font-size: 12px;
  color: var(--text-secondary, #A1A1AA);
}

.fishing-rating {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 8px;
}

.fishing-time-period {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.time-period-name {
  font-size: 14px;
  font-weight: 500;
  color: #0EA5E9;
}

.time-period-desc {
  font-size: 12px;
  color: var(--text-secondary, #A1A1AA);
}

.fishing-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Moon and Solunar */
.fishing-moon-section,
.fishing-pressure-section,
.fishing-fish-section,
.fishing-weather-section {
  background: var(--bg-elevated, #18181B);
  border-radius: 12px;
  padding: 16px;
}

.fishing-moon-info {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.moon-phase-display,
.moon-illum-display {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.moon-label {
  font-size: 11px;
  color: var(--text-secondary, #A1A1AA);
  text-transform: uppercase;
}

.moon-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary, #FAFAFA);
}

.solunar-periods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solunar-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solunar-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary, #A1A1AA);
  text-transform: uppercase;
  margin: 0;
}

.solunar-period {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-base, #09090B);
  border-radius: 8px;
  border-left: 3px solid #0EA5E9;
}

.solunar-period.minor {
  border-left-color: #8B5CF6;
}

.solunar-period.active {
  background: rgba(14, 165, 233, 0.15);
  border-left-color: #4ade80;
}

.period-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  min-width: 100px;
}

.period-type {
  font-size: 12px;
  color: var(--text-secondary, #A1A1AA);
  flex: 1;
}

.period-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  border-radius: 4px;
}

/* Pressure */
.fishing-pressure {
  text-align: center;
}

.pressure-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 4px;
}

.pressure-value .trend {
  font-size: 16px;
  margin-left: 4px;
}

.pressure-value .trend.rising { color: #4ade80; }
.pressure-value .trend.falling { color: #ef4444; }
.pressure-value .trend.stable { color: #0EA5E9; }

.pressure-status {
  font-size: 13px;
  color: var(--text-secondary, #A1A1AA);
}

/* Active Fish */
.fishing-active-fish {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.fish-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg-base, #09090B);
  border-radius: 8px;
  border-left: 3px solid #0EA5E9;
}

.fish-item.high {
  border-left-color: #4ade80;
}

.fish-item.medium {
  border-left-color: #facc15;
}

.fish-icon {
  font-size: 20px;
}

.fish-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fish-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary, #FAFAFA);
}

.fish-activity {
  font-size: 10px;
  color: var(--text-secondary, #A1A1AA);
}

.no-fish {
  grid-column: 1 / -1;
  text-align: center;
  padding: 20px;
  color: var(--text-secondary, #A1A1AA);
  font-size: 13px;
}

/* Weather Factors */
.fishing-factors {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fishing-factor {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-base, #09090B);
  border-radius: 8px;
}

.fishing-factor.positive {
  border-left: 3px solid #4ade80;
}

.fishing-factor.negative {
  border-left: 3px solid #ef4444;
}

.factor-icon {
  font-size: 16px;
}

.factor-text {
  font-size: 13px;
  color: var(--text-primary, #FAFAFA);
}

/* Fishing Tips */
.fishing-tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, transparent 100%);
  border-radius: 12px;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.fishing-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tip-icon {
  font-size: 14px;
}

.tip-text {
  font-size: 13px;
  color: var(--text-secondary, #A1A1AA);
  line-height: 1.4;
}

/* ==================== DRIVING SECTION ==================== */
.driving-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.driving-main {
  text-align: center;
  padding: 24px;
  background: var(--bg-elevated, #18181B);
  border-radius: 16px;
}

.driving-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 30px;
  background: rgba(74, 222, 128, 0.2);
  margin-bottom: 12px;
}

.driving-status-badge.good { background: rgba(74, 222, 128, 0.2); }
.driving-status-badge.caution { background: rgba(250, 204, 21, 0.2); }
.driving-status-badge.warning { background: rgba(251, 146, 60, 0.2); }
.driving-status-badge.danger { background: rgba(239, 68, 68, 0.2); }

.driving-status-icon {
  font-size: 20px;
}

.driving-status-badge.good .driving-status-icon { color: #4ade80; }
.driving-status-badge.caution .driving-status-icon { color: #facc15; }
.driving-status-badge.warning .driving-status-icon { color: #fb923c; }
.driving-status-badge.danger .driving-status-icon { color: #ef4444; }

.driving-status-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

.driving-description {
  font-size: 14px;
  color: var(--text-muted, #71717A);
}

.driving-factors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.driving-factor {
  padding: 14px;
  background: var(--bg-elevated, #18181B);
  border-radius: 12px;
}

.factor-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.factor-icon {
  font-size: 18px;
}

.factor-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary, #A1A1AA);
}

.factor-meter {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.factor-fill {
  height: 100%;
  border-radius: 3px;
  background: #4ade80;
  transition: width 0.5s ease, background 0.3s ease;
}

.factor-fill.good { background: #4ade80; }
.factor-fill.moderate { background: #facc15; }
.factor-fill.poor { background: #fb923c; }
.factor-fill.dangerous { background: #ef4444; }

.factor-value {
  font-size: 11px;
  color: var(--text-muted, #71717A);
}

.driving-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 12px;
}

.hazards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hazard-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hazard-icon {
  font-size: 20px;
}

.hazard-text {
  font-size: 13px;
  color: var(--text-secondary, #A1A1AA);
}

.no-hazards {
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: var(--text-muted, #71717A);
  background: var(--bg-elevated, #18181B);
  border-radius: 10px;
}

.driving-tips {
  padding: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.driving-tips .driving-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.driving-tips .tip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-surface);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

/* ==================== ASTRONOMY SECTION ==================== */
.astronomy-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.astronomy-main {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px;
  background: var(--astronomy-bg, linear-gradient(135deg, rgba(30, 30, 60, 0.8) 0%, rgba(20, 20, 40, 0.6) 100%));
  border-radius: 16px;
  border: 1px solid var(--astronomy-border, rgba(255, 255, 255, 0.05));
}

.stargazing-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stargazing-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stargazing-circle-bg, linear-gradient(135deg, rgba(100, 100, 200, 0.3) 0%, rgba(50, 50, 150, 0.2) 100%));
  border: 2px solid var(--stargazing-circle-border, rgba(255, 255, 255, 0.1));
}

.stargazing-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary, #FAFAFA);
}

.stargazing-label {
  font-size: 12px;
  color: var(--text-muted, #71717A);
  text-align: center;
}

.astronomy-conditions {
  flex: 1;
  font-size: 13px;
  color: var(--text-secondary, #A1A1AA);
  line-height: 1.5;
}

.astronomy-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 12px;
}

.planets-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.planet-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--bg-elevated, #18181B);
  border-radius: 12px;
  text-align: center;
}

.planet-icon {
  font-size: 24px;
}

.planet-name {
  font-size: 11px;
  color: var(--text-muted, #71717A);
}

.planet-visibility {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.planet-visibility.visible { background: rgba(74, 222, 128, 0.2); color: #4ade80; }
.planet-visibility.difficult { background: rgba(250, 204, 21, 0.2); color: #facc15; }
.planet-visibility.not-visible { background: rgba(113, 113, 122, 0.2); color: #71717A; }

.iss-passes {
  background: var(--bg-elevated, #18181B);
  border-radius: 12px;
  padding: 16px;
}

.iss-loading {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted, #71717A);
}

.iss-pass-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.iss-pass-item:last-child {
  border-bottom: none;
}

.iss-pass-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

.iss-pass-details {
  font-size: 12px;
  color: var(--text-muted, #71717A);
}

.iss-pass-brightness {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.iss-info {
  text-align: center;
}

.iss-status.info {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin-bottom: 12px;
}

.iss-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.iss-link {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-primary, #FAFAFA);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.iss-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.iss-link.primary {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.3);
  color: #38bdf8;
}

.iss-link.primary:hover {
  background: rgba(14, 165, 233, 0.25);
}

.iss-tip {
  font-size: 11px;
  color: var(--text-muted, #71717A);
  line-height: 1.4;
}

.meteor-info {
  padding: 16px;
  background: var(--bg-elevated, #18181B);
  border-radius: 12px;
}

.meteor-shower {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meteor-icon {
  font-size: 28px;
}

.meteor-details h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
  margin: 0 0 4px 0;
}

.meteor-details p {
  font-size: 12px;
  color: var(--text-muted, #71717A);
  margin: 0;
}

.astronomy-tips {
  padding: 16px;
  background: linear-gradient(135deg, rgba(100, 100, 200, 0.1) 0%, transparent 100%);
  border-radius: 12px;
  border: 1px solid rgba(100, 100, 200, 0.2);
}

.astronomy-sources {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.astronomy-sources small {
  font-size: 10px;
  color: var(--text-muted, #52525B);
  opacity: 0.7;
}

/* Astronomy conditions */
.astro-condition-item {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary, #A1A1AA);
  display: flex;
  align-items: center;
  gap: 6px;
}
.astro-condition-item.good { color: #4ade80; }
.astro-condition-item.bad { color: #f87171; }
.astro-condition-item.best-time {
  color: #c4b5fd;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.astro-condition-item.best-time.warning {
  color: #fbbf24;
}

/* Meteor shower card */
.meteor-shower-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.meteor-shower-card.peak { border-left: 3px solid #fbbf24; padding-left: 12px; }
.meteor-shower-card.active { border-left: 3px solid #4ade80; padding-left: 12px; }
.meteor-shower-card.upcoming { border-left: 3px solid #71717A; padding-left: 12px; }

.meteor-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.meteor-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}
.meteor-status {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  text-transform: uppercase;
}
.meteor-shower-card.peak .meteor-status {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}
.meteor-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meteor-details div {
  font-size: 12px;
  color: var(--text-muted, #71717A);
}
.meteor-details strong {
  color: var(--text-primary, #FAFAFA);
}

/* Moon condition indicators for meteor showers */
.moon-good { color: #4ade80; font-weight: 500; }
.moon-ok { color: #a3e635; font-weight: 500; }
.moon-fair { color: #fbbf24; font-weight: 500; }
.moon-poor { color: #f87171; font-weight: 500; }

/* ISS info */
.iss-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.iss-status {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
}
.iss-status.possible {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
}
.iss-status.later {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}
.iss-status.not-visible {
  background: rgba(113, 113, 122, 0.1);
  color: #71717A;
}
.iss-tip {
  font-size: 11px;
  color: var(--text-muted, #71717A);
}
.iss-tip a {
  color: #60a5fa;
  text-decoration: none;
}
.iss-tip a:hover {
  text-decoration: underline;
}

/* Astronomy tips */
.astro-tip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary, #A1A1AA);
}
.astro-tip-item span {
  font-size: 16px;
}
.astro-tip-item.highlight {
  color: #fbbf24;
  font-weight: 500;
}

/* Planet visibility states */
.planet-item.planet-visible { background: rgba(74, 222, 128, 0.05); }
.planet-item.planet-hidden { opacity: 0.6; }

/* ==================== EXTENDED NAVIGATION ==================== */
.nav-more-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.nav-extended-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  transition: opacity 0.3s ease;
}

.nav-extended-menu.hidden {
  opacity: 0;
  pointer-events: none;
}

.nav-extended-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.nav-extended-content {
  position: relative;
  width: 100%;
  max-height: 70vh;
  background: var(--bg-card, #1C1C1E);
  border-radius: 24px 24px 0 0;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.nav-extended-menu:not(.hidden) .nav-extended-content {
  transform: translateY(0);
}

.nav-extended-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-extended-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary, #FAFAFA);
}

.nav-extended-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated, #18181B);
  border: none;
  color: var(--text-primary, #FAFAFA);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-extended-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.nav-extended-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--bg-elevated, #18181B);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.nav-extended-item:hover {
  transform: translateY(-2px);
  background: var(--bg-hover, #27272A);
}

.nav-ext-icon {
  font-size: 28px;
}

.nav-ext-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary, #FAFAFA);
  text-align: center;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 600px) {
  .sun-times-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .moon-section {
    flex-direction: column;
    text-align: center;
  }

  .uv-details {
    grid-template-columns: 1fr;
  }

  .pollutant-grid,
  .pollen-type-grid,
  .activities-grid,
  .driving-factors {
    grid-template-columns: 1fr;
  }

  .health-group-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .planets-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-extended-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==================== LAZY LOADING & ANIMATIONS ==================== */
/* Lazy load section - hidden until visible */
.lazy-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

/* Visible state */
.lazy-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for children */
.lazy-section.is-visible .card {
  animation: slideUpFade 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Section group headers */
.section-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0 12px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

.section-group-header.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.section-group-icon {
  font-size: 24px;
  filter: grayscale(0.2);
}

.section-group-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted, #71717A);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-group-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    var(--border, rgba(255,255,255,0.1)) 0%,
    transparent 100%);
}

/* Card entrance animations */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Loading placeholder animation */
.lazy-section:not(.is-visible) .card {
  background: linear-gradient(
    90deg,
    var(--bg-surface, #18181B) 0%,
    var(--bg-elevated, #27272A) 50%,
    var(--bg-surface, #18181B) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Smooth card transitions */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Animated progress bars and circles */
.aqi-progress,
.activity-score-progress,
.pollutant-fill,
.pollen-type-fill,
.factor-fill {
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth number counting animation */
.animated-number {
  transition: all 0.3s ease;
}

/* Icon bounce on load */
.feature-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lazy-section.is-visible .feature-title::first-letter {
  animation: bounce 0.6s ease 0.3s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .lazy-section,
  .lazy-section.is-visible,
  .section-group-header,
  .feature-card,
  .aqi-progress,
  .activity-score-progress {
    transition: none;
    animation: none;
    transform: none;
    opacity: 1;
  }

  .lazy-section:not(.is-visible) .card {
    animation: none;
  }
}
