/* --- STATS MODULE STYLES --- */
.stats-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.stats-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #eee;
}

/* Stats Navigation Tabs */
.stats-nav {
    display: flex;
    background: #0f172a;
    padding: 0;
    overflow-x: auto;
}

.stats-tab {
    padding: 20px 30px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.stats-tab:hover {
    color: white;
    background: rgba(255,255,255,0.05);
}

.stats-tab.active {
    color: white;
    border-bottom-color: var(--highlight);
    background: rgba(255,255,255,0.05);
}

/* Tab Content Areas */
.stats-content {
    display: none;
    padding: 30px;
    animation: fadeIn 0.5s ease;
}

.stats-content.active {
    display: block;
}

/* STANDINGS TABLE */
.standings-table-wrapper {
    overflow-x: auto;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
}

.standings-table th {
    text-align: left;
    padding: 15px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.standings-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.95rem;
}

.standings-table tr:last-child td {
    border-bottom: none;
}

.standings-table .rank {
    font-weight: 700;
    color: #94a3b8;
    width: 50px;
    text-align: center;
}

.standings-table .team-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #0f172a;
}

.standings-table .team-logo {
    width: 30px;
    height: 30px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #666;
}

.standings-table .points {
    font-weight: 800;
    color: var(--primary);
    background: rgba(5, 24, 47, 0.05);
    border-radius: 4px;
    padding: 4px 8px;
    text-align: center;
}

/* Highlight User Team */
.standings-table tr.highlight-team {
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--highlight);
}

.standings-table tr.highlight-team td {
    color: #0f172a;
    font-weight: 600;
}

/* FORM BADGES (W/D/L) */
.form-badges {
    display: flex;
    gap: 4px;
}

.badge {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: white;
    font-weight: 700;
}

.badge.w { background: #10b981; }
.badge.d { background: #94a3b8; }
.badge.l { background: #ef4444; }

/* TOP SCORERS GRID */
.scorers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.scorer-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: 0.3s;
}

.scorer-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--highlight);
}

.scorer-rank {
    font-size: 1.5rem;
    font-weight: 800;
    color: #cbd5e1;
    font-family: var(--font-heading);
}

.scorer-rank.top-1 { color: #fbbf24; } /* Gold */
.scorer-rank.top-2 { color: #94a3b8; } /* Silver */
.scorer-rank.top-3 { color: #b45309; } /* Bronze */

.scorer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
}

.scorer-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
}

.scorer-info span {
    font-size: 0.85rem;
    color: #64748b;
}

.scorer-goals {
    margin-left: auto;
    text-align: center;
}

.scorer-goals .count {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.scorer-goals .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #94a3b8;
}

/* SEASON STATS GRID */
.season-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-metric {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.stat-metric i {
    font-size: 2rem;
    color: var(--highlight);
    margin-bottom: 15px;
}

.stat-metric .metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-metric .metric-label {
    color: #64748b;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


svg.swiper-navigation-icon {
    width: 11px!important;
}
@media (max-width: 768px) {
    .season-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-tab {
        padding: 15px 20px;
        font-size: 1rem;
    }
}
