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

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    min-height: 100vh;

    /* Fond animé subtil */
    background: linear-gradient(270deg, #1a1a2e, #16213e, #1a1a2e);
    background-size: 600% 600%;
    animation: gradientMove 30s ease infinite;
}

/* Animation du gradient */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

/* TITRES */
.container h1 {
    text-align: center;
    margin-bottom: 50px;
    color: #ff006e;
    font-size: 2.4rem;
}

/* LAYOUT */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

/* INFO */
.contact-info h2 {
    color: #ff006e;
    margin-bottom: 20px;
}

.info-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-left: 4px solid #ff006e;
    border-radius: 6px;
    line-height: 1.6;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: 500;
    color: #cccccc;
}

input,
textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #ff006e;
    color: #ffffff;
    padding: 12px;
    border-radius: 6px;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #ff4f9a;
}

/* BUTTON */
button {
    margin-top: 10px;
    padding: 14px;
    background: #ff006e;
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 0, 110, 0.4);
}

.socials {
    margin-top: 50px;
}

.socials h2 {
    text-align: center;
    color: #ff006e;
    margin-bottom: 30px;
}

.social-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.social-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;

    background: rgba(255, 255, 255, 0.08);
    border: 2px solid transparent;

    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* Couleurs par réseau */
.social-card.discord {
    border-color: #5865F2;
}
.social-card.discord:hover {
    background: #5865F2;
}

.social-card.twitter {
    border-color: #1DA1F2;
}
.social-card.twitter:hover {
    background: #1DA1F2;
}

.social-card.instagram {
    border-color: #E1306C;
}
.social-card.instagram:hover {
    background: #E1306C;
}

.social-card.twitch {
    border-color: #9146FF;
}
.social-card.twitch:hover {
    background: #9146FF;
}

.social-card.youtube {
    border-color: #FF0000;
}
.social-card.youtube:hover {
    background: #FF0000;
}

.social-card.tiktok {
    border-color: #000000;
}
.social-card.tiktok:hover {
    background: #000000;
}



.icon {
    font-size: 1.4em;
}

.twitch-preview {
    margin: 80px 0;
    text-align: center;
}

.twitch-preview h2 {
    color: #9146FF;
    margin-bottom: 30px;
    font-size: 2em;
}

.twitch-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.twitch-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}


/* Mode clair */

body.light-mode {
    background: linear-gradient(270deg, #f0f0f0, #e0e0e0, #f0f0f0);
    background-size: 600% 600%;
    animation: gradientMoveLight 30s ease infinite;
    color: #000;
}

@keyframes gradientMoveLight {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body.light-mode .contact-info h2 {
    color: #ff006e;
}

body.light-mode .info-item {
    background: #ffffff;
    color: #1a1a2e;
    border-left: 4px solid #ff006e;
}

body.light-mode input,
body.light-mode textarea {
    background: #ffffff;
    border: 1px solid #ff006e;
    color: #1a1a2e;
}

body.light-mode button {
    background: #ff006e;
    color: #000;
}

body.light-mode .social-card {
    background: #ffffff;
    color: #1a1a2e;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .container h1 {
        font-size: 1.8rem;
    }
}
