/**
 * EFFET 3D MÉTALLIQUE SURÉLEVÉ - DESKTOP UNIQUEMENT
 * Style Premium pour le logo "allopiecedetachee.com"
 * Gris métallique avec effet 3D élégant et profondeur
 */

/* Desktop uniquement - >= 769px */
@media (min-width: 769px) {
    .logo-text-senegal {
        position: relative;
        display: inline-block;
        color: #a8a8a8;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        font-size: 1.5rem !important;
        /* Effet 3D surélevé avec multiples ombres */
        text-shadow: 
            0 1px 0 #fff,
            0 2px 0 #e0e0e0,
            0 3px 0 #d0d0d0,
            0 4px 0 #c0c0c0,
            0 5px 0 #b0b0b0,
            0 6px 1px rgba(0, 0, 0, 0.1),
            0 0 5px rgba(0, 0, 0, 0.1),
            0 1px 3px rgba(0, 0, 0, 0.3),
            0 3px 5px rgba(0, 0, 0, 0.2),
            0 5px 10px rgba(0, 0, 0, 0.25),
            0 10px 20px rgba(0, 0, 0, 0.15);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }
    
    /* Style pour le .sn avec les couleurs du drapeau sénégalais */
    .sn-flag {
        position: relative;
        display: inline-block;
        background: linear-gradient(
            to right,
            #00853f 0%,
            #00853f 33.33%,
            #fdef42 33.33%,
            #fdef42 66.66%,
            #e31b23 66.66%,
            #e31b23 100%
        );
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700 !important;
        text-shadow: none;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    }
    
    /* Étoile verte supprimée */
    .sn-flag::before {
        content: none;
    }
    
    @keyframes star-pulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50%       { transform: scale(1.1); opacity: 0.9; }
    }
    
    /* Effet de brillance au survol */
    .logo:hover .logo-text-senegal {
        color: #b8b8b8;
        text-shadow: 
            0 1px 0 #fff,
            0 2px 0 #f0f0f0,
            0 3px 0 #e0e0e0,
            0 4px 0 #d0d0d0,
            0 5px 0 #c0c0c0,
            0 6px 1px rgba(0, 0, 0, 0.15),
            0 0 5px rgba(0, 0, 0, 0.15),
            0 1px 3px rgba(0, 0, 0, 0.35),
            0 3px 5px rgba(0, 0, 0, 0.25),
            0 5px 10px rgba(0, 0, 0, 0.3),
            0 10px 25px rgba(0, 0, 0, 0.2);
        transform: translateY(-1px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
    }
    
    .logo:hover .sn-flag {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    }
    
    .logo:hover .sn-flag::before {
        content: none;
    }
    
    @keyframes star-pulse-fast {
        0%, 100% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.2) rotate(15deg);
            opacity: 1;
        }
    }
    
    /* Effet de relief supplémentaire */
    .logo-text-senegal::after {
        content: '';
        position: absolute;
        top: -2px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .logo:hover .logo-text-senegal::after {
        opacity: 1;
    }
}

/* Mobile - Pas d'effet shimmer, texte en bleu élégant */
@media (max-width: 768px) {
    .logo-text-senegal {
        color: #004E89;
        font-weight: 700 !important;
        font-size: 1.5rem !important;
    }
    
    /* Style pour le .sn avec les couleurs du drapeau sénégalais sur mobile */
    .sn-flag {
        background: linear-gradient(
            to right,
            #00853f 0%,
            #00853f 33.33%,
            #fdef42 33.33%,
            #fdef42 66.66%,
            #e31b23 66.66%,
            #e31b23 100%
        );
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700 !important;
    }
    
    /* Étoile verte supprimée sur mobile */
    .sn-flag::before {
        content: none;
    }
}
