.analysis-section {
  margin-bottom: 32px;
}

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

.analysis-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--text-body);
  display: block;
  transition: all 0.2s;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.analysis-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.live-indicator {
  background: var(--live-red);
  color: white;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  animation: pulse 2s infinite;
}

.card-group {
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}

.card-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.card-score {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
}

.card-odds {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.card-odd {
  flex: 1;
  background: var(--bg-card-alt);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.card-odd .odd-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card-odd .odd-val {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.card-action {
  text-align: center;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* match detail header */
.match-detail-header {
  background: linear-gradient(135deg, var(--bg-header) 0%, #0a3d2a 100%);
  padding: 32px 20px;
  text-align: center;
}

.detail-teams {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 20px 0;
}

.detail-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.detail-team .team-flag { font-size: 48px; }
.detail-team .team-name { font-size: 18px; font-weight: 700; color: var(--text-white); }

.detail-score {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 6px;
}

.detail-info {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-top: 10px;
}

/* stats */
.stats-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.stats-section h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-dark);
  font-weight: 700;
}

.stat-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.stat-label {
  width: 80px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.stat-bar-wrapper {
  flex: 1;
  display: flex;
  gap: 4px;
  height: 22px;
}

.stat-bar {
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  min-width: 30px;
  transition: width 0.6s ease;
  color: white;
}

.stat-bar.home {
  background: linear-gradient(90deg, #43a047, #66bb6a);
  justify-content: flex-end;
  padding-right: 6px;
}

.stat-bar.away {
  background: linear-gradient(90deg, #42a5f5, #1e88e5);
  justify-content: flex-start;
  padding-left: 6px;
}

/* probability */
.probability-section {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.prob-card {
  flex: 1;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.prob-card .prob-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.prob-card .prob-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
}

.prob-card .prob-value small {
  font-size: 18px;
}

/* article */
.article-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.article-section h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--text-dark);
  border-bottom: 3px solid var(--primary);
  padding-bottom: 8px;
  font-weight: 700;
}

.article-section p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* form badges */
.form-section {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.form-team {
  flex: 1;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.form-team h4 {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.form-badges {
  display: flex;
  gap: 6px;
}

.form-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.form-badge.win { background: #43a047; }
.form-badge.draw { background: #f59e0b; }
.form-badge.loss { background: #e53935; }

@media (max-width: 768px) {
  .analysis-list { grid-template-columns: 1fr; }
  .probability-section { flex-direction: column; }
  .form-section { flex-direction: column; }
  .detail-teams { gap: 20px; }
  .detail-score { font-size: 36px; }
  .analysis-section h2 { font-size: 16px; }
}
