/* =============================================
   VARIABLES Y ESTILOS GLOBALES
   ============================================= */
:root {
    --primary-color: #ff1493;
    --secondary-color: #00d4ff;
    --dark-bg: #0f0f1e;
    --light-bg: #dad1b6;
    --item-bg: #ded1ac;
    --text-dark: #1a1a2e;
    --text-light: #ffe2e2;
    --text-gray: #666666;
    --border-color: #e0e0e0;
    --accent-color: #ffd700;
    --success-color: #4CAF50;
    --error-color: #ff6b6b;
    
    --transition: all 0.3s ease;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =============================================
   HEADER Y NAVEGACIÓN
   ============================================= */
.header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a3e 100%);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    color: var(--primary-color);
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 600;
}

.lang-btn.active {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

.lang-btn:hover:not(.active) {
    color: var(--secondary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

/* =============================================
   RESPONSIVE - MOBILE
   ============================================= */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--dark-bg);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom-color: transparent;
    }

    .nav-link:hover {
        background: rgba(255, 20, 147, 0.1);
        border-bottom-color: var(--primary-color);
    }

    .language-selector {
        gap: 0.3rem;
    }

    .lang-btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.3rem;
    }
}

/* =============================================
   SECCIONES PRINCIPALES
   ============================================= */
.section {
    min-height: 100vh;
    padding: 4rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 70px;
}

.section:nth-child(odd) {
    background: var(--light-bg);
}

.section:nth-child(even) {
    background: var(--light-bg);
}

.container {
    max-width: 1400px;
    width: 100%;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a3e 100%);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    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 1200 600"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,20,147,0.1)"/><stop offset="100%" style="stop-color:rgba(0,212,255,0.1)"/></linearGradient></defs><rect width="1200" height="600" fill="url(%23grad1)"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 8rem;
    margin-bottom: 1rem;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow:
        0 1px 3px rgba(204, 0, 255, 0.9),
        0 2px 12px rgba(245, 239, 243, 0.7),
        0 4px 30px rgba(252, 173, 173, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.9),
        0 2px 12px rgba(0, 0, 0, 0.7),
        0 4px 30px rgba(0, 0, 0, 0.5);
}
.cta-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.6);
}

.cta-button i {
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

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

.about-item {
    padding: 2rem;
    background: var(--item-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* =============================================
   AGENDA / CALENDAR
   ============================================= */
.view-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.view-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
}

.view-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Filters */
.filters-container {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    background: var(--item-bg)  ;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.filter-input,
.filter-select {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(255, 20, 147, 0.3);
}

.filter-reset {
    padding: 0.8rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.filter-reset:hover {
    background: #00b8d4;
    transform: rotate(180deg);
}

/* Calendar View */
.calendar-view {
    display: row;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.movie-card {
    background: rgb(204, 255, 190);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    transform: translateY(0);
}

.movie-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.movie-poster {
    width: 100%;
    padding-bottom: 150%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.movie-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-card-info {
    padding: 1.5rem;
}

.movie-card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.movie-card-director {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.movie-screening-info {
    padding: 0.8rem;
    background: #f0f0f0;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* List View */
.list-view {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.movie-list-item {
    background: var(--item-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    align-items: start;
}

.movie-list-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.movie-list-poster {
    width: 120px;
    height: 180px;
    border-radius: 5px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.movie-list-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-list-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.movie-list-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.movie-list-meta strong {
    color: var(--text-dark);
}

.movie-list-plot {
    color: var(--text-gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

.movie-list-screening {
    background: #f0f0f0;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
}

.hidden {
    display: none;
}

/* =============================================
   MODAL
   ============================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    overflow-y: auto;
}

.modal.hidden {
    display: none !important;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 900px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg);
}

.movie-detail {
    display: grid;
    background: var(--item-bg);
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 2rem;
}

.movie-detail .movie-poster {
    width: 100%;
    padding-bottom: 150%;
    border-radius: 10px;
    overflow: hidden;
}

.movie-info h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: none;
    -webkit-text-fill-color: unset;
}

.movie-meta p {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.movie-meta strong {
    color: var(--text-dark);
}

.movie-plot {
    margin-top: 1.5rem;
}

.movie-plot h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.movie-plot p {
    color: var(--text-gray);
    line-height: 1.8;
}

.movie-screening {
    margin-top: 1.5rem;
}

.movie-screening h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.screening-item {
    background: var(--item-bg);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 0.8rem;
    border-left: 4px solid var(--primary-color);
}

.screening-item p {
    margin: 0.3rem 0;
    color: var(--text-dark);
}

/* ============================================
   MOVIE ACTIONS (inside modal)
   ============================================ */

.movie-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.btn-signup-movie {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-color), #ff1493);
    color: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-signup-movie:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.4);
}

.movie-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.movie-status-watched {
    background: rgba(50, 200, 100, 0.15);
    color: #32c864;
    border: 1px solid rgba(50, 200, 100, 0.3);
}

.movie-status-pending {
    background: rgba(255, 165, 0, 0.15);
    color: #e69500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.movie-status-past {
    background: rgba(150, 150, 150, 0.15);
    color: #888;
    border: 1px solid rgba(150, 150, 150, 0.3);
}

.movie-action-hint {
    color: var(--text-gray);
    font-size: 13px;
    text-align: center;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.movie-action-hint i {
    color: var(--primary-color);
}

.movie-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cancel-signup {
    padding: 8px 16px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ff3232;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 50, 50, 0.1);
    color: #ff3232;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-cancel-signup:hover {
    background: rgba(255, 50, 50, 0.25);
    transform: translateY(-1px);
}

/* ============================================
   ALERT NOTIFICATIONS (agenda page)
   ============================================ */

.alert {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    font-weight: 600;
    z-index: 3000;
    animation: slideInAlert 0.3s ease;
    max-width: 400px;
}

.alert-success {
    background: rgba(50, 200, 100, 0.2);
    border: 1px solid #32c864;
    color: #32c864;
}

.alert-error {
    background: rgba(255, 50, 50, 0.2);
    border: 1px solid #ff3232;
    color: #ff3232;
}

@keyframes slideInAlert {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .movie-detail {
        grid-template-columns: 1fr;
    }

    .movie-detail .movie-poster {
        order: -1;
    }

    .modal-content {
        max-height: 100vh;
        border-radius: 0;
        margin-top: auto;
    }
}

/* =============================================
   LOCATION SECTION
   ============================================= */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.map-container {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-item {
    background: var(--item-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
}

.location-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.location-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.location-item p {
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-form {
    background: var(--item-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(255, 20, 147, 0.3);
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
}

.contact-form.success .submit-btn {
    background: var(--success-color);
}

.contact-form.error .submit-btn {
    background: var(--error-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    background: var(--item-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a3e 100%);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 1rem;
}

.footer-legal-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.footer-legal-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-link {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* =============================================
   UTILIDADES
   ============================================= */
.text-center {
    text-align: center;
}

.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-1 { margin-bottom: 1rem; }

/* =============================================
   ANIMACIONES
   ============================================= */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.movie-card {
    animation: fadeIn 0.5s ease-out;
}

/* =============================================
   CALENDAR STYLES (Página de Agenda)
   ============================================= */
.agenda-page {
    min-height: auto;
    padding: 2rem 1rem;
}

.calendar-container {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    margin-top: 2rem;
    max-width: 600px;
}

.calendar-nav-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
}

.calendar-main-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-width: 100%;
    margin-top: 2rem;
}

.calendar-month-movies {
    flex: 1;
    min-width: 300px;
    display: grid;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.calendar-movie-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 1rem;
    transition: var(--transition);
    cursor: pointer;
    flex: 0 1 calc(50% - 0.75rem);
    min-width: 250px;
}

.calendar-movie-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.calendar-movie-card.highlight {
    border: 3px solid var(--primary-color);
}

.calendar-movie-card-poster {
    width: 20%;
    height: auto;
    align-self: stretch;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.calendar-movie-card-info {
    flex: 1;
}

.calendar-movie-card-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.calendar-movie-card-meta {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.8rem;
}

.calendar-movie-card-meta p {
    margin: 0.2rem 0;
}

.calendar-movie-card-plot {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.calendar-close-movie-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.calendar-close-movie-btn:hover {
    background: #ff0088;
    transform: scale(1.1);
}

.calendar-movie-poster {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.calendar-movie-info {
    padding-top: 2rem;
}

.calendar-movie-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.calendar-movie-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.calendar-movie-meta p {
    margin: 0;
}

.calendar-movie-meta strong {
    color: var(--primary-color);
}

.calendar-movie-plot {
    margin-bottom: 1.5rem;
}

.calendar-movie-plot h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.calendar-movie-plot p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.calendar-movie-screening {
    background: rgba(255, 20, 147, 0.1);
    padding: 1rem;
    border-radius: 5px;
}

.calendar-movie-screening h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.calendar-movie-screening p {
    margin: 0;
    font-size: 0.95rem;
}

.calendar-nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0rem rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
    min-width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav-btn:hover {
    background: #ff0088;
    transform: scale(1.05);
}

.calendar-month-display {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    display: none;
    flex: 1;
}

.month-calendar {
    background: var(--item-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    overflow: hidden;
}

.month-header {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.days-header span {
    padding: 0.5rem 0;
}

.days-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.day {
    position: relative;
    aspect-ratio: 1;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.day.empty {
    background: transparent;
    border: none;
}

.day.no-movies {
    background: #f9f9f9;
    color: var(--text-gray);
    cursor: default;
}

.day.has-movies {
    background: rgba(255, 20, 147, 0.15);
    border-color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
}

.day.has-movies:hover {
    background: rgba(255, 20, 147, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 20, 147, 0.3);
}

.day-number {
    font-weight: 600;
    color: var(--text-dark);
}

.day.has-movies .day-number {
    color: var(--primary-color);
}

.movie-dot {
    display: none;
}

.movie-list-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
    min-width: 200px;
    white-space: normal;
    box-shadow: var(--shadow-lg);
}

.day.has-movies:hover .movie-list-tooltip {
    opacity: 1;
}

.movie-item {
    font-size: 0.8rem;
    padding: 0.3rem 0;
    color: var(--text-dark);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

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

.movie-item strong {
    color: var(--primary-color);
    display: block;
}

@media (max-width: 768px) {
    .calendar-main-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .calendar-container {
        max-width: 100%;
    }

    .calendar-month-display {
        font-size: 1rem;
    }

    .month-calendar {
        padding: 1rem;
    }

    .day {
        font-size: 0.8rem;
        padding: 0.3rem;
    }

    .movie-list-tooltip {
        min-width: 150px;
    }

    .calendar-month-movies {
        flex-direction: column;
        gap: 1rem;
    }

    .calendar-movie-card {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem;
        flex: 1 1 auto;
        min-width: auto;
    }

    .calendar-movie-card-poster {
        width: 100px;
        height: 150px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .calendar-movie-card-info h4 {
        font-size: 0.95rem;
    }

    .calendar-movie-card-meta {
        font-size: 0.75rem;
    }

    .calendar-movie-card-plot {
        font-size: 0.75rem;
    }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    .header,
    .view-controls,
    .modal,
    .footer {
        display: none;
    }
}

/* Películas pasadas */

.calendar-movie-card.past-movie {
    background-color: #b0b0b0;
    filter: grayscale(60%);
    opacity: 0.75;
}

.movie-list-item.past-movie {
    background-color: #c8c8c8;
    filter: grayscale(50%);
    opacity: 0.75;
}

.past-movies-toggle {
    display: block;
    width: 100%;
    margin: 1.5rem 0 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 2px dashed #888;
    border-radius: 8px;
    color: #888;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.past-movies-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.past-movies-section.hidden {
    display: none;
}