/* ============================================
   掷准飞盘高尔夫官网 - 全局样式
   Disc Golf Official Website
   ============================================ */

/* CSS Variables - Scheme 15 官方蓝白 (Navy Blue + White) */
:root {
  --primary: #1a4d8f;
  --primary-dark: #10233f;
  --primary-light: #2a5fa8;
  --accent: #3b82c4;
  --accent-dark: #1a4d8f;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --bg-light: #f5f8fc;
  --bg-white: #ffffff;
  --bg-dark: #10233f;
  --border: #e8ecf2;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 72px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(26, 77, 143, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(16, 35, 63, 0.25);
  background: rgba(22, 65, 122, 0.98);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}
.nav a.nav-tour::after,
.nav a.nav-league::after {
  display: none;
}

.nav a:hover {
  color: #fff;
}

.nav a.active {
  color: #fff;
}

/* Nav Tour Button (white pill on navy bar) */
.nav a.nav-tour {
  background: #fff;
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 24px;
  font-weight: 600;
}

.nav a.nav-tour:hover {
  background: #eaf1fa;
  transform: translateY(-1px);
}

.nav a.nav-tour.active {
  color: var(--primary);
}

/* Nav League Button (white outline on navy bar) */
.nav a.nav-league {
  background: transparent;
  color: #fff;
  padding: 8px 20px;
  border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav a.nav-league:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-1px);
}

.nav a.nav-league.active {
  color: #fff;
}

/* Dropdown Menu */
.nav-item {
  position: relative;
}

.nav-item.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  border: 1px solid var(--border);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--bg-white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-dark);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.dropdown-menu a.active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(26, 77, 143, 0.06);
}

.dropdown-menu a::after {
  display: none !important;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
}

.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:
    radial-gradient(ellipse at center, rgba(16, 35, 63, 0.30) 0%, rgba(16, 35, 63, 0.04) 62%),
    linear-gradient(135deg, rgba(16, 35, 63, 0.58), rgba(26, 77, 143, 0.40));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 40px 24px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 36px;
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 77, 143, 0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
}

.btn-green:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 77, 143, 0.35);
}

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

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

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

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

.section-header .line {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
  background: var(--bg-white);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 77, 143, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--primary);
}

.stat-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ============================================
   Features / Cards
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 0 28px 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: rgba(26, 77, 143, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: white;
}

.feature-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 24px;
  padding-top: 20px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* ============================================
   News Section
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: rgba(26, 77, 143, 0.15);
}

.news-card-img {
  height: 200px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.news-card-body {
  padding: 24px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-card-tag {
  background: rgba(26, 77, 143, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 500;
}

.news-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.news-card-link:hover {
  gap: 10px;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  grid-auto-rows: minmax(200px, 280px);
}

.gallery-stations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: white;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

/* ============================================
   Video Section
   ============================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.video-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.video-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 4px;
}

.video-wrapper:hover .video-play-btn {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper.playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}

.video-card-body {
  padding: 20px 24px;
}

.video-card-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.video-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   Sponsors Section
   ============================================ */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sponsor-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  min-width: 0;
}

.sponsor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 77, 143, 0.2);
}

.sponsor-logo {
  width: 120px;
  height: 80px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  overflow: hidden;
}

.sponsor-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sponsor-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.sponsor-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
  text-indent: 2em;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 24px;
  margin: 24px 0;
  list-style: none;
  padding: 0;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.92rem;
}

.about-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: rgba(26, 77, 143, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ============================================
   Timeline (About Page)
   ============================================ */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 100px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 82px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light), var(--border));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 8px;
  width: 13px;
  height: 13px;
  background: var(--bg-white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  z-index: 1;
}

.timeline-year {
  position: absolute;
  left: -132px;
  top: 2px;
  width: 68px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bg-white);
  background: var(--primary);
  padding: 4px 0;
  border-radius: 6px;
}

.timeline-content {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 77, 143, 0.15);
}

.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

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

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    padding: 0 0 24px 0;
  }

  .timeline-item::before {
    display: none;
  }

  .timeline-year {
    position: static;
    display: inline-block;
    margin-bottom: 8px;
  }
}

/* ============================================
   Tour Page Styles
   ============================================ */
.tour-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  margin-top: var(--header-height);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

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

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

.tour-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 35, 63, 0.80) 0%, rgba(16, 35, 63, 0.55) 42%, rgba(26, 77, 143, 0.25) 100%);
}

.tour-hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 60px 24px;
  max-width: 700px;
}

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

.tour-hero-content p {
  font-size: 1.15rem;
  opacity: 0.95;
  line-height: 1.8;
  margin-bottom: 24px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}



/* Tour Schedule */
.tour-schedule {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.schedule-item {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

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

.schedule-item:hover {
  background: var(--bg-light);
}

.schedule-date {
  width: 120px;
  flex-shrink: 0;
  text-align: center;
}

.schedule-date .month {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
}

.schedule-date .day {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.schedule-info {
  flex: 1;
  padding: 0 24px;
}

.schedule-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.schedule-info h3 a {
  color: inherit;
  transition: color 0.2s ease;
}

.schedule-info h3 a:hover {
  color: var(--primary);
}

.schedule-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.schedule-status {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-open {
  background: rgba(26, 77, 143, 0.1);
  color: var(--primary);
}

.status-upcoming {
  background: rgba(59, 130, 196, 0.15);
  color: var(--primary-light);
}

.status-closed {
  background: rgba(107, 114, 128, 0.1);
  color: var(--text-muted);
}

.schedule-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.schedule-action-btn {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.schedule-action-btn--alt {
  background: rgba(26, 77, 143, 0.1);
  color: var(--accent);
}

.schedule-action-btn--alt:hover {
  background: var(--accent);
  color: white;
}

.schedule-action-btn {
  background: rgba(26, 77, 143, 0.1);
  color: var(--primary);
}

.schedule-action-btn:hover {
  background: var(--primary);
  color: white;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: var(--bg-white);
  padding: 100px 0;
  text-align: center;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 77, 143, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 196, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Outline buttons inside the light CTA band: navy instead of white */
.cta-section .btn-outline {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
}

.cta-section .btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  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 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-light);
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
  color: white;
  padding-left: 4px;
}

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

/* ============================================
   Page Header (for inner pages)
   ============================================ */
.page-header {
  background: var(--bg-white);
  padding: 80px 0 44px;
  text-align: center;
  color: var(--text-dark);
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 77, 143, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .page-header {
    padding: 72px 0 36px;
  }
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(26, 77, 143, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .features-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(160px, 220px);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .sponsors-grid--gold,
  .sponsors-grid--silver {
    grid-template-columns: repeat(2, 1fr);
  }

  .sponsors-grid--platinum {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 0 16px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    padding: 8px;
    box-sizing: border-box;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 80px 16px 24px;
    gap: 2px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav a {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
  }

  .nav a:hover {
    background: var(--bg-light);
    color: var(--primary);
  }

  .nav a.active {
    color: var(--primary);
  }

  .nav a::after {
    display: none;
  }

  .nav.active {
    display: flex;
    right: 0;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.active > a,
  .nav.active > .nav-item {
    width: 100%;
    text-align: left;
  }

  /* Mobile dropdown: always visible inside nav */
  .nav-item.has-dropdown > a {
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 0 12px;
    margin-top: 4px;
    min-width: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu a {
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-radius: 6px;
    text-align: left;
  }

  .dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
  }

  .dropdown-arrow {
    transform: rotate(-90deg);
  }

  .nav-item.has-dropdown:hover .dropdown-arrow {
    transform: rotate(-90deg);
  }

  /* Keep pill buttons in mobile drawer but left-aligned */
  .nav a.nav-tour,
  .nav a.nav-league {
    align-self: flex-start;
    transform: none;
  }

  .nav a.nav-tour:hover,
  .nav a.nav-league:hover {
    transform: none;
  }

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

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

  .section {
    padding: 60px 0;
  }

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

  .features-grid,
  .news-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(140px, 200px);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

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

  .page-header h1 {
    font-size: 2rem;
  }

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

  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 24px;
  }

  .schedule-date {
    width: auto;
    display: flex;
    gap: 8px;
    align-items: baseline;
  }

  .schedule-info {
    padding: 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .sponsors-grid--platinum {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .sponsors-grid--platinum .sponsor-card {
    padding: 24px 16px;
  }

  .sponsors-grid--platinum .sponsor-logo {
    width: 100px;
    height: 60px;
    font-size: 1.2rem;
  }

  .sponsors-grid--gold,
  .sponsors-grid--silver {
    grid-template-columns: 1fr;
  }

  .tour-hero-info {
    gap: 16px;
  }

  .miniapp-qr-img {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 200px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 330px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 3;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, auto);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-stations {
    grid-template-columns: 1fr;
  }

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

  .stat-item h3 {
    font-size: 2rem;
  }
}

/* ============================================
   Additional Utility Classes
   ============================================ */
.section--alt {
  background: var(--bg-white);
}

.tour-hero-info {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.tour-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tour-info-label {
  font-size: 0.8rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tour-info-value {
  font-size: 1rem;
  font-weight: 600;
}

.tour-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.tour-intro p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
  text-indent: 2em;
}

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

.sponsors-grid--platinum .sponsor-card {
  padding: 28px 20px;
}

.sponsors-grid--platinum .sponsor-logo {
  width: 140px;
  height: 90px;
  font-size: 1.5rem;
}

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

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


/* ============================================
   Article / News Detail Styles
   ============================================ */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
.article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.article-tag.announce { background: var(--primary); color: #fff; }
.article-tag.event { background: #e3edf8; color: #1a4d8f; }
.article-tag.player { background: #dbeafe; color: #2a5fa8; }
.article-tag.industry { background: #e8ecf2; color: #475569; }
.article-tag.club { background: #e0f0fa; color: #3b82c4; }
.article-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.article-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.article-cover {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}
.article-cover img {
  width: 100%;
  height: auto;
  display: block;
}
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.article-body p { margin-bottom: 20px; text-indent: 2em; }
.article-body h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--text-dark);
}
.article-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text-dark);
}
.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--bg-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-muted);
}
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-body li { margin-bottom: 8px; }
.article-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 20px 0;
}
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 16px;
}
.article-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.article-nav a:hover { opacity: 0.8; }
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.article-share span {
  font-weight: 600;
  color: var(--text-dark);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.share-btn:hover {
  background: var(--primary);
  color: #fff;
}
.back-to-news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.back-to-news:hover { opacity: 0.8; }

/* Utility: section white bg */
.section-white { background: var(--bg-white); }

/* Utility: text link no decoration */
.text-link {
  text-decoration: none;
  color: inherit;
}
.text-link:hover { color: var(--primary); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 8px;
}
.pagination .btn-muted {
  color: var(--text-muted);
  border-color: var(--border);
}

/* CTA buttons row */
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Print styles */
@media print {
  .header, .footer, .back-to-top, .lightbox, .article-share, .article-nav,
  .page-header, .menu-toggle, .cta-section { display: none !important; }
  .section { padding: 20px 0; }
  .article-container { padding: 0; }
  body { color: #000; background: #fff; }
}


/* ============================================
   Mini Program QR Code Styles
   ============================================ */
.miniapp-qr-section {
  text-align: center;
  padding: 20px 0;
}
.miniapp-qr-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.miniapp-qr-img {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  transition: transform 0.3s ease;
}
.miniapp-qr-img:hover {
  transform: scale(1.05);
}
.miniapp-qr-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}
.miniapp-qr-hint {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* Footer social icons with image */
.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}
.footer-social-icon:hover {
  border-color: var(--primary-light);
  transform: scale(1.1);
}

/* Footer compliance links */
.footer-compliance {
  text-align: center;
  margin-top: 12px;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
.footer-compliance a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.footer-compliance a:hover {
  color: var(--primary-light);
}
@media (max-width: 768px) {
  .footer-compliance {
    gap: 6px 14px;
    padding-top: 16px;
  }
  .footer-compliance a {
    font-size: 12px;
  }
}

/* ============================================
   Signup QR Code Modal
   ============================================ */
.signup-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.65);
  padding: 20px;
}
.signup-modal.active {
  display: flex;
}
.signup-modal-box {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.25s ease;
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
.signup-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.signup-modal-close:hover {
  background: #f0f0f0;
  color: #333;
}
.signup-modal-box h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.signup-modal-box p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.signup-modal-box img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.signup-modal-tip {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #888;
}
@media (max-width: 768px) {
  .signup-modal-box {
    padding: 28px 20px 20px;
    max-width: 340px;
  }
  .signup-modal-box img {
    max-width: 260px;
  }
}

/* ============================================
   Footer Org Info (主办/协办/承办)
   ============================================ */
.footer-org {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-org p {
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  white-space: nowrap;
}

.footer-org strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  margin-right: 4px;
}

@media (max-width: 680px) {
  .footer-org {
    flex-direction: column;
    gap: 4px;
  }
  .footer-org p {
    white-space: normal;
  }
}

/* ============================================
   Global Leaderboard Table
   ============================================ */
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.leaderboard-table thead th {
  background: #1a4d8f;
  color: #fff;
  padding: 14px 12px;
  text-align: left;
  font-weight: 600;
}

.leaderboard-table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid #e8e8e8;
}

.leaderboard-table tbody tr:nth-child(even) {
  background: #f5f8fc;
}

.leaderboard-table tbody tr:hover {
  background: #e8eef7;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}
.rank-1 { background: linear-gradient(135deg, #ffd700, #ffaa00); color: #fff; }
.rank-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #fff; }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #b87333); color: #fff; }

@media (max-width: 768px) {
  .leaderboard-table {
    font-size: 13px;
  }
  .leaderboard-table thead th,
  .leaderboard-table tbody td {
    padding: 10px 8px;
  }
}

/* ============================================
   Global Station Info Grid & Cards
   ============================================ */
.station-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.station-info-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

.station-info-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.station-info-card h4 {
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 1rem;
}

.station-info-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================
   Nav Signup Button (P2)
   ============================================ */
.nav-signup-btn {
  background: #fff;
  color: var(--primary) !important;
  padding: 8px 20px !important;
  border-radius: 24px;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-signup-btn:hover {
  background: #eaf1fa !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.nav-signup-btn::after {
  display: none !important;
}

@media (max-width: 768px) {
  .nav-signup-btn {
    align-self: flex-start;
    margin-top: 8px;
  }
}

/* ============================================
   Floating Service Widget (P2)
   ============================================ */
.floating-service {
  position: fixed;
  bottom: 32px;
  right: 92px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-service-btn {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 77, 143, 0.3);
  transition: var(--transition);
  position: relative;
}

.floating-service-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 77, 143, 0.4);
}

.floating-service-panel {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  width: 220px;
  display: none;
  text-align: center;
  border: 1px solid var(--border);
}

.floating-service-panel.active {
  display: block;
  animation: modalPop 0.25s ease;
}

.floating-service-panel h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.floating-service-panel img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  margin: 0 auto 8px;
  display: block;
  border: 2px solid var(--border);
}

.floating-service-panel p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.floating-service-panel .service-contact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .floating-service {
    bottom: 20px;
    right: 72px;
  }
  .floating-service-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  .floating-service-panel {
    width: 200px;
    padding: 16px;
    right: -10px;
  }
  .floating-service-panel img {
    width: 140px;
    height: 140px;
  }
}

/* ============================================
   Club Showcase (P2)
   ============================================ */
.club-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.club-showcase-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.club-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.club-showcase-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.4);
}

.club-showcase-body {
  padding: 20px;
}

.club-showcase-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.club-showcase-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

/* ============================================
   Venue Layout Placeholder (P2)
   ============================================ */
.venue-layout-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-top: 16px;
}

.venue-layout-placeholder {
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
}

.venue-layout-placeholder .icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

.venue-layout-placeholder p {
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================
   Mission Grid (About Page)
   ============================================ */
.mission-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.mission-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 77, 143, 0.15);
}

.mission-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  flex-shrink: 0;
}

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

.mission-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .mission-card {
    padding: 20px;
    gap: 16px;
  }
  .mission-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.2rem;
  }
}

/* ============================================
   Vision & Values Section (About Page)
   ============================================ */
.vision-statement {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 0;
}

.vision-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.vision-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.vision-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.value-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 77, 143, 0.15);
}

.value-letter {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.value-subtitle {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.value-card p:last-child {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .vision-statement {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .value-letter {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
}

/* ============================================
   Rules Intro Section (About Page)
   ============================================ */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.rules-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.rules-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 77, 143, 0.15);
}

.rules-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.rules-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.rules-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .rules-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ============================================
   Station Tabs (Gallery & Rankings)
   ============================================ */
.station-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 28px;
  border: 2px solid var(--border);
  background: var(--bg-white);
  color: var(--text-muted);
  border-radius: 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  font-family: inherit;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ============================================
   Brand Visual (Homepage)
   ============================================ */
.brand-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.brand-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Gallery CTA Card (9th grid slot)
   ============================================ */
.gallery-item-cta {
  background: var(--bg-white);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.gallery-item-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

.gallery-item-cta a:hover {
  background: var(--bg-light);
  color: var(--primary-dark);
}

.gallery-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.gallery-cta-icon {
  font-size: 2rem;
}

/* ============================================
   Mobile Touch Target & Spacing Improvements
   ============================================ */
@media (max-width: 768px) {
  .tab-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .station-tabs {
    gap: 6px;
    margin-bottom: 24px;
  }
  .schedule-action-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .schedule-actions {
    flex-wrap: wrap;
  }
  /* Score table mobile */
  .leaderboard-table {
    font-size: 13px;
  }
  .leaderboard-table thead th,
  .leaderboard-table tbody td {
    padding: 10px 6px;
  }
  .leaderboard-table .rank-badge {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  /* Score page action buttons stack */
  .score-page-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
  }
  .score-page-actions .btn {
    margin-left: 0 !important;
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .tab-content p {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  .tab-btn {
    padding: 7px 10px;
    font-size: 0.78rem;
  }
  .station-tabs {
    gap: 4px;
    justify-content: center;
  }
  .leaderboard-table {
    font-size: 12px;
  }
  .leaderboard-table thead th,
  .leaderboard-table tbody td {
    padding: 8px 4px;
  }
  .leaderboard-table .rank-badge {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
}

@media (min-width: 1025px) {
  .sponsors-grid--platinum {
    grid-template-columns: repeat(4, 1fr);
  }
}
