﻿/* ============================================
   Scorers.css - تنسيقات صفحة الهدافين
   ============================================ */

.scorers-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.05));
    border-radius: 30px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

    .page-header i {
        font-size: 60px;
        color: #fbbf24;
        margin-bottom: 15px;
    }

    .page-header h1 {
        font-size: 32px;
        margin: 0 0 10px;
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .page-header p {
        color: #94a3b8;
        font-size: 16px;
    }

/* Top Scorers Podium */
.top-scorers-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 50px;
    padding: 20px;
}

.podium-card {
    text-align: center;
    padding: 25px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    min-width: 180px;
}

    .podium-card:hover {
        transform: translateY(-10px);
    }

    .podium-card.place-1 {
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2));
        border: 2px solid #fbbf24;
        order: 2;
        transform: scale(1.05);
    }

    .podium-card.place-2 {
        background: linear-gradient(135deg, rgba(148, 163, 184, 0.3), rgba(100, 116, 139, 0.2));
        border: 2px solid #94a3b8;
        order: 1;
    }

    .podium-card.place-3 {
        background: linear-gradient(135deg, rgba(205, 127, 50, 0.3), rgba(180, 83, 9, 0.2));
        border: 2px solid #cd7f32;
        order: 3;
    }

.podium-medal {
    font-size: 48px;
    margin-bottom: 15px;
}

.podium-avatar i {
    font-size: 64px;
    color: #fbbf24;
    margin-bottom: 15px;
}

.podium-name {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
}

.podium-goals {
    font-size: 28px;
    font-weight: bold;
    color: #fbbf24;
}

    .podium-goals span {
        font-size: 14px;
        font-weight: normal;
    }

.podium-points {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 5px;
}

/* Filters Bar */
.filters-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(30, 41, 59, 0.6);
    padding: 8px 20px;
    border-radius: 40px;
}

    .filter-group label {
        color: #94a3b8;
        font-size: 14px;
    }

.filter-select {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
}

/* Scorers Table */
.scorers-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.scorers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .scorers-table th {
        text-align: right;
        padding: 15px 12px;
        background: rgba(0, 0, 0, 0.3);
        color: #fbbf24;
        font-weight: 600;
        border-bottom: 2px solid rgba(251, 191, 36, 0.3);
    }

    .scorers-table td {
        padding: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: #cbd5e1;
    }

    .scorers-table tr:hover {
        background: rgba(251, 191, 36, 0.05);
    }

    .scorers-table .rank {
        font-weight: bold;
        width: 60px;
        text-align: center;
    }

    .scorers-table .player-name {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 500;
    }

    .scorers-table .goals {
        font-weight: bold;
        color: #fbbf24;
        font-size: 18px;
        text-align: center;
    }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 25px;
}

    .empty-state i {
        font-size: 60px;
        color: #94a3b8;
        margin-bottom: 20px;
    }

    .empty-state h3 {
        font-size: 24px;
        margin-bottom: 10px;
        color: #fff;
    }

    .empty-state p {
        color: #94a3b8;
    }

/* Light Mode */
body.light-mode .page-header {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(245, 158, 11, 0.03));
}

    body.light-mode .page-header p {
        color: #64748b;
    }

body.light-mode .filters-bar .filter-group {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.light-mode .filter-select {
    background: #ffffff;
    color: #0f172a;
    border-color: #e2e8f0;
}

body.light-mode .podium-card.place-1 {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.08));
}

body.light-mode .podium-name {
    color: #0f172a;
}

body.light-mode .scorers-table-wrapper {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.light-mode .scorers-table th {
    background: #f8fafc;
    color: #f59e0b;
}

body.light-mode .scorers-table td {
    color: #334155;
    border-bottom-color: #e2e8f0;
}

body.light-mode .empty-state {
    background: #f8fafc;
}

    body.light-mode .empty-state h3 {
        color: #0f172a;
    }

/* Responsive */
@media (max-width: 768px) {
    .top-scorers-podium {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .podium-card {
        width: 100%;
        max-width: 280px;
    }

        .podium-card.place-1,
        .podium-card.place-2,
        .podium-card.place-3 {
            order: 0;
            transform: none;
        }

    .podium-avatar i {
        font-size: 48px;
    }

    .podium-name {
        font-size: 18px;
    }

    .podium-goals {
        font-size: 24px;
    }

    .scorers-table th,
    .scorers-table td {
        padding: 8px;
        font-size: 12px;
    }

    .scorers-table .goals {
        font-size: 14px;
    }

    .player-avatar {
        width: 28px;
        height: 28px;
    }
}
