/* =============================================
   SWS SABRES TV - YouTube Lite-Embed Styles
   ============================================= */

/* --- Background Glow --- */
.sws-video-section-bg-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(90, 26, 42, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(232, 119, 34, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* --- Sabres TV Header --- */
.sws-sabres-tv-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.sws-sabres-tv-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.sws-sabres-tv-icon {
    flex-shrink: 0;
}

.sws-sabres-tv-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e87722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Lite YouTube Thumbnails --- */
.sws-yt-lite {
    cursor: pointer;
}

.sws-yt-lite .sws-video-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #0a0a14;
}

.sws-yt-lite-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.sws-yt-lite:hover .sws-yt-lite-thumb {
    transform: scale(1.05);
}

.sws-yt-lite-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    pointer-events: none;
}

.sws-yt-lite:hover .sws-yt-lite-overlay {
    background: rgba(0, 0, 0, 0.15);
}

/* Play button styles inherit from custom.css .sws-play-btn */
.sws-yt-lite .sws-play-btn {
    border: none;
    cursor: pointer;
}

/* --- Subscribe Button --- */
.sws-yt-subscribe-wrap {
    text-align: center;
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.sws-yt-subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    background: #e87722;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.sws-yt-subscribe-btn:hover {
    background: #d06a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 119, 34, 0.4);
    color: #ffffff;
}

.sws-yt-channel-link {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sws-yt-channel-link:hover {
    color: #e87722;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .sws-yt-lite .sws-video-thumb {
        height: 180px;
    }

    .sws-yt-subscribe-wrap {
        flex-direction: column;
        gap: 1rem;
    }

    .sws-sabres-tv-title {
        font-size: 2rem;
    }
}

/* =============================================
   ANIMATED STATS COUNTER
   ============================================= */
.sws-stats-section {
    background: #1a1a2e;
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.sws-stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(232, 119, 34, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(90, 26, 42, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.sws-stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.sws-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.sws-stat-item {
    padding: 1.5rem 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sws-stat-item.sws-visible {
    opacity: 1;
    transform: translateY(0);
}

.sws-stat-item:nth-child(2) { transition-delay: 0.1s; }
.sws-stat-item:nth-child(3) { transition-delay: 0.2s; }
.sws-stat-item:nth-child(4) { transition-delay: 0.3s; }

.sws-stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #e87722;
    line-height: 1;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 30px rgba(232, 119, 34, 0.3);
}

.sws-stat-number::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: rgba(232, 119, 34, 0.4);
    margin: 0.5rem auto;
    border-radius: 2px;
}

.sws-stat-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0;
}

/* Override WP column flex-basis so stats grid layout controls sizing */
.sws-stats-grid.wp-block-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.sws-stats-grid > .wp-block-column {
    flex-basis: auto !important;
}

/* --- Stats Responsive --- */
@media (max-width: 768px) {
    .sws-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .sws-stats-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .sws-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

/* Join CTA is now a native wp:cover block — parallax CSS removed. */
