/* POPUPS */

/* Next Show Popup */
.next-show-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15000;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(139, 0, 0, 0.8));
    border: 2px solid #ff3366;
    border-radius: 15px;
    padding: 20px 30px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 51, 102, 0.5), 0 0 60px rgba(255, 51, 102, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.next-show-popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content .popup-date {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    font-weight: 700;
    color: #ff3366;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.8);
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.popup-content .popup-time {
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    letter-spacing: 3px;
}

.popup-content .popup-venue {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #e0e0e0;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.popup-content .popup-address {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #b0b0b0;
    margin-bottom: 8px;
}

.popup-content .popup-lineup {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #a0a0a0;
    margin-bottom: 10px;
    font-style: italic;
}

.popup-content .popup-link {
    margin-top: 10px;
}

.popup-content .popup-link a:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 51, 102, 0.8);
}

/* Festival Popup */
.festival-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.festival-popup.active {
    display: flex;
}

.festival-popup-content {
    position: relative;
    max-width: 35%;
    max-height: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popupFadeIn 0.3s ease-out;
}

.festival-popup-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    border-radius: 12px;
    border: 2px solid #ff3366;
    box-shadow: 0 20px 60px rgba(255, 51, 102, 0.3);
}

.festival-popup-close {
    position: absolute;
    top: -70px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 51, 102, 0.3);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.festival-popup-close:hover {
    background: rgba(255, 51, 102, 0.8);
    color: white;
    border-color: #ff3366;
    transform: scale(1.1);
    opacity: 1;
}

/* Member Popup */
.member-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    z-index: 999;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.member-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.member-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    pointer-events: auto;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.member-popup.active .member-popup-content {
    opacity: 1;
}

.member-popup-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    border: 3px solid #ff3366;
    box-shadow: 0 15px 40px rgba(255, 51, 102, 0.4);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Credits Modal */
.credits-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 13000;
    padding: 20px;
}

.credits-modal.show {
    display: flex;
}

.credits-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(255, 51, 102, 0.3);
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(255, 51, 102, 0.2);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 51, 102, 0.3) transparent;
}

.credits-modal-content::-webkit-scrollbar {
    width: 6px;
}

.credits-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.credits-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, rgba(255, 51, 102, 0.4), rgba(255, 51, 102, 0.6));
    border-radius: 10px;
    transition: all 0.3s ease;
}

.credits-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, rgba(255, 51, 102, 0.6), rgba(255, 51, 102, 0.8));
}

.credits-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 51, 102, 0.1);
}

.credits-modal-header h3 {
    color: #ff3366;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    margin: 0;
    letter-spacing: 1px;
}

.credits-modal-close {
    background: rgba(255, 51, 102, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.credits-modal-close:hover {
    background: #ff3366;
    transform: scale(1.1);
}

.credits-modal-body {
    padding: 25px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

.credit-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 51, 102, 0.05);
}

.credit-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.credit-section h4 {
    color: #ff3366;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.credit-section p {
    margin: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.credit-section a {
    color: #ff3366;
    text-decoration: none;
    transition: color 0.3s ease;
}

.credit-section a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 51, 102, 0.8);
}

/* Newsletter Modal */
.newsletter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 12000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.newsletter-modal.show {
    display: flex;
    opacity: 1;
}

.newsletter-content {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(40, 40, 40, 0.95));
    border: 2px solid #ff3366;
    border-radius: 15px;
    padding: clamp(20px, 4vw, 40px);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(255, 51, 102, 0.3);
    animation: modalSlideIn 0.5s ease-out;
}

.newsletter-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 51, 102, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.newsletter-close:hover {
    background: #ff3366;
    transform: scale(1.1);
}

.newsletter-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: #ff3366;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
}

.newsletter-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 25px;
    font-weight: 300;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.7) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Next Show Notification */
.next-show-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 11000;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(139, 0, 0, 0.7));
    border: 1px solid #ff3366;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(255, 51, 102, 0.3);
    backdrop-filter: blur(8px);
    transform: translateX(110%);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    max-width: 220px;
    opacity: 0;
    visibility: hidden;
}

.next-show-notification.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.next-show-notification:hover {
    border-color: #fff;
    box-shadow: 0 6px 25px rgba(255, 51, 102, 0.5);
    transform: translateX(0) scale(1.02);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.notification-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: rgba(255, 51, 102, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.next-show-notification:hover .notification-close {
    opacity: 1;
}

.notification-close:hover {
    background: #ff3366;
    transform: scale(1.1);
}

.notification-icon {
    font-size: 20px;
    animation: rockIcon 2s ease-in-out infinite;
}

@keyframes rockIcon {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

.notification-text {
    line-height: 1.2;
}

.notification-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #ff3366;
    letter-spacing: 1px;
    margin-bottom: 1px;
}

.notification-date {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1px;
}

.notification-venue {
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #b0b0b0;
    text-transform: uppercase;
}

/* Mobile responsive */
@media (max-width: 768px) {
    /* Imágenes de festivales más grandes en móvil */
    .festival-popup-content {
        max-width: 85%;
        max-height: 70%;
    }
    
    /* Botón cerrar popups discreto también en móvil */
    .festival-popup-close {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 16px;
        background: rgba(0, 0, 0, 0.7);
        color: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(255, 51, 102, 0.4);
        opacity: 0.8;
        z-index: 1001;
    }
    
    .credits-modal-content {
        margin: 20px;
        max-height: 90vh;
    }
    
    .credits-modal-header {
        padding: 15px 20px;
    }
    
    .credits-modal-header h3 {
        font-size: 20px;
    }
    
    .credits-modal-body {
        padding: 20px;
    }
    
    .next-show-notification {
        top: 15px;
        right: 15px;
        max-width: 180px;
        padding: 10px 12px;
    }
    
    .notification-content {
        gap: 8px;
    }
    
    .notification-icon {
        font-size: 18px;
    }
    
    .notification-title {
        font-size: 10px;
    }
    
    .notification-date {
        font-size: 11px;
    }
    
    .notification-venue {
        font-size: 9px;
    }
}