/* Importăm un font modern de gaming */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

:root {
    --ro-blue: #002B7F;
    --ro-yellow: #FCD116;
    --ro-red: #CE1126;
    --bg-dark: #1a1a1a;
    --card-bg: #ffffff;
}

body { font-family: 'Poppins', sans-serif; }

/* --- ANIMAȚII --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-live {
    0% { box-shadow: 0 0 0 0 rgba(252, 209, 22, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(252, 209, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(252, 209, 22, 0); }
}

/* --- CLASAMENT (STANDINGS) --- */
.ea-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: 20px;
    animation: fadeInUp 0.5s ease-out;
}

.ea-table thead th {
    background: linear-gradient(90deg, var(--ro-blue) 0%, var(--ro-red) 100%);
    color: white;
    padding: 15px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    border: none;
}

.ea-table thead th:first-child { border-radius: 10px 0 0 0; }
.ea-table thead th:last-child { border-radius: 0 10px 0 0; }

.ea-table tbody tr {
    background: var(--card-bg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.ea-table tbody tr:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 10;
}

.ea-table td {
    padding: 15px;
    border: none;
    font-weight: 600;
}

/* Efect Podium */
.ea-table tbody tr:nth-child(1) { border-left: 8px solid var(--ro-yellow); background: #fffdf0; }
.ea-table tbody tr:nth-child(2) { border-left: 8px solid #C0C0C0; }
.ea-table tbody tr:nth-child(3) { border-left: 8px solid #CD7F32; }

/* --- MATCH CARDS (Meciurile Mele) --- */
.ea-match-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(to right, var(--ro-blue), var(--ro-yellow), var(--ro-red)) border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease-out;
}

.ea-match-card h4 {
    margin-top: 0;
    color: var(--ro-blue);
    font-size: 1.2em;
    text-align: center;
    text-transform: uppercase;
}

/* --- BUTOANE ANIMATE --- */
.btn-blue, .btn-join {
    background: linear-gradient(45deg, var(--ro-blue), #0055ff) !important;
    color: white !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    box-shadow: 0 5px 15px rgba(0,43,127,0.3) !important;
}

.btn-yellow {
    background: var(--ro-yellow) !important;
    color: black !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    box-shadow: 0 5px 15px rgba(252, 209, 22, 0.4) !important;
    animation: pulse-live 2s infinite;
}

.btn-blue:hover, .btn-join:hover, .btn-yellow:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
}

/* --- PROGRAM RUNDA (FIXTURES) --- */
.ea-fixture-card {
    background: white;
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-right: 5px solid var(--ro-red);
    border-left: 5px solid var(--ro-blue);
    font-weight: 700;
}

.ea-fixture-card b {
    background: #f0f0f0;
    padding: 5px 15px;
    border-radius: 5px;
    color: var(--ro-red);
}

/* --- BOX ÎNSCRIERE --- */
.ea-registration-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 3px dashed var(--ro-yellow);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

/* Badge pentru status */
.status-badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    background: #eee;
}