.video-carousel-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    width: 100%;
    position: relative;
    background: rgba(20, 20, 25, 0.7);
    border: 1px solid rgba(248, 193, 75, 0.2);
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(248, 193, 75, 0.1);
}

/* Add elegant cut corners to the carousel section */
.video-carousel-section::before,
.video-carousel-section::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(248, 193, 75, 0.3);
}

.video-carousel-section::before {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
}

.video-carousel-section::after {
    bottom: -1px;
    left: -1px;
    border-right: none;
    border-top: none;
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 4px;
    color: #f8c14b;
    text-shadow: 0 0 10px rgba(248, 193, 75, 0.3);
    background: linear-gradient(
        219deg,
        #f8c14b 19%,
        rgba(248, 193, 75, 0.9) 19%,
        rgba(248, 193, 75, 0.9) 20%,
        #1e1e28 20%,
        #1e1e28 39%,
        rgba(248, 193, 75, 0.9) 39%,
        rgba(248, 193, 75, 0.9) 40%,
        #f8c14b 40%,
        #f8c14b 59%,
        rgba(248, 193, 75, 0.9) 59%,
        rgba(248, 193, 75, 0.9) 60%,
        #1e1e28 60%,
        #1e1e28 79%,
        rgba(248, 193, 75, 0.9) 79%,
        rgba(248, 193, 75, 0.9) 80%,
        #f8c14b 80%
    );
    background-clip: text;
    -webkit-background-clip: text;
    animation: glow 3s ease-in-out infinite;
}

.section-title::before {
    background: radial-gradient(
        circle at 50% 50%,
        rgba(248, 193, 75, 0.2) 0%,
        transparent 50%
    );
    animation: pulse 2s ease-in-out infinite;
    content: "LATEST Clips";
    position: absolute;
    bottom: 30px;
    left: 10%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    
}

.section-title::after {
    background: radial-gradient(
        circle at 50% 50%,
        rgba(248, 193, 75, 0.2) 0%,
        transparent 50%
    );
    animation: pulse 2s ease-in-out infinite;
    content: "";
    position: absolute;
    bottom: -30px;
    left: 10%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffcc01, transparent);
}

@keyframes glow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(248, 193, 75, 0.3),
            0 0 20px rgba(248, 193, 75, 0.2),
            0 0 30px rgba(248, 193, 75, 0.1);
    }
    50% {
        text-shadow: 
            0 0 5px rgba(248, 193, 75, 0.2),
            0 0 10px rgba(248, 193, 75, 0.1),
            0 0 15px rgba(248, 193, 75, 0.05);
    }
}

@keyframes shine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.section-title .glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    clip: rect(0, 900px, 0, 0);
    animation: glitch 3s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% {
        clip: rect(86px, 9999px, 42px, 0);
        transform: skew(0.52deg);
    }
    5% {
        clip: rect(89px, 9999px, 76px, 0);
        transform: skew(0.33deg);
    }
    10% {
        clip: rect(61px, 9999px, 17px, 0);
        transform: skew(0.01deg);
    }
    15% {
        clip: rect(37px, 9999px, 95px, 0);
        transform: skew(0.89deg);
    }
    20% {
        clip: rect(28px, 9999px, 37px, 0);
        transform: skew(0.68deg);
    }
    25% {
        clip: rect(46px, 9999px, 72px, 0);
        transform: skew(0.95deg);
    }
    30% {
        clip: rect(75px, 9999px, 61px, 0);
        transform: skew(0.13deg);
    }
    35% {
        clip: rect(89px, 9999px, 25px, 0);
        transform: skew(0.15deg);
    }
}

/* Update the HTML structure for the title */
.video-carousel-section h2.section-title {
    margin-bottom: 3rem;
    position: relative;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 -1rem;
    padding: 1rem;
    background: rgba(20, 20, 25, 0.5);
    /*border: 1px solid rgba(248, 193, 75, 0.15);*/
    border-radius: 4px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    padding: 0 1rem;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s ease;
    width: 100%;
}

.clip-card {
    flex: 0 0 calc((100% - 2rem) / 3);
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid rgba(248, 193, 75, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    max-width: 400px;
    position: relative;
}

.clip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.clip-card:hover {
    transform: translateY(-5px);
}

.clip-card:hover::before {
    border-color: rgba(248, 193, 75, 0.4);
    box-shadow: 0 8px 25px rgba(248, 193, 75, 0.15);
}

.clip-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.clip-info {
    padding: 1rem;
    background: linear-gradient(to bottom, rgba(30, 30, 40, 0.95), rgba(30, 30, 40, 0.98));
}

.clip-title {
    color: #f8c14b;
    font-size: 1rem;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.carousel-button {
    background: rgba(248, 193, 75, 0.15);
    border: 1px solid rgba(248, 193, 75, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8c14b;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-button.prev {
    left: 0.5rem;
}

.carousel-button.next {
    right: 0.5rem;
}

.carousel-button:hover {
    background: rgba(248, 193, 75, 0.25);
    border-color: rgba(248, 193, 75, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(248, 193, 75, 0.2);
}

.carousel-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(248, 193, 75, 0.1);
    border-color: rgba(248, 193, 75, 0.1);
}

@media screen and (max-width: 1280px) {
    .video-carousel-section {
        max-width: 960px;
    }

    .clip-card {
        flex: 0 0 calc((100% - 1rem) / 2);
    }
}

@media screen and (max-width: 960px) {
    .video-carousel-section {
        max-width: 780px;
    }
}

@media screen and (max-width: 780px) {
    .video-carousel-section {
        max-width: 480px;
    }

    .clip-card {
        flex: 0 0 100%;
    }
}