@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    margin: 0;
    background: linear-gradient(180deg, #6b0000 0%, #1a0000 100%);
    font-family: 'Poppins', sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    width: 100%;
    background: linear-gradient(90deg, #8B0000, #B22222);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo-container {
    text-align: center;
}

.logo-container img {
    width: 200px;
    max-width: 60%;
    transition: transform 0.3s ease-in-out;
}

.logo-container img.glow {
    filter: drop-shadow(0 0 20px rgba(255, 50, 50, 0.8));
}

.logo-container img:hover {
    transform: scale(1.05);
}

nav {
    margin-top: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #ffb3b3;
}

.content {
    display: flex;
    flex: 1;
    width: 100%;
    max-width: 1600px;
    margin: 30px auto;
    gap: 15px;
    padding: 0 20px;
}

.player {
    flex: 3;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(255, 50, 50, 0.4);
    aspect-ratio: 16 / 9;
}

.chat {
    flex: 1;
    min-width: 320px;
    background: #1a0000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    color: #ccc;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(20, 0, 0, 0.8);
}

/* Glow animé de fond */
.background-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,0,0,0.15) 0%, transparent 70%);
    animation: glow 8s infinite alternate;
    z-index: -1;
}

@keyframes glow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
    100% { transform: scale(1.3) translate(10%, 10%); opacity: 0.4; }
}

/* Responsive */
@media (max-width: 900px) {
    .content {
        flex-direction: column;
    }
    .chat {
        height: 450px;
    }
}
