* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #1a1a1a;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h2 {
    color: #e50914;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #e50914;
}

.login-btn {
    background: #e50914;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #b2070f;
    color: white;
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-welcome {
    color: #e50914;
    font-weight: bold;
}

.logout-btn {
    background: transparent;
    border: 1px solid #e50914;
    color: #e50914;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.logout-btn:hover {
    background: #e50914;
    color: white;
}

.admin-btn {
    background: #ff6b00;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.admin-btn:hover {
    background: #e55a00;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.6)), 
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #e50914;
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #b2070f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

.cta-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Cartelera */
.cartelera, .proximamente, .tarifas {
    padding: 5rem 0;
}

.cartelera h2, .proximamente h2, .tarifas h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a1a1a;
}

/* Filtros */
.movies-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e50914;
    color: #e50914;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.filter-btn.active, .filter-btn:hover {
    background: #e50914;
    color: white;
}

/* Grid de Películas */
.movies-grid, .coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.movie-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.movie-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.movie-poster {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.movie-info {
    padding: 1.5rem;
}

.movie-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: bold;
}

.movie-genre {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.movie-sala, .movie-price {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.movie-times {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.time-btn {
    background: #f0f0f0;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.time-btn:hover {
    background: #e50914;
    color: white;
}

.time-btn:disabled {
    background: #6c757d;
    color: white;
    cursor: not-allowed;
}

.movie-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e50914;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Tarifas */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid #e50914;
    transform: scale(1.05);
}

.pricing-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e50914;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-card li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    background: none;
    border: none;
}

.close-modal:hover {
    color: #e50914;
}

.movie-info-modal {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.movie-info-modal img {
    width: 100px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

/* Sistema de Asientos */
.seating-container {
    text-align: center;
}

.screen {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.seats-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0.8rem;
    margin: 2rem auto;
    max-width: 600px;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.seat {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    border: 2px solid transparent;
}

/* ASIENTOS REGULARES - VERDES */
.seat.available {
    background: #28a745;
    color: white;
    border-color: #1e7e34;
}

.seat.available:hover {
    background: #218838;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

/* ASIENTOS VIP - AMARILLOS */
.seat.available.vip {
    background: #ffc107;
    color: #000;
    border-color: #e0a800;
}

.seat.available.vip:hover {
    background: #e0a800;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

/* ASIENTOS SELECCIONADOS - AZULES */
.seat.selected {
    background: #007bff;
    color: white;
    border-color: #0056b3;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* ASIENTOS OCUPADOS - ROJOS */
.seat.occupied {
    background: #dc3545;
    color: white;
    cursor: not-allowed;
    border-color: #c82333;
    opacity: 0.8;
}

.seat.space {
    background: transparent;
    cursor: default;
}

.seating-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.seat-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.legend-item .seat {
    width: 20px;
    height: 20px;
    cursor: default;
    font-size: 0.6rem;
}

.selection-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: left;
}

.selection-summary h4 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

#selected-seats {
    margin-bottom: 1rem;
    font-weight: bold;
}

#total-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e50914;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    color: #e50914;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #e50914;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    opacity: 0.7;
}

/* Panel Admin */
.admin-panel {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.admin-panel h3 {
    color: #e50914;
    margin-bottom: 1rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #e50914;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .seats-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .seating-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .movie-info-modal {
        flex-direction: column;
        text-align: center;
    }
    
    .seat-legend {
        grid-template-columns: 1fr;
    }
}
/* Carrusel de Promociones */
.promo-carousel-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.promo-carousel-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: white;
}

.carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 500px;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 3rem;
    color: white;
    text-align: center;
}

.slide-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(229, 9, 20, 0.8);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #e50914;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}

.carousel-btn.prev { 
    left: 25px; 
}

.carousel-btn.next { 
    right: 25px; 
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #e50914;
    transform: scale(1.2);
}

/* Efectos de animación */
.carousel-slide {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-track {
        height: 400px;
    }
    
    .slide-content {
        padding: 2rem;
    }
    
    .slide-content h3 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
/* Selector de Ciudad */
.city-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
}

.city-selector i {
    color: #e50914;
    font-size: 1.2rem;
}

#citySelect {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

#citySelect:hover {
    border-color: #e50914;
    background: rgba(229, 9, 20, 0.1);
}

#citySelect:focus {
    border-color: #e50914;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
}

#citySelect option {
    background: #1a1a1a;
    color: white;
    padding: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .city-selector {
        margin-left: 1rem;
    }
    
    #citySelect {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
/* Precios en las tarjetas de películas */
.movie-prices {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.price-tag {
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
}

.price-tag.vip {
    background: #ffc107;
    color: #000;
}

.price-tag.general {
    background: #28a745;
    color: white;
}

.price-tag.nino {
    background: #17a2b8;
    color: white;
}

/* Selector de Ciudad en Header */
.city-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
}

.city-selector i {
    color: #e50914;
    font-size: 1.2rem;
}

#citySelect {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}
/* Botones de Interacción */
.movie-interactions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.interaction-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.interaction-btn:hover {
    background: #e50914;
    border-color: #e50914;
    color: white;
    transform: scale(1.1);
}

/* Botones de Perfil */
.profile-btn {
    background: transparent;
    border: 1px solid #e50914;
    color: #e50914;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.profile-btn:hover {
    background: #e50914;
    color: white;
}

/* Sistema de Puntos */
.points-badge {
    background: linear-gradient(45deg, #ffc107, #ff6b00);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-left: 0.5rem;
}

/* Estadísticas Admin Mejoradas */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #e50914;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e50914;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .movie-interactions {
        gap: 0.3rem;
    }
    
    .interaction-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}