/* ====== RESET & BASE ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #e0e0e0;
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.4;
}

a {
    color: #ff9800;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #ffc107;
}

h1, h2, h3, h4, h5 {
    color: #fff;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
}

/* ====== HEADER ====== */
.site-header {
    background: #000;
    padding: 0 16px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 16px;
}

/* Logo */
.site-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-logo:hover {
    color: #fff;
}
.site-logo .logo-hub {
    color: #000;
    background: #ff9800;
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: 2px;
    font-weight: 700;
}

/* Desktop Navigation */
.site-nav {
    display: none;
    align-items: center;
    gap: 24px;
    margin-left: 16px;
}

.nav-link {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #ff9800;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff9800;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #222;
    border: 1px solid #333;
    border-radius: 4px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
    margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #ccc;
    font-size: 0.9rem;
    border-bottom: 1px solid #333;
    transition: background 0.2s;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #333;
    color: #ff9800;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 16px;
}

.search-form {
    display: flex;
    background: #333;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #444;
}

.search-form input[type="text"] {
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 18px;
    font-size: 1rem;
    flex: 1;
    outline: none;
}

.search-form input[type="text"]::placeholder {
    color: #999;
}

.search-form button {
    background: #ff9800;
    color: #000;
    border: none;
    padding: 0 20px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.search-form button:hover {
    background: #ffc107;
}

/* Header Actions */
.header-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.login-btn {
    background: #ff9800;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
}

.login-btn:hover {
    background: #ffc107;
    color: #000;
}

.header-icons {
    display: flex;
    gap: 8px;
}

.icon-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.2rem;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.icon-btn:hover {
    background: #333;
}

.user-icon {
    background: #333;
    border: none;
    color: #ccc;
    font-size: 1.2rem;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

.user-icon:hover {
    background: #444;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: #ff9800;
    border-radius: 2px;
    transition: all 0.2s;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85vw;
    max-width: 350px;
    height: 100vh;
    background: #111;
    z-index: 300;
    transform: translateX(100%);
    transition: transform 0.3s;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 16px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-search {
    flex: 1;
}

.mobile-search .search-form {
    border-radius: 20px;
}

.close-mobile-menu {
    background: none;
    border: none;
    color: #ff9800;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-content h3 {
    color: #ff9800;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.mobile-menu-content ul {
    list-style: none;
}

.mobile-menu-content li {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #222;
}

.mobile-menu-content a {
    color: #fff;
    font-weight: 500;
    flex: 1;
}

.mobile-menu-content .cat-count {
    color: #ff9800;
    font-size: 0.9rem;
}

.mobile-menu-links {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #333;
}

.mobile-menu-links a {
    display: block;
    color: #ff9800;
    font-weight: 600;
    padding: 12px 0;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-menu-links a:hover {
    color: #ffc107;
}

/* ====== MAIN LAYOUT ====== */
.main-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
}

/* Sidebar */
.sidebar {
    background: #111;
    padding: 24px 16px;
    border-radius: 8px;
    min-width: 220px;
    max-width: 260px;
    height: fit-content;
}

.sidebar h2 {
    font-size: 1.2rem;
    color: #ff9800;
    margin-bottom: 16px;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.sidebar a {
    color: #fff;
    font-weight: 500;
    flex: 1;
    transition: color 0.2s;
}

.sidebar a:hover {
    color: #ff9800;
}

.sidebar .cat-count {
    color: #ff9800;
    font-size: 0.9rem;
    margin-left: 8px;
}

/* Content Area */
.content-area {
    flex: 1;
}

/* Popular Tags */
.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding: 16px 0;
}

.tag {
    background: #222;
    color: #ccc;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #333;
}

.tag:hover {
    background: #333;
    color: #ff9800;
    border-color: #ff9800;
}

/* ====== VIDEO GRID ====== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.related-videos-section h2 {
    margin-bottom: 7px;
}

/* ====== CATEGORIES GRID ====== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.category-card {
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #333;
    margin-bottom: 15px;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.2);
    border-color: #ff9800;
}

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

.category-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #222;
}

.category-card-content {
    padding: 12px;
	text-align: center;
}

.category-card h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.category-card:hover h3 {
    color: #ff9800;
}

.category-count {
    color: #bbb;
    font-size: 0.85rem;
    font-weight: 500;
}

.category-card:hover .category-count {
    color: #ffc107;
}

.video-card {
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    padding-bottom: 10px;
    max-width: 100%;
    text-align: center;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.video-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #222;
    display: block;
}

.video-card .video-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card .video-meta {
    color: #bbb;
    font-size: 0.85rem;
    margin: 0 12px 12px 12px;
}

/* ====== PAGINATION ====== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    clear: both;
    padding-top: 30px;
}

.pagination a,
.pagination span {
    background: #222;
    color: #fff;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.pagination a:hover {
    background: #ff9800;
    color: #000;
}

.pagination .active {
    background: #ff9800;
    color: #000;
}

/* ====== VIDEO PAGE ====== */
.video-page-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
}

.video-main {
    width: 100%;
}

.video-h1 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.video-content-wrapper {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.video-player-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #222;
    flex: 2;
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-placeholder {
    background: linear-gradient(135deg, #ff9800, #ffc107);
    border: 3px solid #ff9800;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    flex: 1;
    max-width: 350px;
}

.video-placeholder-icon {
    font-size: 4rem;
    color: #000;
}

.related-videos-section {
    margin-top: 32px;
}

.related-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.free-cams-desktop, .free-cams-mobile {
    margin: 0 auto;
    text-align: center;
}

 .free-cams-mobile img {
    max-width: 430px;
    height: auto;
}

/* ====== FOOTER ====== */
.site-footer {
    background: #111;
    color: #bbb;
    padding: 12px 0 24px 0;
    border-top: 1px solid #222;
    margin-top: 5px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: center;
    margin-bottom: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
}

.footer-col {
    min-width: 180px;
    max-width: 260px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #ff9800;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #ffc107;
}

.footer-bottom {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: 24px;
    padding: 0 16px;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: #333;
    padding: 20px;
    border-radius: 8px;
    margin: 30px auto 0;
    max-width: 90%;
}

.footer-logos img {
    background-color: #444;
    max-height: 50px;
    height: auto;
    width: auto;
    padding: 8px;
    border-radius: 6px;
    display: block;
}

@media (max-width: 767px) {
    .footer-logos {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }
    
    .footer-logos img {
        max-height: 32px;
        padding: 6px;
    }
}

/* ====== RESPONSIVE ====== */
@media (min-width: 768px) {
    .free-cams-mobile {
        display: none;
    }
    .hamburger {
        display: none;
    }
    
    .site-nav {
        display: flex;
    }
    
    .header-actions {
        display: flex;
    }
    
    .search-bar {
        margin: 0 32px;
    }
}

@media (max-width: 767px) {
    .free-cams-desktop {
        display: none;
    }

    .site-header {
        padding: 0 12px;
        height: 56px;
    }
    
    .site-logo {
        font-size: 1.5rem;
    }
    
    .search-bar {
        margin: 0 8px;
    }
    
    .search-form input[type="text"] {
        padding: 10px 7px;
        font-size: 0.9rem;
    }
    
    .search-form button {
        padding: 0 16px;
    }
    
    .main-layout {
        flex-direction: column;
        padding: 16px 12px;
        gap: 20px;
    }
    
    .sidebar {
        display: none;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .video-page-layout {
        padding: 16px 12px;
    }
    
    /* Mobile layout per video page */
    .video-content-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    
    .video-player-container {
        flex: none;
        margin-bottom: 0;
    }
    
    .video-placeholder {
        flex: none;
        max-width: none;
        min-height: 130px;
    }
    
    .related-videos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .container {
        padding: 16px 12px;
    }
    
    .footer-columns {
        flex-direction: column;
        gap: 24px;
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .site-header {
        gap: 0;
    }
	
	/* porn-videos-cat styling */
	.porn-videos-cat {
		width: 100%;
		max-width: 400px;
		margin-bottom: 20px;
		display: flex;
		flex-wrap: wrap;
		gap: 2px;
	}
    
	.categories-grid {
		margin: 0 auto;
		text-align: center;
	}

	.video-card {
		max-width: 320px;
		float: none;
		margin: 0 auto;
		text-align: center;
	}
	
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-card .video-title {
        font-size: 0.9rem;
    }
    
    .video-card img {
        height: auto;
        min-height: 150px;
    }
    
    .mobile-menu {
        width: 100vw;
        max-width: none;
    }
}

/* ====== ADDITIONAL RESPONSIVE FIXES ====== */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* porn-videos-cat styling */
.porn-videos-cat {
	width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.porn-videos-cat-tag {
    background: #f0f0f0;
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.porn-videos-cat-tag:hover {
    background: #ff9800;
    color: white;
}
