:root {
    --bg-color: #050505;
    --accent-color: #0077FF; /* Ce bleu sera en harmonie avec le lecteur */
    --text-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container { padding: 80px 20px; max-width: 1000px; margin: auto; text-align: center; }

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.video-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
}
/* On force la vidéo à bien prendre tout l'espace sans bordures */
.video-background iframe {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}
/* Amélioration du texte Hero */
.hero-content p {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 20px; /* Ajoute de l'espace au-dessus du bouton */
    opacity: 0.8;
}
/* BOUTONS & CARDS */
.btn-main {
    display: inline-block; padding: 15px 30px; border: 2px solid var(--accent-color);
    color: var(--accent-color); text-decoration: none; font-weight: bold;
    margin-top: 20px; transition: 0.3s;
}
.btn-main:hover { background: var(--accent-color); color: #000; box-shadow: 0 0 30px var(--accent-color); }

.grid-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 40px; }
.card {
    background: var(--card-bg); padding: 30px; border-radius: 10px;
    text-decoration: none; color: white; font-size: 1.2rem; transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.card:hover { transform: translateY(-10px); border-color: var(--accent-color); background: rgba(0,229,255,0.1); }

/* SOCIALS */
.social-icons { font-size: 2.5rem; display: flex; justify-content: center; gap: 30px; }
.social-icons a { color: white; transition: 0.3s; }
.social-icons a:hover { color: var(--accent-color); transform: scale(1.2); }

/* FOOTER */
footer { background: #000; padding: 50px 20px; text-align: center; border-top: 1px solid #222; }
.contact-grid a { color: var(--accent-color); text-decoration: none; }
.copyright { margin-top: 30px; font-size: 0.8rem; opacity: 0.5; }

/* Style des boutons Smart Link */
.smart-card {
    background: rgba(255,255,255,0.08); 
    padding: 16px; 
    border-radius: 50px;
    text-decoration: none; 
    color: white; 
    border: 1px solid rgba(0, 119, 255, 0.4); /* Bordure Bleu Royal */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px;
    transition: 0.3s; 
    font-weight: 600; 
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.smart-card:hover { 
    background: #0077FF; /* Fond Bleu Royal au survol */
    color: black; 
    box-shadow: 0 0 20px #0077FF; /* Halo Bleu Royal */
}

.social-icons a { color: white; } /* Couleur de base */

/* Définition de l'animation de rotation du halo */
@keyframes rotateGlow {
    0% {
        box-shadow: 0 0 20px rgba(0, 119, 255, 0.7), 0 0 40px rgba(0, 119, 255, 0.4);
    }
    25% {
        box-shadow: 10px -10px 25px rgba(0, 119, 255, 0.8), -10px 10px 30px rgba(0, 119, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 119, 255, 0.9), 0 0 60px rgba(0, 119, 255, 0.6);
    }
    75% {
        box-shadow: -10px 10px 25px rgba(0, 119, 255, 0.8), 10px -10px 30px rgba(0, 119, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 119, 255, 0.7), 0 0 40px rgba(0, 119, 255, 0.4);
    }
}

/* Définition de l'animation K2000 ralentie */
@keyframes k2000ScannerOnce {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

.k2000-text {
    font-weight: bold;
    text-transform: uppercase;
    /* On utilise un dégradé où le blanc est bien tranché pour le voir passer */
    background: linear-gradient(
        to right, 
        #0077FF 0%, 
        #0077FF 40%, 
        #ffffff 50%, 
        #0077FF 60%, 
        #0077FF 100%
    );
    background-size: 200% auto;
    
    /* Indispensable pour voir l'effet à travers les lettres */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    background-clip: text;
    
    /* Animation 4s, une seule fois */
    animation: k2000ScannerOnce 5s ease-out forwards;
    
    /* Lueur fixe autour du texte */
    filter: drop-shadow(0 0 8px rgba(0, 119, 255, 0.8));
    display: inline-block;
}




