/* Popup styles */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.welcome-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.welcome-popup {
    background: linear-gradient(145deg, #87CEEB, #1E90FF);
    border-radius: 20px;
    padding: 30px 20px;
    width: 92%;
    max-width: 500px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
    overflow: hidden;
}

.welcome-popup.show {
    transform: scale(1);
    opacity: 1;
}

.welcome-popup::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: inherit;
    filter: blur(20px);
    z-index: -1;
}

.welcome-popup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 20px 20px 0 0;
    z-index: -1;
}

.welcome-popup h2 {
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    letter-spacing: 1px;
}

.welcome-popup p {
    color: #fff;
    margin-bottom: 25px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.play-music-btn {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.play-music-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.play-music-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
}

.welcome-popup-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.popup-decoration {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.popup-decoration:nth-child(1) {
    width: 80px;
    height: 80px;
    top: -20px;
    left: -20px;
}

.popup-decoration:nth-child(2) {
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: -20px;
}

.popup-decoration:nth-child(3) {
    width: 40px;
    height: 40px;
    bottom: -10px;
    left: 30%;
}

@media (max-width: 768px) {
    .welcome-popup {
        padding: 25px;
    }
    
    .welcome-popup h2 {
        font-size: 2rem;
    }
    
    .welcome-popup p {
        font-size: 1rem;
    }
    
    .play-music-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .welcome-popup {
        padding: 20px 15px;
        width: 95%;
    }
    
    .welcome-popup h2 {
        font-size: 1.7rem;
        margin-bottom: 0.8rem;
    }
    
    .welcome-popup p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .play-music-btn {
        padding: 8px 18px;
        font-size: 0.95rem;
    }
    
    .welcome-popup-decorations {
        height: 90px;
    }
    
    .popup-decoration {
        width: 25px;
        height: 25px;
    }
}
