/*
Theme Name: Video Sharing wpxadult
Theme URI: https://wpxadult.com
Author: Video Sharing wpxadult
Author URI: https://wpxadult.com
Description: Premium Adult Video Sharing WordPress Theme - Developed by wpxadult.com
Version: 2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: video-sharing-wpxadult
Tags: video, sharing, adult, premium, xvideos, streaming, responsive
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4

Developed by wpxadult.com - Premium Adult WordPress Themes & Plugins
Visit us at: https://wpxadult.com
*/
body {
    background: #121212;
    color: #e0e0e0;
    font-family: 'Tajawal', Arial, sans-serif;
    margin: 0;
}
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    padding: 20px 40px;
}
.site-title {
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    background: #ffa500;
    padding: 5px 15px;
    border-radius: 6px;
    text-decoration: none;
}
.site-title a {
    color: inherit;
    text-decoration: none;
}
.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}
.search-form input[type="text"] {
    padding: 16px 22px;
    border: none;
    background: transparent;
    color: #333;
    font-size: 1.15em;
    flex-grow: 1;
    outline: none;
}
.search-form input[type="text"]::placeholder {
    color: #888;
    opacity: 1;
}
.search-form input[type="text"]::-ms-input-placeholder {
    color: #888;
}
.search-form button {
    background: #E91E63;
    color: #fff;
    border: none;
    padding: 16px 30px;
    font-size: 1.15em;
    cursor: pointer;
    font-weight: bold;
}
.search-form button:hover {
    background: #d81b60;
}
.section-title {
    font-size: 2em;
    font-weight: bold;
    color: #ff4081;
    margin-bottom: 25px;
    text-align: left;
    padding-left: 20px;
}
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.video-card {
    background: #232323;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s;
    position: relative;
}
.video-card:hover {
    transform: translateY(-6px) scale(1.03);
}
.thumb-wrap {
    position: relative;
}
.duration {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.95em;
    z-index: 2;
}
.thumb {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.video-info {
    padding: 16px;
}
.video-title {
    color: #ff9900;
    font-size: 1.05em;
    font-weight: bold;
    margin: 8px 0 4px 0;
    min-height: 38px;
}
.video-meta {
    color: #fff;
    font-size: 0.98em;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}
.percent {
    color: #ffcc00;
    font-weight: bold;
}
.meta {
    font-size: 0.95em;
    color: #bbb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.badge {
    background: #00ff00;
    color: #222;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.85em;
    margin-right: 8px;
    font-weight: bold;
}
.footer-tags {
    background: #222;
    padding: 12px 0 8px 0;
    text-align: center;
    border-top: 2px solid #333;
}
.footer-tags a {
    color: #bbb;
    background: #303030;
    padding: 5px 12px;
    margin: 0 2px 4px 2px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.98em;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}
.footer-tags a:hover {
    background: #E91E63;
    color: #fff;
}
.footer-bar {
    background: #181818;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    font-size: 1em;
    border-top: 1px solid #333;
}
@media (max-width: 600px) {
    .main-content, .videos-container {
        padding: 0 10px !important;
    }
    .videos-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .video-card {
        border-radius: 10px !important;
        margin-bottom: 15px !important;
        background: #232323 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        min-height: 230px !important;
    }
    .thumb-wrap {
        width: 100% !important;
        position: relative !important;
    }
    .thumb {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9 !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 0 !important;
    }
    .duration {
        position: absolute !important;
        bottom: 8px !important;
        right: 8px !important;
        top: auto !important;
        left: auto !important;
        font-size: 0.85em !important;
        font-weight: normal !important;
        color: #fff !important;
        background-color: rgba(0,0,0,0.75) !important;
        padding: 3px 8px !important;
        border-radius: 5px !important;
        margin-left: 0 !important;
        z-index: 2 !important;
        white-space: nowrap !important;
    }
    .video-info {
        padding: 0px 8px 10px 8px !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: auto;
    }
    .video-title {
        font-size: 0.9em !important;
        color: #ff4081 !important;
        font-weight: bold !important;
        line-height: 1.35 !important;
        margin: 10px 0 0 0 !important;
        min-height: 34px !important;
        height: auto !important;
        text-align: center !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    .video-meta {
        display: none !important;
    }
    .site-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .search-form input[type="text"] {
        font-size: 1em;
    }
    .search-form button {
        font-size: 1em;
        padding: 10px 15px;
    }
    .section-title {
        font-size: 1.6em;
        margin-bottom: 20px;
        padding-left: 10px;
    }
    .custom-search-form {
        width: 98%;
        min-width: 0;
        max-width: 100%;
        margin: 10px auto;
        border-radius: 8px;
    }
    .custom-search-input {
        font-size: 1em;
        padding: 12px 10px;
    }
    .custom-search-btn {
        padding: 0 14px;
        font-size: 1.1em;
    }
}

@media (max-width: 400px) {
    .header-bar {
        flex-direction: column;
        padding: 10px 0;
    }
    .site-title {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .search-form {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    .search-form input[type="text"] {
        width: 70%;
    }
    .nav-cats {
        padding: 5px 0;
    }
    .cat-btn {
        padding: 5px 10px;
        margin: 0 2px;
    }
    .footer-tags a {
        padding: 3px 8px;
        font-size: 0.85em;
    }
    .custom-search-form {
        flex-direction: column;
        width: 100%;
        border-radius: 8px;
    }
    .custom-search-input {
        width: 100%;
        border-radius: 8px 8px 0 0;
        margin-bottom: 2px;
    }
    .custom-search-btn {
        width: 100%;
        border-radius: 0 0 8px 8px;
        padding: 12px 0;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .related-videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    .related-video-card {
        min-height: 220px;
    }
    .related-title {
        font-size: 0.9em;
        min-height: 36px;
    }
    form[role="search"] {
        max-width: 90%; /* Reduce width on small screens */
    }

    form[role="search"] input[type="search"] {
        padding: 12px 18px;
        font-size: 1em;
    }

    form[role="search"] input[type="submit"] {
        padding: 12px 20px;
        font-size: 1em;
    }
}
.related-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin: 30px 0 60px 0;
}
.related-video-card {
    background: #232323;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 260px;
}
.related-video-card:hover {
    transform: translateY(-6px) scale(1.03);
}
.related-thumb-wrap {
    width: 100%;
    position: relative;
}
.related-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.related-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #000c;
    color: #fff;
    font-size: 0.9em;
    padding: 2px 8px;
    border-radius: 6px;
}
.related-title {
    color: #ff4081;
    font-size: 1em;
    font-weight: bold;
    margin: 12px 8px 8px 8px;
    text-align: center;
    min-height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.video-card:hover .thumbnail-wrapper::before {
    /* Add your styles here */
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.page-numbers {
    display: inline-flex; /* Use inline-flex for better alignment */
    align-items: center;
    justify-content: center;
    min-width: 40px; /* Minimum width for the button */
    height: 40px; /* Height of the button */
    padding: 0 10px; /* Horizontal padding */
    margin: 3px;
    border-radius: 8px; /* Rounded corners */
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    color: #fff; /* Default text color */
    transition: background-color 0.3s, color 0.3s;
}

.page-numbers:not(.dots):hover {
    background-color: #555;
    color: #fff;
}

.page-numbers.current {
    background-color: #E91E63; /* Pink background for current page */
    color: #fff;
    cursor: default;
}

.page-numbers:not(.current) {
    background-color: #424242; /* Dark gray background for inactive pages */
    color: #fff;
}

.page-numbers.dots {
    background-color: transparent;
    color: #aaa;
    cursor: default;
    padding: 0 5px;
    min-width: auto;
}

.page-numbers.prev,
.page-numbers.next {
    padding: 0 15px; /* More padding for prev/next text */
}

/* Responsive adjustments for pagination */
@media (max-width: 480px) {
    .page-numbers {
        min-width: 35px;
        height: 35px;
        font-size: 0.9em;
        margin: 2px;
    }
    .page-numbers.prev,
    .page-numbers.next {
        padding: 0 10px;
    }
    .pagination {
        margin-top: 25px;
    }
}

/* Styles for the WordPress search form */
form[role="search"] {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    background: #333; /* Change background to match theme */
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin: 0 auto; /* Center the form */
border: 1px solid #444; /* Add borders */
}

form[role="search"] label {
    /* Visually hide the label, but keep it for accessibility */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

form[role="search"] input[type="search"] {
    padding: 16px 22px;
    border: none;
    background: transparent;
    color: #fff; /* Change text color to white */
    font-size: 1.15em;
    flex-grow: 1;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

form[role="search"] input[type="search"]::placeholder {
    color: #bbb; /* Change placeholder text color */
    opacity: 1;
}
form[role="search"] input[type="search"]::-ms-input-placeholder { 
    color: #888;
}

form[role="search"] input[type="submit"] {
    background: #E91E63;
    color: #fff;
    border: none;
    padding: 16px 30px;
    font-size: 1.15em;
    cursor: pointer;
    font-weight: bold;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.3s;
}

form[role="search"] input[type="submit"]:hover {
    background: #d81b60;
}

/* Header Styles */
.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #222;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.site-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #E91E63;
    margin-bottom: 20px;
    text-align: center;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.search-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .site-title {
        font-size: 2em;
    }
    .search-container {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5em;
    }
    .header-container {
        padding: 15px;
    }
}

.main-navigation .main-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-navigation .main-menu li a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
}
.main-navigation .main-menu li a:hover {
    color: #ffa500;
}
.search-container {
    min-width: 300px;
}

.new-style-header {
    background: #000;
    padding: 18px 0 0 0;
    text-align: center;
}

.center-logo {
    text-align: center;
    margin-bottom: 0;
}

.site-title-green {
    font-size: 2.2em;
    font-weight: bold;
    color: #39d12a;
    letter-spacing: 1px;
    font-family: Arial, sans-serif;
}

.search-bar-green {
    background: #2a2a2a;
    padding: 18px 0 18px 0;
    text-align: center;
}

.green-search-form {
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.green-search-input {
    padding: 10px 16px;
    border: 2px solid #39d12a;
    border-radius: 3px 0 0 3px;
    font-size: 1.1em;
    width: 350px;
    max-width: 80vw;
    background: #fff;
    color: #222;
    outline: none;
}

.green-search-btn {
    background: #39d12a;
    color: #fff;
    border: none;
    border-radius: 0 3px 3px 0;
    padding: 10px 22px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.green-search-btn:hover {
    background: #2e9e1a;
}

@media (max-width: 600px) {
    .green-search-form {
        max-width: 98vw;
    }
    .green-search-input {
        width: 60vw;
        font-size: 1em;
    }
    .site-title-green {
        font-size: 1.3em;
    }
}

.placeholder-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: #333;
    display: block;
}

.header-bar.new-style-header {
    background: #2A2A2A !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0 32px 0;
    border: none;
    margin-bottom: 0;
}
.site-title-green {
    color: #39d12a;
    font-size: 2.2em;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: Arial, sans-serif;
    margin-right: 32px;
    text-decoration: none;
}
.green-search-form {
    display: flex;
    align-items: center;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
.green-search-input {
    padding: 10px 16px;
    border: 2px solid #39d12a;
    border-radius: 3px 0 0 3px;
    font-size: 1.1em;
    width: 350px;
    max-width: 80vw;
    background: #333;
    color: #fff;
    outline: none;
}
.green-search-btn {
    background: #39d12a;
    color: #fff;
    border: none;
    border-radius: 0 3px 3px 0;
    padding: 10px 22px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.green-search-btn:hover {
    background: #2e9e1a;
}
@media (max-width: 600px) {
    .header-bar.new-style-header {
        flex-direction: column;
        padding: 18px 0 18px 0;
    }
    .site-title-green {
        margin-right: 0;
        margin-bottom: 12px;
        font-size: 1.3em;
    }
    .green-search-form {
        width: 98vw;
        max-width: 100%;
    }
    .green-search-input {
        width: 60vw;
        font-size: 1em;
    }
}

/* Improve compatibility with search plugin */
.no-results {
    text-align: center;
    padding: 40px 20px;
    background: #1a1a1a;
    border-radius: 8px;
    margin: 20px 0;
}

.no-results h2 {
    color: #ff4081;
    margin-bottom: 15px;
}

.no-results p {
    color: #ccc;
    margin-bottom: 30px;
}

.advanced-search-form {
    background: #232323;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.advanced-search-form h3 {
    color: #ff4081;
    margin-bottom: 20px;
    text-align: center;
}

.suggested-videos {
    margin-top: 40px;
}

.suggested-videos h3 {
    color: #ff4081;
    margin-bottom: 20px;
    text-align: left;
}

/* Improve search results display from plugin */
.xvideos-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    margin: 30px 0;
}

.xvideos-search-results .video-card {
    background: #232323;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s;
}

.xvideos-search-results .video-card:hover {
    transform: translateY(-5px);
}

/* Improve search form from plugin */
form[method="get"] input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    background: #333;
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}

form[method="get"] select {
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    background: #333;
    color: #fff;
    font-size: 16px;
    margin: 0 10px 15px 0;
}

form[method="get"] button {
    padding: 12px 24px;
    background: #ff4081;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

form[method="get"] button:hover {
    background: #e91e63;
}

/* Category and Tag page styles */
.category-description,
.tag-description {
    color: #ccc;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.category-count,
.tag-count {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.other-categories,
.other-tags {
    margin-top: 30px;
}

.other-categories h3,
.other-tags h3 {
    color: #ff4081;
    margin-bottom: 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.category-item {
    background: #333;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-item:hover {
    background: #ff4081;
    transform: translateY(-2px);
}

.category-name {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
}

.category-count {
    font-size: 0.9em;
    color: #ccc;
}

.category-item:hover .category-count {
    color: #fff;
}

.video-category a {
    color: #ff4081;
    text-decoration: none;
    font-size: 0.85em;
}

.video-category a:hover {
    color: #e91e63;
}

/* Enhanced title styling consistency */
.section-title,
.widget-title,
h1.section-title,
h2.section-title,
h3.section-title {
    color: #ff4081 !important;
    font-weight: bold;
}

/* Video titles consistency */
.video-title {
    color: #fff !important;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.video-title:hover,
.video-link:hover .video-title,
.video-card:hover .video-title {
    color: #ff4081 !important;
}

/* Related videos section styling */
.related-videos-grid .video-card .video-title {
    color: #fff;
    font-size: 0.95em;
    line-height: 1.3;
    margin-bottom: 5px;
}

.related-videos-grid .video-card:hover .video-title {
    color: #ff4081;
}

/* Sidebar video titles */
.recent-video-title,
.popular-video-title {
    color: #fff !important;
    font-size: 0.9em;
    font-weight: 500;
    line-height: 1.3;
}

.recent-video-link:hover .recent-video-title,
.popular-video-link:hover .popular-video-title {
    color: #ff4081 !important;
}

/* Search results consistency */
.search-results .video-title {
    color: #fff;
}

.search-results .video-card:hover .video-title {
    color: #ff4081;
}

/* Category and tag page titles */
.taxonomy-video_category .section-title,
.taxonomy-video_tag .section-title {
    color: #ff4081;
    text-align: left;
    padding-left: 0;
}

/* Fix any remaining title inconsistencies */
.main-content .section-title,
.videos-container .section-title {
    color: #ff4081 !important;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: left;
    padding-left: 20px;
}

/* Video info styling */
.video-info .video-title {
    color: #fff;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    text-decoration: none;
}

.video-link:hover .video-title {
    color: #ff4081;
}

/* Archive page title styling */
.archive-xvideo .section-title,
.search .section-title {
    color: #ff4081;
    text-align: left;
    padding-left: 20px;
}

/* Override any conflicting styles */
h1, h2, h3, h4, h5, h6 {
    color: inherit;
}

.section-header h1,
.section-header .section-title {
    color: #ff4081 !important;
}

/* Remove all underlines from links and text */
a, a:hover, a:focus, a:active {
    text-decoration: none !important;
}

.video-link, .video-link:hover {
    text-decoration: none !important;
}

.site-title a, .site-title a:hover {
    text-decoration: none !important;
}

.footer-tags a, .footer-tags a:hover {
    text-decoration: none !important;
}

.video-categories a, .video-categories a:hover {
    text-decoration: none !important;
}

.tag-link, .tag-link:hover {
    text-decoration: none !important;
}

.category-item, .category-item:hover {
    text-decoration: none !important;
}

.recent-video-link, .recent-video-link:hover,
.popular-video-link, .popular-video-link:hover {
    text-decoration: none !important;
}

/* Ad Areas Styling */
.ad-container {
    max-width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

.top-ad, .bottom-ad {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin: 20px 0;
}

.sidebar-ad {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.ad-widget {
    margin-bottom: 20px;
}

/* Responsive ad styling */
@media (max-width: 768px) {
    .ad-container {
        margin: 15px 0;
    }
    
    .top-ad, .bottom-ad, .sidebar-ad {
        padding: 10px;
    }
}

/* Sidebar design */
.content-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Home page layout without sidebar */
.content-wrapper.home-page {
    display: block;
    max-width: 1400px;
}

.videos-container {
    flex: 1;
}

.videos-container.full-width {
    width: 100%;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.widget {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title {
    color: #ff4081;
    font-size: 1.2em;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff4081;
    padding-bottom: 8px;
}

/* Categories list design */
.video-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-categories li {
    margin-bottom: 8px;
}

.video-categories a {
    color: #ccc;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #333;
    transition: color 0.3s;
}

.video-categories a:hover {
    color: #ff4081;
}

.video-categories .count {
    color: #666;
    font-size: 0.9em;
}

/* Recent and popular videos design */
.recent-video-item,
.popular-video-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.recent-video-item:last-child,
.popular-video-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-video-thumb,
.popular-video-thumb {
    position: relative;
    width: 80px;
    height: 60px;
    flex-shrink: 0;
}

.recent-thumb,
.popular-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.recent-thumb-placeholder,
.popular-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.8em;
}

.recent-duration,
.popular-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7em;
}

.recent-video-info,
.popular-video-info {
    flex: 1;
}

.recent-video-title,
.popular-video-title {
    color: #fff;
    font-size: 0.9em;
    margin: 0 0 5px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-video-date,
.popular-video-views {
    color: #666;
    font-size: 0.8em;
}

.recent-video-link,
.popular-video-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    gap: 12px;
}

.recent-video-link:hover .recent-video-title,
.popular-video-link:hover .popular-video-title {
    color: #ff4081;
}

/* Tags design */
.video-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    background: #333;
    color: #ccc;
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.85em;
    transition: all 0.3s;
}

.tag-link:hover {
    background: #ff4081;
    color: #fff;
}

/* Search form design in Sidebar */
.search-widget .search-form {
    display: flex;
    gap: 8px;
}

.search-widget .search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #222;
    color: #fff;
    font-size: 0.9em;
}

.search-widget .search-btn {
    padding: 10px 15px;
    background: #ff4081;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-widget .search-btn:hover {
    background: #e91e63;
}

/* Responsive design for Sidebar */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .content-wrapper.home-page {
        max-width: 95%;
    }
    
    .sidebar {
        width: 100%;
        order: -1;
    }
    
    .widget {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 15px;
    }
    
    .content-wrapper.home-page {
        padding: 0 10px;
    }
    
    .recent-video-item,
    .popular-video-item {
        gap: 10px;
    }
    
    .recent-video-thumb,
    .popular-video-thumb {
        width: 60px;
        height: 45px;
    }
}

/* FluidPlayer Custom Styles */
.fluid-player {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.video-player-wrapper .fluid-player {
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
}

/* Improve video display before FluidPlayer loads */
.video-player-wrapper video {
    background: #000;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Improve poster image */
.fluid-player[poster] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* FluidPlayer Control Bar Customization */
.fp-controls {
    background: linear-gradient(transparent, rgba(0,0,0,0.7)) !important;
}

.fp-play-button,
.fp-volume-control,
.fp-time-display,
.fp-fullscreen-button {
    color: #fff !important;
}

.fp-progress-bar {
    background: rgba(255, 255, 255, 0.3) !important;
}

.fp-progress-bar-played {
    background: #ff4081 !important;
}

.fp-volume-bar {
    background: rgba(255, 255, 255, 0.3) !important;
}

.fp-volume-bar-inner {
    background: #ff4081 !important;
}

/* FluidPlayer Theatre Mode */
.fp-theatre-mode {
    background: #000 !important;
}

/* FluidPlayer Loading Spinner */
.fp-loading {
    color: #ff4081 !important;
}

/* FluidPlayer Settings Menu */
.fp-settings-menu {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 1px solid #333 !important;
    border-radius: 4px !important;
}

.fp-settings-menu-item {
    color: #fff !important;
    padding: 8px 12px !important;
}

.fp-settings-menu-item:hover {
    background: #ff4081 !important;
}

/* FluidPlayer Ad Styles */
.fp-ad-container {
    background: #000 !important;
    border-radius: 8px !important;
}

.fp-ad-countdown {
    background: rgba(0, 0, 0, 0.8) !important;
    color: #fff !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
}

.fp-skip-ad {
    background: #ff4081 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.fp-skip-ad:hover {
    background: #e91e63 !important;
    transform: scale(1.05) !important;
}

.fp-ad-cta {
    background: rgba(255, 64, 129, 0.9) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.fp-ad-cta:hover {
    background: #ff4081 !important;
    transform: scale(1.1) !important;
}

.fp-ad-loading {
    color: #ff4081 !important;
    font-size: 16px !important;
}

.fp-ad-marker {
    background: #ff4081 !important;
    height: 4px !important;
    border-radius: 2px !important;
}

/* Ad Progress Bar */
.fp-ad-progress {
    background: rgba(255, 64, 129, 0.3) !important;
    height: 3px !important;
}

.fp-ad-progress-filled {
    background: #ff4081 !important;
    height: 100% !important;
}

/* VAST Ad Overlay */
.fp-vast-video-wrapper {
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* Mobile FluidPlayer Adjustments */
@media (max-width: 768px) {
    .video-player-wrapper {
        margin: 0 auto 20px auto !important;
    }
    
    .fluid-player {
        border-radius: 6px !important;
    }
    
    .fp-controls {
        padding: 8px !important;
    }
    
    .fp-skip-ad {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    .fp-ad-cta {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }
    
    .fp-ad-countdown {
        font-size: 10px !important;
        padding: 4px 8px !important;
    }
}

/* Logo & Favicon Customization Styles */
.site-logo {
    transition: all 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.site-logo img {
    transition: all 0.3s ease;
    filter: brightness(1);
}

.site-logo:hover img {
    filter: brightness(1.1);
}

.logo-text {
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
    transition: all 0.3s ease;
}

.logo-text:hover {
    transform: translateY(-2px);
}

/* Responsive Logo */
@media (max-width: 768px) {
    .site-logo {
        margin-right: 16px !important;
    }
    
    .site-logo img {
        max-height: 40px !important;
    }
    
    .logo-text {
        font-size: 1.8em !important;
    }
}

@media (max-width: 480px) {
    .site-logo {
        margin-right: 12px !important;
    }
    
    .site-logo img {
        max-height: 35px !important;
    }
    
    .logo-text {
        font-size: 1.5em !important;
    }
    
    .logo-text span:last-child {
        padding: 1px 6px !important;
        margin-left: 2px !important;
    }
}