* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1f1f1f 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Fond animé */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Canvas pour les particules */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Étoiles de fond */
.stars {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 
        100px 100px #fff, 200px 200px #fff, 300px 150px #fff, 
        400px 300px #fff, 500px 100px #fff, 600px 250px #fff,
        150px 450px #fff, 250px 400px #fff, 350px 500px #fff,
        450px 350px #fff, 550px 450px #fff, 650px 300px #fff,
        700px 100px #fff, 800px 400px #fff, 900px 200px #fff;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Conteneur principal */
.container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.content {
    text-align: center;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.logo-container {
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: none;
    filter: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Header */
.header {
    margin-bottom: 40px;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(200, 200, 200, 0.3);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(200, 200, 200, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(200, 200, 200, 0.8));
    }
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(150, 150, 150, 0.2);
    border: 1px solid rgba(150, 150, 150, 0.5);
    border-radius: 50px;
    font-size: 1.1rem;
    color: #a0a0a0;
    animation: pulse 2s ease-in-out infinite;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #a0a0a0;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(150, 150, 150, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(150, 150, 150, 0);
    }
}

/* Message */
.message {
    margin-bottom: 35px;
}

.message h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.message p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 0.95rem;
    color: rgba(180, 180, 180, 0.9);
    font-style: italic;
}

/* Boîte de statut */
.status-box {
    display: none;
}

/* Section des liens */
.links-section {
    margin-bottom: 30px;
}}

.links-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(200, 200, 200, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out backwards;
}

.link-btn:nth-child(1) { animation-delay: 0.4s; }
.link-btn:nth-child(2) { animation-delay: 0.5s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.link-btn:hover::before {
    left: 100%;
}

.link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(200, 200, 200, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.link-icon {
    font-size: 1.2rem;
}

/* Footer */
.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    width: 50px;
    height: 50px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .message h2 {
        font-size: 1.5rem;
    }

    .message p {
        font-size: 1rem;
    }

    .status-box {
        grid-template-columns: 1fr;
    }

    .links {
        flex-direction: column;
    }

    .link-btn {
        width: 100%;
        justify-content: center;
    }

    .logo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }

    .message h2 {
        font-size: 1.3rem;
    }

    .container {
        padding: 15px;
    }
}
