/* Reset & base styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  margin: 0;
  padding: 0;
  color: #ffffff;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #0a0a0a;
  min-height: 100vh;
}

/* Navigation - Modern style */
.main-nav {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #333;
  backdrop-filter: blur(10px);
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand h1 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: #1976d2;
  background: rgba(25, 118, 210, 0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #1976d2;
  border-radius: 50%;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.page-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1rem 0;
  letter-spacing: -0.03em;
}

.page-header p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #ccc;
  margin: 0;
  font-weight: 400;
}

/* Page Content */
.page-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-section {
  margin: 3rem 0;
}

.content-wrapper {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.content-wrapper h2 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
}

.content-wrapper p {
  color: #ccc;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.content-wrapper ul {
  color: #ccc;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.content-wrapper li {
  margin: 0.5rem 0;
}

/* Hero Section - Clean Dashboard Style */
.hero-section {
  background: #f5f5f5;
  padding: 3rem 0 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="snow" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23333" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23snow)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #333;
  margin: 0 0 2rem 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b6b, #1976d2);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: #ccc;
  margin: 0 0 3rem 0;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #424242 0%, #303030 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(66, 66, 66, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #303030 0%, #212121 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 66, 66, 0.4);
}

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

.btn-outline:hover {
  background: #1976d2;
  color: white;
  transform: translateY(-2px);
}

/* Search Section */
.search-section {
  margin: 2rem 0;
  text-align: center;
}

.search-section h3 {
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.search-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

#resort-search {
  width: 100%;
  padding: 1rem 1.5rem;
  background: #2a2a2a;
  border: 2px solid #444;
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

#resort-search:focus {
  outline: none;
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

.search-result-item {
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #333;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #2a2a2a;
}

.search-result-item.no-results {
  color: #888;
  cursor: default;
}

.search-result-item.no-results:hover {
  background: transparent;
}

.resort-name {
  color: #ffffff;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.resort-country {
  color: #888;
  font-size: 0.9rem;
  margin: 0;
}

/* Main Features Section - Dashboard Style */
.main-features-section {
  background: #ffffff;
  padding: 3rem 0;
  width: 100%;
}

.main-features-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.main-feature-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 2rem;
  border-left: 4px solid #1976d2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.main-feature-card h3 {
  color: #333;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.main-feature-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.feature-link {
  color: #1976d2;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.feature-link:hover {
  color: #1565c0;
}

/* Featured Forecast Section */
.featured-forecast-section {
  background: #ffffff;
  padding: 3rem 0;
  width: 100%;
}

.featured-forecast-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.forecast-main h2 {
  color: #333;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.forecast-main p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.forecast-main strong {
  color: #1976d2;
  font-weight: 700;
}

.expert-alert {
  background: #e3f2fd;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid #1976d2;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.alert-icon {
  font-size: 1.2rem;
  color: #1976d2;
  margin-top: 0.2rem;
}

.alert-content h4 {
  color: #333;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.alert-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.alert-content strong {
  color: #1976d2;
  font-weight: 700;
}

/* Resort Pages */
.resort-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.resort-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.resort-info h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.03em;
}

.resort-location {
  font-size: 1.2rem;
  color: #1976d2;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.resort-description {
  font-size: 1.1rem;
  color: #ccc;
  margin: 0;
  line-height: 1.6;
}

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

.resort-stat {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
  text-align: center;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1976d2;
  margin: 0 0 0.5rem 0;
}

.stat-label {
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Current Conditions */
.current-conditions {
  background: #1a1a1a;
  border-radius: 12px;
  margin: 2rem auto;
  padding: 2rem;
  max-width: 1400px;
  border: 1px solid #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.conditions-content h2 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  text-align: center;
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.condition-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.condition-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.condition-icon {
  font-size: 2rem;
}

.condition-info h3 {
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.condition-info p {
  color: #ccc;
  margin: 0;
  font-size: 0.9rem;
}

/* Resort Forecast */
.resort-forecast {
  background: #1a1a1a;
  border-radius: 12px;
  margin: 2rem auto;
  padding: 2rem;
  max-width: 1400px;
  border: 1px solid #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.forecast-content h2 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  text-align: center;
}

.forecast-controls {
  text-align: center;
  margin-bottom: 2rem;
}

/* Period-based forecast styles */
.day-header {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-align: center;
}

.period-headers {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
}

.period-header {
  font-size: 0.7rem;
  color: #888;
  font-weight: 600;
  text-align: center;
  flex: 1;
}

.period-cell {
  padding: 0.5rem !important;
  vertical-align: top;
  min-width: 120px;
}

.period-data {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.period-section {
  border: 1px solid #333;
  border-radius: 6px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.period-label {
  font-size: 0.7rem;
  color: #1976d2;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.period-weather {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.weather-icon {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.weather-desc {
  font-size: 0.6rem;
  color: #ccc;
  text-align: center;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.weather-temp {
  font-size: 0.7rem;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
}

.weather-snow {
  font-size: 0.7rem;
  color: #66bb6a;
  font-weight: 600;
  text-align: center;
}

.weather-wind {
  font-size: 0.6rem;
  color: #888;
  text-align: center;
}

.total-snow {
  font-size: 0.7rem;
  color: #1976d2;
  font-weight: 600;
  text-align: center;
  margin: 0.5rem 0 0.25rem 0;
  padding: 0.25rem;
  background: rgba(25, 118, 210, 0.1);
  border-radius: 4px;
}

/* Resort Webcam */
.resort-webcam {
  background: #1a1a1a;
  border-radius: 12px;
  margin: 2rem auto;
  padding: 2rem;
  max-width: 1400px;
  border: 1px solid #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.webcam-content h2 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  text-align: center;
}

.webcam-container {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

#resort-webcam {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 2px solid #333;
}

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

.webcam-info p {
  color: #ccc;
  margin: 0.5rem 0;
}

.webcam-info strong {
  color: #ffffff;
  font-weight: 600;
}

.webcam-update {
  color: #888 !important;
  font-size: 0.9rem !important;
}

/* Resort Information */
.resort-info-section {
  background: #1a1a1a;
  border-radius: 12px;
  margin: 2rem auto;
  padding: 2rem;
  max-width: 1400px;
  border: 1px solid #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.resort-info-content h2 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
}

.info-card h3 {
  color: #1976d2;
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-card li {
  color: #ccc;
  margin: 0.5rem 0;
  padding: 0.25rem 0;
  border-bottom: 1px solid #333;
}

.info-card li:last-child {
  border-bottom: none;
}

.info-card strong {
  color: #ffffff;
  font-weight: 600;
}

/* Controls styling - Surfline style */
.controls {
  background: #1a1a1a;
  border-radius: 12px;
  margin: 2rem auto;
  padding: 2rem;
  max-width: 1400px;
  border: 1px solid #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.control-group {
  margin-bottom: 1.5rem;
}

.control-group label {
  display: block;
  color: #ccc;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#region {
  width: 100%;
  padding: 1rem;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

#region:focus {
  outline: none;
  border-color: #4a9eff;
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.control-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

#refreshBtn, .camera-link-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #4a9eff 0%, #357abd 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#refreshBtn:hover, .camera-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 158, 255, 0.3);
  background: linear-gradient(135deg, #5aaeff 0%, #458bcd 100%);
}

/* Stats Section */
.stats-section {
  background: #1a1a1a;
  border-radius: 12px;
  margin: 2rem auto;
  padding: 2rem;
  max-width: 1400px;
  border: 1px solid #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.stats-content h2 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1976d2;
  margin: 0 0 0.5rem 0;
}

.stat-label {
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  border-radius: 12px;
  margin: 2rem auto;
  padding: 3rem 2rem;
  max-width: 1400px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(25, 118, 210, 0.3);
}

.cta-content h2 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0 0 2rem 0;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.service-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #333;
  transition: transform 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
}

.service-card h3 {
  color: #1976d2;
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.service-card p {
  color: #ccc;
  margin: 0;
  line-height: 1.6;
}

/* Tech List */
.tech-list {
  list-style: none;
  padding: 0;
}

.tech-list li {
  margin: 1rem 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
}

.tech-list li:last-child {
  border-bottom: none;
}

/* Resorts Grid */
.resorts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.resort-item {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
}

.resort-item h4 {
  color: #1976d2;
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.resort-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resort-item li {
  color: #ccc;
  margin: 0.5rem 0;
  padding: 0.25rem 0;
}

/* Contact Info */
.contact-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.contact-item {
  color: #ccc;
  font-size: 1rem;
}

.contact-item strong {
  color: #ffffff;
}

.contact-item a {
  color: #1976d2;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Webcam Selector */
.webcam-selector-section {
  background: #1a1a1a;
  border-radius: 12px;
  margin: 2rem auto;
  padding: 2rem;
  max-width: 1400px;
  border: 1px solid #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.webcam-selector h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.webcam-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.webcam-option {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.webcam-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.webcam-option.active {
  border-color: #1976d2;
  background: linear-gradient(135deg, #1e3a5f 0%, #1a1a1a 100%);
}

.webcam-name {
  color: #ffffff;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.webcam-description {
  color: #ccc;
  font-size: 0.9rem;
  margin: 0;
}

/* Live Camera Section Updates */
.live-camera-section {
  background: #1a1a1a;
  border-radius: 12px;
  margin: 2rem auto;
  padding: 2rem;
  max-width: 1400px;
  border: 1px solid #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.live-camera-section h3 {
  margin: 0 0 1.5rem 0;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.camera-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

#live-snow-camera {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 2px solid #333;
  transition: transform 0.3s ease;
  cursor: pointer;
}

#live-snow-camera:hover {
  transform: scale(1.02);
  border-color: #4a9eff;
}

.camera-info {
  flex: 1;
  min-width: 250px;
}

.camera-info p {
  margin: 0.5rem 0;
  color: #ccc;
  font-size: 0.95rem;
}

.camera-info strong {
  color: #ffffff;
  font-weight: 600;
}

.refresh-info {
  color: #4a9eff !important;
  font-size: 0.85rem !important;
  font-weight: 500;
}

/* Forecast Container - Surfline style */
.forecast-container {
  background: #1a1a1a;
  border-radius: 12px;
  margin: 2rem auto;
  padding: 2rem;
  max-width: 1400px;
  border: 1px solid #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Loading styles */
.loading {
  text-align: center;
  padding: 3rem;
  color: #ccc;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #333;
  border-top: 3px solid #4a9eff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Forecast Table - Surfline style */
.forecast-table {
  background: #2a2a2a;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #444;
}

.forecast-table h2 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  text-align: center;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  background: #1a1a1a;
  border: 1px solid #333;
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #1a1a1a;
  min-width: 800px;
}

#snow-table td {
  padding: 0.5rem !important;
  height: 60px !important;
  min-height: 60px !important;
}

th {
  background: #333;
  color: #ffffff;
  padding: 0.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #444;
}

td {
  padding: 0.5rem;
  text-align: center;
  border-bottom: 1px solid #333;
  color: #ccc;
  font-weight: 500;
}

.metric-label {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-align: left !important;
}

.snow-cell {
  position: relative;
  padding: 0.5rem 0.5rem 0.5rem 0.5rem !important;
  min-height: 60px !important;
  height: 60px !important;
}

.snow-amount {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.snow-chart {
  height: 40px;
  width: 100%;
  max-width: 80px;
  margin: 0 auto 0.5rem auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 0 2px;
  position: relative;
}

.chart-bars {
  display: flex;
  align-items: end;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 2px;
}

.chart-bar {
  width: 8px;
  height: 0%;
  background: #ff6b6b;
  border-radius: 2px 2px 0 0;
  transition: all 0.8s ease;
  position: relative;
}

.chart-bar::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
}

.data-source {
  font-size: 0.7rem;
  color: #888;
  font-weight: 500;
  text-align: center;
  margin-top: 0.25rem;
}

/* Old snow bar styles removed - now using charts */

/* Legend */
.legend {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #1a1a1a;
  border-radius: 8px;
  border: 1px solid #333;
}

.legend h3 {
  color: #ffffff;
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.legend-items {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ccc;
  font-size: 0.9rem;
}

.legend-color {
  width: 20px;
  height: 8px;
  border-radius: 4px;
}

.legend-color.red {
  background: #ff6b6b;
}

.legend-color.orange {
  background: #ffa726;
}

.legend-color.green {
  background: #66bb6a;
}

/* Legend Chart Styles */
.legend-chart {
  display: flex;
  align-items: end;
  justify-content: space-between;
  width: 40px;
  height: 20px;
  gap: 2px;
  margin-right: 0.5rem;
}

.legend-bar {
  width: 6px;
  border-radius: 1px 1px 0 0;
  transition: all 0.3s ease;
}

/* Time Periods Info */
.time-periods-info {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
}

.time-periods-info h4 {
  color: #ffffff;
  margin: 0 0 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.time-periods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.time-period-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.time-period-bar {
  width: 12px;
  height: 8px;
  border-radius: 2px;
}

.time-period-item span {
  color: #ccc;
  font-size: 0.8rem;
  font-weight: 500;
}

.time-periods-note {
  text-align: center;
  color: #888;
  font-size: 0.8rem;
  margin: 0;
  font-style: italic;
}

/* Data Sources Info */
.data-sources-info {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
}

.data-sources-info h4 {
  color: #ffffff;
  margin: 0 0 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.data-sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.data-source-item {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #333;
  text-align: center;
}

.data-source-item strong {
  color: #1976d2;
  font-weight: 600;
}

.data-source-item small {
  color: #888;
  font-size: 0.8rem;
}

.data-sources-note {
  text-align: center;
  color: #888;
  font-size: 0.8rem;
  margin: 0;
  font-style: italic;
}

/* Summary Stats - Surfline style */
.summary-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #333;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.stat-card h3 {
  color: #ccc;
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card p {
  color: #ffffff;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Error Message */
.error-message {
  background: #2d1b1b;
  border: 1px solid #5c2c2c;
  color: #ff6b6b;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
}

/* Features Section - Surfline style */
.features-section {
  background: #1a1a1a;
  border-radius: 12px;
  margin: 2rem auto;
  padding: 2rem;
  max-width: 1400px;
  border: 1px solid #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.features-section h3 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #333;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.feature-card h4 {
  color: #4a9eff;
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.feature-card p {
  color: #ccc;
  margin: 0;
  line-height: 1.6;
}

/* Footer - Surfline style */
.main-footer {
  background: #0a0a0a;
  border-top: 1px solid #333;
  padding: 3rem 0 1rem 0;
  margin-top: 4rem;
  width: 100%;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.footer-brand p {
  color: #888;
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.footer-section a {
  display: block;
  color: #888;
  text-decoration: none;
  margin: 0.5rem 0;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #1976d2;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #666;
  margin: 0;
  font-size: 0.8rem;
}

/* Utility classes */
.hidden {
  display: none !important;
}

/* Responsive design */
@media (max-width: 1200px) {
  .nav-content,
  .page-header-content,
  .page-content,
  .hero-content,
  .controls,
  .live-camera-section,
  .forecast-container,
  .features-section,
  .stats-section,
  .cta-section,
  .webcam-selector-section,
  .about-cameras-section {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }
  
  .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .feature-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .main-feature-card {
    padding: 1.5rem;
  }
  
  .featured-forecast-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .nav-content,
  .page-header-content,
  .page-content,
  .hero-content {
    padding: 0 1rem;
  }
  
  .controls, 
  .live-camera-section, 
  .forecast-container, 
  .features-section,
  .stats-section,
  .cta-section,
  .webcam-selector-section,
  .about-cameras-section {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .camera-container {
    flex-direction: column;
    text-align: center;
  }
  
  .control-buttons {
    flex-direction: column;
  }
  
  .summary-stats {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .webcam-options {
    grid-template-columns: 1fr;
  }
  
  .resorts-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 1rem;
  }
  
  table {
    min-width: 600px;
  }
}

@media (max-width: 480px) {
  .nav-brand h1 {
    font-size: 1.5rem;
  }
  
  .nav-links {
    gap: 0.5rem;
  }
  
  .nav-link {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .featured-forecast-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .expert-alert {
    margin-top: 1rem;
  }
  
  .time-periods-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .time-period-item {
    justify-content: flex-start;
  }
  
  .page-header h1 {
    font-size: 1.8rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .controls, 
  .live-camera-section, 
  .forecast-container, 
  .features-section,
  .stats-section,
  .cta-section,
  .webcam-selector-section,
  .about-cameras-section {
    margin: 0.5rem;
    padding: 1rem;
  }
  
  table {
    min-width: 400px;
  }
  
  th, td {
    padding: 0.8rem 0.5rem;
    font-size: 0.9rem;
  }
}
