/* --- 1. CONFIGURATION GÉNÉRALE --- */
body { 
    background-color: #0d1117; 
    color: white; 
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

.accent-color { 
    color: #00ff85; 
    font-weight: bold; 
}

/* --- 2. LOGO 3D ANIMÉ (TON IDENTITÉ) --- */
.logo-3d { 
    font-size: 2.2rem; 
    display: inline-block; 
    perspective: 1000px; 
}

.ball { 
    display: inline-block; 
    animation: spin3d 4s linear infinite; 
    filter: drop-shadow(0 0 15px #00ff85); 
}

@keyframes spin3d {
    from { transform: rotateY(0deg) rotateX(0deg); }
    to { transform: rotateY(360deg) rotateX(20deg); }
}

/* --- 3. BARRE DE NAVIGATION & MENU DÉROULANT --- */
.navbar { 
    background-color: #161b22 !important; 
    border-bottom: 2px solid #00ff85; 
    padding: 12px 20px;
}

.dropdown-menu {
    background-color: #161b22 !important;
    border: 1px solid #00ff85 !important;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    padding: 10px 0;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

.show > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.dropdown-item {
    color: white !important;
    padding: 10px 25px;
    font-weight: 500;
    transition: 0.3s;
}

.dropdown-item:hover {
    background-color: #00ff85 !important;
    color: #0d1117 !important;
    padding-left: 30px;
}

/* --- 4. CARTES DE MATCH & COMPÉTITIONS (CORRECTION LOGO) --- */
.match-card {
    background-color: #161b22; 
    border-radius: 15px; 
    margin-bottom: 25px; 
    padding: 22px;
    border: 1px solid #30363d;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.match-card:hover { 
    border-color: #00ff85; 
    transform: translateY(-8px); 
    box-shadow: 0 8px 25px rgba(0, 255, 133, 0.15);
}

/* Correction spécifique pour rendre le logo Champions League visible */
.comp-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0px 0px 3px rgba(255, 255, 255, 0.6)); /* Halo de lumière */
    transition: 0.3s;
}

.comp-link-card:hover .comp-logo {
    transform: scale(1.1);
    filter: drop-shadow(0px 0px 5px #00ff85); /* Devient vert au survol */
}

.score-box {
    background: #0d1117;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 900;
    color: #00ff85;
    border: 1px solid #30363d;
    text-align: center;
}

/* --- 5. BARRE DE RECHERCHE --- */
.search-box { 
    background: #0d1117; 
    border: 1px solid #30363d; 
    border-radius: 25px; 
    display: flex; 
    align-items: center; 
    padding: 6px 18px; 
}

.search-input { 
    background: transparent; 
    border: none; 
    color: white; 
    outline: none; 
    font-size: 0.9rem; 
    width: 150px;
}

/* --- 6. FOOTER --- */
footer ul li a {
    color: #8b949e;
    text-decoration: none;
    transition: 0.3s;
}

footer ul li a:hover {
    color: #00ff85 !important;
    padding-left: 5px;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 255, 133, 0.1) !important;
}

.fa-heart {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* --- Bloc Météo et Fans Pro --- */
.weather-sidebar-box {
    position: sticky; /* Reste fixe au défilement dans sa colonne */
    top: 80px;        /* Distance du haut de l'écran */
    background: #0d1117;
    border: 2px solid #00ff85;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 133, 0.2);
    margin-bottom: 20px; /* Espace avant "TOP BUTEURS" */
    z-index: 10;
}

.fan-live-counter {
    border-top: 1px solid #30363d;
    margin-top: 8px;
    padding-top: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.pulse-dot {
    height: 10px;
    width: 10px;
    background-color: #00ff85;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 133, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 133, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 133, 0); }
}



