@media (max-width: 768px) {
    .twitch-container {
        gap: 15px;
    }
    
    .twitch-player iframe,
    .twitch-chat iframe {
        height: 300px;
    }
    
    .Twitch-Stream {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .twitch-player iframe,
    .twitch-chat iframe {
        height: 250px;
    }
    
    .twitch-container {
        gap: 10px;
    }
}
.twitch-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    color: var(--gray);
    font-size: 1.1rem;
}

.twitch-container iframe {
    transition: opacity 0.3s ease;
}

.twitch-container iframe[src=""] {
    opacity: 0;
}

@media (max-width: 768px) {
    .twitch-loading {
        height: 300px;
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .twitch-container {
        flex-wrap: wrap;
    }
    
    .twitch-player,
    .twitch-chat {
        flex: 1 1 100%;
    }
    
    .twitch-player iframe,
    .twitch-chat iframe {
        height: 400px;
    }
}