/*
Theme Name: Movie Review 24 - Streaming Edition
Theme URI: https://yoursite.com
Description: Professional Netflix/BollyFlix-inspired movie streaming theme
Author: Your Name
Version: 2.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: movies, streaming, responsive, dark-theme, netflix-style
*/

/* ============================================================
   CSS CUSTOM PROPERTIES & GLOBAL STYLES
   ============================================================ */

:root {
    --primary-color: #0f0c29;
    --secondary-color: #302b63;
    --tertiary-color: #24243e;
    --accent-color: #ffd700;
    --accent-alt: #ff6b6b;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --card-bg: #1a1a1a;
    --border-color: #333333;
    --hover-overlay: rgba(255, 215, 0, 0.1);
    --grid-columns: 5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #f0f0f0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-left: 3rem;
    padding-right: 3rem;
}

/* ============================================================
   HEADER STYLES
   ============================================================ */

.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--tertiary-color) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.95) 0%, rgba(35, 35, 45, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Comment Avatars - Fixed Dimensions to prevent CLS */
.comment-author img.avatar {
    width: 50px !important;
    height: 50px !important;
    flex-shrink: 0;
    border-radius: 50%;
}

.header-top-bar {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 1rem 2rem;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Logo Styling */
.site-branding {
    flex: 0 0 auto;
}

.site-branding h1,
.site-branding .image-logo {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.site-branding a {
    text-decoration: none;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.site-branding a:hover {
    color: #fff;
    transform: scale(1.05);
}

.site-branding img {
    max-height: 70px;
    width: auto;
}

/* Search Box */
.header-search {
    flex: 1;
    min-width: 250px;
    max-width: 450px;
}

.search-form {
    width: 100%;
}

.search-form fieldset {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.search-form:focus-within fieldset {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.search-form input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    width: 100%;
}

.search-form input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-button {
    padding: 12px 16px;
    background: var(--accent-color);
    border: none;
    color: #000;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.search-button:hover {
    background: #fff;
    transform: scale(1.1);
}

/* Social Links */
.header-social {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1AB659 100%);
}

.social-link.instagram {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}

.social-link.telegram {
    background: linear-gradient(135deg, #0088CC 0%, #005F99 100%);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: row;
    background: none;
    border: none;
    cursor: pointer;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
}

.hamburger-icon .line {
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.menu-text {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

/* Active state animations for hamburger */
.menu-toggle.active .hamburger-icon .line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger-icon .line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-icon .line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Navigation */
.main-navigation {
    background: var(--primary-color);
    border-top: 1px solid var(--border-color);
    padding: 0 2rem;
    position: relative;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    margin: 0;
    justify-content: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    display: block;
}

.nav-menu a:hover,
.nav-menu li.current-menu-item>a {
    background: var(--hover-overlay);
    color: var(--accent-color);
}

/* Category Navigation */
.category-buttons-section {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
    padding: 12px 2rem;
}

.category-buttons-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.category-btn {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-btn:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.social-btn {
    background: linear-gradient(135deg, #0088CC 0%, #005F99 100%);
    border-color: #0088CC;
    color: #fff;
}

.social-btn:hover {
    background: linear-gradient(135deg, #005F99 0%, #003d6d 100%);
    border-color: #005F99;
    color: #fff;
}

.welcome-alert {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 12px;
    border-radius: 4px;
    margin-top: 12px;
}

.welcome-alert .closebtn {
    color: var(--accent-color);
    font-weight: bold;
    cursor: pointer;
    float: right;
    font-size: 18px;
    transition: color 0.3s ease;
}

.welcome-alert .closebtn:hover {
    color: #fff;
}

/* ============================================================
   SIDEBAR STYLES
   ============================================================ */

.single-movie .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
    padding-top: 2rem;
}

.content-area {
    flex: 1;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar .widget {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.sidebar .widget-title {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    line-height: 1.4;
}

.sidebar a:hover {
    color: var(--accent-color);
}

.sidebar .widget_recent_entries ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .widget_recent_entries li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar .widget_recent_entries li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar .widget_recent_entries a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.sidebar .widget_recent_entries a:hover {
    color: var(--accent-color);
}

.sidebar .widget_recent_entries .post-date {
    color: var(--text-secondary);
    font-size: 12px;
    display: block;
}

/* Movie Poster Centering */
.movie-poster-container {
    text-align: center;
}

.movie-poster-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.movies-section {
    margin-top: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.no-movies {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-movies p {
    font-size: 1.2rem;
}

/* ============================================================
   MOVIE GRID - MAIN CONTENT
   ============================================================ */

.movie-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), 1fr) !important;
    gap: 20px;
    margin: 2rem 0;
    width: 100%;
}

.movie-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 5px var(--glow-color), 0 0 10px var(--glow-color);
}

.movie-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2), 0 0 30px var(--glow-color), 0 0 60px var(--glow-color);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--card-bg), rgba(255, 255, 255, 0.08));
}

.movie-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.movie-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.movie-card:hover .movie-card-image img {
    transform: scale(1.1);
}

.movie-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
    gap: 10px;
}

.movie-card:hover .movie-card-overlay,
.movie-card:active .movie-card-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggNXYxNGwxMS03eiIgZmlsbD0iI0ZGRkZGRiIvPgo8L3N2Zz4K');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    opacity: 0.7;
    position: relative;
}

.movie-card:hover .play-button,
.movie-card:active .play-button {
    transform: scale(1.2);
    box-shadow: 0 0 30px var(--accent-color);
}

.movie-card-info {
    padding: 15px 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
}

.movie-card-title,
.movie-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.movie-card-title a:hover {
    color: var(--accent-color);
}

/* ============================================================
   PAGINATION STYLES
   ============================================================ */

.pagination-wrapper {
    margin: 3rem 0 2rem;
    display: flex;
    justify-content: center;
}

.pagination-wrapper ul {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.pagination-wrapper li {
    display: inline-block;
}

.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-block;
    padding: 10px 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.pagination-wrapper a:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.pagination-wrapper .current {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
}

.pagination-info {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 13px;
}

/* ============================================================
   SCROLL INDICATOR
   ============================================================ */

.scroll-indicator {
    text-align: center;
    padding: 2rem 0 1rem;
    animation: slideIn 1s ease-out;
}

.hand-pointer {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hand-icon {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

.scroll-text {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
    animation-delay: 0.3s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Medium Desktop - 4 columns */
@media (max-width: 1200px) {
    :root {
        --grid-columns: 4;
    }

    /* Header adjustments for medium desktop */
    .header-top-bar {
        padding: 1.5rem 2.5rem;
    }

    .header-container {
        gap: 1.5rem;
    }
}

/* Tablets - 4 columns */
@media (max-width: 1024px) {
    :root {
        --grid-columns: 4;
    }

    body {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .single-movie .container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sidebar {
        width: 100%;
        order: 2;
        /* Sidebar below content */
    }

    .content-area {
        order: 1;
    }

    .header-container {
        gap: 1rem;
    }

    .header-search {
        flex-basis: 100%;
        order: 3;
        max-width: 100%;
    }

    .header-social {
        width: 100%;
        justify-content: center;
    }

    .menu-toggle {
        display: none;
    }

    .main-navigation {
        border-top: 1px solid var(--border-color);
        padding: 0 1.5rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-menu a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .movie-grid {
        gap: 15px;
    }

    .site-content {
        padding: 1.5rem;
    }

    .category-btn {
        font-size: 13px;
        padding: 9px 18px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .site-footer {
        padding: 2.5rem 1.5rem 1rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        justify-content: center;
        justify-items: center;
    }

    /* Header top bar for tablets */
    .header-top-bar {
        padding: 1.25rem 1.5rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
    }
}

/* Mobile - 2 columns */
@media (max-width: 768px) {
    :root {
        --grid-columns: 2;
    }

    body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-top-bar {
        padding: 1rem;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .site-branding {
        width: 100%;
        text-align: center;
    }

    .site-branding h1,
    .site-branding .image-logo {
        font-size: 1.4rem;
    }

    .header-search {
        width: 100%;
        max-width: 100%;
    }

    .header-social {
        width: 100%;
        justify-content: center;
    }

    .menu-toggle {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 12px;
        background: rgba(255, 215, 0, 0.1);
        border-radius: 8px;
        border: 1px solid rgba(255, 215, 0, 0.3);
        transition: all 0.3s ease;
    }

    .menu-toggle:hover {
        background: rgba(255, 215, 0, 0.2);
        border-color: var(--accent-color);
    }

    .hamburger-icon {
        width: 30px;
    }

    .hamburger-icon .line {
        height: 3px;
    }

    .menu-text {
        font-size: 15px;
    }

    .main-navigation {
        position: relative;
        padding: 0;
        background: var(--primary-color);
        width: 100%;
        overflow: visible;
    }

    .nav-container {
        position: relative;
        width: 100%;
        overflow: visible;
    }

    .nav-menu {
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
        width: 100%;
        flex-direction: column;
        background: var(--primary-color);
        border-bottom: 1px solid var(--border-color);
        margin: 0;
        padding: 0;
        gap: 0;
        position: relative;
        z-index: 999;
        display: flex;
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        max-height: 600px !important;
        padding: 1rem 0 !important;
        overflow: visible !important;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 14px 2rem;
        border-radius: 0;
        text-align: center;
        font-size: 15px;
    }

    .nav-menu a:hover {
        background: rgba(255, 215, 0, 0.2);
    }

    .movie-grid {
        gap: 12px;
    }

    .category-buttons-inner {
        padding: 10px 1rem;
        gap: 8px;
        justify-content: center;
    }

    .category-btn {
        font-size: 13px;
        padding: 8px 16px;
    }

    .site-content {
        padding: 1rem;
        min-height: calc(100vh - 250px);
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        justify-content: center;
        justify-items: center;
    }

    .site-footer {
        padding: 2.5rem 1.5rem 1rem;
        margin-top: 2rem;
    }

    .footer-widget h3 {
        font-size: 13px;
    }

    .footer-widget a {
        font-size: 12px;
    }

    .play-button {
        width: 45px;
        height: 45px;
    }

    /* Make play button always visible on mobile without dark overlay */
    .movie-card-overlay {
        background: transparent;
        opacity: 1;
    }

    .play-button {
        opacity: 1;
    }
}

/* Medium Mobile - Enhanced category buttons */
@media (max-width: 600px) {
    .category-buttons-section {
        padding: 10px 0.75rem;
    }

    .category-buttons-inner {
        gap: 6px;
        padding: 8px 0.5rem;
    }

    .category-btn {
        font-size: 12px;
        padding: 8px 16px;
        flex: 1;
        min-width: 0;
        text-align: center;
    }

    .welcome-alert {
        margin-top: 10px;
        padding: 10px;
        font-size: 12px;
    }

    /* Header responsiveness for medium mobile */
    .header-top-bar {
        padding: 0.875rem 0.625rem;
    }

    .header-container {
        gap: 0.875rem;
    }

    .site-branding h1,
    .site-branding .image-logo {
        font-size: 1.3rem;
    }

    .site-branding img {
        max-height: 55px;
    }

    .search-form input[type="text"] {
        font-size: 13px;
        padding: 9px 12px;
    }

    .search-button {
        padding: 9px 12px;
        font-size: 15px;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .menu-toggle {
        padding: 9px;
    }

    .hamburger-icon {
        width: 26px;
    }

    .hamburger-icon .line {
        height: 2.8px;
    }

    .menu-text {
        font-size: 13.5px;
    }

    .play-button {
        width: 42px;
        height: 42px;
    }
}

/* Small Mobile - 2 columns */
@media (max-width: 480px) {
    :root {
        --grid-columns: 2;
    }

    body {
        padding-left: 0.125rem;
        padding-right: 0.125rem;
    }

    .movie-grid {
        gap: 10px;
        justify-items: center;
    }

    .site-content {
        padding: 0.75rem;
    }

    .container,
    .site-info {
        padding: 0 0.25rem;
    }

    .category-buttons-section {
        padding: 8px 0.5rem;
    }

    .category-buttons-inner {
        gap: 8px;
        padding: 8px 0.5rem;
    }

    .category-btn {
        text-align: center;
        font-size: 12px;
        padding: 8px 12px;
    }

    .welcome-alert {
        margin-top: 8px;
        padding: 8px;
        font-size: 13px;
    }

    .header-top-bar {
        padding: 0.75rem 0.5rem;
    }

    .header-container {
        gap: 0.75rem;
    }

    .site-branding h1,
    .site-branding .image-logo {
        font-size: 1.2rem;
    }

    .search-form input[type="text"] {
        font-size: 12px;
        padding: 10px 12px;
    }

    .search-button {
        padding: 10px 12px;
        font-size: 14px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .site-branding {
        flex: 0 0 100%;
    }

    .header-search {
        flex: 0 0 100%;
    }

    .header-social {
        flex: 0 0 100%;
    }

    .menu-toggle {
        flex: 0 0 100%;
        padding: 10px;
    }

    .hamburger-icon {
        width: 28px;
    }

    .hamburger-icon .line {
        height: 3px;
    }

    .menu-text {
        font-size: 14px;
    }

    .nav-menu a {
        padding: 12px 1rem;
        font-size: 14px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .scroll-indicator {
        padding: 1rem 0;
    }

    .hand-icon {
        font-size: 2rem;
    }

    .scroll-text {
        font-size: 12px;
    }

    .movie-card-title,
    .movie-title {
        font-size: 13px;
    }

    .movie-card-info {
        padding: 10px 8px;
        text-align: center;
    }

    .movie-card-link {
        padding: 10px 18px;
        font-size: 12px;
    }

    .pagination-wrapper a,
    .pagination-wrapper span {
        padding: 8px 12px;
        font-size: 12px;
    }

    .site-footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-content: center;
        justify-items: center;
    }

    .footer-widget h3 {
        font-size: 13px;
        margin-bottom: 0.75rem;
    }

    .footer-widget a {
        font-size: 12px;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: 11px;
    }

    .no-movies {
        padding: 2rem 1rem;
    }

    .no-movies p {
        font-size: 1rem;
    }

    .pagination-info {
        font-size: 11px;
        margin-top: 0.5rem;
    }

    .play-button {
        width: 40px;
        height: 40px;
    }
}

/* Extra Small Mobile - Enhanced footer responsiveness */
@media (max-width: 360px) {
    .site-footer {
        padding: 1.5rem 0.75rem 0.75rem;
        margin-top: 1.5rem;
    }

    .footer-content {
        gap: 1rem;
        justify-content: center;
        justify-items: center;
    }

    .footer-widget h3 {
        font-size: 12px;
        margin-bottom: 0.5rem;
    }

    .footer-widget a {
        font-size: 11px;
        line-height: 1.4;
    }

    .footer-widget ul li {
        margin-bottom: 0.25rem;
    }

    .footer-bottom {
        padding-top: 0.75rem;
        font-size: 10px;
    }

    .footer-bottom p {
        margin-bottom: 0.25rem;
    }

    .no-movies {
        padding: 1.5rem 0.75rem;
    }

    .no-movies p {
        font-size: 0.9rem;
    }

    .pagination-info {
        font-size: 10px;
        margin-top: 0.25rem;
    }

    .container,
    .site-info {
        padding: 0 0.25rem;
    }

    /* Header responsiveness for extra small screens */
    .header-top-bar {
        padding: 0.5rem 0.25rem;
    }

    .header-container {
        gap: 0.5rem;
    }

    .site-branding h1,
    .site-branding .image-logo {
        font-size: 1rem;
    }

    .site-branding img {
        max-height: 50px;
    }

    .search-form input[type="text"] {
        font-size: 11px;
        padding: 8px 10px;
    }

    .search-button {
        padding: 8px 10px;
        font-size: 13px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .menu-toggle {
        padding: 8px;
    }

    .hamburger-icon {
        width: 24px;
    }

    .hamburger-icon .line {
        height: 2.5px;
    }

    .menu-text {
        font-size: 13px;
    }

    .play-button {
        width: 35px;
        height: 35px;
    }
}

/* Ultra Small Mobile - Maximum responsiveness */
@media (max-width: 320px) {

    /* Header ultra-responsive for very small screens */
    .header-top-bar {
        padding: 0.375rem 0.125rem;
    }

    .header-container {
        gap: 0.375rem;
    }

    .site-branding h1,
    .site-branding .image-logo {
        font-size: 0.9rem;
    }

    .site-branding img {
        max-height: 45px;
    }

    /* Ultra-responsive search section */
    .search-form input[type="text"] {
        font-size: 10px;
        padding: 6px 8px;
    }

    .search-button {
        padding: 6px 8px;
        font-size: 12px;
    }

    /* Ultra-responsive menu section */
    .menu-toggle {
        padding: 6px;
        gap: 6px;
    }

    .hamburger-icon {
        width: 20px;
        gap: 3px;
    }

    .hamburger-icon .line {
        height: 2px;
    }

    .menu-text {
        font-size: 12px;
    }

    /* Navigation menu ultra-responsive */
    .nav-menu a {
        padding: 10px 0.75rem;
        font-size: 13px;
    }

    /* Other ultra-small adjustments */
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .site-content {
        padding: 0.5rem;
    }

    .container,
    .site-info {
        padding: 0 0.125rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
    }

    .movie-grid {
        gap: 8px;
    }

    .movie-card-info {
        padding: 8px 6px;
    }

    .movie-card-title,
    .movie-title {
        font-size: 12px;
    }

    .movie-card-link {
        padding: 8px 14px;
        font-size: 11px;
    }

    .pagination-wrapper a,
    .pagination-wrapper span {
        padding: 6px 10px;
        font-size: 11px;
    }

    .pagination-info {
        font-size: 9px;
        margin-top: 0.125rem;
    }

    .site-footer {
        padding: 1.25rem 0.625rem 0.625rem;
        margin-top: 1.25rem;
    }

    .footer-content {
        gap: 0.875rem;
        justify-content: center;
        justify-items: center;
    }

    .footer-widget h3 {
        font-size: 11px;
        margin-bottom: 0.375rem;
    }

    .footer-widget a {
        font-size: 10px;
    }

    .footer-bottom {
        padding-top: 0.625rem;
        font-size: 9px;
    }

    .no-movies {
        padding: 1.25rem 0.625rem;
    }

    .no-movies p {
        font-size: 0.8rem;
    }

    .scroll-indicator {
        padding: 0.875rem 0;
    }

    .hand-icon {
        font-size: 1.75rem;
    }

    .scroll-text {
        font-size: 11px;
    }

    .play-button {
        width: 32px;
        height: 32px;
    }
}

/* Extremely Small Mobile - Ultra maximum responsiveness */
@media (max-width: 280px) {

    /* Header for extremely small screens */
    .header-top-bar {
        padding: 0.25rem 0.0625rem;
    }

    .header-container {
        gap: 0.25rem;
    }

    .site-branding h1,
    .site-branding .image-logo {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }

    .site-branding img {
        max-height: 40px;
    }

    /* Extremely responsive search section */
    .search-form input[type="text"] {
        font-size: 9px;
        padding: 5px 6px;
    }

    .search-button {
        padding: 5px 6px;
        font-size: 11px;
    }

    /* Extremely responsive menu section */
    .menu-toggle {
        padding: 5px;
        gap: 4px;
    }

    .hamburger-icon {
        width: 18px;
        gap: 2px;
    }

    .hamburger-icon .line {
        height: 1.5px;
    }

    .menu-text {
        font-size: 11px;
    }

    /* Navigation menu extremely responsive */
    .nav-menu a {
        padding: 8px 0.5rem;
        font-size: 12px;
    }

    /* Other extremely small adjustments */
    .social-link {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .site-content {
        padding: 0.375rem;
    }

    .container,
    .site-info {
        padding: 0 0.125rem;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        padding-left: 0.25rem;
    }

    .movie-grid {
        gap: 6px;
    }

    .movie-card-info {
        padding: 6px 4px;
    }

    .movie-card-title,
    .movie-title {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .movie-card-link {
        padding: 6px 10px;
        font-size: 10px;
    }

    .pagination-wrapper a,
    .pagination-wrapper span {
        padding: 5px 8px;
        font-size: 10px;
    }

    .pagination-info {
        font-size: 8px;
        margin-top: 0.0625rem;
    }

    .site-footer {
        padding: 1rem 0.5rem 0.5rem;
        margin-top: 1rem;
    }

    .footer-content {
        gap: 0.75rem;
        justify-content: center;
        justify-items: center;
    }

    .footer-widget h3 {
        font-size: 10px;
        margin-bottom: 0.25rem;
    }

    .footer-widget a {
        font-size: 9px;
    }

    .footer-bottom {
        padding-top: 0.5rem;
        font-size: 8px;
    }

    .no-movies {
        padding: 1rem 0.5rem;
    }

    .no-movies p {
        font-size: 0.75rem;
    }

    .scroll-indicator {
        padding: 0.75rem 0;
    }

    .hand-icon {
        font-size: 1.5rem;
    }

    .scroll-text {
        font-size: 10px;
    }

    .category-buttons-section {
        padding: 6px 0.375rem;
    }

    .category-buttons-inner {
        padding: 4px 0.25rem;
        gap: 4px;
    }

    .category-btn {
        font-size: 10px;
        padding: 5px 8px;
    }

    .play-button {
        width: 28px;
        height: 28px;
    }
}

/* Minimum Screen Size - 150px - Ultra Extreme Responsiveness */
@media (max-width: 150px) {

    /* Header for minimum 150px screens */
    .header-top-bar {
        padding: 0.125rem 0.03125rem;
    }

    .header-container {
        gap: 0.125rem;
    }

    .site-branding h1,
    .site-branding .image-logo {
        font-size: 0.7rem;
        letter-spacing: 0.25px;
    }

    .site-branding img {
        max-height: 35px;
    }

    /* Extremely compact search section for 150px */
    .search-form input[type="text"] {
        font-size: 8px;
        padding: 4px 5px;
    }

    .search-button {
        padding: 4px 5px;
        font-size: 10px;
    }

    /* Ultra-compact menu section for 150px */
    .menu-toggle {
        padding: 4px;
        gap: 3px;
    }

    .hamburger-icon {
        width: 16px;
        gap: 1.5px;
    }

    .hamburger-icon .line {
        height: 1.25px;
    }

    .menu-text {
        font-size: 10px;
    }

    /* Navigation menu for minimum screens */
    .nav-menu a {
        padding: 6px 0.375rem;
        font-size: 11px;
    }

    /* Other minimum screen adjustments */
    .social-link {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .site-content {
        padding: 0.25rem;
    }

    .container,
    .site-info {
        padding: 0 0.0625rem;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 0.875rem;
        padding-left: 0.125rem;
    }

    .movie-grid {
        gap: 4px;
    }

    .movie-card-info {
        padding: 4px 3px;
    }

    .movie-card-title,
    .movie-title {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .movie-card-link {
        padding: 5px 8px;
        font-size: 9px;
    }

    .pagination-wrapper a,
    .pagination-wrapper span {
        padding: 4px 6px;
        font-size: 9px;
    }

    .pagination-info {
        font-size: 7px;
        margin-top: 0.03125rem;
    }

    .site-footer {
        padding: 0.875rem 0.375rem 0.375rem;
        margin-top: 0.875rem;
    }

    .footer-content {
        gap: 0.625rem;
        justify-content: center;
        justify-items: center;
    }

    .footer-widget h3 {
        font-size: 9px;
        margin-bottom: 0.125rem;
    }

    .footer-widget a {
        font-size: 8px;
    }

    .footer-bottom {
        padding-top: 0.375rem;
        font-size: 7px;
    }

    .no-movies {
        padding: 0.875rem 0.375rem;
    }

    .no-movies p {
        font-size: 0.7rem;
    }

    .scroll-indicator {
        padding: 0.625rem 0;
    }

    .hand-icon {
        font-size: 1.25rem;
    }

    .scroll-text {
        font-size: 9px;
    }

    .category-buttons-section {
        padding: 5px 0.25rem;
    }

    .category-buttons-inner {
        padding: 3px 0.125rem;
        gap: 3px;
    }

    .category-btn {
        font-size: 9px;
        padding: 4px 6px;
    }

    .play-button {
        width: 24px;
        height: 24px;
    }
}

/* ============================================================
   FOOTER STYLES
   ============================================================ */

.site-footer {
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(15, 12, 41, 0.8) 100%);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
}

.site-info {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
    justify-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-widget {
    text-align: center;
    padding: 0 1rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 0.5rem;
}

.footer-widget a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 13px;
}

.footer-widget a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-copyright {
    color: var(--accent-color);
    font-weight: 600;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

/* Loading Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Disable transitions during window resize for better performance */
.resizing * {
    transition: none !important;
    animation: none !important;
}

/* Smooth transitions */
a,
button,
input,
select,
textarea {
    transition: all 0.3s ease;
}

/* ============================================================
   MOBILE-RESPONSIVE ARTICLE & CAST STYLES - STREAMING PLATFORM
   Added for Netflix-style mobile experience
   Updated to work with Elementor-generated content
   ============================================================ */

/* UNIVERSAL CAST GRID - Targets any flex container with wrapped items */
div[style*="display: flex"][style*="flex-wrap"],
div[style*="display:flex"][style*="flex-wrap"] {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    padding: 20px 0 !important;
}

/* UNIVERSAL CAST CARDS - Targets centered divs (likely cast members) */
div[style*="text-align: center"],
div[style*="text-align:center"] {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 15px !important;
    transition: all 0.3s ease !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

div[style*="text-align: center"]:hover,
div[style*="text-align:center"]:hover {
    transform: translateY(-8px) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4) !important;
}

/* UNIVERSAL CAST IMAGES - Targets images inside centered containers */
div[style*="text-align: center"] img,
div[style*="text-align:center"] img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2/3 !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5) !important;
}

/* Override inline styles for mobile responsiveness - Works with Elementor */
.single-movie .movie-content img,
.single-movie .movie-content div[style*="display:flex"],
.single-post img,
article img {
    max-width: 100% !important;
    height: auto !important;
}

/* Prevent horizontal overflow from long URLs and text in movie content */
.single-movie .movie-content,
.single-post .movie-content,
article .movie-content {
    overflow-x: hidden !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

.single-movie .movie-content p,
.single-post .movie-content p,
article .movie-content p {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

.single-movie .movie-content a,
.single-post .movie-content a,
article .movie-content a {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
}

/* Cast Grid - Mobile First - Broader selectors for Elementor */
.single-movie .movie-content div[style*="display:flex"][style*="flex-wrap"],
.single-post div[style*="display:flex"][style*="flex-wrap"],
article div[style*="display:flex"][style*="flex-wrap"],
.elementor-widget-theme-post-content div[style*="display:flex"][style*="flex-wrap"] {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 15px !important;
    margin: 30px 0 !important;
    padding: 0 10px !important;
}

/* Cast Member Cards - Broader selectors */
.single-movie .movie-content div[style*="text-align:center"][style*="max-width:160px"],
.single-post div[style*="text-align:center"],
article div[style*="text-align:center"],
.elementor-widget-theme-post-content div[style*="text-align:center"] {
    max-width: 100% !important;
    padding: 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.single-movie .movie-content div[style*="text-align:center"][style*="max-width:160px"]:hover,
.single-post div[style*="text-align:center"]:hover,
article div[style*="text-align:center"]:hover,
.elementor-widget-theme-post-content div[style*="text-align:center"]:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3) !important;
}

/* Cast Member Images - Works with Elementor */
.single-movie .movie-content div[style*="text-align:center"] img,
.single-post div[style*="text-align:center"] img,
article div[style*="text-align:center"] img,
.elementor-widget-theme-post-content div[style*="text-align:center"] img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2/3 !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Backdrop & Poster Images */
.single-movie .movie-content>img:first-of-type,
.single-movie .movie-content img[alt*="backdrop"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    margin: 0 0 20px 0 !important;
}

.single-movie .movie-content img[alt*="poster"] {
    max-width: 300px !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
    display: block !important;
}

/* YouTube Trailer/Video Embeds - Responsive */
.single-movie .movie-content iframe,
.single-post .movie-content iframe,
article .movie-content iframe,
.elementor-widget-theme-post-content iframe {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    border-radius: 12px !important;
    margin: 20px auto !important;
    display: block !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Trailer section heading */
.single-movie .movie-content h2.trailer-heading,
.single-post .movie-content h2.trailer-heading {
    text-align: center !important;
    margin: 30px 0 15px 0 !important;
}

/* Typography - Mobile Optimized */
.single-movie .movie-content h2 {
    font-size: 1.5rem !important;
    margin: 25px 0 15px 0 !important;
    color: var(--accent-color) !important;
    font-weight: 700 !important;
}

.single-movie .movie-content p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    margin-bottom: 15px !important;
    color: var(--text-secondary) !important;
}

/* Cast Member Names */
.single-movie .movie-content div[style*="font-weight:bold"] {
    font-size: 0.9rem !important;
    color: var(--text-primary) !important;
    margin: 8px 0 4px 0 !important;
}

/* Cast Member Roles */
.single-movie .movie-content div[style*="text-align:center"] p[style*="font-size:0.85em"] {
    font-size: 0.75rem !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablets */
@media (max-width: 768px) {

    /* Universal cast grid for tablets */
    div[style*="display: flex"][style*="flex-wrap"],
    div[style*="display:flex"][style*="flex-wrap"],
    .single-movie .movie-content div[style*="display:flex"][style*="flex-wrap"],
    .single-post div[style*="display:flex"][style*="flex-wrap"],
    article div[style*="display:flex"][style*="flex-wrap"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }

    .single-movie .movie-content h2 {
        font-size: 1.3rem !important;
    }

    .single-movie .movie-content p {
        font-size: 0.95rem !important;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {

    /* Universal cast grid for mobile */
    div[style*="display: flex"][style*="flex-wrap"],
    div[style*="display:flex"][style*="flex-wrap"],
    .single-movie .movie-content div[style*="display:flex"][style*="flex-wrap"],
    .single-post div[style*="display:flex"][style*="flex-wrap"],
    article div[style*="display:flex"][style*="flex-wrap"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 10px 0 !important;
    }

    div[style*="text-align: center"],
    div[style*="text-align:center"],
    .single-movie .movie-content div[style*="text-align:center"] {
        padding: 10px !important;
        border-radius: 10px !important;
    }

    .single-movie .movie-content h2 {
        font-size: 1.2rem !important;
        margin: 20px 0 12px 0 !important;
    }

    .single-movie .movie-content p {
        font-size: 0.9rem !important;
    }

    .single-movie .movie-content img[alt*="poster"] {
        max-width: 250px !important;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .single-movie .movie-content div[style*="display:flex"][style*="flex-wrap"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .single-movie .movie-content div[style*="text-align:center"] img {
        border-radius: 6px !important;
    }

    .single-movie .movie-content h2 {
        font-size: 1.1rem !important;
    }
}

/* ============================================================
   NETFLIX-STYLE COMMENTS/REVIEWS SECTION
   Modern streaming platform aesthetic for reviews
   ============================================================ */

/* Comments Container */
.comments-area {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 40px;
    margin: 50px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: hidden;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.comments-title {
    font-size: 1.8rem;
    color: var(--accent-color, #ffd700);
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Comment List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

/* Individual Comment Card */
.comment-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: hidden;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.3);
}

.comment-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Comment Author Section */
.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Custom Avatar Styling */
.comment-author .avatar,
.comment-author .avatar-custom {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    border: 3px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.comment-item:hover .avatar,
.comment-item:hover .avatar-custom {
    border-color: var(--accent-color, #ffd700);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    transform: scale(1.05);
}

.comment-author strong {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.comment-author strong a {
    color: var(--accent-color, #ffd700);
    text-decoration: none;
    transition: color 0.2s ease;
}

.comment-author strong a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.comment-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-left: auto;
}

/* Comment Text */
.comment-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.comment-text p {
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.comment-text a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
    display: inline-block;
    max-width: 100%;
}

/* Comment Form Styling */
.comment-respond {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-reply-title {
    font-size: 1.5rem;
    color: var(--accent-color, #ffd700);
    margin-bottom: 25px;
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    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: var(--accent-color, #ffd700);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}

.comment-form .form-submit {
    margin-top: 20px;
}

.comment-form .submit {
    background: linear-gradient(135deg, var(--accent-color, #ffd700) 0%, #f0a500 100%);
    color: #000000;
    padding: 12px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comment-form .submit:hover {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color, #ffd700) 100%);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

/* Responsive Comments */
@media (max-width: 768px) {
    .comments-area {
        padding: 25px 20px;
        margin: 30px 0;
    }

    .comment-item {
        padding: 20px 15px;
    }

    .comment-author {
        flex-wrap: wrap;
    }

    .comment-date {
        width: 100%;
        margin-left: 65px;
        margin-top: -10px;
    }

    .comment-respond {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .comments-area {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .comments-title {
        font-size: 1.4rem;
    }

    .comment-author .avatar,
    .comment-author .avatar-custom {
        width: 40px !important;
        height: 40px !important;
    }

    .comment-date {
        margin-left: 55px;
        font-size: 0.75rem;
    }

    .comment-form .submit {
        width: 100%;
        padding: 14px 20px;
    }
}



/* ============================================================
   STANDARD PAGE OVERRIDES (About, Contact, Privacy, Terms)
   ============================================================ */

/* Force centered layout, overriding the sidebar grid */
.single-movie .container.page-container-centered {
    display: block !important;
    max-width: 900px !important;
    margin: 60px auto !important;
    width: 100%;
}

/* Page Header Styling */
.page-header-styled {
    text-align: center;
    margin-bottom: 40px;
}

.page-header-styled .entry-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary, #ffffff);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-header-styled .title-divider {
    width: 60px;
    height: 4px;
    background: var(--accent-color, #ffd700);
    margin: 0 auto;
    border-radius: 2px;
}

/* Page Content Box */
.page-content-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Typography Enhancements for Pages */
.page-content-box h2 {
    color: var(--accent-color, #ffd700);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.page-content-box h3 {
    color: #fff;
    margin-top: 2rem;
    font-size: 1.4rem;
}

.page-content-box ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-content-box li {
    margin-bottom: 10px;
    color: var(--text-secondary, #b0b0b0);
}

.page-content-box p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-content-box a {
    color: var(--accent-color, #ffd700);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-content-box a:hover {
    color: #fff;
}

/* Responsive adjustments for pages */
@media (max-width: 768px) {
    .page-header-styled .entry-title {
        font-size: 2rem;
    }

    .page-content-box {
        padding: 20px;
    }
}