.content-heading {
    height: 430px;
    background-color: #db0000;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
}

.content-heading .page-heading {
    color: #FFF;
    font-size: 65px;
    font-style: italic;
    text-transform: uppercase;
    margin-top: -80px;
    /* Pull it way up */
    position: relative;
    z-index: 10;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.content-heading .text-bg {
    position: absolute;
    color: transparent;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.4);
    -webkit-text-stroke-width: 2px;
    text-transform: uppercase;
    font-weight: 900;
    font-style: italic;
    font-size: 85vh;
    /* Massive to ensure edge-to-edge look */
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.content-section {
    padding: 60px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #db0000;
}

/* Twitch Section */
.twitch-section {
    background-color: #f8f8f8;
}

/* YouTube Section */
.youtube-section {
    background-color: #ffffff;
}

/* Instagram Section */
.instagram-section {
    background-color: #f8f8f8;
}

/* Cards */
.content-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.content-card:hover .card-img {
    transform: scale(1.1);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Twitch Specific */
.live-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ff0000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.live-indicator::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }

    100% {
        transform: scale(0.8);
        opacity: 1;
    }
}

.twitch-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #db0000;
    margin-top: -45px;
    position: relative;
    z-index: 2;
    background: #fff;
    margin-left: 15px;
    object-fit: cover;
}

/* Instagram Specific */
.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(219, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 1.5rem;
}

.content-card:hover .insta-overlay {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .content-heading .page-heading {
        font-size: 60px;
    }

    .content-heading .text-bg {
        font-size: 25vh;
    }
}

@media (max-width: 768px) {
    .content-heading .page-heading {
        font-size: 40px;
    }

    .hero-outline,
    .content-heading .text-bg {
        display: none !important;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* === IMG-based card thumbnails === */
.content-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    background: #e0e0e0;
}

.content-card:hover .content-card-img {
    transform: scale(1.05);
}

.insta-card-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    background: #e0e0e0;
}

.content-card:hover .insta-card-img {
    transform: scale(1.05);
}

/* YouTube play overlay */
.yt-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.content-card:hover .yt-play-overlay {
    opacity: 1;
}

/* Instagram likes/comments overlay */
.ig-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    z-index: 2;
}

.content-card:hover .ig-overlay {
    opacity: 1;
}

/* Skeleton loading */
.skeleton-card { animation: skeletonPulse 1.4s ease-in-out infinite; }
.skeleton-img { background: #e0e0e0 !important; min-height: 180px; }
.skeleton-avatar {
    width: 60px; height: 60px; border-radius: 50%;
    background: #e0e0e0; margin: -30px auto 8px;
    border: 3px solid #fff;
}
.skeleton-body { padding: 12px 16px 16px; }
.skeleton-line { height: 14px; background: #e0e0e0; border-radius: 6px; margin-bottom: 8px; }
.skeleton-line.short { width: 60%; }
@keyframes skeletonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}