@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --color-primary: #D4AF37;
    --color-secondary: #1a1a2e;
    --color-accent: #F59E0B;
    --color-text: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-bg: #0a0a0f;
    --color-bg-secondary: #1a1a2e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    overflow: hidden;
    height: 100vh;
    position: relative;
}

/* Canvas pour les particules */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Container principal */
.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

/* Contenu */
.content {
    text-align: center;
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Titre principal */
.main-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.title-line {
    display: inline-block;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #D4AF37 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite, textReveal 1.5s ease-out;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

/* Sous-titre */
.subtitle-wrapper {
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

.subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    color: var(--color-text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Message de construction */
.construction-message {
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.9s both;
}

.message-box {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.message-box:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.message-icon {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    animation: iconRotate 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.message-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.message-text {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Barre de progression */
.progress-section {
    margin-bottom: 3rem;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 1.2s both;
}

.progress-bar-wrapper {
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 10px;
    width: 0%;
    animation: progressFill 3s ease-out 1.5s forwards;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.progress-percentage {
    font-weight: 600;
    color: var(--color-primary);
}

/* Réseaux sociaux */
.social-section {
    animation: fadeIn 1s ease-out 1.2s both;
}

.social-text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: var(--color-primary);
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Lignes décoratives */
.decorative-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: lineMove 20s linear infinite;
}

.line-1 {
    width: 1px;
    height: 100%;
    left: 20%;
    animation-delay: 0s;
}

.line-2 {
    width: 1px;
    height: 100%;
    left: 50%;
    animation-delay: -7s;
}

.line-3 {
    width: 1px;
    height: 100%;
    left: 80%;
    animation-delay: -14s;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes iconRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: 75%;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes lineMove {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .message-box {
        padding: 2rem 1.5rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    /* Styles responsive pour mobile */
}
