/* Spezifische Stylings für die Social-Detailseiten */

.stream-section {
    animation: fadeIn 0.8s ease-out;
}

.offline-overlay {
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-chat-grid {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(145, 70, 255, 0.2);
}

.goal-progress-bar {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 15px 0;
    overflow: hidden;
}

.goal-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9146ff, #0070f3);
    box-shadow: 0 0 15px rgba(145, 70, 255, 0.5);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.metrics-value {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.youtube-featured-container {
    margin-bottom: 4rem;
    border: 1px solid rgba(255, 0, 0, 0.2);
    background: rgba(255, 0, 0, 0.02);
}

.youtube-card {
    border-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.youtube-card:hover {
    border-color: #ff0000;
    box-shadow: 0 10px 30px -10px rgba(255, 0, 0, 0.3);
}

.yt-sub-button {
    background: #ff0000;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.youtube-container-wide {
    max-width: 1320px !important; /* Optimaler Wert für 1920x1080 (27 Zoll) */
    width: 92%;
    margin: 0 auto;
    box-sizing: border-box;
}

.youtube-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px; /* Sidebar etwas schmaler für 1080p */
    gap: 1.5rem; /* Weniger Gap verhindert das "Rausdrücken" */
    align-items: start;
}

.youtube-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

.channel-info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.2rem;
    transition: border-color 0.3s;
}

.channel-info-card:hover {
    border-color: rgba(255, 0, 0, 0.4);
}

.channel-info-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #fff;
}

.youtube-video-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 1rem !important;
    padding: 0 !important;
}

.tiktok-card {
    border-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tiktok-card:hover {
    border-color: #ff0050;
    box-shadow: -5px 0 15px rgba(255, 0, 80, 0.2), 5px 0 15px rgba(0, 242, 234, 0.2);
    transform: translateY(-5px);
}

.tiktok-featured-video {
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #000;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-card {
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    cursor: pointer;
}

.instagram-card:hover {
    border-color: #e1306c;
    box-shadow: 0 15px 35px rgba(225, 48, 108, 0.25);
    transform: scale(1.03);
}

.insta-gradient-text {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.insta-overlay-icon {
    font-size: 2rem;
    opacity: 0.2;
    color: #fff;
}

/* Mobile & Tablet Fixes */
@media (max-width: 1200px) {
    .youtube-layout-grid {
        grid-template-columns: 1fr 260px;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .youtube-layout-grid {
        grid-template-columns: 1fr; /* Sidebar nach unten */
    }
    .youtube-sidebar {
        position: static;
        order: 2;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .youtube-container-wide {
        width: 100%;
        padding: 0 15px;
    }
    .youtube-video-grid {
        grid-template-columns: 1fr !important; /* Volle Breite auf Handy */
    }
    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem) !important;
    }
}

@media (max-width: 1100px) {
    .youtube-layout-grid {
        grid-template-columns: 1fr;
    }
}