/*
==========================================================================
UHLIVE - PAGE PAR DÉFAUT
==========================================================================
Couleurs officielles :
- Pacific Blue: #1ca9c9
- Gunmetal: #6d7c7f
- Backgrounds: #2c3032, #1a1d1f

Police : Montserrat (Google Fonts)
==========================================================================
*/

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Force Montserrat partout */
body, h1, h2, h3, h4, h5, h6, p, a, span, div {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #59C2D3 0%, #293746 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Animation de fond subtile avec les couleurs uh!ive */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(28, 169, 201, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(109, 124, 127, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Container principal */
.container {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Logo */
.logo {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.logo-img {
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)) brightness(1.1);
    transition: transform 0.3s ease, filter 0.3s ease;
    
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4)) brightness(1.2);
}

.logo-fallback .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, #1ca9c9, #6d7c7f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

/* Titre principal */
.main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.01em;
}

/* Sous-titre */
.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Bouton CTA */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #1ca9c9, #6d7c7f);
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(28, 169, 201, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

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

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 169, 201, 0.4);
}

/* Éléments décoratifs */
.decorative-element {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(28, 169, 201, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.decorative-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.decorative-element:nth-child(2) {
    bottom: 10%;
    right: 10%;
    animation-delay: -10s;
    border-color: rgba(109, 124, 127, 0.2);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de particules subtil avec les couleurs uh!ive */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(28, 169, 201, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(odd) {
    background: rgba(109, 124, 127, 0.3);
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo-img {
        max-width: 150px;
    }
    
    .main-title {
        font-size: 2rem;
        font-weight: 800;
    }
    
    .subtitle {
        font-size: 1rem;
        font-weight: 400;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        font-weight: 600;
    }
    
    .decorative-element {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 120px;
    }
    
    .main-title {
        font-size: 1.8rem;
        font-weight: 700;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        font-weight: 400;
    }
    
    .cta-button {
        font-weight: 600;
    }
}

/* Optimisations performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}