/*
Theme Name: PornFreeOnline Clean (EgyZeb Style)
Theme URI: https://pornfreeonline.com/
Author: Cyber Systems
Description: A premium, dark-themed tube site with glowing neon red accents, glassmorphic headers, and smooth animations.
Version: 8.0.0
Text Domain: pornfreeonline
Tags: dark, red, responsive, tube, clean, premium
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

:root {
    --primary-red: #ff2a5f;
    --primary-red-hover: #ff477e;
    --bg-main: #0c0c10;
    --bg-header: rgba(18, 18, 24, 0.85);
    --bg-card: #151521;
    --bg-card-hover: #1b1b2a;
    --text-main: #f3f3f6;
    --text-muted: #8c8c9e;
    --border-color: #212130;
    --glow-color: rgba(255, 42, 95, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    background-image: radial-gradient(circle at top right, rgba(255, 42, 95, 0.05), transparent 400px);
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.site-header {
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.site-branding .site-title a {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.site-branding .site-title i {
    color: var(--primary-red);
    filter: drop-shadow(0 0 8px var(--primary-red));
}

.header-search form {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    transition: var(--transition);
}

.header-search form:focus-within {
    border-color: var(--primary-red);
    box-shadow: 0 0 15px var(--glow-color);
    background: rgba(0, 0, 0, 0.6);
}

.header-search input[type="text"] {
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 20px;
    width: 100%;
    outline: none;
    font-family: inherit;
}

.header-search button {
    background: var(--primary-red);
    color: #fff;
    border: none;
    padding: 0 22px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.header-search button:hover {
    background: var(--primary-red-hover);
    box-shadow: -5px 0 15px rgba(255, 42, 95, 0.4);
}

/* Navigation */
.main-navigation {
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.main-navigation li a {
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.main-navigation li a:hover,
.main-navigation li.current-menu-item a {
    color: #fff;
    border-bottom-color: var(--primary-red);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Layout */
.site-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    display: flex;
    gap: 30px;
}

/* Sidebar */
.archive-aside {
    width: 260px;
    flex-shrink: 0;
}

.aside-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.aside-block h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.aside-filters {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aside-filters a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.aside-filters a i {
    font-size: 16px;
}

.aside-filters a:hover,
.aside-filters a.active {
    background: var(--primary-red);
    color: #fff;
    box-shadow: 0 4px 15px var(--glow-color);
}

.aside-cats a {
    display: block;
    padding: 8px 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.aside-cats a:hover {
    color: #fff;
    padding-left: 5px;
}

.aside-cats a:last-child {
    border-bottom: none;
}

.aside-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.aside-tags a {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    transition: var(--transition);
}

.aside-tags a:hover {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
    box-shadow: 0 4px 10px var(--glow-color);
}

/* Main Content */
.archive-content {
    flex: 1;
    min-width: 0;
}

.widget-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-red);
    box-shadow: 0 0 8px var(--primary-red);
}

/* Video Grid */
.videos-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.thumb-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.thumb-block:hover {
    transform: translateY(-6px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px var(--glow-color);
}

.post-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    background: #000;
    overflow: hidden;
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.thumb-block:hover .post-thumbnail img {
    transform: scale(1.06);
}

.entry-header {
    padding: 15px;
}

.entry-header .title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    margin-bottom: 12px;
    color: var(--text-main);
    transition: var(--transition);
}

.thumb-block:hover .title {
    color: var(--primary-red);
}

.under-thumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.under-thumb .rating {
    color: #00e676;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.under-thumb .duration {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
}

/* Single Video */
.single-video-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.single-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.video-player {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-actions {
    display: flex;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.action-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
    box-shadow: 0 4px 15px var(--glow-color);
}

.video-meta-details {
    margin-bottom: 25px;
}

.meta-row {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-label {
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 80px;
}

.meta-tags a {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    margin: 0 8px 8px 0;
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
}

.meta-tags a:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
    box-shadow: 0 4px 10px var(--glow-color);
}

/* Pagination */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination ul {
    list-style: none;
    display: flex;
    gap: 6px;
}

.pagination a,
.pagination span {
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-red);
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px var(--glow-color);
}

/* Footer */
.site-footer {
    background: rgba(18, 18, 24, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    margin-top: auto;
}

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

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-text {
    color: var(--text-muted);
    font-size: 13px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 900px) {
    .site-content {
        flex-direction: column;
        margin: 20px auto;
    }

    .archive-aside {
        width: 100%;
    }

    .header-inner {
        flex-direction: column;
        align-items: center;
    }

    .header-search form {
        max-width: 100%;
    }
}