/* =========================================
   General Ad Layout
   ========================================= */
.ad-zone {
    margin: 20px auto;
    text-align: center;
}

.ad-row {
    flex: 1 1 100%;
    margin: 20px 0;
    text-align: center;
}

.ad-placeholder {
    width: 90%;
    height: 90%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    margin: 10px;
}

/* =========================================
   In-Video Floating Ad (Desktop + Mobile)
   ========================================= */
#invideo-ad {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 250px;
    /* match JS desktop size */
    z-index: 9999;
    text-align: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

#invideo-ad .ad-close {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#invideo-ad iframe {
       pointer-events: auto !important;
       /* allow close button tap */
   }

/* =========================================
   Banner Ads (Top, Footer, Mid)
   ========================================= */
.top-banner,
.footer-banner {
    max-width: 728px;
}

.mid-banner {
    margin: 30px 0;
}

/* =========================================
   Responsive Behavior (Mobile)
   ========================================= */
@media (max-width: 768px) {

    /* ===== General Ad Containers (Left Aligned) ===== */
    .ad-zone,
    #top-ad,
    #footer-ad,
    [id^="midpage-ad"],
    .mobile-only {
        display: block;
        text-align: left;
        margin: 10px 0 10px 20px;
        max-width: 100%;
        overflow: hidden;
    }

    /* Hide / Show Helpers */
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
        margin: 15px auto;
    }

    /* Standard banner sizing */
    .top-banner,
    .footer-banner,
    .mid-banner {
        max-width: 320px;
    }

    /* ===== In-Video Ad (Centered) ===== */
    #invideo-ad {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 125px;
        /* match JS mobile size */
        height: 125px;
        /* match JS mobile size */
        background: rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        text-align: center;
        z-index: 9999;
        display: block;
        overflow: hidden;
    }

    #invideo-ad ins,
    #invideo-ad iframe {
        display: block;
        width: 100%;
        height: 100%;
        pointer-events: auto !important;
        /* allow close button tap */
    }

    #invideo-ad .ad-close {
        position: absolute;
        top: 2px;
        right: 2px;
        width: 18px;
        height: 18px;
        font-size: 12px;
        line-height: 16px;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        z-index: 999999;
        pointer-events: auto ;
        /* ensure tap works */
    }

    /* Align mid-page iframes */
    .ad-zone iframe,
    [id^="midpage-ad"] iframe {
        display: block;
        margin-left: 20px;
        margin-right: auto;
    }
}/* Font Awesome 6.4.0 - trimmed version for OnlineHotSex */

/* Base */
.fas,
.fa-solid {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.fa,
.fas {
    font-style: normal;
}

.fa {
    display: inline-block;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fa-lg {
    font-size: 1.33333333em;
    line-height: .75em;
    vertical-align: -.0667em;
}

/* Icons */
.fa-cog:before,
.fa-gear:before {
    content: "\f013";
}

.fa-times:before,
.fa-xmark:before {
    content: "\f00d";
}

.fa-trash:before {
    content: "\f1f8";
}

.fa-film:before {
    content: "\f008";
}

.fa-exclamation-triangle:before,
.fa-warning:before {
    content: "\f071";
}

.fa-play:before {
    content: "\f04b";
}

.fa-eye:before {
    content: "\f06e";
}

.fa-folder-open:before {
    content: "\f07c";
}

.fa-search:before {
    content: "\f002";
}

.fa-home:before {
    content: "\f015";
}

.fa-star:before {
    content: "\f005";
}

.fa-history:before {
    content: "\f1da";
}

/* Ensure font-face is still declared */
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap; /* 🚀 key change */
    src: url("/webfonts/fa-solid-900-c64278386c2bbb5e293e11b94ca2f6d1.woff2") format("woff2"),
         url("../webfonts/fa-solid-900.ttf") format("truetype");
}/* ===== DROPDOWN STYLES ===== */
/* Base dropdown (applies to all selects) */
/* Base dropdown */
/* Base dropdown */
select {
    background: rgba(0, 0, 0, 0.4);        /* translucent */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    width: 160px;
    backdrop-filter: blur(4px);            /* glass effect */
}

/* Focus (keep same translucent background) */
select:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.4);        /* keep same as base */
    border-color: #ff4757;                 /* accent */
    box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.25);
}

/* Hover (border only, no background change) */
select:hover {
    border-color: #ddd;
    background: rgba(0, 0, 0, 0.4);        /* unchanged */
}

/* Dropdown options */
option {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px;
}

/* ===== CONTACT FORM STYLES ===== */
.removal-form-wrapper {
	margin: 2rem auto;
	text-align: left;
}

.removal-form-wrapper h2 {
	margin-bottom: 1rem;
	color: var(--light-color);
}

.contact-form {
	padding: 2rem;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-form label {
	font-weight: 600;
	color: #333;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
	outline: none;
}

.contact-form textarea {
	resize: vertical;
	min-height: 120px;
}

.contact-form button {
	background: #007bff;
	color: #fff;
	border: none;
	padding: 0.85rem 1.25rem;
	border-radius: 8px;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s ease-in-out;
}

.contact-form button:hover {
	background: #0056b3;
}

#contactResponse {
	margin-top: 1rem;
	font-weight: 500;
	text-align: center;
	color: var(--light-color);
}/* ===== AGE VERIFICATION OVERLAY STYLES ===== */
#ageOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	z-index: 9999;
	display: none;
	justify-content: center;
	align-items: center;
	color: white;
	text-align: center;
	flex-direction: column;
	overflow: auto;
}

#ageOverlay>div {
	max-width: 800px;
	width: 100%;
	background: rgba(42, 42, 42, 0.88);
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	margin: 40px auto;
}

#ageOverlay h2 {
	color: #ff4757;
	margin-bottom: 25px;
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.2;
}

#ageOverlay p {
	margin: 0 auto 18px;
	line-height: 1.7;
	font-size: 1.1rem;
	opacity: 0.9;
}

#ageOverlay a {
	color: #ff6b81;
	text-decoration: underline;
	font-weight: 500;
}

#ageOverlay a:hover {
	color: #ff4757;
}

#ageOverlay button {
	padding: 14px 28px;
	margin: 15px 12px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	min-width: 220px;
	transition: all 0.3s ease;
}

#enterBtn {
	background: linear-gradient(135deg, #ff4757, #ff6b81);
	color: white;
}

#enterBtn:hover {
	background: linear-gradient(135deg, #ff6b81, #ff4757);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

#exitBtn {
	background: rgba(68, 68, 68, 0.8);
	color: white;
	border: 1px solid rgba(102, 102, 102, 0.5);
}

#exitBtn:hover {
	background: rgba(85, 85, 85, 0.9);
	transform: translateY(-2px);
}

/* Responsive design for age overlay */
@media (max-width: 768px) {
	#ageOverlay>div {
		width: 95%;
		padding: 30px 20px;
		margin: 20px;
	}

	#ageOverlay h2 {
		font-size: 1.8rem;
		margin-bottom: 20px;
	}

	#ageOverlay p {
		font-size: 1rem;
		margin-bottom: 15px;
	}

	#ageOverlay button {
		min-width: 180px;
		padding: 12px 20px;
		margin: 10px 0;
		display: block;
	}

	#ageOverlay br {
		display: none;
	}
}

/* ===== COOKIE BANNER STYLES ===== */
#cookieBanner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #2a2a2a;
	color: white;
	padding: 15px 20px;
	z-index: 1002;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
	display: none;
}

.cookie-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.cookie-content p {
	margin: 0;
	flex: 1;
	font-size: 14px;
	line-height: 1.4;
}

.cookie-buttons {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.cookie-btn {
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.cookie-btn.primary {
	background: #ff4757;
	color: white;
}

.cookie-btn.primary:hover {
	background: #ff6b81;
	transform: translateY(-1px);
}

.cookie-btn.secondary {
	background: #444;
	color: white;
	border: 1px solid #666;
}

.cookie-btn.secondary:hover {
	background: #555;
	transform: translateY(-1px);
}

/* Mobile Responsive for Cookie Banner */
@media (max-width: 768px) {
	#cookieBanner {
		padding: 12px 15px;
	}

	.cookie-content {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		text-align: center;
	}

	.cookie-content p {
		padding-right: 0;
		font-size: 13px;
		line-height: 1.3;
	}

	.cookie-buttons {
		justify-content: center;
		flex-wrap: wrap;
	}

	.cookie-btn {
		padding: 10px 20px;
		font-size: 13px;
		flex: 1;
		min-width: 120px;
	}
}

@media (max-width: 480px) {
	#cookieBanner {
		padding: 10px 12px;
	}

	.cookie-content {
		gap: 10px;
	}

	.cookie-buttons {
		flex-direction: column;
		gap: 8px;
	}

	.cookie-btn {
		width: 100%;
		min-width: auto;
	}
}/* ===== PAGINATION STYLES ===== */
.pagination {
	display: flex;
	justify-content: center;
	padding-left: 0;
	list-style: none;
	margin: 2rem 0 3rem;
}

.page-item {
	margin: 0;
}

.page-link {
	position: relative;
	display: block;
	padding: 0.5rem 0.75rem;
	line-height: 1.25;
	text-decoration: none;
	transition: all 0.15s ease-in-out;
	border: 1px solid;
}

/* Connected look */
.page-item:not(:first-child) .page-link {
	margin-left: -1px;
}

/* Rounded corners for first and last items */
.page-item:first-child .page-link {
	border-top-left-radius: 0.375rem;
	border-bottom-left-radius: 0.375rem;
}

.page-item:last-child .page-link {
	border-top-right-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
}

/* Dark theme variant - optimized for your site */
.pagination-dark .page-link {
	background-color: #2a2a2a;
	border-color: #444;
	color: rgb(255, 255, 255);
}

.pagination-dark .page-link:hover {
	background-color: #fd79a8;
	border-color: #fd79a8;
	color: rgb(64, 0, 64);
	z-index: 2;
}

.pagination-dark .page-item.active .page-link {
	background-color: #fd79a8;
	border-color: #fd79a8;
	color: rgb(0, 0, 0);
	z-index: 3;
}

.pagination-dark .page-item.disabled .page-link {
	background-color: #2a2a2a;
	border-color: #444;
	color: #666;
	pointer-events: none;
}

/* Page info text styling */
.page-link.text-muted {
	color: #a0aec0 !important;
	background-color: transparent !important;
	border-color: transparent !important;
	pointer-events: none;
}

/* Responsive design */
@media (max-width: 768px) {
	.pagination {
		flex-wrap: wrap;
		margin: 1.5rem 0 2rem;
	}
}

@media (max-width: 480px) {
	.page-link {
		padding: 0.4rem 0.6rem;
		font-size: 0.9rem;
	}
}/* settings.css - Settings Popup Styles */

/* Initially hidden */
.settings-popup {
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -50%) scale(0.9);
}

.overlay {
	opacity: 0;
	visibility: hidden;
}

/* Active state */
.settings-popup.active {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

.overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Settings Button */
.settings-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #ff4757;
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	transition: all 0.3s ease;
}

.settings-button:hover {
	transform: rotate(45deg);
	background: #ff6b81;
}

/* Settings Popup */
.settings-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	background: #2a2a2a;
	border-radius: 12px;
	padding: 24px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.settings-popup.active {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

.settings-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #444;
}

.settings-header h2 {
	font-size: 1.5rem;
	color: #ff4757;
}

.close-btn {
	background: none;
	border: none;
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	transition: color 0.3s;
}

.close-btn:hover {
	color: #ff4757;
}

.settings-section {
	margin-bottom: 20px;
}

.settings-section h3 {
	font-size: 1.1rem;
	margin-bottom: 12px;
	color: #ddd;
}

.setting-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #333;
}

.setting-item:last-child {
	border-bottom: none;
}

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

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

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

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

input:checked+.slider {
	background-color: #ff4757;
}

input:checked+.slider:before {
	transform: translateX(26px);
}

.danger-zone {
	background: rgba(220, 53, 69, 0.1);
	padding: 15px;
	border-radius: 8px;
	margin-top: 20px;
	border: 1px solid rgba(220, 53, 69, 0.3);
}

.danger-btn {
	background: #dc3545;
	color: white;
	border: none;
	padding: 10px 15px;
	border-radius: 4px;
	cursor: pointer;
	width: 100%;
	margin-top: 10px;
	transition: background 0.3s;
}

.danger-btn:hover {
	background: #c82333;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.overlay.active {
	opacity: 1;
	visibility: visible;
}.trending-section {
    margin: 20px 0;
    /* Reduced from 40px */
    padding: 0 15px;
    /* Reduced from 20px */
}

.trending-section h2 {
    color: #fff;
    font-size: 18px;
    /* Reduced from 24px */
    margin-bottom: 12px;
    /* Reduced from 20px */
    font-weight: 600;
}

.trending-slider {
    position: relative;
    overflow: hidden;
    padding: 8px 0;
    /* Reduced from 10px */
}

.trending-slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 12px;
    /* Reduced from 15px */
}

.trending-slider .slide {
    flex: 0 0 calc(25% - 12px);
    /* Adjusted for smaller gap */
    min-width: 0;
    transition: all 0.3s ease;
}

.trending-slider .slide:hover {
    transform: translateY(-3px);
    /* Reduced from 5px */
}

.trending-slider .slide a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.trending-slider .image-container {
    position: relative;
    width: 100%;
    border-radius: 6px;
    /* Slightly smaller */
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    /* Reduced shadow */
}

.trending-slider img {
    width: 100%;
    height: 140px;
    /* Reduced from 180px */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.trending-slider .slide:hover img {
    transform: scale(1.03);
    /* More subtle hover */
}

.trending-slider .title {
    display: block;
    margin-top: 8px;
    /* Reduced from 10px */
    font-size: 13px;
    /* Reduced from 14px */
    font-weight: 500;
    color: #fff;
    text-align: center;
    padding: 0 4px;
    /* Reduced from 5px */
    line-height: 1.3;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Navigation arrows - made smaller */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 32px;
    /* Reduced from 40px */
    height: 32px;
    /* Reduced from 40px */
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    /* Reduced from 18px */
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.05);
    /* Reduced scale */
}

.slider-nav.prev {
    left: 5px;
    /* Reduced from 10px */
}

.slider-nav.next {
    right: 5px;
    /* Reduced from 10px */
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .slider-nav {
        display: none;
    }
}

/* Tablet - 3 slides */
@media (max-width: 1024px) {
    .trending-slider .slide {
        flex: 0 0 calc(33.333% - 12px);
    }

    .trending-slider img {
        height: 120px;
        /* Reduced from 160px */
    }
}

/* Small tablet - 2 slides */
@media (max-width: 768px) {
    .trending-slider .slide {
        flex: 0 0 calc(50% - 12px);
    }

    .trending-slider img {
        height: 110px;
        /* Reduced from 140px */
    }

    .trending-section h2 {
        font-size: 16px;
        /* Reduced from 20px */
    }
}

/* Mobile - 1 slide */
@media (max-width: 480px) {
    .trending-slider .slide {
        flex: 0 0 100%;
    }

    .trending-slider img {
        height: 150px;
        /* Reduced from 200px */
    }

    .trending-section {
        padding: 0 10px;
        /* Reduced from 15px */
    }

    .trending-section h2 {
        font-size: 16px;
        /* Reduced from 18px */
        text-align: center;
    }
}

/* Loading state */
.trending-slider.loading {
    opacity: 0.6;
    pointer-events: none;
}

.trending-slider.loading::after {
    content: "Loading...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    /* Slightly smaller */
}:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --dark-color: #2d3436;
    --light-color: #f5f6fa;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --danger-color: #d63031;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(ellipse at top left, #a50029 0%, #5a001a 50%, transparent 100%),
        linear-gradient(155deg, #5a001a 0%, #8b0000 50%, #a50029 100%),
        /* Pure CSS noise effect */
        linear-gradient(rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.03) 100%);
    background-attachment: fixed;
    color: var(--light-color);
    line-height: 1.6;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top left, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
header {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 4px;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-search {
    display: inline-block;
    margin-left: 2rem;
    vertical-align: middle;
}

.header-search input[type="text"] {
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
    width: 200px;
}

.header-search button {
    background-color: var(--accent-color);
    border: none;
    color: #fff;
    padding: 0.3rem 0.6rem;
    margin-left: 0.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.header-search button:hover {
    background-color: #e84393;
}

/* Main Content Styles */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.controls {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-toggle button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.view-toggle button.active {
    background: var(--primary-color);
}

.view-toggle button:hover {
    background: var(--secondary-color);
}

/* Grid & Card Styles */
.category-grid,
.video-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
    min-height: 50vh;
}

.category-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.video-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.category-card,
.video-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    box-shadow: var(--card-shadow);
}

.category-card:hover,
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.category-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-header {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-letter {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.card-body p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.card-footer {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.view-count i {
    color: var(--accent-color);
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background-color: #000;
    overflow: hidden;
    /* prevents overflow if thumbnail is larger */
}

.thumbnail-container img {
    width: 100%;
    /* scale with container */
    height: 100%;
    max-height: 300px;
    /* adjust this limit */
    object-fit: cover;
    /* crop if needed */
    border-radius: 2px;
}

.video-card img {
    width: 100%;
    height: auto;
    display: block;
}

.video-card .content {
    padding: 0.75rem 1rem;
}

.video-card .title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 2px 0;
}

.content .duration,
.content .rating {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
}

.content .rating {
    color: #4caf50;
    font-weight: 600;
}

.content .duration {
    color: #d4af37;
    font-weight: 600;
}

/* ===== MODERN FOOTER ===== */
footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
    color: var(--light-color);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content>p:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    text-align: center;
    margin: 0;
}

.footer-content>p:nth-child(2) {
    line-height: 1.7;
    text-align: center;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.footer-content nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content nav a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
}

.footer-content nav a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.footer-content nav span {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.25rem;
}

.page-title {
    font-size: 2.2rem;
    color: white;
    /* Your pink color */
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 500;
    text-transform: capitalize;
}

.footer-content>p:last-child {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

#hitCount {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Footer responsive design */
@media (max-width: 768px) {
    footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-content nav {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-content nav span {
        display: none;
    }

    .footer-content>p:nth-child(2) {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .filter-options {
        flex-direction: column;
        align-items: stretch;
    }

    .category-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
}