/* assets/styles/home.css - Version Semoa (néon rouge) */

:root {
    --neon-red: #ff003c;
    --neon-orange: #ff4500;
    --deep-space: #0a0a0a;
    --accent-yellow: #ffd700;
    --accent-dark-yellow: #b8860b;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--deep-space);
    /* Fond dégradé rouge profond façon Semoa */
    background: radial-gradient(ellipse at bottom, #2c0a0a 0%, #0a0a0a 100%);
    color: white;
    font-family: 'Poppins', sans-serif;
    height: 100vh;
}

/* Conteneur pour les "étoiles" ou particules */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Étoiles avec différentes couleurs */
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 5s infinite ease-in-out;
}

/* Étoiles jaunes vives */
.star.yellow {
    background: var(--accent-yellow);
    animation-duration: 4s;
}

/* Étoiles jaunes sombres */
.star.dark-yellow {
    background: var(--accent-dark-yellow);
    animation-duration: 6s;
}

/* Étoiles rouges pour l'effet Semoa */
.star.red {
    background: var(--neon-red);
    animation-duration: 3s;
}

/* Animation de scintillement avec effets rouges */
@keyframes twinkle {
    0% { 
        opacity: 0; 
        transform: translateY(0) scale(0.5); 
    }
    50% { 
        opacity: 1; 
        transform: translateY(-20px) scale(1.2); 
        box-shadow: 0 0 10px var(--neon-red), 0 0 20px currentColor;
    }
    100% { 
        opacity: 0; 
        transform: translateY(-40px) scale(0.5); 
    }
}

/* Styles spécifiques pour le contenu principal */
.home-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
    text-align: center;
    position: relative;
    z-index: 10;
}

h1 {
    font-size: 3rem;
    text-shadow: 0 0 20px var(--neon-red), 0 0 40px var(--neon-red);
    margin-bottom: 2rem;
    animation: glowText 2s infinite alternate;
}

@keyframes glowText {
    from { 
        text-shadow: 0 0 10px var(--neon-red), 0 0 5px rgba(255, 0, 60, 0.5); 
    }
    to { 
        text-shadow: 0 0 25px var(--neon-red), 0 0 15px var(--neon-orange), 0 0 5px white; 
    }
}

/* Le Super Bouton Néon Rouge Semoa */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: 2px solid var(--neon-red);
    border-radius: 50px;
    box-shadow: 0 0 15px var(--neon-red) inset, 0 0 20px var(--neon-red);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--neon-red);
    color: #fff;
    box-shadow: 0 0 50px var(--neon-red), 0 0 100px var(--neon-red);
    transform: scale(1.05);
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.cta-button:hover:before {
    left: 100%;
}

.cta-button i {
    margin-right: 10px;
}

/* Effet de pulsation supplémentaire pour le bouton */
@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 0 15px var(--neon-red) inset, 0 0 20px var(--neon-red);
    }
    50% {
        box-shadow: 0 0 25px var(--neon-red) inset, 0 0 30px var(--neon-red), 0 0 40px rgba(255, 0, 60, 0.3);
    }
}

.cta-button {
    animation: buttonPulse 3s infinite ease-in-out;
}

/* Sous-titre ou texte descriptif */
.home-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.3);
    max-width: 600px;
    line-height: 1.6;
}

/* Logo ou icône Semoa */
.semoa-logo {
    font-size: 4rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px var(--neon-red), 0 0 40px var(--neon-red);
    animation: logoGlow 3s infinite alternate;
}

@keyframes logoGlow {
    from {
        transform: scale(1);
        text-shadow: 0 0 10px var(--neon-red);
    }
    to {
        transform: scale(1.05);
        text-shadow: 0 0 30px var(--neon-red), 0 0 50px var(--neon-orange);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .home-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .semoa-logo {
        font-size: 3rem;
    }
}
