* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
        }

        .header {
            position: relative;
            height: 25vh;
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                        url('/assets/img/header.jpeg');
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .nav {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 40px;
            z-index: 1000;
        }

        .logo {
            font-size: 2.5rem;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
            text-decoration: none;
        }
        

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            z-index: 1001;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background-color: white;
            margin: 3px 0;
            transition: 0.3s;
            border-radius: 2px;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        .nav-menu {
            display: flex;
            gap: 30px;
            list-style: none;
            background: transparent;
        }

        .nav-menu a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-menu a:hover {
            color: #ff6b6b;
        }

        .search-container {
            position: relative;
            max-width: 400px;
            width: 70%;
            margin-top: 50px;
        }

        .search-box {
            width: 100%;
            padding: 15px 60px 15px 25px;
            border: none;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            font-size: 1.1rem;
            outline: none;
     
        }

        .search-box::placeholder {
            color: #999;
        }

        .search-btn {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px;
            border-radius: 50%;
            transition: background-color 0.3s;
        }

        .search-btn:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }

        .search-icon {
            width: 24px;
            height: 24px;
            fill: #666;
        }

        /* Mobile responsive */
        @media (max-width: 768px) {
            .nav {
                padding: 15px 20px;
            }

            .logo {
                font-size: 2rem;
            }

            .hamburger {
                display: flex;
            }

            .nav-menu {
                position: fixed;
                left: -100%;
                top: 70px;
                flex-direction: column;
                background-color: rgba(0, 0, 0, 0.95);
                width: 100%;
                text-align: center;
                transition: 0.3s;
                padding: 30px 0;
            }

            .nav-menu.active {
                left: 0;
            }

            .nav-menu li {
                margin: 15px 0;
            }

            .search-container {
                max-width: 90%;
                margin-top: 30px;
            }

            .search-box {
                padding: 12px 50px 12px 20px;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.8rem;
            }

            .nav {
                padding: 15px 15px;
            }

            .search-box {
                padding: 10px 45px 10px 15px;
                font-size: 0.9rem;
            }
        }

        /* Additional content for demonstration */
        .content {
            padding: 50px 20px;
            text-align: center;
        }

        .content h2 {
            margin-bottom: 20px;
            color: #333;
        }

        .content p {
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
            color: #666;
        }
        /* --- START: Add these styles to your <style> tag --- */

/* Update body for dark theme */
body {
    font-family: Arial, sans-serif;
    background-color: #121212; /* Dark background from image */
    color: #e0e0e0; /* Default light text color */
}

/* This is the old demo content, we hide it */
.content {
    display: none;
}

/* Video Grid Section */
.video-content {
    padding: 30px 10px;
    max-width: 1400px;
    margin: 0 auto;
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.video-header h2 {
    font-size: 1.5rem;
    font-weight: 500;
}

.filter-btn {
    background-color: #282828;
    border: 1px solid #404040;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-btn svg {
    width: 20px;
    height: 20px;
    stroke: #e0e0e0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 15px;
}

.video-card {
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform 0.2s ease-in-out;
}

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

.video-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #000; /* Placeholder color */
}

.video-title {
    font-size: 0.9rem;
    color: #ccc;
    text-align: left;
    padding: 0 5px;
    font-weight: 500;
}

/* Responsive adjustments for larger screens */
@media (min-width: 640px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(5, 1fr);
    }
     .video-content {
        padding: 40px;
    }
}

/* --- START: Add these styles to your <style> tag --- */

/* Pagination Container */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px; /* Space above the pagination */
    padding-bottom: 20px;
}

.pagination {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Allows pagination to wrap on small screens */
    justify-content: center;
    gap: 8px; /* Space between page numbers */
    padding: 0;
    margin: 0;
}

.page-item {
    margin-bottom: 5px;
}

.page-link {
    display: block;
    padding: 10px 15px;
    background-color: #282828;
    border: 1px solid #404040;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.2s, color 0.2s;
}

.page-link:hover {
    background-color: #404040;
    border-color: #555;
}

/* Style for the active/current page */
.page-link.active {
    background: #fffcfc;
background: linear-gradient(0deg, rgba(255, 252, 252, 1) 0%, rgba(0, 0, 0, 1) 100%);
    border-color: #D3D1D1;
    color: #fff;
    cursor: default; /* Not clickable if it's the current page */
}

/* Disabled state for Previous/Next buttons */
.page-item.disabled .page-link {
    color: #666;
    pointer-events: none;
    background-color: #222;
    border-color: #333;
}

/* --- START: Add these styles to your <style> tag --- */

/* Placeholders */
.placeholder-section {
    display: flex;
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.ad-placeholder-large, .ad-placeholder-gif {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    background: transparent;
}

.ad-placeholder-large img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the container, cropping if necessary */
}

.ad-placeholder-gif img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the container, cropping if necessary */
}


/* Filter Dropdown */
.filter-container {
    position: relative; /* This is crucial for positioning the dropdown */
}

.filter-dropdown {
    display: none; /* Hidden by default */
    position: absolute;
    top: 110%; /* Position it just below the button */
    right: 0;
    background-color: #282828;
    border: 1px solid #404040;
    border-radius: 8px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    width: 200px; /* Set a fixed width */
    z-index: 100;
    
}

.filter-dropdown.active {
    display: block; /* Show when active */
}

.filter-dropdown li a {
    display: block;
    padding: 10px 15px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.filter-dropdown li a:hover {
    background-color: #404040;
}


/* Footer */
.site-footer {
    background-color: #0a0a0a; /* Even darker for footer */
    color: #888;
    padding: 40px 20px;
    margin-top: 40px; /* Space above the footer */
    border-top: 1px solid #282828;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ff6b6b;
}

.footer-disclaimer {
    font-size: 0.8rem;
    margin-bottom: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #666;
}

/* --- START: Add these styles to your <style> tag --- */

/* Utility class to prevent background scroll when popup is open */
body.no-scroll {
    overflow: hidden;
}

/* Age Verification Popup */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* For Safari */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.age-verification-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.age-verification-modal {
    background-color: #1e1e1e;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    border: 1px solid #444;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.age-verification-modal h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.age-verification-modal p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 25px;
}

.age-verification-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.age-verification-buttons button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.age-verification-buttons button:hover {
    transform: translateY(-2px);
}

.btn-enter {
    background-color: #ff6b6b; /* Site's accent color */
    color: white;
}

.btn-enter:hover {
    background-color: #ff8787;
}

.btn-exit {
    background-color: #444;
    color: #ccc;
}
.btn-exit:hover {
    background-color: #555;
}


/* Autoplay Video Placeholder */
.autoplay-placeholder {
    position: relative;
    width: 100%;
    max-width: 728px; /* Standard leaderboard ad size */
    margin: 40px auto;
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden; /* Important for smooth hide animation */
    transition: max-height 0.5s ease-out, margin 0.5s ease-out, opacity 0.3s ease-out;
    max-height: 500px; /* Initial height, can be adjusted */
    opacity: 1;
}

.autoplay-placeholder.hidden {
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
    border: none;
}

.autoplay-placeholder .video-wrapper {
    aspect-ratio: 16 / 9;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-size: 1.2rem;
}

.autoplay-placeholder .close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 2px 0;
    transition: background-color 0.2s;
}

.autoplay-placeholder .close-btn:hover {
    background: rgba(0, 0, 0, 1);
}

.autoplay-placeholder .video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the container, cropping if necessary */
    border-radius: 8px;
}

/* --- START: Add these styles to your <style> tag --- */

/* Mute/Unmute Button Styling */
.mute-toggle-btn {
    position: absolute;
    bottom: 8px;
    right: 8px; /* Positioned at the bottom-right */
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s;
}

.mute-toggle-btn:hover {
    background: rgba(0, 0, 0, 1);
}

.mute-toggle-btn svg {
    width: 20px;
    height: 20px;
}

/* Icon visibility logic */
.mute-toggle-btn .icon-unmuted {
    display: none; /* Hide unmuted icon by default */
}
.mute-toggle-btn.unmuted .icon-unmuted {
    display: block; /* Show unmuted icon when button has .unmuted class */
}
.mute-toggle-btn.unmuted .icon-muted {
    display: none; /* Hide muted icon when button has .unmuted class */
}
}

/* --- START: Add these styles to your existing CSS file --- */

/* Player Page Specific Layout */
.player-page-container {
    display: flex;
    gap: 30px;
    padding: 30px;
    max-width: 1600px;
    margin: 0 auto;
    align-items: flex-start; /* Aligns items to the top */
}

/* Main video content area */
.main-video-section {
    flex: 3; /* Takes up more space */
    min-width: 0; /* Prevents flex items from overflowing */
}

.video-player-wrapper video {
    width: 100%;
    height: auto;
    background-color: #000;
    border-radius: 12px;
}

.video-info {
    padding: 20px 5px;
}

.video-info .video-title {
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.video-info .video-metadata {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.video-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #282828;
    color: #eee;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.action-btn:hover {
    background-color: #383838;
}

.action-btn.download-btn {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: white;
}

.action-btn.download-btn:hover {
    background-color: #ff8787;
}

/* Related videos sidebar */
.related-videos-section {
    flex: 1; /* Takes up less space */
    min-width: 300px; /* Minimum width for the sidebar */
}

.related-videos-section h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.related-videos-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-video-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: #ccc;
    transition: background-color 0.2s;
    border-radius: 8px;
    padding: 5px;
}
.related-video-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.related-video-item img {
    width: 140px;
    height: 78px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0; /* Prevents image from shrinking */
}

.related-video-info h3 {
    font-size: 0.9rem;
    color: #eee;
    line-height: 1.4;
    margin: 0 0 5px 0;
}

.related-video-info p {
    font-size: 0.8rem;
    color: #aaa;
    margin: 0;
}

/* --- START: Social Follow Bar Styles --- */

/* --- END: Social Follow Bar Styles --- */

/* --- START: Under Construction Page Styles --- */

.construction-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 60vh; /* Ensures it takes up significant space between header and footer */
    padding: 40px 20px;
    color: #e0e0e0;
}

.construction-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    /* Use the site's main accent color */
    fill: #fff; 
}

.construction-container h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.construction-container p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Updated Responsive CSS */
@media (min-width: 768px) {
    /* Tablet styles */
    .header {
        height: 70vh;
    }
    .hamburger {
        display: none;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        background: transparent;
        width: auto;
        padding: 0;
        display: flex !important;
    }

    .nav-menu li {
        margin: 0;
    }

    .search-container {
        max-width: 500px;
        margin-top: 60px;
    }

    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px 20px;
    }

    .placeholder-section {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .ad-placeholder-large,
    .ad-placeholder-gif {
        max-width: 728px;
        width: 100%;
    }

    .ad-placeholder-large {
        height: 250px;
    }

    .ad-placeholder-gif {
        height: 90px;
    }
}

@media (min-width: 992px) {
    /* Desktop styles */
    .header {
        height: 35vh;
    }

    .nav {
        padding: 25px 60px;
    }

    .logo {
        font-size: 2.8rem;
    }

    .nav-menu {
        gap: 40px;
    }

    .search-container {
        max-width: 600px;
    }

    .video-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px 25px;
    }

    .video-header h2 {
        font-size: 1.8rem;
    }

    .video-title {
        font-size: 1rem;
    }

    .placeholder-section {
        padding: 30px;
    }
    
    .ad-placeholder-large,
    .ad-placeholder-gif {
        max-width: 970px; /* Give both a consistent large max-width */
        width: 100%;
    }

    .ad-placeholder-large {
        height: 250px;
    }

    .ad-placeholder-gif {
        height: 90px;
        /* margin: 20px 0 0 0; is equivalent to margin-top: 20px; and is good to keep */
        margin-top: 20px;
    }

    .pagination-container {
        margin-top: 60px;
    }

    .page-link {
        padding: 12px 18px;
        font-size: 1rem;
    }
}

/* Existing Mobile Styles (unchanged) */
@media (max-width: 767px) {
    .nav {
        padding: 15px 20px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .search-container {
        max-width: 90%;
        margin-top: 30px;
    }
    
    .search-box {
        padding: 12px 50px 12px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.8rem;
    }
    
    .nav {
        padding: 15px 15px;
    }
    
    .search-box {
        padding: 10px 45px 10px 15px;
        font-size: 0.9rem;
    }
}

/* Player Page Specific Layout */
.player-page-container {
    display: flex;
    flex-direction: column; /* Mobile-first column layout */
    gap: 30px;
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Main video content area */
.main-video-section {
    width: 100%;
}

.video-player-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: #000;
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
}

/* Desktop layout */
@media (min-width: 992px) {
    .player-page-container {
        flex-direction: row; /* Switch to row layout on desktop */
        align-items: flex-start;
        padding: 30px;
    }

    .main-video-section {
        flex: 1;
        min-width: 0; /* Prevent overflow */
    }

    .video-player-wrapper {
        aspect-ratio: 16/9; /* Maintain aspect ratio */
    }

    .related-videos-section {
        flex: 0 0 340px; /* Fixed width for sidebar */
        position: sticky;
        top: 30px;
    }
}
