/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-primary: #333;
    --text-secondary: #666;
    --border-color: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    --hover-shadow: 0 15px 35px rgba(31, 38, 135, 0.5);
    --backdrop-filter: blur(4px);
    
    /* Animation Variables */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-gradient: linear-gradient(135deg, #2d1b69 0%, #11998e 100%);
    --secondary-gradient: linear-gradient(135deg, #8360c3 0%, #2ebf91 100%);
    --accent-gradient: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    --card-bg: rgba(30, 30, 30, 0.95);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--primary-gradient);
    min-height: 100vh;
    transition: all var(--transition-medium);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navbar {
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-filter);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dark-mode-btn {
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow);
}

.dark-mode-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--hover-shadow);
}

.nav-logo h2 {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes glow {
    from { text-shadow: 0 0 30px rgba(255, 255, 255, 0.3); }
    to { text-shadow: 0 0 40px rgba(255, 255, 255, 0.5); }
}

/* Search and Filter Section */
.search-filter-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-bar {
    display: flex;
    max-width: 600px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-bar button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

/* Movies Section */
.movies-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.9);
}

.movies-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.movie-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.movie-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: var(--hover-shadow);
}

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

.movie-card:hover .movie-title {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.movie-poster {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all var(--transition-medium);
    overflow: hidden;
}

.movie-info {
    padding: 25px;
}

.movie-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: all var(--transition-medium);
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.movie-year {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating i {
    color: #ffd700;
    font-size: 1rem;
}

.rating-text {
    font-weight: 600;
    color: #666;
    margin-left: 5px;
}

.movie-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.read-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--hover-shadow);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.movie-poster img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.movie-info-card, .related-movies {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.related-movie {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.related-movie:hover {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
}

.related-movie img {
    width: 60px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.related-info h5 {
    margin-bottom: 5px;
    color: #333;
}

/* Categories Page Styles */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.category-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.movie-count {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.back-btn {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background: #667eea;
    color: white;
}

/* About Page Styles */
.about-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-story, .mission-section, .values-section, .team-section, .cta-section {
    margin-bottom: 60px;
}

.about-story h2, .mission-section h2, .values-section h2, .team-section h2, .cta-section h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.about-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.mission-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.mission-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 20px;
}

.features-list {
    display: grid;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 5px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-methods {
    margin-top: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-method i {
    font-size: 1.5rem;
    color: #667eea;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.faq-section {
    margin-top: 60px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-item h4 {
    color: #333;
    margin-bottom: 15px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    height: 100vh;
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px;
    text-align: center;
}

.modal-header i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.modal-body {
    padding: 30px;
    text-align: center;
    overflow-y: auto;
    flex: 1;
    max-height: calc(90vh - 200px);
}

.modal-footer {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #eee;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .cast-crew-list {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .movie-header h1 {
        font-size: 2.5rem;
    }
    
    .category-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-buttons {
        justify-content: center;
    }
}

/* Admin Panel Styles */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.login-header h1 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 2rem;
}

.login-header h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.login-header p {
    color: #666;
    margin-bottom: 30px;
}

.login-form .form-group {
    margin-bottom: 25px;
    text-align: left;
}

.login-form label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.login-form input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: #667eea;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.login-footer {
    margin-top: 30px;
}

.back-link {
    color: #667eea;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #5a6fd8;
}

/* Admin Navigation */
.admin-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.admin-nav-logo h2 {
    color: #667eea;
    font-size: 1.5rem;
}

.admin-nav-actions {
    display: flex;
    gap: 15px;
}

.nav-btn {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.nav-btn:hover {
    background: #667eea;
    color: white;
}

.logout-btn:hover {
    background: #dc3545;
    color: white;
}

/* Admin Main Content */
.admin-main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    overflow-x: hidden;
}

/* Ensure admin panel has proper scroll behavior */
.admin-main.modal-open {
    overflow: hidden;
    height: calc(100vh - 70px);
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.dashboard-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 5px;
}

.stat-info p {
    color: #666;
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.admin-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.admin-btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.admin-btn.primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.admin-btn.secondary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.admin-btn.secondary:hover {
    background: #667eea;
    color: white;
}

.admin-btn.danger {
    background: #dc3545;
    color: white;
}

.admin-btn.danger:hover {
    background: #c82333;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
    transform: translateY(-2px);
}

/* Movies Management */
.movies-management {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header h2 {
    color: #333;
    font-size: 1.8rem;
}

.filter-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-select, .search-input {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.filter-select:focus, .search-input:focus {
    outline: none;
    border-color: #667eea;
}

.search-input {
    min-width: 250px;
}

/* Movies Table */
.movies-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.movie-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.movie-row:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.movie-row.hidden-movie {
    opacity: 0.6;
    background: #fff3cd;
}

.movie-poster-thumb {
    flex-shrink: 0;
}

.movie-poster-thumb img {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.movie-details {
    flex: 1;
}

.movie-details h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.movie-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.movie-meta .category {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.movie-meta .rating {
    color: #ffd700;
    font-weight: 500;
}

.movie-meta .status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.movie-meta .status.active {
    background: #d4edda;
    color: #155724;
}

.movie-meta .status.hidden {
    background: #f8d7da;
    color: #721c24;
}

.short-desc {
    color: #666;
    line-height: 1.5;
}

.movie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.action-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn {
    background: #17a2b8;
    color: white;
}

.toggle-btn:hover {
    background: #138496;
    transform: scale(1.1);
}

.edit-btn {
    background: #28a745;
    color: white;
}

.edit-btn:hover {
    background: #218838;
    transform: scale(1.1);
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.delete-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.no-movies {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.2rem;
}

/* Modal Styles for Admin */
.large-modal .modal-content {
    max-width: 800px;
    width: 95%;
    max-height: 95vh;
}

.large-modal .modal-body {
    max-height: calc(95vh - 200px);
    overflow-y: auto;
}

.modal-header.danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.movie-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.movie-form .modal-body {
    padding: 30px 30px 0 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.movie-form .form-group {
    display: flex;
    flex-direction: column;
}

.movie-form label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.movie-form input,
.movie-form select,
.movie-form textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.movie-form input:focus,
.movie-form select:focus,
.movie-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.movie-form textarea {
    resize: vertical;
    min-height: 80px;
}

.char-counter {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

.char-counter.valid {
    color: #28a745;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
    padding: 20px 30px;
    background: white;
    border-top: 1px solid #eee;
    position: sticky;
    bottom: 0;
    border-radius: 0 0 20px 20px;
}

.delete-warning {
    text-align: center;
    padding: 20px;
}

.delete-warning i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 20px;
}

.delete-warning p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.warning-text {
    color: #dc3545;
    font-weight: 500;
}

.modal-footer {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding: 20px 30px;
    border-top: 1px solid #eee;
}

/* Mobile Responsive for Admin */
@media (max-width: 768px) {
    .admin-nav-container {
        padding: 0 15px;
    }
    
    .admin-nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .nav-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .admin-container {
        padding: 0 15px;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-controls {
        flex-direction: column;
    }
    
    .search-input {
        min-width: auto;
    }
    
    .movie-row {
        flex-direction: column;
        text-align: center;
    }
    
    .movie-details {
        order: 2;
    }
    
    .movie-actions {
        order: 3;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .large-modal .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }
    
    .admin-main {
        padding: 20px 0;
    }
    
    .movies-management {
        padding: 20px;
        border-radius: 15px;
    }
    
    .movie-row {
        padding: 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-info h3 {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* AdSense Placeholder Styles */
.adsense-placeholder {
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    color: #888;
    font-style: italic;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.adsense-placeholder::before {
    content: "AdSense Ad Space - " attr(data-ad-slot);
    font-size: 14px;
    font-weight: 500;
}

/* Featured Sections */
.featured-section {
    margin: 40px 0;
}

.featured-section h2 {
    color: var(--text-primary);
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.featured-section h2 i {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    backdrop-filter: var(--backdrop-filter);
    border: 1px solid var(--border-color);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.suggestion-item:hover {
    background: var(--accent-gradient);
    color: white;
}

.suggestion-poster {
    width: 40px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.suggestion-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.suggestion-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

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

.view-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all var(--transition-medium);
    color: var(--text-primary);
}

.view-btn.active,
.view-btn:hover {
    background: var(--accent-gradient);
    color: white;
    transform: scale(1.05);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: var(--secondary-gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow);
}

.load-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--hover-shadow);
}

/* Future Feature Placeholders */
.future-feature {
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    border: 1px dashed var(--border-color);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    position: relative;
    min-height: 100px;
}

.future-feature::before {
    content: "Future Feature: " attr(data-feature);
    color: var(--text-secondary);
    font-style: italic;
    font-size: 14px;
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.2rem;
}
