/* ===== 全局重置 & 变量 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #FFD700;
  --gold2: #FFA500;
  --dark: #060b14;
  --dark2: #0d1a2e;
  --dark3: #112240;
  --accent: #00c6ff;
  --accent2: #0072ff;
  --text: #e0e8ff;
  --text-muted: #8892b0;
  --card-bg: rgba(17,34,64,0.85);
  --border: rgba(255,215,0,0.2);
  --radius: 16px;
  --shadow: 0 8px 40px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== 粒子背景 ===== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0%   { transform: translateY(110vh) scale(0.5); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* ===== 导航 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
  background: rgba(6,11,20,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 1px;
}
.trophy-icon { font-size: 1.5rem; animation: spin-slow 8s linear infinite; }
@keyframes spin-slow { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}
.nav-links a:hover { color: var(--gold); }

/* ===== 英雄区 ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 8% 60px;
  background: 
    radial-gradient(ellipse at 70% 50%, rgba(0,114,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255,215,0,0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,215,0,0.15)'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-content { position: relative; z-index: 2; max-width: 600px; }

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1.5px solid var(--gold);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 24px;
  animation: pulse-border 2s ease-in-out infinite;
}
@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(255,215,0,0); }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.gold-text {
  background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0%; }
  100% { background-position: 200%; }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero-date {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 36px;
  font-weight: 500;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  color: #fff;
  box-shadow: 0 4px 24px rgba(0,114,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,198,255,0.5); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(255,215,0,0.1); transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000;
  box-shadow: 0 4px 24px rgba(255,165,0,0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,215,0,0.6); }

/* ===== 足球动画 ===== */
.hero-ball {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
}
.ball-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.3), transparent 70%);
  animation: glow-pulse 2s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.3); opacity: 1; }
}
.ball {
  font-size: 8rem;
  animation: ball-bounce 3s ease-in-out infinite, ball-spin 6s linear infinite;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(255,215,0,0.5));
}
@keyframes ball-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}
@keyframes ball-spin {
  0%   { filter: drop-shadow(0 0 30px rgba(255,215,0,0.5)); }
  50%  { filter: drop-shadow(0 0 50px rgba(0,198,255,0.8)); }
  100% { filter: drop-shadow(0 0 30px rgba(255,215,0,0.5)); }
}

/* ===== 通用 section ===== */
section {
  position: relative;
  z-index: 1;
  padding: 80px 8%;
}
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 48px;
  background: linear-gradient(90deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== 倒计时 ===== */
.countdown-section {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  min-width: 110px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.cd-item:hover { transform: translateY(-4px); }
.cd-num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.cd-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; letter-spacing: 2px; }
.cd-sep { font-size: 2.5rem; color: var(--gold); font-weight: 900; align-self: flex-start; padding-top: 16px; }

/* ===== 对阵 ===== */
.matchup-section { background: var(--dark); }
.matchup-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 50px 40px;
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow), 0 0 60px rgba(255,215,0,0.05);
  flex-wrap: wrap;
}
.team { text-align: center; flex: 1; min-width: 180px; }
.team-flag { font-size: 5rem; margin-bottom: 12px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5)); }
.team-name { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.team-stats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.stat-item {
  background: rgba(255,255,255,0.07);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.vs-block { text-align: center; flex-shrink: 0; }
.vs-text {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 4px;
}
.vs-date { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }
.vs-time { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-top: 4px; }
.vs-stage { font-size: 0.85rem; color: var(--gold); margin-top: 10px; letter-spacing: 1px; }

/* ===== 赛程 ===== */
.journey-section { background: linear-gradient(135deg, var(--dark2), var(--dark)); }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1000px; margin: 0 auto; }
.journey-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(10px);
}
.journey-card h3 { font-size: 1.3rem; margin-bottom: 20px; text-align: center; }
.journey-card ul { list-style: none; }
.journey-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}
.journey-card li:last-child { border-bottom: none; }
.round {
  background: rgba(0,114,255,0.2);
  color: var(--accent);
  border-radius: 100px;
  padding: 2px 10px;
  font-size: 0.72rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== 场馆 ===== */
.venue-section { background: var(--dark3); }
.venue-card {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 50px 50px;
  max-width: 1000px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}
.venue-icon { font-size: 5rem; flex-shrink: 0; }
.venue-info { flex: 1; min-width: 220px; }
.venue-info h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.venue-location { color: var(--accent); font-size: 0.9rem; margin-bottom: 6px; }
.venue-cap { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; }
.venue-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.8; }
.venue-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  min-width: 120px;
}
.vstat { text-align: center; }
.vstat-num { display: block; font-size: 2rem; font-weight: 900; color: var(--gold); }
.vstat-label { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 1px; }

/* ===== 购票 ===== */
.tickets-section { background: var(--dark2); }
.tickets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.ticket-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ticket-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.ticket-featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(17,34,64,0.95), rgba(26,46,90,0.95));
  box-shadow: 0 0 40px rgba(255,215,0,0.15);
}
.ticket-hot {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.ticket-tier { font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; letter-spacing: 1px; }
.ticket-price { font-size: 2.4rem; font-weight: 900; margin-bottom: 24px; }
.ticket-features { list-style: none; margin-bottom: 28px; }
.ticket-features li { padding: 8px 0; font-size: 0.88rem; color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.04); }
.ticket-features li:last-child { border-bottom: none; }

/* ===== 底部 ===== */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 50px 8%;
  background: var(--dark);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-logo { font-size: 1.2rem; font-weight: 700; color: var(--gold); margin-bottom: 10px; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-btns { justify-content: center; }
  .hero-ball { display: none; }
  .journey-grid { grid-template-columns: 1fr; }
  .tickets-grid { grid-template-columns: 1fr; }
  .venue-card { flex-direction: column; text-align: center; }
  .venue-stats { flex-direction: row; justify-content: center; }
  .nav-links { display: none; }
  .matchup-card { flex-direction: column; }
}
