/* Modern Chic Theme */
:root {
    --bg-body: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1f1f1f;
    --primary: #e50914;
    --accent: #564dff;
    --text-main: #ffffff;
    --text-muted: #a1a1a1;
    --border-color: #262626;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --font-primary: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    padding-top: 70px;
    /* Space for fixed sticky nav */
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll on mobile */
}

/* Wrapper for Side Frames */
.site-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Card Architecture --- */
.movie-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-bottom: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.movie-card:hover {
    border-color: #333;
}

/* --- Header --- */
.site-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.site-title a {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
    text-transform: uppercase;
}

/* --- Hero Card --- */
.hero-card {
    position: relative;
    border: none;
}

.video-responsive {
    position: relative;
    padding-bottom: 45%;
    /* Cinematic Aspect Ratio */
    height: 0;
    background: #000;
}

.video-responsive iframe,
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    background-size: cover;
    background-position: center;
}

.hero-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    padding: 40px;
    z-index: 10;
}

.hero-info-overlay .entry-title {
    font-size: 3rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    line-height: 1.1;
}

.meta-row {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.meta-score {
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- Horizontal Slider Section --- */
.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 5px solid var(--primary);
    color: var(--text-main);
}

/* --- View More Card (11th item in slider) - REDESIGNED --- */
.view-more-card {
    flex-shrink: 0;
}

.view-more-card .view-more-poster {
    width: 180px;
    height: 270px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(35, 35, 35, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-more-card .view-more-poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(229, 9, 20, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.view-more-card:hover .view-more-poster {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2);
}

.view-more-card:hover .view-more-poster::before {
    opacity: 1;
}

.view-more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    z-index: 1;
}

.view-more-icon {
    font-size: 1.5rem;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.view-more-card:hover .view-more-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
}

.view-more-text {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-more-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile responsiveness for View More card */
@media (max-width: 768px) {
    .view-more-card .view-more-poster {
        width: 140px;
        height: 210px;
    }

    .view-more-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .view-more-text {
        font-size: 0.85rem;
    }
}

/* --- Curated Pride Section --- */
.curated-pride-section {
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.05) 0%, transparent 100%);
    padding: 60px 20px;
    margin: 20px 0 0 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.curated-content {
    max-width: 700px;
    margin: 0 auto;
}

.curated-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    margin-bottom: 20px;
}

.curated-badge .dashicons {
    font-size: 28px;
    color: #fff;
}

.curated-pride-section h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.curated-pride-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .curated-pride-section {
        padding: 40px 20px;
    }

    .curated-pride-section h2 {
        font-size: 1.4rem;
    }

    .curated-pride-section p {
        font-size: 1rem;
    }
}

/* --- Homepage Search Section --- */
.home-search-section {
    padding: 40px 20px;
    text-align: center;
    background: var(--bg-body);
}

.home-search-container {
    max-width: 600px;
    margin: 0 auto;
}

.home-search-section h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.home-search-form {
    display: flex;
    gap: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.home-search-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    background: var(--bg-card);
    color: #fff;
    font-size: 1rem;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.home-search-input::placeholder {
    color: var(--text-muted);
}

.home-search-input:focus {
    border-color: var(--primary);
}

.home-search-btn {
    padding: 16px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.home-search-btn:hover {
    background: #ff1a1a;
}

.home-search-btn .dashicons {
    font-size: 20px;
}

/* --- Floating Social Share Buttons --- */
.social-share-container {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.social-share-btn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.social-share-btn.twitter-x {
    background: #000;
    border: 1px solid #333;
}

.social-share-btn.twitter-x:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    transform: scale(1.1);
}

.social-share-btn.whatsapp {
    background: #25d366;
}

.social-share-btn.whatsapp:hover {
    background: #128c7e;
    transform: scale(1.1);
}

.social-share-btn.copy-link {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-share-btn.copy-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.social-share-btn.close-share {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.social-share-btn.close-share:hover {
    color: #fff;
    border-color: #fff;
}

.social-share-container.hidden {
    display: none;
}

/* Mobile: position at bottom */
@media (max-width: 768px) {
    .social-share-container {
        right: 10px;
        top: auto;
        bottom: 80px;
        transform: none;
    }

    .social-share-btn {
        width: 40px;
        height: 40px;
    }

    .social-share-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Keep old styles for backward compatibility but hide */
.slider-footer {
    display: none;
}


.slider-container {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding: 20px 20px 40px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.slider-container::-webkit-scrollbar {
    height: 8px;
}

.slider-container::-webkit-scrollbar-track {
    background: #111;
    border-radius: 4px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.slider-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- Floating Card (Uniform Dimensions) --- */
.archive-movie-card {
    flex: 0 0 280px;
    width: 280px;
    height: 480px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

/* ── View More / Explore More Card ── */
.view-more-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-more-card .archive-info {
    display: none;
}

.view-more-poster {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 1) 100%);
}

.view-more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 20px;
}

.view-more-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    transition: transform 0.3s;
}

.view-more-card:hover .view-more-icon {
    transform: scale(1.15);
}

.view-more-text {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-more-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.archive-movie-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
    z-index: 5;
}

.archive-poster {
    height: 340px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.archive-overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-movie-card:hover .archive-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #fff;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.archive-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to bottom, var(--bg-card) 0%, #000 100%);
}

.archive-movie-title {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    line-height: 1.3;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.archive-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.score {
    color: #ffc107;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none !important;
}

.tag-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Single Page Layout --- */
.content-grid-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.layout-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.poster-card {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.main-poster-img {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
}

.action-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-action {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-action.primary {
    background: var(--primary);
    color: #fff;
}

.btn-action.primary:hover {
    filter: brightness(1.1);
}

.btn-action.secondary {
    background: #333;
    color: #fff;
}

.btn-action.secondary:hover {
    background: #444;
}

.layout-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    padding: 30px;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.info-card h2,
.info-card h3 {
    margin-top: 0;
    color: var(--text-main);
    font-size: 1.4rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.ai-analysis {
    background: linear-gradient(145deg, var(--bg-card), #131313);
}

.ai-analysis .card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.ai-analysis .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--accent);
}

/* Cast Grid */
.cast-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.actor-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.actor-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    display: block;
}

.actor-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

.actor-mini-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #252525;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
}

.actor-mini-pill:hover {
    border-color: #444;
}

/* --- Footer --- */
.site-footer {
    background: #000;
    color: #777;
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
    /* Pushes footer to bottom */
    border-top: 1px solid #1a1a1a;
}

.site-footer .site-info {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
}

/* --- RESPONSIVE OPTIMIZATIONS --- */
@media (max-width: 1024px) {
    .site-wrapper {
        padding: 0;
    }

    .category-title {
        margin-left: 20px;
        /* Align title */
    }
}

@media (max-width: 768px) {

    /* Header & General */
    .site-header {
        padding: 15px;
        margin-bottom: 0;
    }

    .site-title a {
        font-size: 1.5rem;
    }

    .home-content,
    .single-movie-container {
        padding: 0 15px 30px 15px !important;
    }

    /* Hero Section Mobile */
    .hero-info-overlay {
        padding: 20px;
        background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 100%);
    }

    .hero-info-overlay .entry-title {
        font-size: 1.6rem;
        /* Smaller Title */
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .meta-row {
        font-size: 0.9rem;
        flex-wrap: wrap;
        /* Allow wrapping */
        gap: 10px;
        row-gap: 5px;
    }

    .video-responsive {
        padding-bottom: 60%;
        /* Slightly taller on mobile */
    }

    /* Cards - Slider */
    .archive-movie-card {
        flex: 0 0 140px;
        width: 140px;
        height: 280px;
    }

    .archive-poster {
        height: 200px;
    }

    .archive-info {
        padding: 10px;
    }

    .archive-movie-title {
        font-size: 0.9rem;
    }

    /* Single Page Stack */
    .content-grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    /* Mobile Sidebar: Poster + Actions Side-by-Side */
    .layout-sidebar {
        flex-direction: row;
        align-items: center;
        /* Center Vertically */
        gap: 15px;
        overflow-x: visible;
        /* Disable scroll, simple flex */
        flex-wrap: wrap;
    }

    .poster-card {
        width: 110px;
        /* Small mobile poster */
        flex-shrink: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .main-poster-img {
        border-radius: var(--radius-sm);
    }

    .action-card {
        flex-grow: 1;
        min-width: 150px;
        /* Ensure buttons have space */
        padding: 0 !important;
        /* Remove card padding to fit buttons better */
        gap: 10px;
        background: transparent !important;
        /* Remove card bg */
        border: none !important;
        box-shadow: none !important;
    }

    .btn-action {
        padding: 12px;
        font-size: 0.95rem;
    }

    /* Restore Genre Tags in Sidebar on Mobile */
    .layout-sidebar .info-card {
        display: block;
        width: 100%;
        /* Force new line */
        order: 3;
        /* Ensure it's last */
        background: transparent;
        border: none;
        padding: 0;
        margin-top: 5px;
    }

    .layout-sidebar .info-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
        color: var(--text-muted);
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Main Content */
    .info-card {
        padding: 20px;
    }

    .cast-grid {
        gap: 10px;
    }

    .actor-mini-pill {
        width: 100%;
        padding: 8px 12px;
        box-sizing: border-box;
    }
}

/* ===== FILTER PROMO SECTION ===== */
.filter-promo-section {
    margin: 2rem 0;
}

.filter-promo-card {
    display: flex;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(86, 77, 255, 0.15) 0%, rgba(229, 9, 20, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.promo-content {
    flex: 1;
    z-index: 2;
}

.promo-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.promo-content h2 {
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.promo-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.promo-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.promo-features li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.btn-filter-promo {
    display: inline-block;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3), inset 0 0 15px rgba(229, 9, 20, 0.1);
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.btn-filter-promo:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.5), inset 0 0 20px rgba(229, 9, 20, 0.2);
    background: linear-gradient(135deg, #2a0a0a 0%, #1a0505 100%);
}

.promo-visual {
    flex: 0 0 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cards {
    position: relative;
    width: 150px;
    height: 150px;
}

.float-card {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.card-2 {
    bottom: 20px;
    left: 10px;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 20px;
    right: 10px;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .filter-promo-card {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }

    .promo-content p {
        max-width: 100%;
    }

    .promo-visual {
        display: none;
    }

    .promo-features {
        text-align: left;
        padding-left: 1rem;
    }
}

/* ===== PROFESSIONAL STICKY NAVIGATION ===== */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2rem;
    gap: 2rem;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

/* Logo Image */
.logo-image {
    height: 45px;
    width: auto;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-logo:hover .logo-image {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Main Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.7rem 1.1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.dropdown-arrow {
    font-size: 0.65rem;
    opacity: 0.6;
    margin-left: 0.2rem;
    transition: transform 0.3s ease;
}

/* CTA Button */
.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.25);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    list-style: none;
    margin: 0;
    z-index: 1001;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding-left: 1.5rem;
}

/* Auth Section */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.auth-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-link:hover {
    color: #fff;
}

.nav-btn-register {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.nav-btn-register:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.nav-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-profile:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-profile .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.profile-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mobile Toggle */
.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform 0.3s;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.mobile-nav-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.mobile-nav-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-list li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 1.05rem;
    transition: background 0.2s;
}

.mobile-nav-list li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-list li a.mobile-cta {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    text-align: center;
    font-weight: 600;
}

/* Body overflow control for mobile nav */

body.nav-open {
    overflow: hidden;
}

/* Hide the old header */
.site-header {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }

    .nav-auth {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav-overlay {
        display: block;
    }

    .nav-wrapper {
        padding: 0.75rem 1rem;
    }
}

/* ===== AI REVIEW CONTENT STYLES ===== */

/* Section Spacing — separate H2 headings from paragraphs */
.ai-analysis .card-body h2 {
    margin-top: 32px;
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: -0.01em;
}

.ai-analysis .card-body h2:first-child {
    margin-top: 0;
}

.ai-analysis .card-body p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Hook paragraph — slightly larger */
.review-hook {
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.7 !important;
    font-style: italic;
    border-left: 3px solid var(--primary);
    padding-left: 16px;
    margin-bottom: 24px !important;
}

/* Radar Chart Section */
.radar-chart-section {
    margin: 30px 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.radar-chart-section h2 {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    border-bottom: none !important;
    text-align: center;
    font-size: 1.2rem !important;
}

.radar-chart-wrapper {
    max-width: 450px;
    margin: 0 auto;
    padding: 10px 20px;
}

.radar-summary {
    text-align: center;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Score Badge */
.review-verdict {
    margin-top: 30px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-verdict h2 {
    margin-top: 0 !important;
}

.score-badge {
    display: inline-flex;
    align-items: baseline;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffc107;
    margin-top: 10px;
}

.score-badge span {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 2px;
}

/* Pros & Cons Grid */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}

.pros-box,
.cons-box {
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pros-box {
    background: rgba(76, 175, 80, 0.08);
    border-color: rgba(76, 175, 80, 0.2);
}

.cons-box {
    background: rgba(244, 67, 54, 0.08);
    border-color: rgba(244, 67, 54, 0.2);
}

.pros-box h3,
.cons-box h3 {
    margin: 0 0 12px 0;
    font-size: 1rem;
    color: #fff;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.pros-box ul,
.cons-box ul {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.pros-box li,
.cons-box li {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 6px;
    font-size: 0.95rem;
}

/* Watch if you liked */
.watch-if-liked {
    background: rgba(99, 102, 241, 0.08);
    /* indigo background */
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.watch-if-liked p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.watch-if-liked strong {
    color: #fff;
    margin-right: 4px;
}

.watch-if-liked a {
    color: #a5b4fc;
    /* indigo-300 */
    background: rgba(99, 102, 241, 0.15);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.2s ease;
    display: inline-block;
}

.watch-if-liked a:hover {
    color: #fff;
    background: rgba(99, 102, 241, 0.4);
    border-color: rgba(99, 102, 241, 0.6);
    transform: translateY(-1px);
}

/* Plain text (unlinked) films should look like text, not tags */
.watch-if-liked span.plain-film {
    line-height: 1.7;
}

/* Movie Facts Bar */
.movie-facts-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 10px 0 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.movie-facts-bar span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
}

.movie-facts-bar span:not(:last-child)::after {
    content: "•";
    margin-left: 16px;
    color: rgba(255, 255, 255, 0.2);
}

.movie-facts-bar strong {
    color: rgba(255, 255, 255, 0.85);
    margin-right: 6px;
    font-weight: 500;
}

.radar-chart-wrapper {
    max-width: 450px;
    margin: 0 auto;
}

/* Mobile responsive for review styles */
@media (max-width: 768px) {
    .radar-chart-wrapper {
        max-width: 260px;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .movie-facts-bar {
        flex-direction: column;
        gap: 8px;
        border-bottom: none;
        padding-bottom: 0;
    }

    .movie-facts-bar span:not(:last-child)::after {
        display: none;
    }

    .review-hook {
        font-size: 1rem !important;
    }
}