/* ============================================
   REELFLIX - Netflix-Inspired Movie Review Site
   ============================================ */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #141414;
    --bg-secondary: #181818;
    --netflix-red: #E50914;
    --text-white: #FFFFFF;
    --text-muted: #B3B3B3;
    --text-dark: #808080;
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== PAGE SECTIONS ===== */
.page-section {
    min-height: 100vh;
    padding: 4rem 0;
    scroll-margin-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

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

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

/* ===== NAVBAR ===== */
.navbar {
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--netflix-red) !important;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--netflix-red) !important;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.2rem 0.4rem;
    font-size: 0.9rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(229, 9, 20, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.search-bar {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.search-bar input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    width: 200px;
    transition: var(--transition);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--netflix-red);
    background-color: rgba(255, 255, 255, 0.15);
    width: 250px;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.profile-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--netflix-red);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.profile-icon:hover {
    transform: scale(1.1);
}

/* Dashboard Button in Navbar */
.navbar .btn-hero {
    white-space: nowrap;
}

/* Dashboard Header Actions */
.dashboard-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 576px) {
    .dashboard-header-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dashboard-header-actions .btn-hero {
        width: 100%;
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .navbar .d-flex {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .navbar .btn-hero {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin-right: 0.5rem;
    }
    
    .search-bar {
        order: 1;
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .navbar .btn-hero {
        order: 2;
    }
    
    .profile-icon {
        order: 3;
    }
}

@media (max-width: 576px) {
    .navbar .btn-hero {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
    }
}

/* ===== GO TO TOP BUTTON ===== */
.go-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E50914 0%, #f40612 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
    transition: all 0.3s ease;
}

.go-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
    background: linear-gradient(135deg, #f40612 0%, #E50914 100%);
}

.go-to-top-btn.show {
    display: flex;
}

@media (max-width: 768px) {
    .go-to-top-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .go-to-top-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        bottom: 15px;
        right: 15px;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: 
        linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(26,26,26,0.9) 50%, rgba(20,20,20,0.95) 100%),
        url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(229, 9, 20, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(229, 9, 20, 0.15) 0%, transparent 60%),
        linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 50%, rgba(20,20,20,0.9) 100%);
    z-index: 1;
    animation: gradientShift 15s ease-in-out infinite alternate;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(255,255,255,0.02) 1px, rgba(255,255,255,0.02) 2px),
        repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(255,255,255,0.02) 1px, rgba(255,255,255,0.02) 2px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
    animation: gridMove 20s linear infinite;
}

@keyframes gradientShift {
    0% {
        background: 
            radial-gradient(ellipse at top left, rgba(229, 9, 20, 0.2) 0%, transparent 60%),
            radial-gradient(ellipse at bottom right, rgba(229, 9, 20, 0.15) 0%, transparent 60%),
            linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 50%, rgba(20,20,20,0.9) 100%);
    }
    100% {
        background: 
            radial-gradient(ellipse at top right, rgba(229, 9, 20, 0.22) 0%, transparent 60%),
            radial-gradient(ellipse at bottom left, rgba(229, 9, 20, 0.18) 0%, transparent 60%),
            linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 50%, rgba(20,20,20,0.92) 100%);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}

/* Responsive background for mobile */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 
        0 0 20px rgba(0,0,0,0.8),
        0 0 40px rgba(0,0,0,0.6),
        2px 2px 10px rgba(0,0,0,0.9),
        0 0 60px rgba(229, 9, 20, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 
            0 0 20px rgba(0,0,0,0.8),
            0 0 40px rgba(0,0,0,0.6),
            2px 2px 10px rgba(0,0,0,0.9),
            0 0 60px rgba(229, 9, 20, 0.3);
    }
    100% {
        text-shadow: 
            0 0 25px rgba(0,0,0,0.9),
            0 0 50px rgba(0,0,0,0.7),
            2px 2px 15px rgba(0,0,0,1),
            0 0 80px rgba(229, 9, 20, 0.5);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 
        0 0 10px rgba(0,0,0,0.8),
        1px 1px 5px rgba(0,0,0,0.9);
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

.btn-hero {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin: 0;
}

.btn-primary-hero {
    background-color: var(--netflix-red);
    color: var(--text-white);
}

.btn-primary-hero:hover {
    background-color: #f40612;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4);
}

.btn-secondary-hero {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    padding: 2rem 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.section-header .view-all {
    position: absolute;
    right: 0;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1.5rem 0 0.75rem;
        gap: 0.75rem;
        text-align: center;
    }
    
    .section-header .view-all {
        position: static;
        margin-top: 0;
        order: 2;
        display: inline-block;
        text-align: center;
    }
    
    .section-header .section-title {
        order: 1;
        width: 100%;
        margin-bottom: 0;
        text-align: center;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .section-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1.25rem 0 0.5rem;
        gap: 0.5rem;
        text-align: center;
    }
    
    .section-header .view-all {
        position: static;
        margin-top: 0;
        order: 2;
        font-size: 0.85rem;
        display: inline-block;
        text-align: center;
    }
    
    .section-header .section-title {
        order: 1;
        width: 100%;
        margin-bottom: 0;
        text-align: center;
        padding: 0;
    }
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

/* Center all h1 section titles */
h1.section-title {
    text-align: center;
    width: 100%;
}

.view-all {
    color: var(--netflix-red);
    font-weight: 600;
    transition: var(--transition);
}

.view-all:hover {
    color: #f40612;
    transform: translateX(5px);
}

/* ===== REVIEW CARDS CONTAINER ===== */
.reviews-container-wrapper {
    position: relative;
    padding: 0;
    margin: 2rem 0;
}

.reviews-container {
    padding: 2rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for trending reviews, top rated, and new OTT */
#trendingReviews,
#topRatedReviews,
#newOTTReviews {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

#trendingReviews::-webkit-scrollbar,
#topRatedReviews::-webkit-scrollbar,
#newOTTReviews::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Show scrollbar for other containers */
.reviews-container:not(#trendingReviews):not(#topRatedReviews):not(#newOTTReviews)::-webkit-scrollbar {
    height: 8px;
}

.reviews-container:not(#trendingReviews):not(#topRatedReviews):not(#newOTTReviews)::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.reviews-container:not(#trendingReviews):not(#topRatedReviews):not(#newOTTReviews)::-webkit-scrollbar-thumb {
    background: var(--netflix-red);
    border-radius: 4px;
}

.reviews-container:not(#trendingReviews):not(#topRatedReviews):not(#newOTTReviews)::-webkit-scrollbar-thumb:hover {
    background: #f40612;
}

/* Navigation Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(20, 20, 20, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-btn:hover {
    background-color: var(--netflix-red);
    border-color: var(--netflix-red);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.5);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-btn[style*="opacity: 0.3"] {
    cursor: not-allowed;
}

.scroll-btn-left {
    left: 10px;
}

.scroll-btn-right {
    right: 10px;
}

.scroll-btn span {
    line-height: 1;
    display: block;
}

/* Responsive adjustments for buttons */
@media (max-width: 768px) {
    .scroll-btn {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
    
    .scroll-btn-left {
        left: 5px;
    }
    
    .scroll-btn-right {
        right: 5px;
    }
}

@media (max-width: 576px) {
    .scroll-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .scroll-btn-left {
        left: 0;
    }
    
    .scroll-btn-right {
        right: 0;
    }
}

/* ===== REVIEWS GRID (For Reviews Page) ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
    padding: 2rem 0;
}

.reviews-grid .review-card {
    margin-right: 0;
    width: 100%;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 0.9rem;
    }
}

@media (max-width: 576px) {
    .reviews-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.8rem;
    }
}

/* ===== REVIEW CARD ===== */
.review-card {
    display: inline-block;
    width: 220px;
    margin-right: 1rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    vertical-align: top;
    white-space: normal;
    position: relative;
}

.review-card:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.review-card-image {
    width: 100%;
    height: 320px;
    transition: var(--transition);
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.review-card:hover .review-card-image {
    transform: scale(1.1);
}

/* Category Images */
.category-image {
    transition: var(--transition);
    overflow: hidden;
}

.review-card:hover .category-image {
    transform: scale(1.05);
}

.category-image h3 {
    transition: var(--transition);
}

.review-card:hover .category-image h3 {
    transform: scale(1.1);
}

/* Simple Category Cards (No Card Background) */
.category-card-simple {
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-bottom: 1rem;
}

.category-card-simple:hover {
    transform: translateY(-8px);
}

.category-card-simple:hover .category-image {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(0,0,0,0.5) !important;
}

.category-card-simple .category-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card-simple .category-image > div:first-of-type {
    transition: opacity 0.3s ease;
}

.category-content {
    padding: 1rem 0;
    text-align: center;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    transition: transform 0.3s ease;
}

.category-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Enhanced category card hover effects */
.category-card-simple:hover .category-image div:last-child {
    transform: translateY(-5px);
}

.category-card-simple .category-image div:last-child {
    transition: transform 0.3s ease;
}

/* Responsive emoji sizes */
@media (max-width: 768px) {
    .category-image h3 {
        font-size: 3rem !important;
    }
}

@media (max-width: 576px) {
    .category-image h3 {
        font-size: 2.5rem !important;
    }
}

.review-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card:hover .review-card-overlay {
    opacity: 1;
}

.btn-view-review {
    background-color: var(--netflix-red);
    color: var(--text-white);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.75rem;
    display: inline-block;
    margin: 0 auto;
}

.btn-view-review:hover {
    background-color: #f40612;
    transform: scale(1.05);
}

/* Reduce button sizes inside review modal for desktop */
#reviewDetailsModal .btn-hero,
#reviewDetailsModal .btn-primary-hero {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    display: inline-block;
    margin: 0 auto;
}

.review-card-content {
    padding: 0.75rem;
}

.review-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
}

.rating-high {
    background-color: rgba(229, 9, 20, 0.2);
    color: var(--netflix-red);
}

.rating-medium {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.rating-low {
    background-color: rgba(108, 117, 125, 0.2);
    color: var(--text-muted);
}

.review-card-verdict {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== TOP RATED CARDS (Bigger) ===== */
.top-rated-card {
    width: 250px;
}

.top-rated-card .review-card-image {
    height: 360px;
}

.top-rated-card .review-card-content {
    padding: 0.9rem;
}

.top-rated-card .review-card-title {
    font-size: 1.05rem;
}

/* ===== FILTER SECTION ===== */
.filter-section {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label {
    font-weight: 600;
    color: var(--text-white);
    margin-right: 0.5rem;
    white-space: nowrap;
}

.filter-select,
.filter-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--netflix-red);
    background-color: rgba(255, 255, 255, 0.15);
}

.filter-select option {
    background-color: var(--bg-secondary);
    color: var(--text-white);
}

/* Hide scrollbar for select elements */
.filter-select,
select.filter-select,
.form-control.filter-select {
    /* Hide scrollbar for Firefox */
    scrollbar-width: none;
    /* Hide scrollbar for IE and Edge */
    -ms-overflow-style: none;
    /* Remove default arrow in IE */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.filter-select::-webkit-scrollbar,
select.filter-select::-webkit-scrollbar,
.form-control.filter-select::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Specifically for the user review movie select dropdown */
#userReviewMovie,
select#userReviewMovie {
    scrollbar-width: none;
    -ms-overflow-style: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#userReviewMovie::-webkit-scrollbar,
select#userReviewMovie::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Custom dropdown arrow */
#userReviewMovie {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Additional scrollbar hiding for all select elements globally */
select {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

select::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
    width: 0;
    height: 0;
}

/* Hide scrollbar on select dropdown options list */
select option {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* ===== REVIEW DETAILS PAGE ===== */
.review-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.review-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(20,20,20,0.9) 100%);
    z-index: 1;
}

.review-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.review-poster {
    width: 250px;
    height: 375px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.review-header-info {
    flex: 1;
}

/* Reduce button size in review banner */
.review-banner .btn-hero,
.review-banner .btn-primary-hero {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    display: inline-block;
    margin: 0 auto;
}

.review-title-large {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.review-year {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.review-rating-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--netflix-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--netflix-red);
    margin-bottom: 1rem;
}

.review-info-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.review-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ott-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.ott-netflix {
    background-color: rgba(229, 9, 20, 0.2);
    color: var(--netflix-red);
}

.ott-prime {
    background-color: rgba(0, 168, 255, 0.2);
    color: #00a8ff;
}

.ott-hotstar {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.review-content-section {
    padding: 3rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.verdict-summary {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--netflix-red);
}

.verdict-summary h3 {
    color: var(--netflix-red);
    margin-bottom: 1rem;
    text-align: center;
}

.verdict-summary p {
    text-align: center;
    color: var(--text-white);
    line-height: 1.8;
}

.pros-cons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pros-list,
.cons-list {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
}

.pros-list h4 {
    color: #4caf50;
    margin-bottom: 1rem;
}

.cons-list h4 {
    color: var(--netflix-red);
    margin-bottom: 1rem;
}

.pros-list ul,
.cons-list ul {
    list-style: none;
    padding: 0;
}

.pros-list li,
.cons-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pros-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.cons-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--netflix-red);
    font-weight: bold;
}

/* Contact Info Styling */
.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    padding: 0.75rem 0;
    padding-left: 0 !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
}

.contact-info-list li::before {
    display: none !important;
}

.contact-info-list li strong {
    color: var(--text-white);
    font-weight: 600;
    min-width: 120px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .contact-info-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }
    
    .contact-info-list li strong {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .contact-info-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 0.6rem 0;
    }
    
    .contact-info-list li strong {
        min-width: auto;
        width: 100%;
        font-size: 0.9rem;
    }
    
    .contact-email,
    .contact-social,
    .contact-time {
        width: 100%;
        display: inline-block;
        text-align: left;
    }
}

.contact-email {
    color: #4A9EFF;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: rgba(74, 158, 255, 0.1);
}

.contact-email:hover {
    color: #6BB0FF;
    background-color: rgba(74, 158, 255, 0.2);
    transform: translateY(-2px);
    text-decoration: underline;
}

.contact-social {
    color: #1DA1F2;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: rgba(29, 161, 242, 0.1);
}

.contact-social:hover {
    color: #4AB3F4;
    background-color: rgba(29, 161, 242, 0.2);
    transform: translateY(-2px);
    text-decoration: underline;
}

.contact-time {
    color: #4CAF50;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: rgba(76, 175, 80, 0.1);
}

/* Social Media Links Styling */
.social-media-list {
    list-style: none;
    padding: 0;
}

.social-media-list li {
    padding: 0.5rem 0;
    padding-left: 0 !important;
    position: relative;
}

.social-media-list li::before {
    display: none !important;
}

.social-link {
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
    font-weight: 500;
    width: 100%;
}

.social-link svg {
    flex-shrink: 0;
}

.social-link:hover {
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.social-link.facebook:hover {
    color: #1877F2;
    background-color: rgba(24, 119, 242, 0.2);
}

.social-link.twitter:hover {
    color: #1DA1F2;
    background-color: rgba(29, 161, 242, 0.2);
}

.social-link.instagram:hover {
    color: #E4405F;
    background-color: rgba(228, 64, 95, 0.2);
}

.social-link.youtube:hover {
    color: #FF0000;
    background-color: rgba(255, 0, 0, 0.2);
}

.rating-breakdown {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.rating-breakdown h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.rating-breakdown p {
    text-align: center;
    color: var(--text-white);
}

.rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-item:last-child {
    border-bottom: none;
}

.rating-label {
    font-weight: 600;
}

.rating-bar-container {
    flex: 1;
    margin: 0 1rem;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar {
    height: 100%;
    background-color: var(--netflix-red);
    transition: width 0.5s ease;
}

.rating-value {
    font-weight: 700;
    min-width: 40px;
    text-align: right;
}

.final-score {
    text-align: center;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, var(--netflix-red) 0%, #f40612 100%);
    border-radius: 6px;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.final-score-number {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.final-score-label {
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .final-score {
        padding: 0.75rem 1rem;
        margin-top: 1.25rem;
        margin-bottom: 0.85rem;
        max-width: 180px;
    }
    
    .final-score-number {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }
    
    .final-score-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .final-score {
        padding: 0.65rem 0.9rem;
        margin-top: 1rem;
        margin-bottom: 0.75rem;
        max-width: 160px;
    }
    
    .final-score-number {
        font-size: 1.35rem;
        margin-bottom: 0.15rem;
    }
    
    .final-score-label {
        font-size: 0.65rem;
    }
}

/* ===== SERIES FEATURES ===== */
.season-rating-table {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.season-rating-table table {
    width: 100%;
    border-collapse: collapse;
}

.season-rating-table th,
.season-rating-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.season-rating-table th {
    font-weight: 700;
    color: var(--netflix-red);
}

.binge-meter {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
}

.binge-meter-label {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.binge-meter-value {
    font-size: 3rem;
    font-weight: 800;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: inline-block;
}

.binge-yes {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.binge-maybe {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.binge-skip {
    background-color: rgba(229, 9, 20, 0.2);
    color: var(--netflix-red);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--bg-secondary);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--netflix-red);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--netflix-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Footer Social Links */
.footer-social-links {
    list-style: none;
    padding: 0;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem 0;
}

.footer-social-link svg {
    flex-shrink: 0;
    transition: var(--transition);
}

.footer-social-link:hover {
    color: var(--netflix-red);
}

.footer-social-link:hover svg {
    transform: scale(1.1);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    position: relative;
    margin: 2% auto;
    width: 90%;
    max-width: 1000px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 2rem;
}

#reviewDetailsModal .modal-content {
    max-width: 1200px;
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

#reviewDetailsModal .modal-content * {
    max-width: 100%;
    word-wrap: break-word;
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: var(--text-white);
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--netflix-red);
    transform: rotate(90deg);
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-video {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 8px;
}

/* ===== UTILITY CLASSES ===== */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

/* Center buttons in text-center divs */
.text-center .btn-hero,
.text-center button,
.text-center .btn-primary-hero,
.text-center .btn-secondary-hero {
    display: inline-block;
    margin: 0 auto;
}

/* Center all buttons globally */
button,
.btn-hero,
.btn-primary-hero,
.btn-secondary-hero,
.btn-view-review {
    text-align: center;
}

/* Ensure button containers center their buttons */
.hero-buttons,
.text-center {
    text-align: center;
}

/* Center Get in Touch heading and all verdict-summary headings */
.verdict-summary h3,
.rating-breakdown h3 {
    text-align: center;
}

/* Make paragraphs visible and centered */
.verdict-summary p,
.rating-breakdown p {
    text-align: center;
    color: var(--text-white) !important;
    opacity: 0.9;
}

/* Make text-muted visible */
.text-muted {
    color: var(--text-white) !important;
    opacity: 0.8;
    text-align: center;
}

/* Center Contact section paragraphs */
#contact .verdict-summary p,
#contact .text-muted {
    text-align: center;
    color: var(--text-white) !important;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .review-card {
        width: 180px;
    }
    
    .review-card-image {
        height: 280px;
    }
    
    .review-banner-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .review-poster {
        width: 200px;
        height: 300px;
    }
    
    .review-title-large {
        font-size: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .search-bar {
        width: 100%;
        margin: 1rem 0;
    }
    
    .search-bar input {
        width: 100%;
    }
    
    .pros-cons-container {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .btn-hero {
        width: auto;
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
        margin: 0;
    }
    
    /* Modal fixes for tablet */
    .modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 1% auto;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    #reviewDetailsModal .modal-content {
        padding: 1.5rem;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 28px;
        height: 28px;
        font-size: 1.5rem;
    }
    
    .review-banner {
        height: auto;
        min-height: auto;
        padding: 2rem 1rem;
    }
    
    .review-info-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .review-info-item {
        font-size: 0.85rem;
    }
    
    .btn-view-review {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        margin: 0 auto;
    }
    
    /* Reduce button sizes inside review modal for tablet */
    #reviewDetailsModal .btn-hero,
    #reviewDetailsModal .btn-primary-hero {
        padding: 0.35rem 0.85rem;
        font-size: 0.75rem;
        margin: 0 auto;
    }
    
    /* Reduce button sizes in review banner for tablet */
    .review-banner .btn-hero,
    .review-banner .btn-primary-hero {
        padding: 0.35rem 0.85rem;
        font-size: 0.75rem;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .review-card {
        width: 160px;
    }
    
    .review-card-image {
        height: 240px;
    }
    
    .container-custom {
        padding: 0 1rem;
    }
    
        /* Modal fixes for mobile */
    .modal {
        padding: 0;
        overflow-x: hidden;
    }
    
    .modal-content {
        width: 100%;
        padding: 1rem;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    #reviewDetailsModal .modal-content {
        padding: 1rem;
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    #reviewDetailsModal .modal-content > * {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 26px;
        height: 26px;
        font-size: 1.3rem;
    }
    
    /* Review banner mobile fixes */
    .review-banner {
        height: auto;
        min-height: auto;
        padding: 1.5rem 1rem !important;
        margin: 0 !important;
    }
    
    .review-banner-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }
    
    .review-poster {
        width: 150px !important;
        height: 225px !important;
        margin: 0 auto;
    }
    
    .review-header-info {
        width: 100%;
        text-align: center;
    }
    
    .review-title-large {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
    }
    
    .review-year {
        font-size: 0.9rem;
    }
    
    .review-rating-circle {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.1rem !important;
        margin-left: auto;
        margin-right: auto;
        border-width: 2px !important;
    }
    
    .review-info-row {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .review-info-item {
        font-size: 0.8rem;
        justify-content: center;
    }
    
    /* Filter section mobile fixes */
    .filter-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .filter-item {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .filter-label {
        display: block;
        width: 100%;
        margin-bottom: 0;
        margin-right: 0;
        font-size: 0.9rem;
        font-weight: 600;
        white-space: normal;
    }
    
    .filter-select {
        width: 100% !important;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        min-width: 100%;
    }
    
    /* Button size reductions for mobile */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .btn-hero {
        padding: 0.4rem 0.9rem;
        font-size: 0.75rem;
        width: auto;
        min-width: 100px;
        margin: 0;
    }
    
    .btn-view-review {
        padding: 0.25rem 0.55rem;
        font-size: 0.7rem;
        margin: 0 auto;
    }
    
    .btn-primary-hero {
        padding: 0.4rem 0.9rem;
        font-size: 0.75rem;
        margin: 0 auto;
    }
    
    /* Reduce button sizes inside review modal for mobile */
    #reviewDetailsModal .btn-hero,
    #reviewDetailsModal .btn-primary-hero {
        padding: 0.3rem 0.7rem;
        font-size: 0.7rem;
        margin: 0 auto;
    }
    
    /* Reduce button sizes in review banner for mobile */
    .review-banner .btn-hero,
    .review-banner .btn-primary-hero {
        padding: 0.3rem 0.7rem;
        font-size: 0.7rem;
        margin: 0 auto;
    }
    
    /* Modal content fixes */
    .verdict-summary,
    .pros-cons-container,
    .rating-breakdown {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .pros-cons-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .rating-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .rating-bar-container {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .page-section {
        padding: 2rem 0;
    }
    
    /* Fix overflow issues */
    .review-card-content {
        padding: 0.7rem;
    }
    
    .review-card-title {
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    .review-card-verdict {
        font-size: 0.75rem;
        word-wrap: break-word;
    }
    
    .rating-badge {
        padding: 0.2rem 0.45rem;
        font-size: 0.75rem;
    }
    
    .review-card-meta {
        font-size: 0.75rem;
    }
    
    /* Prevent horizontal scroll */
    .reviews-container,
    .reviews-grid,
    .reviews-container-wrapper {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    /* Table responsive */
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table thead,
    table tbody {
        display: block;
        width: 100%;
    }
    
    table tr {
        display: flex;
        width: 100%;
    }
    
    table th,
    table td {
        flex: 1;
        min-width: 100px;
    }
    
    /* Ensure all text wraps */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.dashboard-tab {
    padding: 0.75rem 2rem;
    background-color: var(--bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
}

.dashboard-tab:hover {
    border-color: var(--netflix-red);
    background-color: rgba(229, 9, 20, 0.1);
}

.dashboard-tab.active {
    background-color: var(--netflix-red);
    border-color: var(--netflix-red);
    color: var(--text-white);
}

.dashboard-tab-content {
    display: none;
}

.dashboard-tab-content.active {
    display: block;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h2 {
    margin: 0;
    color: var(--text-white);
}

.dashboard-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--netflix-red);
    font-weight: 700;
}

.create-review-form {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.review-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section-title {
    color: var(--netflix-red);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.form-label {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 0.75rem;
    border-radius: 4px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--netflix-red);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.no-reviews {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.no-reviews p {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .dashboard-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .dashboard-tab {
        width: 100%;
        max-width: 300px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dashboard-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .create-review-form {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn-hero {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .dashboard-tab {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .create-review-form {
        padding: 1rem;
    }
    
    .form-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .form-section-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

/* ===== USER REVIEWS PAGE ===== */
.user-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.user-review-card-public {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

.user-review-card-public:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(229, 9, 20, 0.3);
}

.user-review-poster {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.user-reviews-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255,255,255,0.05);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    min-width: 150px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .user-reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .user-reviews-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-card {
        width: 100%;
    }
}
