/* ======================================
   FEATURED SOCIAL MEDIA DESIGN
   Design 1: Featured Discord + YouTube + Grid
   ====================================== */

/* ===== FEATURED DISCORD CARD ===== */
.featured-social-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.12) 0%, rgba(15, 15, 30, 0.95) 100%);
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.featured-social-card:hover {
    transform: translateY(-4px);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 20px 40px rgba(88, 101, 242, 0.2);
}

.featured-social-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
    transition: transform 0.3s ease;
}

.featured-social-card:hover .featured-social-icon {
    transform: scale(1.1);
}

.featured-social-content {
    flex: 1;
}

.featured-social-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.featured-social-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.social-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.social-stat i {
    font-size: 0.85rem;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-online 2s ease-in-out infinite;
}

@keyframes pulse-online {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.featured-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}

.featured-social-card:hover .featured-social-btn {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

/* ===== SOCIAL SPLIT ROW ===== */
.social-split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ===== YOUTUBE VIDEO CARD ===== */
.youtube-video-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.08) 0%, rgba(15, 15, 30, 0.95) 100%);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.youtube-video-card:hover {
    border-color: rgba(255, 0, 0, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.15);
}

.video-thumbnail {
    width: 120px;
    height: 68px;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.video-thumbnail i {
    color: #FF0000;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.video-thumbnail .play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail .play-icon i {
    color: #fff;
    font-size: 1rem;
}

.youtube-video-card:hover .video-thumbnail .play-icon {
    opacity: 1;
}

.youtube-video-card:hover .video-thumbnail>i {
    transform: scale(0.8);
}

.video-details {
    flex: 1;
    min-width: 0;
}

.video-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-details span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== COMPACT SOCIAL GRID ===== */
.compact-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.5rem;
    min-height: 100px;
}

/* Social Loading State */
.compact-social-grid .social-loading {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
}

.compact-social-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem;
    background: rgba(15, 15, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.compact-social-item:hover {
    transform: translateY(-2px);
    border-color: var(--item-color, rgba(139, 92, 246, 0.4));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.compact-social-icon {
    width: 32px;
    height: 32px;
    background: var(--item-bg, linear-gradient(135deg, #8b5cf6, #6d28d9));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.compact-social-item:hover .compact-social-icon {
    transform: scale(1.1);
}

.compact-social-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

/* Platform colors */
.compact-social-item.twitch {
    --item-color: #9146FF;
    --item-bg: linear-gradient(135deg, #9146FF, #772CE8);
}

.compact-social-item.kick {
    --item-color: #53FC18;
    --item-bg: #53FC18;
}

.compact-social-item.kick .compact-social-icon {
    color: #000;
}

.compact-social-item.tiktok {
    --item-color: #ff0050;
    --item-bg: linear-gradient(135deg, #ff0050, #00f2ea);
}

.compact-social-item.instagram {
    --item-color: #E4405F;
    --item-bg: linear-gradient(135deg, #f09433, #bc1888);
}

.compact-social-item.twitter {
    --item-color: #1DA1F2;
    --item-bg: linear-gradient(135deg, #1DA1F2, #0C85D0);
}

.compact-social-item.github {
    --item-color: #6e5494;
    --item-bg: linear-gradient(135deg, #333, #24292e);
}

.compact-social-item.discord {
    --item-color: #5865F2;
    --item-bg: linear-gradient(135deg, #5865F2, #4752C4);
}

.compact-social-item.youtube {
    --item-color: #FF0000;
    --item-bg: linear-gradient(135deg, #FF0000, #CC0000);
}

.compact-social-item.email {
    --item-color: #8b5cf6;
    --item-bg: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.compact-social-item.steam {
    --item-color: #1b2838;
    --item-bg: linear-gradient(135deg, #1b2838, #171a21);
}

.compact-social-item.linkedin {
    --item-color: #0A66C2;
    --item-bg: linear-gradient(135deg, #0A66C2, #004182);
}

.compact-social-item.x {
    --item-color: #000;
    --item-bg: linear-gradient(135deg, #000, #14171A);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .social-split-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .featured-social-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .featured-social-stats {
        justify-content: center;
    }

    .featured-social-icon {
        width: 64px;
        height: 64px;
        font-size: 1.75rem;
    }

    .youtube-video-card {
        flex-direction: column;
    }

    .video-thumbnail {
        width: 100%;
        height: 90px;
    }

    .compact-social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }

    .compact-social-item {
        padding: 0.6rem;
        gap: 0.4rem;
    }

    .compact-social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .compact-social-item span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .featured-social-card {
        padding: 1.25rem;
    }

    .featured-social-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .featured-social-content h3 {
        font-size: 1.1rem;
    }

    .featured-social-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .compact-social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compact-social-item span {
        font-size: 0.75rem;
    }
}