.album-check-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.album-check-modal.active {
    opacity: 1;
    visibility: visible;
}

.album-check-modal.closing .album-check-content {
    animation: bounceOut 0.5s ease forwards;
}

.album-check-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 39, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.album-check-modal.active .album-check-overlay {
    opacity: 1;
}

.album-check-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: #1e1e27;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1;
    overflow: visible;
}

.album-check-modal.active .album-check-content {
    transform: translateY(0);
    opacity: 1;
    animation: bounceIn 0.6s ease;
}

.album-check-content.success {
    background: linear-gradient(135deg, #ff3366, #ff8866);
    transition: all 0.4s ease;
    animation: pulse 2s infinite;
}

.album-check-content.spotify-mode {
    background: linear-gradient(135deg, #1DB954, #1ed760);
    transition: all 0.4s ease;
}

.success-message {
    text-align: center;
    animation: popIn 0.5s ease forwards;
    position: relative;
    z-index: 2;
}

.success-message h2 {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: colorChange 2s infinite alternate;
}

/* Spotify Message */
.spotify-message {
    text-align: center;
    animation: popIn 0.5s ease forwards;
    position: relative;
    z-index: 2;
}

.spotify-message h2 {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 30px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.spotify-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Emoji Fireworks */
.emoji-firework-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 1;
    pointer-events: none;
}

.emoji-firework {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    animation: ellipticalBurst 1.5s ease-out forwards;
    transform-origin: center;
}

@keyframes ellipticalBurst {
    0% {
        transform: translate(-50%, -50%);
        opacity: 0;
        scale: 0.5;
    }
    10% {
        opacity: 1;
        scale: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translate(calc(-50% + var(--end-x)), calc(-50% + var(--end-y)));
        opacity: 0;
        scale: 0.8;
    }
}

.album-check-header {
    text-align: center;
    margin-bottom: 30px;
}

.album-check-header h3 {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.album-check-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.album-check-button {
    position: relative;
    padding: 14px 30px;
    font-size: 16px;
    color: #fff;
    background: #1e1e27;
    border: 2px solid #ff3366;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    overflow: hidden;
}

.album-check-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.album-check-button:hover {
    background: #ff3366;
    transform: translateY(-2px);
}

.album-check-button:hover:before {
    left: 100%;
}

.album-check-button:active {
    transform: translateY(1px);
}

.album-check-response {
    text-align: center;
}

.response-yes, .response-no {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.response-yes.active, .response-no.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.album-check-response p {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 25px;
}

.response-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.spotify-cta-button {
    position: relative;
    display: inline-block;
    padding: 14px 30px;
    font-size: 16px;
    color: #fff;
    background: #1DB954; /* Spotify green */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    overflow: hidden;
}

.spotify-cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.spotify-cta-button:hover {
    background: #1ed760; /* Lighter Spotify green */
    transform: translateY(-2px);
}

.spotify-cta-button:hover:before {
    left: 100%;
}

.spotify-cta-button:active {
    transform: translateY(1px);
}

.album-check-close {
    position: relative;
    padding: 14px 30px;
    font-size: 16px;
    color: #fff;
    background: #ff3366;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    overflow: hidden;
}

.album-check-close:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.album-check-close:hover {
    background: #ff1a4f;
    transform: translateY(-2px);
}

.album-check-close:hover:before {
    left: 100%;
}

.album-check-close:active {
    transform: translateY(1px);
}

.album-check-close.secondary {
    background: transparent;
    border: 2px solid #fff;
}

.album-check-close.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Animation keyframes */
@keyframes bounceIn {
    0% {
        transform: scale(0.8) translateY(1000px);
        opacity: 0;
    }
    60% {
        transform: scale(1.05) translateY(-10px);
        opacity: 1;
    }
    80% {
        transform: scale(0.95) translateY(5px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

@keyframes bounceOut {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(0) translateY(500px);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 51, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes colorChange {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 51, 102, 0.6);
    }
}

@media (max-width: 768px) {
    .album-check-content {
        padding: 30px 20px;
    }
    
    .album-check-header h3 {
        font-size: 1.3rem;
    }
    
    .success-message h2 {
        font-size: 2rem;
    }
    
    .spotify-message h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .emoji-firework {
        font-size: 1.2rem;
    }
    
    .album-check-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .album-check-button, 
    .spotify-cta-button, 
    .album-check-close {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .album-check-content {
        padding: 25px 15px;
    }
    
    .album-check-header h3 {
        font-size: 1.1rem;
    }
    
    .success-message h2 {
        font-size: 1.8rem;
    }
    
    .spotify-message h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .emoji-firework {
        font-size: 1rem;
    }
    
    .album-check-response p {
        font-size: 1rem;
    }
    
    .album-check-button, 
    .spotify-cta-button, 
    .album-check-close {
        padding: 10px 20px;
        font-size: 13px;
    }
} 