/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 99%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Top Navigation */
.top-nav {
    background-color: #17a2b8;
    padding: 5px 0;
}

.friend-links {
    text-align: left;
}

.friend-links a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    margin: 0 2px;
}

.friend-links a:hover {
    text-decoration: underline;
}

/* Main Header */
.main-header {
    padding: 15px 0;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 30px;
    width: auto;
}

.logo-icon {
    font-size: 24px;
    color: #333;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
}

.porno {
    color: #000;
}

.john {
    color: #007bff;
}

/* Search Form */
.search-form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-form form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-input {
    padding: 10px 15px;
    border: 2px solid #17a2b8;
    border-radius: 3px;
    width: 400px;
    font-size: 14px;
    outline: none;
}

.search-input:focus {
    border-color: #007bff;
}

.search-btn {
    background-color: #17a2b8;
    border: none;
    padding: 12px 15px;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 120px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.search-btn:hover {
    background-color: #e91e63;
}

/* Main Navigation */
.main-nav {
    background-color: #e9ecef;
    padding: 10px 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.nav-menu li a:hover {
    background-color: rgba(0,0,0,0.1);
    color: #333;
}

/* Navigation separator styling */
.nav-separator {
    color: #999;
    margin: 0 15px;
    font-size: 14px;
    user-select: none;
}

/* Main Content */
.main-content {
    padding: 20px 0;
}

.content-wrapper {
    display: flex;
    gap: 20px;
}

/* Sidebar */
.sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* Advertisement Banner */
.ad-banner {
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ad-content {
    padding: 15px;
    text-align: center;
}

.ad-header {
    margin-bottom: 15px;
}

.ad-logo {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.ad-badge {
    display: block;
    color: #ff6b35;
    font-size: 14px;
    font-weight: bold;
    background-color: rgba(255, 107, 53, 0.1);
    padding: 5px 10px;
    border-radius: 15px;
    border: 1px solid #ff6b35;
}

.ad-image {
    margin: 15px 0;
}

.ad-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
}

.ad-footer {
    margin-top: 15px;
}

.ad-button {
    background-color: #ff6b35;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.ad-button:hover {
    background-color: #e55a2b;
}

.ad-site {
    display: block;
    color: #ccc;
    font-size: 12px;
}

.sidebar-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sidebar-content h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list li a {
    color: #17a2b8;
    text-decoration: none;
    font-size: 14px;
}

.category-list li a:hover {
    text-decoration: underline;
}

/* Main Container */
.main-container {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-container h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

/* Intro Text */
.intro-text {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
}

.intro-text a {
    color: #17a2b8;
    text-decoration: none;
}

.intro-text a:hover {
    text-decoration: underline;
}

.external-link {
    color: #e91e63 !important;
}

/* Override for external links in the external-links section */
.external-links .external-link {
    color: #fff !important;
}

/* Content Sections */
.content-section {
    margin-bottom: 40px;
}

.heading {
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* Pagination */
.pagination-top, .pagination-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pagination-left {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.page-current {
    background-color: #17a2b8;
    color: #fff;
    padding: 8px 12px;
    border-radius: 3px;
    font-weight: bold;
}

.page-link {
    color: #17a2b8;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #17a2b8;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #17a2b8;
    color: #fff;
}

.page-next {
    color: #17a2b8;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #17a2b8;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.page-next:hover {
    background-color: #17a2b8;
    color: #fff;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #17a2b8;
    border-radius: 3px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.video-card {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.video-thumb {
    position: relative;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.duration, .rating {
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.rating {
    background-color: rgba(255,87,34,0.9);
}

.video-title {
    padding: 15px;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* Slider Containers */
.slider-container {
    position: relative;
    margin-bottom: 30px;
}

.video-slider, .category-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    overflow: hidden;
}

.slider-arrow {
    position: absolute;
    bottom: -30px;
    background-color: #17a2b8;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background-color 0.3s ease;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background-color: #138496;
}

.slider-left {
    left: 0;
    width: 150px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.slider-right {
    right: 0;
    width: 150px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
}

/* Category Cards */
.category-card {
    text-align: center;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-2px);
}

.category-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.category-card h4 {
    padding: 15px 15px 5px 15px;
    margin: 0;
    color: #333;
    font-size: 16px;
}

.category-count {
    display: block;
    padding: 0 15px 15px 15px;
    color: #666;
    font-size: 12px;
    font-weight: normal;
}

/* SEO Sections */
.seo-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.seo-section h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.seo-section p {
    line-height: 1.6;
    font-size: 16px;
}

.seo-section a {
    color: #17a2b8;
    text-decoration: none;
}

.seo-section a:hover {
    text-decoration: underline;
}

/* Tags Section */
.tags-section {
    margin-bottom: 30px;
}

.tags-section h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: #17a2b8;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background-color: #e91e63;
}

/* Pornstars Section */
.pornstars-section {
    margin-bottom: 30px;
}

.pornstars-section h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.pornstars-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pornstar-card {
    text-align: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.pornstar-card:hover {
    transform: translateY(-2px);
}

.pornstar-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.pornstar-card h4 {
    color: #333;
    font-size: 14px;
    margin: 0;
}

/* External Links Section */
.external-links-section {
    margin-bottom: 30px;
}

.external-links-section h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.external-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.external-links .external-link {
    background-color: #17a2b8;
    color: #fff;
    padding: 12px 15px;
    text-decoration: none;
    border-radius: 3px;
    text-align: center;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.external-links .external-link:hover {
    background-color: #e91e63;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    margin-top: 40px;
    padding: 40px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #3498db;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: block;
    padding: 2px 0;
}

.footer-links a:hover {
    color: #3498db;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    flex: 1;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: #95a5a6;
    line-height: 1.5;
}

.footer-disclaimer {
    font-size: 12px !important;
    color: #7f8c8d !important;
    margin-top: 5px !important;
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #34495e;
    color: #bdc3c7;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #3498db;
    color: #fff;
    transform: translateY(-2px);
}

/* Footer Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-section h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-copyright {
        order: 2;
    }
    
    .footer-social {
        order: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 0 15px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .footer-links a {
        font-size: 12px;
        padding: 3px 0;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
    
    .footer-disclaimer {
        font-size: 11px !important;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: static;
        order: 2;
        max-height: none;
    }
    
    .main-container {
        order: 1;
    }
    
    .video-grid, .video-slider, .category-slider {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pornstars-container, .external-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .logo img {
        height: 25px;
    }
    
    .search-input {
        width: 200px;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .search-btn {
        width: 80px;
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .video-grid, .video-slider, .category-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pornstars-container, .external-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pagination-top, .pagination-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .pagination-left {
        gap: 3px;
    }
    
    .pagination-left .page-link,
    .pagination-left .page-next {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .pagination-left .page-current {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    /* Hide some pagination numbers on mobile */
    .pagination-left .page-link:nth-child(n+6) {
        display: none;
    }
    
    .sort-select {
        padding: 6px 8px;
        font-size: 12px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .main-header {
        padding: 8px 0;
    }
    
    .main-nav {
        padding: 6px 0;
    }
    
    .main-content {
        padding: 15px 0;
    }
    
    .main-container {
        padding: 15px;
    }
    
    .main-container h1 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .intro-text {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .content-section {
        margin-bottom: 25px;
    }
    
    .heading {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .nav-menu {
        gap: 6px;
        justify-content: flex-start;
    }
    
    .nav-menu li a {
        font-size: 13px;
        font-weight: 500;
        padding: 4px 6px;
        gap: 3px;
    }
    
    .nav-menu li a i {
        font-size: 12px;
    }
    
    .nav-separator {
        margin: 0 6px;
        font-size: 13px;
    }
    
    .logo img {
        height: 20px;
    }
    
    .search-input {
        width: 150px;
        padding: 5px 8px;
        font-size: 11px;
        height: 32px;
    }
    
    .search-btn {
        width: 70px;
        padding: 5px 8px;
        font-size: 11px;
        height: 32px;
    }
    
    .video-grid, .video-slider, .category-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .video-thumb img {
        height: 140px;
    }
    
    .video-title {
        padding: 10px;
        font-size: 12px;
    }
    
    .pornstars-container, .external-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slider-left, .slider-right {
        display: none;
    }
}

/* Additional hover effects and animations */
.video-card:hover .video-thumb img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.nav-menu li a i {
    transition: transform 0.3s ease;
}

.nav-menu li a:hover i {
    transform: scale(1.1);
}

/* Focus states for accessibility */
.search-input:focus,
.sort-select:focus,
.page-link:focus,
.tag:focus,
.external-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Loading states */
.video-thumb img {
    background-color: #f0f0f0;
    transition: opacity 0.3s ease;
}

.video-thumb img:not([src]) {
    opacity: 0.5;
}

/* FAQ Section Styles */
.faq-section h2 {
    font-size: 20px;
    color: black;
    margin-bottom: 20px;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    background-color: #f5f5f5;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #e9e9e9;
}

.faq-toggle {
    font-size: 18px;
    transition: transform 0.2s;
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 15px;
    max-height: 200px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}
