/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f0f;
    /* dark track */
}

::-webkit-scrollbar-thumb {
    background: #c40024;
    /* main theme red */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0001d;
    /* darker red on hover */
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #c40024 #0f0f0f;
}


/* custom.css - Optimized & Combined CSS */

/* ===== GLOBAL & SHARED STYLES ===== */
.responsive-logo {
    max-width: 100%;
    height: auto;
    max-height: 80px;
}

/* ===== HEADER & NAVIGATION STYLES ===== */
/* Logo sizing */
.site-logo {
    max-width: 300px;
    height: auto;
}

#searchSuggestions .suggestion-item {
    padding: 8px;
    cursor: pointer;
}

#searchSuggestions .suggestion-item.highlight {
    background-color: #444;
    color: #fff;
}


/* Search suggestions */
.search-suggestions {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background: #12151e;
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: none;
}

.search-suggestions div {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 12px;
    color: #fff;
}

.search-suggestions div:hover {
    background: #1f212b;
}

/* Language dropdown */
.custom-dropdown {
    position: relative;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.dropdown-btn:hover {
    border: 1px solid #c40024;
}

.dropdown-btn .arrow {
    margin-left: auto;
}

.dropdown-list {
    position: absolute;
    margin-top: 5px;
    top: 100%;
    left: 0;
    right: 0;
    background: #1f212b;
    border: 1px solid #c40024;
    border-radius: 4px;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 999;
}

.dropdown-list li {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    cursor: pointer;
}

.dropdown-list li:hover {
    background: #c4002477;
}

/* Custom scrollbars */
.dropdown-list::-webkit-scrollbar {
    width: 8px;
}

.dropdown-list::-webkit-scrollbar-track {
    background: #1f212b;
    border-radius: 4px;
}

.dropdown-list::-webkit-scrollbar-thumb {
    background-color: #c40024;
    border-radius: 4px;
    border: 2px solid #1f212b;
}

.dropdown-list {
    scrollbar-width: thin;
    scrollbar-color: #c40024 #1f212b;
}

/* ===== AGE VERIFICATION MODAL ===== */
/* Prevent background scroll when modal active */
body.age-verification-active {
    overflow: hidden;
    height: 100vh;
}

/* Modal overlay with fade-in animation */
.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-darker, rgba(0, 0, 0, 0.95));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal container with slide-down effect */
.age-verification-container {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(145deg, #1a1a1a, #222);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--primary-color, #ff0000);
    margin: 15px;
    box-shadow: var(--shadow-lg, 0 4px 20px rgba(0, 0, 0, 0.5));
    transform: translateY(-20px);
    animation: slideDown 0.5s forwards;
}

/* Slide-down animation */
@keyframes slideDown {
    from {
        transform: translateY(-20px);
    }

    to {
        transform: translateY(0);
    }
}

/* Header styling */
.age-verification-header {
    border-bottom: 1px solid var(--primary-color, #ff0000);
    padding: 18px;
    text-align: center;
}

.age-verification-header h5 {
    color: var(--text-color, #fff);
    font-size: 1.6rem;
    margin: 0;
    font-weight: 700;
}

/* Content area */
.age-verification-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.age-verification-icon {
    max-width: 90px;
    margin-bottom: 20px;
}

.age-verification-body p {
    color: #ddd;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Footer with buttons */
.age-verification-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
}

.age-confirm-btn,
.age-deny-btn {
    padding: 14px 0;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

/* Confirm button styling */
.age-confirm-btn {
    background: linear-gradient(90deg, var(--primary-color, #ff0000), #ff5555);
    color: var(--text-color, #fff);
    box-shadow: var(--shadow-primary, 0 4px 10px rgba(255, 0, 0, 0.5));
}

.age-confirm-btn:hover {
    background: linear-gradient(90deg, var(--primary-hover, #ff3333), #ff2222);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.6);
}

/* Deny button styling */
.age-deny-btn {
    background-color: var(--bg-light, #ccc);
    color: var(--text-color, #000);
    margin-top: 12px;
}

.age-deny-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ===== VIDEO CARD STYLES ===== */
.movie-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.movie-item {
    display: block;
    margin-bottom: 50px;
}

.movie-poster {
    overflow: hidden;
    border-radius: 10px;
}

.movie-poster img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.movie-poster img:hover {
    transform: scale(1.05);
}

.movie-content .title {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-content .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
}

.movie-content .bottom ul {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
}

.movie-content .bottom li {
    display: inline-block;
    font-size: 0.85rem;
}

.movie-content .bottom .duration i,
.movie-content .bottom .rating i {
    margin-right: 3px;
}

/* Search results */
.search-result-header h5 {
    font-weight: 500;
    margin-bottom: 15px;
}

/* Not found state */
.not-found-box {
    padding: 40px 20px;
    background: #111;
    border-radius: 10px;
}

.not-found-box h3 {
    color: #ff4d4d;
    font-weight: 600;
    margin-bottom: 10px;
}

.not-found-box p {
    color: #ccc;
    font-size: 16px;
}

/* ===== MODEL CARD STYLES ===== */
.model-card {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.model-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.model-card:hover img {
    transform: scale(1.05);
}

.model-card .overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.model-card .overlay .name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Model filter buttons */
.filter-btn {
    padding: 8px 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    background-color: #c40024;
    color: #fff;
}

.filter-btn.active {
    background-color: #c40024;
    color: #fff;
    border: 2px solid #c40024;
}

/* ===== CATEGORY CARD STYLES ===== */
.category-card,
.category-card-link .category-card {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.category-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card .overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.category-card .overlay .name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Load More button (optimized) */
#loadMoreCategoriesBtn {
    transition: 0.3s ease;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large tablets */
@media (max-width: 992px) {
    .site-logo {
        max-width: 240px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .site-logo {
        max-width: 200px;
    }

    .responsive-logo {
        max-height: 50px;
    }
}

/* Mobile phones */
@media (max-width: 576px) {
    .site-logo {
        max-width: 200px;
    }

    /* Age verification modal */
    .age-verification-container {
        max-width: 95%;
    }

    .age-verification-header h5 {
        font-size: 1.4rem;
    }

    .age-verification-body p {
        font-size: 0.85rem;
    }

    .age-confirm-btn,
    .age-deny-btn {
        padding: 12px;
        font-size: 0.95rem;
    }

    .age-verification-icon {
        max-width: 70px;
    }

    /* Video cards */
    .movie-content .title {
        font-size: 1rem;
    }

    .pagination li a {
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    /* Category and model cards */
    .category-card .overlay .name,
    .model-card .overlay .name {
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .responsive-logo {
        max-height: 50px;
    }
}