* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    position: relative;
    cursor: pointer;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

/* Effet de sous-lignage fin au survol */
.logo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.logo-container:hover .logo-text::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Optionnel: légère variation de couleur au survol */
.logo-container:hover .logo-text {
    color: #f0f0f0;
}

.logo-dot {
    color: #5865F2;
    font-size: 1.8rem;
    font-weight: 800;
    margin-left: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    position: relative;
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-4px);
}

.social-icons a[title="Twitter"]:hover {
    color: #1DA1F2;
}

.social-icons a[title="Twitch"]:hover {
    color: #9146FF;
}

.social-icons a[title="YouTube"]:hover {
    color: #FF0000;
}

.social-icons a[title="Discord"]:hover {
    color: #5865F2;
}

.social-icons a::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Main content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    text-align: center;
    margin-top: 120px;
}

.hero {
    max-width: 800px;
    width: 100%;
    padding: 2rem;
}

.contact-section {
    margin-top: 2rem;
}

/* TEXTE RÉDUIT AU-DESSUS DU BOUTON */
.contact-text {
    font-size: 1.2rem; /* Réduit de 1.8rem à 1.2rem */
    color: #aaaaaa; /* Changé de #ffffff à #aaaaaa pour être plus discret */
    margin-bottom: 2.5rem; /* Légèrement réduit */
    font-weight: 400; /* Changé de 300 à 400 pour être un peu plus lisible */
    line-height: 1.6;
    opacity: 0.9;
}

.discord-container {
    margin: 2rem 0; /* Réduit de 3rem à 2rem */
}

.discord-box {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.discord-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 101, 242, 0.1), transparent);
    transition: left 0.6s ease;
}

.discord-box:hover::before {
    left: 100%;
}

.discord-box:hover {
    background-color: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.1);
}

.discord-icon {
    font-size: 2.5rem;
    color: #5865F2;
}

.discord-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    position: relative;
}

.copy-indicator {
    color: #5865F2;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.discord-box:hover .copy-indicator {
    opacity: 1;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.copy-hint {
    font-size: 1rem;
    color: #666666;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.discord-container:hover .copy-hint {
    opacity: 1;
    transform: translateY(0);
}

.social-note {
    font-size: 1rem; /* Réduit de 1.2rem à 1rem */
    color: #777777; /* Changé de #aaaaaa à #777777 pour être plus discret */
    margin-top: 2.5rem; /* Réduit de 3rem à 2.5rem */
    font-weight: 300;
}

/* Notification de copie */
.copy-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #5865F2;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.3);
    pointer-events: none;
}

.copy-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    color: #444444;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1.5rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-dot {
        font-size: 1.5rem;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icons a {
        font-size: 1.2rem;
    }
    
    .contact-text {
        font-size: 1.1rem; /* Réduit en responsive aussi */
    }
    
    .discord-box {
        padding: 1.2rem 2rem;
    }
    
    .discord-name {
        font-size: 2rem;
    }
    
    .discord-icon {
        font-size: 2rem;
    }
    
    .copy-indicator {
        font-size: 1.2rem;
    }
    
    .social-note {
        font-size: 0.95rem; /* Réduit en responsive aussi */
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.3rem;
    }
    
    .social-icons a::after {
        display: none;
    }
    
    .contact-text {
        font-size: 1rem; /* Encore plus petit sur mobile */
    }
    
    .discord-box {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1.5rem;
    }
    
    .discord-name {
        font-size: 1.8rem;
    }
    
    .discord-icon {
        font-size: 1.8rem;
    }
    
    .social-note {
        font-size: 0.9rem; /* Encore plus petit sur mobile */
    }
}