/* Video Carousel Section */
.video-carousel-section {
    background: linear-gradient(180deg, rgba(27,68,75,0.75) 0%, rgba(27,68,75,0.85) 100%), url('../assets/ready_to_dance.png');
    background-position: center;
    background-size: cover;
    padding: 4rem 0 3rem;
    color: #ffffff;
}

.video-carousel-eyebrow {
    text-align: center;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    margin: 0 0 1.5rem 0;
}

.video-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 300px;
    gap: 1rem;
    padding: 0.25rem;
    /* Hide scrollbar (cross-browser) */
    -ms-overflow-style: none; /* IE and old Edge */
    scrollbar-width: none;    /* Firefox */
}

.video-track::-webkit-scrollbar { /* Chrome, Safari */
    display: none;
}

.video-slide {
    scroll-snap-align: start;
    position: relative;
}

.carousel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    z-index: 1;
}

.video-thumb {
    background: rgba(0,0,0,0.3);
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 16/9;
    min-height: 160px;
    max-height: 260px;
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-thumb:hover {
    background: rgba(0,0,0,0.1);
    transform: scale(1.05);
}

.play-triangle {
    width: 0; 
    height: 0;
    border-left: 20px solid #ffffff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.video-thumb:hover .play-triangle {
    transform: scale(1.1);
}

.carousel-nav {
    display: none;
}

.fullscreen-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
}

.fullscreen-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.carousel-play-btn,
.carousel-pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.carousel-play-btn:hover,
.carousel-pause-btn:hover {
    background: rgba(0,0,0,0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.carousel-play-btn svg,
.carousel-pause-btn svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.video-carousel-ctas {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

/* CTA buttons in carousel */
.video-carousel-ctas .dance-button,
.video-carousel-ctas .capture-button {
    border-radius: var(--radius-pill);
    padding: 0.7rem 1.4rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.20);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.video-carousel-ctas .dance-button {
    background: #ffffff;
    color: var(--green700);
    border: 1px solid rgba(0,0,0,0.05);
}

.video-carousel-ctas .dance-button:hover {
    background: var(--green800);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.video-carousel-ctas .capture-button {
    background: var(--green700);
    color: #ffffff;
}

.video-carousel-ctas .capture-button:hover {
    background: var(--green800);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

@media (max-width: 992px) {
    .video-track { grid-auto-columns: 280px; }
    .video-thumb { min-height: 140px; max-height: 220px; }
}

@media (max-width: 768px) {
    .video-carousel-section { padding: 3rem 0 2.25rem; }
    .video-track { grid-auto-columns: 85%; }
    .video-thumb { min-height: 130px; max-height: 200px; }
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-base);
            background-color: var(--bg);
            color: var(--textPrimary);
            line-height: 1.6;
        }

        .skip-to-content {
            position: absolute;
            top: -40px;
            left: 6px;
            background: var(--cta);
            color: var(--ctaText);
            padding: 8px;
            text-decoration: none;
            border-radius: var(--radius-sm);
            z-index: 1000;
        }

        .skip-to-content:focus {
            top: 6px;
        }
