/* --- INDEX PAGE STYLING --- */
:root {
    --bg-color: #0b0d15;
    --bg-header: #0b0d15;
    --bg-footer: #05060a;
    --card-bg: #151720;
    --primary-pink: #ff0055;
    --text-white: #ffffff;
    --text-gray: #a1a1a1;
    --nav-height: 70px;
    --radius: 8px;
    --divider: #ccc;
    --input-bg: #f0f0f0;
    --text-main: #111111;
    --accent-main: #ff0055;
    --text-muted: #555555;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
        
body.light-theme {
    --bg-color: #ffffff;
    --bg-header: #ffffff;
    --bg-footer: #f9f9f9;
    --card-bg: #f3f3f3;
    --primary-pink: #ff0055;
    --text-white: #111111;
    --text-gray: #555555;
    --divider: #e0e0e0;
    --input-bg: #f0f0f0;
    --icon-stroke: #111111;
    --filter-bg: #e8e8e8;
    --filter-text: #333;
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    transition: background-color 0.3s, color 0.3s;
    font-family: var(--font-main);
    overflow-x: hidden;
    padding-bottom: 50px;
}

a { 
    text-decoration: none; 
    color: inherit; 
}

ul { 
    list-style: none; 
}

img { 
    width: 100%;
    display: block; 
    object-fit: cover; 
}

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    height: var(--nav-height);
    background-color: var(--bg-header);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s, border-color 0.3s;
}

.logo {
    font-family: 'Georgia', serif;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: -1px;
}
        
.logo a {
    cursor: pointer;
}
        
.logo a:hover {
    color: var(--primary-pink);
}
        
body.light-theme .logo a {
    color: var(--primary-pink);
}

body.light-theme .logo a:hover {
    color: #000000;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
        
.search-container {
    position: relative;
}

.search-container input {
    background: var(--input-bg);
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 6px 10px 6px 30px;
    color: var(--text-white);
    width: 120px;
    font-size: 14px;
    transition: width 0.3s;
}

.search-container input:focus {
    width: 180px;
    outline: none;
    border-color: var(--accent-main);
}

.search-container i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--text-muted);
}

.v-divider {
    width: 1px;
    height: 24px;
    background-color: var(--divider);
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-header);
    overflow: hidden;
    transition: height 0.4s ease;
    z-index: 990;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
        
.mobile-menu.active {
    height: 100vh;
    padding: 20px 0;
}

.mobile-menu a {
    font-size: 18px;
    font-weight: 600;
    padding: 15px;
    color: var(--text-white);
    width: 100%;
    text-align: center;
    cursor: pointer;
}
.mobile-menu a:hover {
    color: var(--primary-pink);
}
        
.hamburger {
    stroke: var(--icon-stroke);
    color: var(--icon-stroke);
    cursor: pointer;
    font-size: 24px;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}
        
.hero a {
    cursor: pointer;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay Gradient for Hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    width: 90%;
}

.hero-text-small {
    font-size: 14px;
    margin-bottom: 5px;
}

.hero-title {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    color: var(--primary-pink);
    margin-bottom: 15px;
    line-height: 1;
}
        
.btn-watch-free {
    background-color: var(--primary-pink);
    color: white;
    padding: 12px 25px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
}

/* --- FILTER PILL BAR --- */
.filter-container {
    display: flex;
    justify-content: center;
    margin: 35px 0 60px 0;
    position: relative;
    z-index: 5;
}

.filter-pill {
    background-color: var(--filter-bg);
    border-radius: 50px;
    display: flex;
    padding: 8px 10px;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--filter-text);
    cursor: pointer;
    border-right: 1px solid #333;
}        

.filter-item:last-child {
    border-right: none;
}

.filter-item i { 
    font-size: 14px; 
}

.filter-item:hover { 
    color: var(--primary-pink); 
}

/* --- SLIDER SECTIONS --- */
.category-section {
    margin-bottom: 40px;
    padding-left: 20px;
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-right: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.see-all {
    font-size: 16px;
    color: var(--text-gray);
    cursor: pointer;
}

/* Horizontal Scroll Logic */
.slider-container {
    position: relative;
}

.slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    padding-right: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.02);
    z-index: 10;
}

.thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--card-bg);
}
        
.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block;
}
        
.fixed-watch-btn {
    position: fixed;
    bottom: 30px;
    right: 20px; 
    width: 100px;
    height: 100px;
    background-color: var(--primary-pink);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    transform: rotate(15deg);
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.fixed-watch-btn:hover {
    transform: rotate(0deg) scale(1.1);
}

.badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.7);
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}
        
.verified-icon {
    width: 18px;
    height: 18px;
    margin-left: 6px;
    vertical-align: text-bottom;
    display: inline-block;
}

.card-info {
    margin-top: 8px;
}

.card-title {
    font-size: 14px;
    font-weight: 500;
    color: #ddd;
}

.scroll-btn {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.scroll-btn:hover { 
    background: var(--primary-pink); 
}

.prev-btn { 
    left: 10px; 
}

.next-btn { 
    right: 10px; 
}

footer {
    margin-top: 60px;
    margin-bottom: -10px;
    padding: 40px 20px;
    text-align: center;
    background-color: var(--bg-footer);
    color: var(--text-gray);
    font-size: 12px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    font-size: 24px;
}

.social-icons a {   
    color: var(--text-white);
    cursor: pointer;
}
        
.social-icons a:hover {
    color: var(--primary-pink);
}

.footer-text {
    margin-bottom: 10px;
    line-height: 1.6;
}
        
body.modal-active > nav,
body.modal-active > main,
body.modal-active > footer,
body.modal-active > .filter-container {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
}

body.modal-active > .fixed-watch-btn {
    display: none;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%;
    background: rgba(5, 6, 10, 0.9);
    z-index: 9990;
}

.custom-modal {
    display: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background-color: #11141d;
    color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    width: 90%;
    max-width: 400px;
}

.age-modal {
    top: 20%;
    z-index: 9995;
    text-align: center;
}

.modal-title-serif {
    font-family: 'Georgia', serif;
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.warning-text {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.legal-text {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.5;
}

.exit-link {
    display: block;
    margin-top: 15px;
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
}

.cookie-modal {
    bottom: 20px;
    top: auto;
    z-index: 9992; 
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid #333;
}

.cookie-header h3 { 
    font-size: 18px; 
    margin-bottom: 10px; 
}

.cookie-desc { 
    font-size: 13px; 
    color: #aaa; 
    line-height: 1.4; 
    margin-bottom: 20px; 
}

.cookie-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    border-bottom: none;
}

.cookie-group {
    border-bottom: 1px solid #222;
}

.cookie-details {
    display: none;
    font-size: 13px;
    color: #999;
    padding: 0 10px 15px 30px;
    line-height: 1.5;
}

.cookie-group.active .cookie-details {
    display: block;
    animation: fadeIn 0.3s ease;
}

.cookie-label { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 14px; 
    font-weight: 600; 
}

.cookie-label i {
    transition: transform 0.3s ease;
    width: 15px;
}

.cookie-group.active .cookie-label i {
    transform: rotate(180deg);
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-5px); 
    }
    
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.switch {
    z-index: 2;
}

.status-text {
    font-size: 12px; 
    color: #00ff88; 
    font-weight: bold; 
}

.cookie-actions { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    margin-top: 20px; 
}

.btn-full-pink {
    width: 100%;
    background-color: var(--primary-pink);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-full-pink:hover { 
    background-color: #d40045; 
}

.btn-gray {
    width: 100%;
    background-color: #2a2e3b;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

.btn-gray:hover { 
    background-color: #3b4050; 
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input { 
    opacity: 0; 
    width: 0; 
    height: 0; 
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background-color: #555;
    transition: .4s;
    border-radius: 34px;
}

.slider-toggle:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider-toggle { 
    background-color: var(--primary-pink); 
}

input:checked + .slider-toggle:before { 
    transform: translateX(22px); 
}

/* --- PLAYER PAGE STYLES --- */
.player-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: hidden;
}

.crumb-link {
    color: var(--text-gray);
    flex-shrink: 0;
}

.crumb-link:hover { 
    color: var(--primary-pink); 
}

.crumb-sep { 
    font-size: 10px; 
    flex-shrink: 0; 
}

.crumb-current {
    color: var(--text-white);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; 
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    background: black;
    z-index: 1;
}

.video-wrapper.blur-active video,
.video-wrapper.blur-active .fluid_video_wrapper, 
.video-wrapper.blur-active .fluid_controls_container {
    filter: blur(7px);
    pointer-events: none;
}

.fluid_video_wrapper {
    width: 100% !important;
    height: 100% !important;
}

video {
    width: 100%;
    height: 100%;
}

.hd-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary-pink);
    color: var(--primary-pink);
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 4px;
    pointer-events: none;
}

.player-ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: transparent; */
    background: rgba(0,0,0,0.6);
    z-index: 9999 !important;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.player-ad-content {
    background-color: transparent;
    padding: 25px;
    border-radius: 15px;
    width: 100%;
    max-width: 380px;
    display: flex;
    text-align: center;
    justify-content: center;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.5); */
}

.ad-pill-header {
    background-color: #ffeaea;
    border: 2px solid #ff4500;
    border-radius: 50px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.ad-pill-icon {
    background-color: #6d4c41;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}

.ad-pill-text {
    color: #000;
    font-weight: 700;
    font-size: 12px;
}

.video-info-sec {
    margin-bottom: 25px;
}

.video-main-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--text-white);
}

.view-counter-wrapper {
    font-size: 14px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-action {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-action:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-download {
    background-color: var(--primary-pink);
    color: white;
}

.tooltip-container {
    position: relative;
    display: block;
    flex: 1;
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2a2e3b;
    color: white;
    padding: 15px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
    width: 100%;
}

body.light-theme .button-content {
    background-color: #e0e0e0;
    color: #111;
}

.button-content:hover,
.tooltip-container.active .button-content {
    /* background-color: var(--primary-pink);
    color: white; */
    transform: translateY(-2px);
}

.button-content .text {
    margin-right: 10px;
}

.share-icon {
    fill: currentColor;
    transition: transform 0.4s ease;
}

.button-content:hover .share-icon,
.tooltip-container.active .share-icon {
    transform: rotate(180deg) scale(1.1);
}

.tooltip-content {
    position: absolute;
    top: 110%;
    right: -25%;
    left: auto;
    transform: translateX(-50%) translateY(-10px);
    width: 150px;
    background: var(--card-bg);
    border: 1px solid var(--divider);
    border-radius: 12px;
    padding: 17px 0 0 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 100;
}

.tooltip-container.active .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.download-ad-container {
    display: none;
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease;
}
    
.download-ad-container .ad-pill-header {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.loader-container {
    display: flex;
    justify-content: center;
    padding: 40px 0 20px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (min-width: 768px) {
    .hero { 
        height: 70vh; 
    }
    
    .card {
        flex: 0 0 300px;
    }
    
    .card.large {
        flex: 0 0 500px; 
    }
    
    .cookie-modal {
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: 450px;
    }
            
    .scroll-btn { 
        display: flex; 
    }
    
    .video-main-title { 
        font-size: 24px; 
    }
    
    .tooltip-content { 
        width: 350px; 
    }
}

@media (min-width: 1024px) {
    body { 
        padding-left: 0; 
    }
    
    .navbar {
        padding: 15px 50px; 
    }
    
    .category-section {
        padding-left: 50px;
        padding-right: 50px; 
    }
    
    .hero-content { 
        left: 100px; 
        transform: none; 
        text-align: left;
        bottom: 80px;
    }
            
    .card {
        flex: 0 0 350px; 
    }
            
    .filter-container {
        justify-content: flex-start;
        padding-left: 50px;
    }
            
    .fixed-watch-btn {
        right: 40px;
        bottom: 40px;
    }
}

@media (min-width: 1440px) {
    .hero { 
        height: 80vh; 
    }
    
    .card {
        flex: 0 0 400px; 
    }
}     
