/* Custom Scrollbar Hide */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Animations */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.animate-shake {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 2s ease-in-out forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Torch Flicker Animation for Hero */
@keyframes flicker {
    0% {
        opacity: 0.8;
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.02);
        filter: brightness(1.1);
    }

    100% {
        opacity: 0.8;
        transform: scale(1);
        filter: brightness(1);
    }
}

.torch-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    /* Position roughly where the torch is in the bg image, needs tweaking based on image */
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 100, 0, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: flicker 3s infinite alternate;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Netflix Card Styles */
.netflix-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition-delay: 0.1s;
    /* Slight delay before pop */
}

.netflix-card:hover {
    transform: scale(1.05);
    /* Subtle pop */
    z-index: 50;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
}

.netflix-card .card-content {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.netflix-card:hover .card-content {
    opacity: 1;
}

/* Red Progress Bar */
.progress-container {
    background-color: #333;
    height: 4px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.progress-bar {
    background-color: #E50914;
    height: 100%;
}

/* Quill Overrides for Dark Mode */
.ql-toolbar {
    background-color: #1f1f1f;
    border-color: #333 !important;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.ql-container {
    background-color: #141414;
    /* Darker bg for content */
    border-color: #333 !important;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    color: #e5e5e5 !important;
    font-size: 1rem;
    min-height: 200px;
}

.ql-stroke {
    stroke: #aaa !important;
}

.ql-picker {
    color: #aaa !important;
}