/*
Theme Name: HDHubFlix
Theme URI: https://hdhubflix.com
Author: HDHub4U Team
Author URI: https://facebook.com/shuhan24
Description: A modern dark theme for movie reviews with auto thumbnails, featured posts, and logo watermark. Fully responsive and SEO optimized.
Version: 11.02.26 (V2)
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reviewflix
Tags: dark, movies, entertainment, review, responsive, seo, fast-loading
*/

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

ul, ol {
    list-style: none;
}

/* ===============================================
   HEADER STYLES
   =============================================== */
.site-header {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    padding: 15px 0;
    border-bottom: 3px solid #ffa500;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.menu-toggle {
    background: none;
    border: 2px solid #ffa500;
    color: #ffa500;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    line-height: 1;
}

.menu-toggle:hover {
    background: #ffa500;
    color: #000;
    transform: scale(1.05);
}

.site-branding {
    flex: 1;
    text-align: center;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2c2c2c;
    padding: 10px 30px;
    border-radius: 50px;
    border: 2px solid #ffa500;
    transition: all 0.3s ease;
}

.site-logo:hover {
    border-color: #ffb733;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
}

.logo-text-review {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2px;
}

.logo-text-flix {
    font-size: 32px;
    font-weight: bold;
    color: #ffa500;
    letter-spacing: 2px;
}

/* Header Search - Simple Design */
.header-search {
    flex: 0 1 auto;
    max-width: 400px;
}

.simple-search-form {
    margin: 0;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #ffa500;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.2);
}

.search-input {
    flex: 1;
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    outline: none;
    min-width: 200px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-button {
    background: #ffa500;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #000;
}

.search-button:hover {
    background: #ffb733;
}

.search-button svg {
    display: block;
}

/* Mobile Search */
@media (max-width: 768px) {
    .header-search {
        display: none;
    }
    
    /* Show search in welcome section on mobile */
    .welcome-section .mobile-search {
        display: block;
        margin: 20px auto;
        max-width: 500px;
    }
}

@media (min-width: 769px) {
    .welcome-section .mobile-search {
        display: none;
    }
}

/* ===============================================
   WELCOME SECTION
   =============================================== */
.welcome-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 2px solid #ffa500;
}

.welcome-section h1 {
    font-size: clamp(20px, 4vw, 28px);
    margin-bottom: 15px;
    color: #ffa500;
    font-weight: 300;
}

.welcome-section h1 .site-name {
    background: #ffffff;
    color: #000000;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.welcome-section .tagline {
    font-size: clamp(14px, 3vw, 18px);
    color: #cccccc;
    margin-bottom: 25px;
}

/* Category Buttons */
.category-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cat-btn {
    padding: 12px 25px;
    background: #3a3a3a;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cat-btn:hover,
.cat-btn.active {
    background: #4a4a4a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

.cat-btn.telegram {
    background: #0088cc;
}

.cat-btn.telegram:hover {
    background: #0099dd;
}

.cat-btn.ultra-hd {
    background: #ffa500;
    color: #000;
    font-weight: bold;
}

.cat-btn.ultra-hd:hover {
    background: #ffb733;
}

/* ===============================================
   MAIN CONTENT
   =============================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Featured Posts Section (Home Page Only) */
.featured-posts-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid #ffa500;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.scroll-controls {
    display: flex;
    gap: 10px;
}

.scroll-btn {
    background: rgba(255, 165, 0, 0.1);
    border: 2px solid #ffa500;
    color: #ffa500;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.scroll-btn:hover:not(:disabled) {
    background: #ffa500;
    color: #000;
    transform: scale(1.1);
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #666;
    color: #666;
}

.scroll-btn svg {
    width: 20px;
    height: 20px;
}

.featured-posts-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-posts-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #ffa500 #1a1a1a;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
}

.featured-posts-slider::-webkit-scrollbar {
    height: 8px;
}

.featured-posts-slider::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.featured-posts-slider::-webkit-scrollbar-thumb {
    background: #ffa500;
    border-radius: 10px;
}

.featured-posts-slider::-webkit-scrollbar-thumb:hover {
    background: #ff8c00;
}

.featured-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    flex: 0 0 auto;
    width: 200px;
}

@media (min-width: 768px) {
    .featured-thumbnail {
        width: 220px;
    }
}

@media (min-width: 1024px) {
    .featured-thumbnail {
        width: 240px;
    }
}

.featured-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.4);
}

.featured-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.featured-thumbnail:hover img {
    transform: scale(1.1);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-thumbnail:hover .featured-overlay {
    opacity: 1;
}

.featured-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: block;
    line-height: 1.4;
}

/* Hide scrollbar on mobile for cleaner look */
@media (max-width: 767px) {
    .featured-posts-slider {
        scrollbar-width: none;
    }
    
    .featured-posts-slider::-webkit-scrollbar {
        display: none;
    }
    
    .scroll-controls {
        display: none;
    }
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 30px;
    color: #ffa500;
}

.section-title .icon {
    font-size: 36px;
}

/* ===============================================
   MOVIE GRID - RESPONSIVE
   PC: 4 columns, Mobile: 2 columns
   =============================================== */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Mobile: 2 columns */
    gap: 20px;
    margin-bottom: 40px;
}

/* Tablet: 3 columns */
@media (min-width: 768px) {
    .movies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
    .movies-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* ===============================================
   MOVIE CARD
   =============================================== */
.movie-card {
    position: relative;
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.movie-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 165, 0, 0.3);
}

/* Featured Post Badge */
.movie-card.featured::before {
    content: "FEATURED";
    position: absolute;
    top: 10px;
    right: -30px;
    background: #ff0000;
    color: #fff;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.movie-poster {
    position: relative;
    width: 100%;
    padding-top: 150%; /* 2:3 aspect ratio for movie posters */
    overflow: hidden;
    background: #2c2c2c;
}

.movie-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.1);
}

/* Logo Watermark Overlay */
.logo-watermark {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-watermark .review-text {
    color: #ffffff;
}

.logo-watermark .flix-text {
    color: #ffa500;
}

/* Movie Info */
.movie-info {
    padding: 15px;
    background: #2c2c2c;
}

.movie-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ffa500;
    margin-bottom: 10px;
}

.movie-date .icon {
    font-size: 16px;
}

.movie-title {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.4;
    min-height: 105px; /* 5 lines minimum (15px * 1.4 * 5 = 105px) */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===============================================
   PAGINATION
   =============================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.page-numbers {
    padding: 12px 20px;
    background: #2c2c2c;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

.page-numbers:hover {
    background: #3a3a3a;
    border-color: #ffa500;
    transform: translateY(-2px);
}

.page-numbers.current {
    background: #ffa500;
    color: #000;
    border-color: #ffa500;
}

.page-numbers.dots {
    border: none;
    background: none;
    cursor: default;
}

.page-numbers.dots:hover {
    transform: none;
}

.page-numbers.next {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #ffa500;
    color: #ffa500;
}

.page-numbers.next:hover {
    background: #ffa500;
    color: #000;
}

/* ===============================================
   FOOTER
   =============================================== */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 30px 20px;
    text-align: center;
    border-top: 3px solid #ffa500;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content p {
    color: #cccccc;
    font-size: 16px;
}

.footer-content a {
    color: #ffa500;
    font-weight: bold;
}

.footer-content a:hover {
    color: #ffb733;
    text-decoration: underline;
}

/* ===============================================
   SINGLE POST PAGE
   =============================================== */
.single-post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.single-post-article {
    background: #000000;
}

/* Post Header */
.single-post-header {
    padding: 30px 0 20px;
}

.single-post-title {
    font-size: clamp(22px, 4vw, 32px);
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.single-post-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.meta-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffa500;
    font-size: 14px;
}

.meta-categories i {
    font-size: 16px;
}

.meta-categories a {
    color: #ffa500;
    text-transform: uppercase;
    font-weight: 600;
}

.meta-categories a:hover {
    color: #ffb733;
}

/* Breadcrumb */
.breadcrumb-nav {
    padding: 15px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #ffa500;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.breadcrumb-nav a {
    color: #ffa500;
    text-transform: uppercase;
    white-space: nowrap;
}

.breadcrumb-nav a:hover {
    color: #ffb733;
}

.breadcrumb-nav .separator {
    margin: 0 8px;
    color: #666;
    flex-shrink: 0;
}

.breadcrumb-nav .current {
    color: #cccccc;
    word-break: break-word;
    line-height: 1.5;
}

/* Social Sharing Buttons */
.social-sharing-buttons {
    display: flex;
    gap: 15px;
    padding: 25px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 30px;
}

.social-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border: 2px solid #ffa500;
    border-radius: 5px;
    font-size: 24px;
    color: #ffa500;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

.social-btn.facebook:hover {
    background: #3b5998;
    border-color: #3b5998;
    color: #fff;
}

.social-btn.twitter:hover {
    background: #000000;
    border-color: #ffffff;
    color: #fff;
}

.social-btn.pinterest:hover {
    background: #bd081c;
    border-color: #bd081c;
    color: #fff;
}

.social-btn.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
    color: #fff;
}

.social-btn.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

@media (max-width: 600px) {
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Download Section */
.download-section {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid #333;
}

.download-title {
    font-size: clamp(18px, 3vw, 22px);
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.6;
}

.download-title .movie-name {
    color: #ff6347;
}

.download-info p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.8;
}

.download-info strong {
    color: #ffa500;
}

.highlight-text {
    color: #00d9ff;
}

.quality-text {
    color: #ff6347;
    font-weight: 600;
}

/* Entry Content */
.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 40px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #ffa500;
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content a {
    color: #ffa500;
    text-decoration: underline;
}

.entry-content a:hover {
    color: #ffb733;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Image with Watermark Container */
.image-with-watermark {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 20px 0;
}

.image-with-watermark img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.content-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.watermark-logo {
    max-width: 150px;
    height: auto;
    opacity: 0.5;
}

.watermark-text {
    font-size: 24px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.4);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .watermark-logo {
        max-width: 100px;
    }
    
    .watermark-text {
        font-size: 18px;
    }
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

/* Tags Section */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 25px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-bottom: 40px;
}

.tag-link {
    padding: 8px 15px;
    background: #2c2c2c;
    border: 1px solid #ffa500;
    border-radius: 5px;
    color: #ffa500;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #ffa500;
    color: #000;
}

/* Comment Form Section */
.comment-form-section {
    margin-bottom: 50px;
}

.comment-form-section h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    color: #cccccc;
    margin-bottom: 8px;
    font-size: 16px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 15px;
    background: #000;
    border: 2px solid #ffa500;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-family: inherit;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #ffb733;
    background: #1a1a1a;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form input[type="submit"] {
    padding: 15px 40px;
    background: #ffa500;
    border: none;
    border-radius: 5px;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background: #ffb733;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
}

.comment-form .required {
    color: #ff0000;
}

.comment-notes {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Recommended Section */
.recommended-section {
    padding-top: 40px;
    border-top: 3px solid #ffa500;
}

.recommended-section .section-title {
    font-size: clamp(24px, 4vw, 32px);
    color: #ffffff;
    margin-bottom: 30px;
    text-align: left;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .recommended-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .recommended-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* ===============================================
   COMMENTS SECTION
   =============================================== */
.comments-area {
    margin-top: 50px;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #333;
}

.comments-title {
    font-size: 24px;
    color: #ffa500;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ffa500;
}

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

.comment-list .comment {
    padding: 20px;
    margin-bottom: 20px;
    background: #000;
    border: 1px solid #333;
    border-radius: 5px;
}

.comment-list .comment .comment-author {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment-list .comment .comment-author img {
    border-radius: 50%;
}

.comment-list .comment .comment-author .fn {
    color: #ffa500;
    font-weight: bold;
    font-size: 16px;
}

.comment-list .comment .comment-metadata {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.comment-list .comment .comment-metadata a {
    color: #999;
}

.comment-list .comment .comment-content {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-list .comment .reply {
    margin-top: 10px;
}

.comment-list .comment .reply a {
    padding: 8px 15px;
    background: #2c2c2c;
    border: 1px solid #ffa500;
    border-radius: 5px;
    color: #ffa500;
    font-size: 14px;
    display: inline-block;
}

.comment-list .comment .reply a:hover {
    background: #ffa500;
    color: #000;
}

.comment-list .children {
    list-style: none;
    margin-left: 40px;
    margin-top: 20px;
}

.no-comments {
    color: #999;
    font-size: 16px;
    text-align: center;
    padding: 30px;
}

/* Comment Form Specific Styles */
.comment-respond {
    margin-top: 40px;
}

.comment-reply-title {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}

.comment-form {
    margin-top: 20px;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 16px;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    color: #ffffff;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 15px;
    background: #000;
    border: 2px solid #ffa500;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #ffb733;
    background: #1a1a1a;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form input[type="submit"] {
    padding: 15px 40px;
    background: #ffa500;
    border: none;
    border-radius: 5px;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background: #ffb733;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
}

.comment-form .required {
    color: #ff0000;
}

.comment-notes,
.comment-form-cookies-consent {
    color: #cccccc;
    font-size: 14px;
}

.comment-form-cookies-consent label {
    display: inline;
    font-size: 14px;
    color: #cccccc;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
}

.comment-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.comment-pagination a {
    padding: 10px 20px;
    background: #2c2c2c;
    border: 2px solid #ffa500;
    border-radius: 5px;
    color: #ffa500;
    transition: all 0.3s ease;
}

.comment-pagination a:hover {
    background: #ffa500;
    color: #000;
}

/* ===============================================
   LOADING OPTIMIZATION
   =============================================== */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy-load.loaded {
    opacity: 1;
}

/* ===============================================
   MOBILE RESPONSIVE
   =============================================== */
@media (max-width: 767px) {
    .header-container {
        padding: 0 15px;
    }
    
    .logo-text-review,
    .logo-text-flix {
        font-size: 24px;
    }
    
    .site-logo {
        padding: 8px 20px;
    }
    
    .welcome-section {
        padding: 30px 15px;
    }
    
    .cat-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .container {
        padding: 30px 15px;
    }
    
    .movie-title {
        font-size: 14px;
        min-height: 98px; /* 5 lines for mobile (14px * 1.4 * 5 = 98px) */
    }
    
    .page-numbers {
        padding: 10px 15px;
        font-size: 14px;
        min-width: 40px;
    }
}

/* ===============================================
   PERFORMANCE OPTIMIZATIONS
   =============================================== */
/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* GPU Acceleration */
.movie-card,
.cat-btn,
.page-numbers {
    will-change: transform;
}

/* ===============================================
   SEO ENHANCEMENTS
   =============================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 100000;
    background: #ffa500;
    color: #000;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
}

.skip-link:focus {
    top: 6px;
}

/* ===============================================
   SCROLL TO TOP BUTTON
   =============================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ffa500;
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #ffb733;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.4);
}

/* ===============================================
   NO POSTS / NO RESULTS STYLING
   =============================================== */
.no-posts,
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #1a1a1a;
    border-radius: 15px;
    margin: 40px 0;
}

.no-posts h2,
.no-results h2 {
    font-size: 32px;
    color: #ffa500;
    margin-bottom: 20px;
}

.no-posts p,
.no-results p {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 30px;
}

/* ===============================================
   PAGE HEADER
   =============================================== */
.page-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border-radius: 15px;
    margin-bottom: 40px;
    border: 2px solid #ffa500;
}

.page-header .page-title {
    font-size: clamp(32px, 5vw, 48px);
    color: #ffa500;
    margin-bottom: 10px;
}

.archive-description {
    color: #cccccc;
    font-size: 18px;
    margin-top: 15px;
}

/* ===============================================
   LOADING STATE
   =============================================== */
body.loading {
    cursor: wait;
}

body.loading::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===============================================
   ACCESSIBILITY IMPROVEMENTS
   =============================================== */
*:focus {
    outline: 2px solid #ffa500;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid #ffa500;
    outline-offset: 2px;
}

/* ===============================================
   ALL CATEGORIES SECTION (After Pagination)
   =============================================== */
.all-categories-section {
    margin-top: 60px;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.all-categories-section .category-buttons {
    margin-top: 0;
}

/* ===============================================
   PRINT STYLES
   =============================================== */
@media print {
    .site-header,
    .welcome-section,
    .category-buttons,
    .pagination,
    .site-footer,
    .scroll-to-top,
    .search-form {
        display: none;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .movie-card {
        page-break-inside: avoid;
    }
}
/* ===============================================
   NAVIGATION MENU STYLES
   =============================================== */

/* Navigation Container */
.site-navigation {
    background: rgba(26, 26, 26, 0.95);
    border-top: 1px solid #ffa500;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 999;
}

.site-navigation.active {
    max-height: 500px;
    opacity: 1;
}

/* Primary Menu */
.primary-menu {
    list-style: none;
    margin: 0;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.primary-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
}

.primary-menu li:last-child {
    border-bottom: none;
}

.primary-menu a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.primary-menu a:hover,
.primary-menu a:focus {
    background: rgba(255, 165, 0, 0.1);
    color: #ffa500;
    padding-left: 30px;
}

.primary-menu a::before {
    content: '▶';
    position: absolute;
    left: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 12px;
}

.primary-menu a:hover::before,
.primary-menu a:focus::before {
    opacity: 1;
}

/* Current Menu Item */
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
    color: #ffa500;
    background: rgba(255, 165, 0, 0.05);
}

/* Sub-menus (if needed) */
.primary-menu .sub-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.3);
}

.primary-menu li:hover > .sub-menu {
    display: block;
}

.primary-menu .sub-menu a {
    padding-left: 40px;
    font-size: 14px;
    color: #cccccc;
}

/* Menu Toggle Button Active State */
.menu-toggle.active {
    background: #ffa500;
    color: #000;
}

.menu-toggle.active i {
    transform: rotate(90deg);
}

.menu-toggle i {
    transition: transform 0.3s ease;
}

/* Desktop Menu (Above 768px) */
@media (min-width: 769px) {
    .site-navigation {
        position: relative;
        top: auto;
        max-height: none;
        opacity: 1;
        background: transparent;
        border-top: none;
    }
    
    .primary-menu {
        flex-direction: row;
        justify-content: center;
        padding: 15px 20px;
        gap: 5px;
    }
    
    .primary-menu li {
        width: auto;
        border-bottom: none;
    }
    
    .primary-menu a {
        padding: 10px 20px;
        border-radius: 5px;
    }
    
    .primary-menu a:hover,
    .primary-menu a:focus {
        padding-left: 20px;
        background: rgba(255, 165, 0, 0.15);
    }
    
    .primary-menu a::before {
        display: none;
    }
    
    .menu-toggle {
        display: none;
    }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .primary-menu a {
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* Accessibility */
.primary-menu a:focus {
    outline: 2px solid #ffa500;
    outline-offset: 2px;
}

/* Smooth Transitions */
.site-navigation,
.primary-menu a,
.menu-toggle i {
    transition: all 0.3s ease;
}
/* ===============================================
   FOOTER STYLES - WITH NAVIGATION MENU
   =============================================== */

.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 40px 20px 30px;
    text-align: center;
    border-top: 3px solid #ffa500;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* Footer Navigation Menu */
.footer-navigation {
    margin-bottom: 25px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-menu li {
    position: relative;
}

.footer-menu li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -8px;
    color: #ffa500;
    font-weight: 300;
}

.footer-menu a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 12px;
    display: inline-block;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.footer-menu a:hover,
.footer-menu a:focus {
    color: #ffa500;
    background: rgba(255, 165, 0, 0.1);
    transform: translateY(-2px);
}

/* Copyright Text */
.footer-content .copyright {
    color: #cccccc;
    font-size: 15px;
    margin: 15px 0 10px;
}

.footer-content .copyright a {
    color: #ffa500;
    font-weight: bold;
    text-decoration: none;
}

.footer-content .copyright a:hover {
    color: #ffb733;
    text-decoration: underline;
}

/* Disclaimer Text */
.footer-content .disclaimer {
    color: #999999;
    font-size: 13px;
    margin: 10px 0 0;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 30px 15px 20px;
        margin-top: 40px;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-menu li:not(:last-child)::after {
        display: none;
    }
    
    .footer-menu a {
        font-size: 15px;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }
    
    .footer-content .copyright {
        font-size: 13px;
    }
    
    .footer-content .disclaimer {
        font-size: 12px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-menu a {
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* Accessibility */
.footer-menu a:focus {
    outline: 2px solid #ffa500;
    outline-offset: 2px;
}

/* Animations */
.footer-menu a {
    transition: all 0.3s ease;
}
/* ===============================================
   FOOTER STYLES - COMPACT VERSION (DMCA | PP | AU | C)
   =============================================== */

.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 30px 20px 25px;
    text-align: center;
    border-top: 3px solid #ffa500;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* Footer Navigation Menu - Compact */
.footer-navigation {
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.footer-menu li {
    display: inline-block;
}

.footer-menu li.separator {
    color: #ffa500;
    margin: 0 10px;
    font-size: 14px;
    font-weight: 300;
}

.footer-menu a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 10px;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.footer-menu a:hover,
.footer-menu a:focus {
    color: #ffa500;
    background: rgba(255, 165, 0, 0.1);
    transform: translateY(-2px);
}

/* Copyright Text */
.footer-content .copyright {
    color: #cccccc;
    font-size: 14px;
    margin: 12px 0 8px;
    line-height: 1.5;
}

.footer-content .copyright a {
    color: #ffa500;
    font-weight: bold;
    text-decoration: none;
}

.footer-content .copyright a:hover {
    color: #ffb733;
    text-decoration: underline;
}

/* Disclaimer Text */
.footer-content .disclaimer {
    color: #999999;
    font-size: 12px;
    margin: 8px 0 0;
    font-style: italic;
    line-height: 1.4;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 25px 15px 20px;
        margin-top: 40px;
    }
    
    .footer-menu {
        gap: 0;
    }
    
    .footer-menu li.separator {
        margin: 0 8px;
        font-size: 13px;
    }
    
    .footer-menu a {
        font-size: 14px;
        padding: 5px 8px;
    }
    
    .footer-content .copyright {
        font-size: 12px;
    }
    
    .footer-content .disclaimer {
        font-size: 11px;
    }
}

/* Very Small Screens */
@media (max-width: 400px) {
    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-menu li.separator {
        margin: 0 5px;
    }
    
    .footer-menu a {
        font-size: 13px;
        padding: 4px 6px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-menu a {
        font-size: 14px;
        padding: 6px 9px;
    }
}

/* Accessibility */
.footer-menu a:focus {
    outline: 2px solid #ffa500;
    outline-offset: 2px;
}

/* Smooth Animations */
.footer-menu a {
    transition: all 0.3s ease;
}

/* Print Styles */
@media print {
    .site-footer {
        border-top: 1px solid #000;
        background: #fff !important;
    }
    
    .footer-menu a,
    .footer-content .copyright,
    .footer-content .disclaimer {
        color: #000 !important;
    }
}