/* ===== 球场八爪鱼 · 足球主题样式 ===== */

:root {
  /* 足球主题色板 */
  --pitch-green: #0a5e2e;
  --pitch-dark: #064020;
  --pitch-light: #1a8a3f;
  --gold: #f0c040;
  --gold-bright: #ffd700;
  --gold-dark: #b8941f;
  --white: #ffffff;
  --off-white: #f5f5f0;
  --black: #0a0a0a;
  --slate-900: #111827;
  --slate-800: #1f2937;
  --slate-700: #374151;
  --slate-600: #4b5563;
  --slate-400: #9ca3af;
  --slate-300: #d1d5db;
  --slate-200: #e5e7eb;
  --red: #dc2626;
  --red-light: #ef4444;
  --blue-accent: #3b82f6;
  --blue-dark: #1e40af;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.2);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.15);
  --shadow-gold: 0 0 30px rgba(240,192,64,0.3);
  --shadow-green: 0 0 20px rgba(10,138,63,0.25);

  --glass-bg: rgba(255,255,255,0.025);
  --glass-border: rgba(255,255,255,0.06);
  --glass-hover: rgba(255,255,255,0.05);

  --font-body: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-display: 'Microsoft YaHei', 'PingFang SC', monospace;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--slate-900);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== Particle Canvas ===== */
#particlesCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== App Container ===== */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  background: rgba(10,10,10,0.75);
  border-bottom: 1px solid rgba(240,192,64,0.1);
  padding: 12px 0;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 2rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.logo-text h1 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.65rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: var(--slate-300);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

/* ===== Hero ===== */
.hero {
  padding: 60px 0 40px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 192, 64, 0.1);
  border: 1px solid rgba(240, 192, 64, 0.25);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--gold); }
  50% { opacity: 0.4; box-shadow: 0 0 12px var(--gold); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), #e8a020);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--slate-300);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

/* ===== Intel Badge ===== */
.intel-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  color: var(--slate-400);
}

.intel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pitch-light);
  animation: pulse 3s ease-in-out infinite;
}

.intel-dot.stale {
  background: var(--red-light);
}

.stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  transition: width 0.3s;
}

.stat-card:hover::after {
  width: 60%;
}

.stat-card:hover {
  border-color: rgba(240,192,64,0.15);
  transform: translateY(-1px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gold);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--slate-400);
}

/* ===== Countdown ===== */
.countdown-section {
  margin: 24px 0 32px;
}

.countdown-title {
  font-size: 0.9rem;
  color: var(--slate-300);
  margin-bottom: 12px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.countdown-block {
  background: linear-gradient(180deg, rgba(15,23,42,0.9), rgba(10,10,20,0.95));
  border: 1px solid rgba(240,192,64,0.2);
  border-radius: var(--radius-lg);
  padding: 14px 22px;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.03);
  transition: all 0.3s;
}

.countdown-block:hover {
  border-color: rgba(240,192,64,0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

.countdown-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1;
}

.countdown-unit {
  font-size: 0.7rem;
  color: var(--slate-400);
  margin-top: 4px;
  text-transform: uppercase;
}

/* ===== Buttons ===== */
.btn-predict-large {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--pitch-green), var(--pitch-light));
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(10, 94, 46, 0.4);
  font-family: var(--font-body);
}

.btn-predict-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10, 94, 46, 0.6);
}

.btn-predict {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--pitch-green), #0d7a36, var(--pitch-light));
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: var(--font-body);
  white-space: nowrap;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(10,94,46,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.btn-predict::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s;
}

.btn-predict:hover:not(:disabled)::after {
  left: 100%;
}

.btn-predict:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10,94,46,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-predict:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

.btn-icon {
  font-size: 1.2rem;
}

/* ===== Section Common ===== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.section-desc {
  color: var(--slate-400);
  font-size: 0.9rem;
}

/* ===== Predict Section ===== */
.predict-section {
  padding: 60px 0;
}

.predict-panel {
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.predict-panel::before {
  content: '';
  position: absolute;
  top: -1px; left: 20px; right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,192,64,0.3), transparent);
  border-radius: 50%;
}

.match-selector {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  justify-content: center;
  margin-bottom: 24px;
  padding: 24px;
  background: rgba(255,255,255,0.015);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.04);
}

.team-pick {
  flex: 1;
  min-width: 0;
  position: relative;
}

.team-pick-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate-400);
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.2;
  height: 14px;
}

.team-pick-badge.away {
  color: var(--slate-500);
}

.team-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15,23,42,0.8);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.25s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%239ca3af'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  line-height: 1.4;
  height: 44px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.team-select:hover {
  border-color: rgba(240,192,64,0.3);
}

.team-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,192,64,0.1), inset 0 1px 3px rgba(0,0,0,0.2);
}

.team-flag {
  display: none;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  flex-shrink: 0;
}

.vs-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(240, 192, 64, 0.4);
}

.stage-pick {
  flex: 0 0 auto;
  min-width: 110px;
}

.stage-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.2;
  height: 14px;
}

.stage-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15,23,42,0.8);
  border: 1.5px solid rgba(240,192,64,0.2);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  appearance: none;
  line-height: 1.4;
  height: 44px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23f0c040'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* ===== Loading ===== */
.loading-overlay {
  margin-top: 24px;
  text-align: center;
  padding: 32px;
}

.loading-overlay.hidden {
  display: none;
}

.loading-ball {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: radial-gradient(circle at 35% 35%, var(--white), var(--slate-400));
  border-radius: 50%;
  animation: kick 1s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  position: relative;
}

.loading-ball::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px solid var(--slate-600);
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 4px,
    rgba(0,0,0,0.08) 4px,
    rgba(0,0,0,0.08) 8px
  );
  mask-image: radial-gradient(circle, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 40%, transparent 70%);
}

@keyframes kick {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(90deg); }
  50% { transform: translateY(0) rotate(180deg); }
  75% { transform: translateY(-10px) rotate(270deg); }
}

.loading-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.loading-hint {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 4px;
}

/* ===== Prediction Result ===== */
.prediction-result {
  margin-top: 24px;
}

.prediction-result.hidden {
  display: none;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.result-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(10,94,46,0.2);
  color: var(--pitch-light);
  border: 1px solid rgba(10,94,46,0.25);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.result-stage {
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* ===== Scoreboard ===== */
.scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.scoreboard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,192,64,0.15), rgba(240,192,64,0.3), rgba(240,192,64,0.15), transparent);
}

.team {
  flex: 1;
  text-align: center;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.team-flag-lg {
  font-size: 3rem;
  margin-bottom: 12px;
}

.win-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  margin-bottom: 8px;
  overflow: hidden;
}

.win-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.win-bar-a {
  background: linear-gradient(90deg, var(--pitch-green), var(--gold));
}

.win-bar-b {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue-accent));
}

.win-prob {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prob-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-bright);
}

.prob-unit {
  font-size: 0.7rem;
  color: var(--slate-400);
}

.score-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.score-display {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--slate-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 4px;
}

.draw-info {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.draw-label {
  font-size: 0.7rem;
  color: var(--slate-400);
}

.draw-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-300);
}

.draw-pct {
  font-size: 0.65rem;
  color: var(--slate-400);
}

/* ===== Key Factors ===== */
.key-factors {
  margin-bottom: 20px;
}

.key-factors h4,
.analysis-block h4,
.players-block h4 {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 700;
}

.factors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.factor-tag {
  background: rgba(240,192,64,0.08);
  border: 1px solid rgba(240,192,64,0.15);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.83rem;
  color: var(--gold);
  font-weight: 500;
  transition: all 0.25s;
}

.factor-tag:hover {
  background: rgba(240,192,64,0.14);
  border-color: rgba(240,192,64,0.3);
}

/* ===== Analysis ===== */
.analysis-block {
  margin-bottom: 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(10,94,46,0.06), rgba(240,192,64,0.03));
  border-radius: var(--radius);
  border-left: 3px solid var(--pitch-green);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

.analysis-block p {
  font-size: 0.9rem;
  color: var(--slate-200);
  line-height: 1.7;
}

/* ===== Players ===== */
.players-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.player-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: var(--radius);
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.player-card:hover {
  border-color: rgba(240,192,64,0.15);
  background: rgba(255,255,255,0.05);
  transform: translateX(4px);
}

.player-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--slate-700), var(--slate-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.player-info .player-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.player-info .player-team {
  font-size: 0.7rem;
  color: var(--slate-400);
  margin-bottom: 2px;
}

.player-info .player-reason {
  font-size: 0.75rem;
  color: var(--gold);
}

/* ===== Error ===== */
.error-message {
  margin-top: 24px;
  padding: 16px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
}

.error-message.hidden {
  display: none;
}

.error-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

#errorText {
  font-size: 0.9rem;
  color: var(--red-light);
}

/* ===== Groups Grid ===== */
.groups-section {
  padding: 60px 0;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.group-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.group-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240,192,64,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.group-card:hover {
  border-color: rgba(240,192,64,0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,0.05);
}

.group-card:hover::after {
  opacity: 1;
}

.group-card-header {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.group-card-header .group-letter {
  background: var(--gold);
  color: var(--black);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.group-team-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.group-team-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--slate-200);
}

.group-team-item .team-flag-sm {
  font-size: 1.2rem;
}

/* ===== Architecture ===== */
.about-section {
  padding: 60px 0;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.arch-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-sm);
}

.arch-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pitch-green), var(--gold), var(--pitch-green));
  opacity: 0.7;
}

.arch-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,0.1);
}

.arch-card-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(240, 192, 64, 0.15);
  position: absolute;
  top: 12px; right: 16px;
}

.arch-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.arch-card p {
  font-size: 0.85rem;
  color: var(--slate-300);
  line-height: 1.6;
}

/* ===== Disclaimer ===== */
.disclaimer {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 24px;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--radius-lg);
}

.disclaimer h4 {
  color: var(--red-light);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.disclaimer p {
  font-size: 0.83rem;
  color: var(--slate-300);
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--slate-400);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.footer-dot {
  color: var(--slate-700);
}

.footer-links a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-icp {
  margin-top: 8px;
  font-size: 0.7rem;
}

.footer-icp a {
  color: var(--slate-500);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-icp a:hover {
  color: var(--slate-300);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .match-selector {
    flex-direction: row;
    gap: 6px;
  }

  .team-pick {
    flex: 1;
    min-width: 0;
  }

  .team-flag {
    display: none;
  }

  .team-select {
    font-size: 0.8rem;
    padding: 10px 8px;
  }

  .btn-predict {
    font-size: 0.8rem;
    padding: 10px 14px;
  }

  .stage-select {
    font-size: 0.8rem;
    padding: 10px 6px;
  }

  .vs-divider {
    padding: 8px 0;
  }

  .scoreboard {
    flex-direction: column;
    gap: 16px;
  }

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

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

  .nav-links {
    gap: 12px;
  }

  .nav-link {
    font-size: 0.8rem;
  }
}

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

  .countdown-timer {
    gap: 8px;
  }

  .countdown-block {
    min-width: 60px;
    padding: 10px 12px;
  }

  .countdown-val {
    font-size: 1.5rem;
  }

  .predict-panel {
    padding: 20px 16px;
  }
}
