/* static/css/footi-verse.css */

/* Standings Table */
.standings-section { background: var(--bg-card); border-radius: var(--tbg-radius-md); padding: 20px; margin-bottom: 24px; overflow-x: auto; border: 1px solid var(--tbg-border); }
.standings-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.standings-header h2 { font-size: 1.3rem; font-weight: 800; margin: 0; color: var(--tbg-text); }
.standings-legend { display: flex; gap: 16px; font-size: 0.75rem; }
.legend-item { display: flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.legend-item.champions { background: rgba(33, 242, 139, .15); color: var(--neon-mint); }
.legend-item.europa { background: rgba(97, 255, 177, .09); color: #9BFFD0; }
.legend-item.relegation { background: rgba(239, 68, 68, 0.15); color: #F87171; }

.standings-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.standings-table thead { background: rgba(0, 0, 0, 0.2); border-bottom: 2px solid var(--tbg-border); }
.standings-table th { padding: 10px 12px; text-align: left; font-weight: 700; color: var(--tbg-text-muted); font-size: 0.7rem; text-transform: uppercase; white-space: nowrap; }
.standings-table td { padding: 10px 12px; border-bottom: 1px solid rgba(139, 255, 190, .10); vertical-align: middle; color: var(--tbg-text); font-weight: 500; }
.standings-table tr:hover { background: rgba(255, 255, 255, 0.03); }

/* Row Accents */
.standings-table tr.champions-league td:first-child { border-left: 3px solid var(--neon-mint); }
.standings-table tr.europa-league td:first-child { border-left: 3px solid #9BFFD0; }
.standings-table tr.relegation td:first-child { border-left: 3px solid #F87171; }

.position { font-weight: 800; text-align: center; }
.team-cell { font-weight: 600; }
.team-link { text-decoration: none; color: var(--tbg-text); }
.team-link:hover { color: var(--neon-mint); }

.wins { color: var(--neon-mint); font-weight: 700; }
.draws { color: var(--tbg-text-muted); }
.losses { color: #F87171; }
.points { font-size: 1.1rem; font-weight: 900; color: var(--tbg-text); font-family: var(--tbg-font-heading); }

.form { display: flex; gap: 4px; }
.form-result { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px; font-size: 0.65rem; font-weight: 800; color: #03150B; }
.form-result.win { background: var(--neon-mint); }
.form-result.draw { background: var(--tbg-text-muted); }
.form-result.loss { background: #F87171; }
.form-result.no-result { background: var(--tbg-border); color: var(--tbg-text-muted); }

/* Match Cards */
.matches-section { background: var(--bg-card); border-radius: var(--tbg-radius-md); padding: 20px; margin-bottom: 24px; border: 1px solid var(--tbg-border); }
.matches-section h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; color: var(--tbg-text); }
.match-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--tbg-border); }
.match-row:last-child { border-bottom: none; }

.match-teams { display: flex; align-items: center; gap: 12px; color: var(--tbg-text); }
.match-teams .team { font-weight: 600; }
.match-teams .team.winner { color: var(--neon-mint); font-weight: 800; }
.match-teams .score { font-weight: 900; font-size: 1.1rem; min-width: 40px; text-align: center; font-family: var(--tbg-font-heading); }
.match-teams .vs { color: var(--tbg-text-muted); font-size: 0.8rem; font-weight: 700; }
.match-info { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--tbg-text-muted); }
.match-status.finished { color: var(--neon-mint); font-weight: 600; }
.match-status.scheduled { color: var(--tbg-text-muted); font-weight: 600; }
.match-status.live { color: #F87171; font-weight: 700; animation: pulse 1.5s infinite; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }