.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
}

.popup-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-right: 50px;
}

.character-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    margin-right: 25px;
    animation: character-float 4s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes character-float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    33% { 
        transform: translateY(-10px) rotate(5deg); 
    }
    66% { 
        transform: translateY(-5px) rotate(-5deg); 
    }
}

.popup-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary), #FF69B4, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-preview {
    width: 100%;
    height: 330px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-congratulations {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border-left: 5px solid var(--primary);
    border-right: 5px solid #8A2BE2;
}

.popup-congratulations h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 700;
}

.popup-congratulations p {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.popup-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.popup-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    min-width: 200px;
    justify-content: center;
}

.popup-btn-primary {
    background: linear-gradient(135deg, var(--primary), #FF69B4);
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.popup-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: 2px solid var(--primary);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.popup-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.6);
}


