/* --- Badge LIVE pour Twitch --- */

.twitch-live-wrapper {
    display: flex;
    justify-content: left;
    margin-top: 6.5rem;
}

/* Bouton principal */
.twitch-live-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #ff004c, #ff6a00);
    box-shadow:
        0 0 15px rgba(255, 0, 76, 0.7),
        0 0 35px rgba(255, 106, 0, 0.5);
    transition: all 0.25s ease;
    overflow: hidden;
}

/* Glow animé */
.twitch-live-btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(120deg, #ff004c, #ff6a00, #ff004c);
    filter: blur(18px);
    opacity: 0.9;
    z-index: -1;
    animation: glowMove 3s linear infinite;
}

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

/* Hover */
.twitch-live-btn:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 25px rgba(255, 0, 76, 0.9),
        0 0 55px rgba(255, 106, 0, 0.8);
}

/* Badge LIVE */
.twitch-live-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    color: #ff004c;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1px;
    animation: livePulse 1.4s infinite;
}

/* Point rouge animé */
.twitch-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff004c;
    margin-right: 6px;
    animation: dotBlink 1.2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Responsive */
@media (max-width: 768px) {
    .twitch-live-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}
