body {
    margin: 0;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider-wrapper {
    position: relative;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none; /* No background */
    border: none;
    cursor: pointer;
}

.slider-button.left {
    left: 10px;
}

.slider-button.right {
    right: 10px;
}

.slider-button svg {
    width: 64px; /* Ensure larger size */
    height: 64px;
    fill: white; /* Force white color */
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    fill: white;
    width: 30px;
    height: 30px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    width: 100%;
    height: 100%;
    margin: 0;
    max-width: none;
    border-radius: 0;
    overflow: hidden;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.dynamic-bg {
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(16px);
    -webkit-filter: blur(16px);
    transform: scale(1.1);
}

.player-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.player-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.player-back-btn {
    position: absolute;
    top: 20px;
    left: 35px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.player-close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.player-close-btn:hover,
.player-close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#player-iframe {
    width: 100%;
    height: 100%;
}

.pagination-ellipsis-btn {
    cursor: pointer;
}

.pagination-ellipsis-btn:hover {
    background-color: #4a5568;
}

.pagination-input-form input {
    outline: none;
}

.pagination-input-form input.border-red-500 {
    border-color: #f56565;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet-active {
    background: #ef4444; /* red-500 */
}

@keyframes slide-up-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up-fade-in {
    animation: slide-up-fade-in 0.6s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.animation-delay-200 { animation-delay: 200ms; }
.animation-delay-400 { animation-delay: 400ms; }
.animation-delay-600 { animation-delay: 600ms; }
.animation-delay-800 { animation-delay: 800ms; }

/* ===== LOADING SCREEN ===== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111827; /* gray-900 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid #374151; /* gray-700 */
    border-top: 4px solid #ef4444; /* red-500 */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
