/* WinterHub - 冰雪运动产业资讯与场馆导航 */
/* 冰雪极光风视觉设计 */

:root {
  --ice-white: #F5F7FA;
  --aurora-blue: #00BCD4;
  --deep-sea: #0D47A1;
  --dark-bg: #0A1628;
  --text-primary: #1A2332;
  --text-secondary: #4A5568;
  --border-light: #E2E8F0;
  --gradient-aurora: linear-gradient(135deg, #0D47A1 0%, #00BCD4 100%);
  --shadow-card: 0 4px 20px rgba(13, 71, 161, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 188, 212, 0.15);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--ice-white);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--deep-sea);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--aurora-blue);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-logo svg {
  width: 36px;
  height: 36px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(0, 188, 212, 0.1);
  color: var(--aurora-blue);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.4) 0%, rgba(13, 71, 161, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-search input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
  outline: none;
}

.hero-search button {
  padding: 16px 32px;
  background: var(--gradient-aurora);
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.hero-search button:hover {
  opacity: 0.9;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .accent-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-aurora);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--aurora-blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.card-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Snow Condition Table */
.snow-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.snow-table thead {
  background: var(--gradient-aurora);
  color: #fff;
}

.snow-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.snow-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.snow-table tbody tr:hover {
  background: rgba(0, 188, 212, 0.04);
}

.snow-table .status-open {
  color: #10B981;
  font-weight: 600;
}

.snow-table .status-closed {
  color: #EF4444;
  font-weight: 600;
}

/* Video Section */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Page Banner */
.page-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.5) 0%, rgba(13, 71, 161, 0.7) 100%);
}

.page-banner .banner-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.page-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--aurora-blue);
}

.breadcrumb span {
  margin: 0 8px;
}

/* Ticket Section */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.ticket-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 2px solid var(--border-light);
  transition: var(--transition);
  text-align: center;
}

.ticket-card:hover {
  border-color: var(--aurora-blue);
  box-shadow: var(--shadow-hover);
}

.ticket-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--deep-sea);
  margin: 12px 0;
}

.ticket-card .price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.ticket-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ticket-card ul {
  list-style: none;
  margin: 16px 0;
  text-align: left;
}

.ticket-card ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.ticket-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--aurora-blue);
  font-weight: 700;
}

/* Button */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-aurora);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--aurora-blue);
  color: #fff;
}

/* Footer */
.site-footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 12px;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--aurora-blue);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

/* Feature List */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.feature-item {
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 188, 212, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--aurora-blue);
  font-size: 1.4rem;
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Article List */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.article-item:hover {
  box-shadow: var(--shadow-hover);
}

.article-item .article-thumb {
  width: 240px;
  min-height: 160px;
  flex-shrink: 0;
  overflow: hidden;
}

.article-item .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-item .article-content {
  padding: 20px;
  flex: 1;
}

.article-item .article-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.article-item .article-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.article-item .article-date {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .main-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    height: 60vh;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-search {
    flex-direction: column;
    border-radius: 16px;
  }

  .hero-search button {
    border-radius: 0 0 16px 16px;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

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

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

  .page-banner {
    height: 220px;
  }

  .page-banner h1 {
    font-size: 1.8rem;
  }

  .article-item {
    flex-direction: column;
  }

  .article-item .article-thumb {
    width: 100%;
    height: 180px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

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

  .snow-table {
    font-size: 0.82rem;
  }

  .snow-table th,
  .snow-table td {
    padding: 10px 8px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 16px;
  }
}

/* Lazy loading placeholder */
img[loading="lazy"] {
  background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
