/* ======================================================
   2026 FIFA World Cup - VooV Meeting Style
   白底蓝色主题 · 参考 voovmeeting.com 设计语言
   ====================================================== */

:root {
  --blue: #006FFF;
  --blue-hover: #198CFF;
  --blue-active: #0054E6;
  --blue-bg: rgba(0, 111, 255, 0.06);
  --red: #FF3C33;
  --red-hover: #FF5E4D;
  --green: #00b365;
  --gold: #F5A623;
  --text-primary: #2D3033;
  --text-secondary: #5E6166;
  --text-muted: #939AA3;
  --bg-white: #FFFFFF;
  --bg-light: #F7F8FA;
  --bg-footer: #282F3C;
  --border: #E6E8EE;
  --border-light: #F2F2F2;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 40px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-sm: 4px;
  --content-width: 1180px;
  --header-height: 60px;
  --font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Helvetica, 'Microsoft YaHei', sans-serif;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; cursor: pointer; }
a:hover { color: var(--blue-hover); }
ul, ol { list-style: none; }
img { max-width: 100%; border: 0; }
button { font-family: inherit; outline: none; cursor: pointer; border: none; }

/* === BUTTONS (VooV style) === */
.tm-btn {
  display: inline-block;
  padding: 0 24px;
  height: 40px;
  line-height: 38px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.25s ease;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.tm-btn.primary {
  background: var(--blue);
  color: #fff;
}
.tm-btn.primary:hover { background: var(--blue-hover); }
.tm-btn.primary:active { background: var(--blue-active); }

.tm-btn.fill {
  background: #fff;
  color: var(--blue);
}
.tm-btn.fill:hover { box-shadow: 0 3px 12px rgba(26, 81, 242, 0.3); }

.tm-btn.hollow {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.tm-btn.hollow:hover { background: #fff; color: var(--blue); }

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

.tm-btn.size-large {
  padding: 0 32px;
  min-width: 180px;
  height: 48px;
  line-height: 46px;
  font-size: 16px;
}

.tm-btn.live-btn {
  background: var(--red);
  color: #fff;
  border-radius: 20px;
  font-weight: 600;
}
.tm-btn.live-btn:hover { background: var(--red-hover); }

.tm-btn.live-sm {
  height: 32px;
  line-height: 30px;
  padding: 0 14px;
  font-size: 12px;
  border-radius: 16px;
}

/* === HEADER (VooV style) === */
.head-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-white);
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.head-wrap .left {
  display: flex;
  align-items: center;
  height: 100%;
}

.head-wrap .logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.head-wrap .logo-wrap:hover { color: var(--text-primary); text-decoration: none; }
.head-wrap .logo-icon { font-size: 24px; }
.head-wrap .logo-text { color: var(--blue); }

.head-wrap .center { display: flex; align-items: center; }

.nav-items {
  display: flex;
  gap: 4px;
}

.nav-items .nav-item {
  padding: 8px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-items .nav-item:hover {
  color: var(--blue);
  text-decoration: none;
}

.nav-items .nav-item.active {
  color: var(--blue);
  font-weight: 600;
}

.head-wrap .right { display: flex; align-items: center; gap: 12px; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* === LAYOUT === */
.content-layout { padding-top: var(--header-height); }
.wrap { max-width: var(--content-width); margin: 0 auto; padding: 0 20px; }

/* === BANNER (VooV style) === */
.banner {
  position: relative;
  background: var(--blue);
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(255,255,255,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(0,0,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 60px 20px;
  color: #fff;
}

.banner .badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.banner h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.banner .subtitle {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 32px;
  line-height: 1.6;
}

.banner .operate-btn {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

/* === COUNTDOWN === */
.countdown {
  display: flex;
  gap: 20px;
}

.countdown-item {
  text-align: center;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 12px 20px;
  min-width: 80px;
  backdrop-filter: blur(4px);
}

.countdown-value {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.countdown-label {
  font-size: 12px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === SECTION TITLE === */
.section-title {
  text-align: center;
  margin: 60px 0 36px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 48px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* === STATS CARDS (VooV application style) === */
.stats-row {
  display: flex;
  gap: 20px;
  margin: -50px auto 0;
  position: relative;
  z-index: 2;
  max-width: var(--content-width);
  padding: 0 20px;
}

.stat-card {
  flex: 1;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 50px rgba(0,0,0,0.12); }
.stat-card .icon { font-size: 36px; margin-bottom: 12px; display: block; }
.stat-card .value { font-size: 28px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.stat-card .label { font-size: 14px; color: var(--text-muted); }

/* === TABS (VooV introduce style) === */
.tabs-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.tabs-header .tab-item {
  padding: 14px 28px;
  font-size: 16px;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tabs-header .tab-item:hover { color: var(--blue); }
.tabs-header .tab-item.active {
  color: var(--blue);
  font-weight: 600;
  border-bottom-color: var(--blue);
}

.tab-content { display: none; padding: 32px 0; }
.tab-content.active { display: block; }

/* === MATCH CARDS === */
.matches-list { display: flex; flex-direction: column; gap: 12px; }

.match-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all 0.25s;
  position: relative;
}

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

.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.match-stage-badge {
  padding: 2px 10px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: 10px;
  font-weight: 600;
  font-size: 12px;
}

.match-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.match-team {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.match-team.home { justify-content: flex-end; text-align: right; }
.match-team.away { justify-content: flex-start; }

.match-team .flag { font-size: 28px; line-height: 1; }
.match-team .info .name { font-size: 16px; font-weight: 600; }
.match-team .info .code { font-size: 12px; color: var(--text-muted); }

.match-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.match-score {
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-score .sep { color: var(--text-muted); font-weight: 300; }

.match-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.match-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
}

.match-footer .venue { display: flex; align-items: center; gap: 4px; }

.match-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.status-completed { background: rgba(0,179,101,0.08); color: var(--green); }
.status-upcoming { background: var(--blue-bg); color: var(--blue); }
.status-live {
  background: rgba(255,60,51,0.08);
  color: var(--red);
  animation: livePulse 2s infinite;
}

.status-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: liveDot 1.5s infinite;
}

/* === DATE GROUP === */
.date-group { margin-bottom: 32px; }

.date-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.date-group-header h3 {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.date-group-header .count {
  font-size: 13px;
  color: var(--text-muted);
}

/* === FILTER BAR === */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-bottom: 32px;
  border: 1px solid var(--border-light);
  align-items: center;
}

.filter-bar label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.filter-bar select,
.filter-bar input[type="text"] {
  padding: 8px 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  min-width: 140px;
}

.filter-bar select:focus,
.filter-bar input:focus { border-color: var(--blue); }

/* === GROUPS (VooV scene cards style) === */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.group-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
}

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

.group-card-header {
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--blue), var(--blue-hover));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.group-table {
  width: 100%;
  border-collapse: collapse;
}

.group-table th {
  padding: 10px 8px;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}

.group-table th:first-child { text-align: left; padding-left: 20px; }

.group-table td {
  padding: 10px 8px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.group-table td:first-child { text-align: left; padding-left: 20px; }
.group-table tr:last-child td { border-bottom: none; }

.group-table .team-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.group-table .team-cell .flag { font-size: 20px; }
.group-table .team-cell .name { font-weight: 600; }
.group-table .pts { font-weight: 700; color: var(--blue); }

.group-table tr.top-2 td {
  background: rgba(0, 111, 255, 0.03);
}
.group-table tr.top-2 td:first-child {
  border-left: 3px solid var(--blue);
  padding-left: 17px;
}

/* === KNOCKOUT BRACKET === */
.bracket-wrap { overflow-x: auto; padding: 20px 0; }

.bracket {
  display: flex;
  gap: 24px;
  min-width: 900px;
  align-items: flex-start;
  padding: 20px;
}

.bracket-round {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 200px;
}

.bracket-round-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
  margin-bottom: 4px;
}

.bracket-match {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.2s;
}

.bracket-match:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }

.bracket-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
}

.bracket-team:last-child { border-bottom: none; }
.bracket-team .flag-name { display: flex; align-items: center; gap: 6px; }
.bracket-team .score { font-weight: 700; }
.bracket-team.winner { background: rgba(0,111,255,0.04); font-weight: 600; }
.bracket-team.tbd { color: var(--text-muted); font-style: italic; }

/* === BOTTOM CTA (VooV blue-gray-background style) === */
.bottom-cta {
  background: linear-gradient(135deg, #1a3a8a 0%, var(--blue) 50%, #0054E6 100%);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.bottom-cta::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 300px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.bottom-cta::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 400px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.bottom-cta .title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.bottom-cta .text {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 32px;
  position: relative;
}

.bottom-cta .operate-btn { position: relative; }

/* === FOOTER (VooV style) === */
.foot-wrap {
  background: var(--bg-footer);
  padding: 40px 20px;
}

.foot-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.foot-links {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.foot-col .col-title {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
}

.foot-col .col-link {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.foot-col .col-link:hover { color: #fff; text-decoration: none; }

.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* === PAGE HEADER === */
.page-hero {
  background: linear-gradient(135deg, var(--blue), var(--blue-active));
  padding: 48px 20px 40px;
  text-align: center;
  color: #fff;
}

.page-hero h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.page-hero p { font-size: 16px; opacity: 0.8; }

.page-body {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* === SCENES / HOST CITIES (VooV scene style) === */
.scene-section {
  background: linear-gradient(180deg, #1a2744 0%, #0d1b3e 100%);
  padding: 60px 20px;
}

.scene-section .section-title h2 { color: #fff; }
.scene-section .section-title p { color: rgba(255,255,255,0.6); }

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.scene-card {
  background: linear-gradient(224deg, #F0F5FF 0%, #FFFFFF 34%);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid #E5E5E5;
  box-shadow: 0 0 50px rgba(0,0,0,0.1);
  transition: all 0.25s;
}

.scene-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,0.15); }
.scene-card .icon { font-size: 48px; margin-bottom: 12px; display: block; }
.scene-card .title { font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.scene-card .desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* === QUICK LINKS === */
.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  transition: all 0.25s;
}

.quick-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.quick-link .icon { font-size: 32px; }
.quick-link .label { font-size: 15px; font-weight: 600; }

/* === ANIMATIONS === */
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes liveDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .groups-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .stats-row { flex-wrap: wrap; }
  .stat-card { min-width: calc(50% - 10px); }
}

@media (max-width: 768px) {
  .head-wrap { padding: 0 16px; }
  .head-wrap .center { display: none; }
  .head-wrap .center.open { 
    display: flex;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 16px;
  }
  .head-wrap .center.open .nav-items { flex-direction: column; width: 100%; }
  .mobile-toggle { display: flex; }

  .banner h1 { font-size: 28px; }
  .banner .subtitle { font-size: 15px; }
  .banner .operate-btn { flex-direction: column; gap: 10px; }
  .countdown { gap: 8px; }
  .countdown-value { font-size: 24px; }
  .countdown-item { padding: 8px 12px; min-width: 60px; }

  .stats-row { flex-direction: column; gap: 12px; margin-top: -30px; }
  .groups-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .section-title h2 { font-size: 24px; }

  .match-body { flex-direction: column; gap: 8px; }
  .match-team { justify-content: center !important; text-align: center !important; }

  .filter-bar { flex-direction: column; }
  .foot-links { flex-direction: column; gap: 24px; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .page-hero h1 { font-size: 24px; }
  .bottom-cta .title { font-size: 24px; }
}

@media (max-width: 480px) {
  .banner h1 { font-size: 22px; }
  .countdown-value { font-size: 20px; }
  .quick-links { grid-template-columns: 1fr; }
}
