/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

/* ================= BODY ================= */
body {
    background: #000;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ================= BACKGROUND ANIMATION ================= */
.background-animation {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 0, 255, 0.4), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.4), transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.15), transparent 50%);
    animation: moveBg 18s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes moveBg {
    0% { transform: translate(0%, 0%) scale(1); }
    50% { transform: translate(-5%, -4%) scale(1.1); }
    100% { transform: translate(-10%, -8%) scale(1.2); }
}

/* ================= NAVBAR ================= */
.navbar {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 3px;
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #00ffff;
}

/* ================= CONTACT SECTION ================= */
.contact-section {
    flex: 1;
    padding: 100px 40px;
    animation: fadeIn 1.5s ease forwards;
}

/* Container 2 colonnes */
.contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

/* LEFT SIDE */
.contact-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* RIGHT SIDE */
.contact-right {
    flex: 1;
    text-align: left;
}

/* Divider néon */
.neon-divider {
    width: 2px;
    height: 400px;
    background: linear-gradient(to bottom, #ff00ff, #00ffff);
    box-shadow: 0 0 20px #00ffff88;
}

/* ================= TITLES ================= */
.contact-right h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    max-width: 500px;
    margin-bottom: 40px;
    opacity: 0.85;
    line-height: 1.6;
}

/* ================= DISCORD WIDGET ================= */
.discord-widget-container iframe {
    border-radius: 20px;
    box-shadow: 0 0 40px #00ffff33;
    transition: 0.4s ease;
}

.discord-widget-container iframe:hover {
    transform: scale(1.04);
    box-shadow: 0 0 60px #ff00ff55;
}

/* ================= BUTTONS ================= */
.contact-buttons {
    margin-top: 10px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    margin: 10px 15px 10px 0;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
}

/* Primary - Cyan */
.btn.primary {
    border: 2px solid #00ffff;
    color: #00ffff;
}

.btn.primary:hover {
    background: rgba(0,255,255,0.08);
    transform: scale(1.08);
    box-shadow: 0 0 20px #00ffff55;
}

/* Secondary - Magenta */
.btn.secondary {
    border: 2px solid #ff00ff;
    color: #ff00ff;
}

.btn.secondary:hover {
    background: rgba(255,0,255,0.08);
    transform: scale(1.08);
    box-shadow: 0 0 20px #ff00ff55;
}

/* ================= FOOTER ================= */
footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

    .contact-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .contact-right {
        text-align: center;
    }

    .neon-divider {
        display: none;
    }

    .btn {
        display: block;
        width: 80%;
        margin: 15px auto;
    }

    .discord-widget-container iframe {
        width: 90%;
        height: 450px;
    }
}
