/* 🌟✨ Angelic Enhancements - Ultimate Celestial Effects ✨🌟 */

/* Angelic Halo Effect */
.rarity-card-angelic .angelic-halo {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100px;
    background: radial-gradient(ellipse at center,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 215, 0, 0.2) 20%,
        rgba(0, 255, 255, 0.1) 40%,
        transparent 70%);
    filter: blur(20px);
    animation: halo-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

/* Celestial Stars */
.rarity-card-angelic::after {
    content: '⭐ ✨ 🌟 💫 ⚡ 🌈 🌟 ✨ ⭐';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    animation: star-constellation 8s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    pointer-events: none;
}

/* Angelic Aurora Effect */
.rarity-card-angelic .card-aurora {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 255, 255, 0.1) 20%,
        rgba(255, 0, 255, 0.1) 40%,
        rgba(255, 255, 0, 0.1) 60%,
        transparent 100%);
    opacity: 0;
    animation: aurora-wave 6s ease-in-out infinite;
    mix-blend-mode: screen;
}

/* Angelic Hover - Ascension Effect */
.rarity-card-angelic:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 
        0 30px 60px rgba(255, 255, 255, 0.4),
        0 0 120px rgba(255, 215, 0, 0.3),
        0 0 180px rgba(0, 255, 255, 0.2),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
}

.rarity-card-angelic:hover .angelic-halo {
    transform: translateX(-50%) scale(1.2);
    filter: blur(15px) brightness(1.5);
}

.rarity-card-angelic:hover .card-aurora {
    opacity: 0.7;
}

/* Angelic Pulse Rings */
.rarity-card-angelic .card-glow::before,
.rarity-card-angelic .card-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: divine-ring-pulse 3s ease-out infinite;
}

.rarity-card-angelic .card-glow::after {
    animation-delay: 1.5s;
}

/* Enhanced Angelic Badge */
.rarity-card-angelic .rarity-badge {
    background: linear-gradient(45deg,
        #ffffff, #ffd700, #00ffff, #ff00ff,
        #ffffff, #ffff00, #ff0080, #ffffff);
    background-size: 300% 300%;
    animation: divine-badge-flow 3s linear infinite;
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.8),
        0 0 60px rgba(255, 215, 0, 0.4);
}

/* Angelic Text Effects */
.rarity-card-angelic .package-name,
.rarity-card-angelic .token-amount {
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(0, 255, 255, 0.2);
}

/* Angelic Floating Emoji Particles */
.rarity-card-angelic .card-particles::before {
    content: '✨';
    font-size: 20px;
}

.rarity-card-angelic .card-particles::after {
    content: '🌟';
    font-size: 18px;
}

/* Additional Emoji Elements */
.rarity-card-angelic .floating-emoji-1,
.rarity-card-angelic .floating-emoji-2,
.rarity-card-angelic .floating-emoji-3 {
    position: absolute;
    font-size: 16px;
    animation: float-divine 6s ease-in-out infinite;
    pointer-events: none;
}

.rarity-card-angelic .floating-emoji-1 {
    content: '💫';
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.rarity-card-angelic .floating-emoji-2 {
    content: '⚡';
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.rarity-card-angelic .floating-emoji-3 {
    content: '🌈';
    bottom: 30%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes float-divine {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 1; }
}

/* Angelic Button - Celestial Power */
.btn-purchase.angelic {
    background: linear-gradient(135deg,
        #ffffff, #ffd700, #00ffff, #ff00ff);
    background-size: 300% 300%;
    animation: divine-button-gradient 4s ease infinite;
    border: 3px solid rgba(255, 255, 255, 0.8);
    color: #000;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-purchase.angelic:hover:not(:disabled) {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 
        0 15px 40px rgba(255, 255, 255, 0.5),
        0 0 80px rgba(255, 215, 0, 0.3),
        0 0 120px rgba(0, 255, 255, 0.2);
}

/* Angelic Effects Container */
.angelic-effects {
    position: absolute;
    inset: -20px;
    pointer-events: none;
}

.angelic-ring {
    position: absolute;
    inset: -10px;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #ffd700, #ffffff, #00ffff, #ff00ff) 1;
    border-radius: var(--radius-lg);
    animation: divine-ring-rotate 10s linear infinite;
}

.angelic-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 215, 0, 0.1) 30%, 
        rgba(0, 255, 255, 0.05) 60%, 
        transparent 100%);
    animation: divine-burst-pulse 3s ease-in-out infinite;
}

@keyframes divine-ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes divine-burst-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Exclusive Badge for Angelic */
.exclusive-badge.angelic {
    position: absolute;
    top: 60px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700, #ffffff);
    color: #000;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
    animation: exclusive-shine 2s ease-in-out infinite;
}

@keyframes exclusive-shine {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 6px 30px rgba(255, 215, 0, 0.8); }
}

/* Angelic sparkles for button */
.btn-angelic-sparkles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
}

.btn-angelic-sparkles::before,
.btn-angelic-sparkles::after {
    content: '✨';
    position: absolute;
    font-size: 20px;
    animation: sparkle-travel 3s linear infinite;
}

.btn-angelic-sparkles::before {
    top: 20%;
    left: -20px;
}

.btn-angelic-sparkles::after {
    bottom: 20%;
    left: -20px;
    animation-delay: 1.5s;
}

@keyframes sparkle-travel {
    to { transform: translateX(calc(100% + 40px)); }
}

/* Animations */
@keyframes halo-pulse {
    0%, 100% { 
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes star-constellation {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

@keyframes aurora-wave {
    0%, 100% { 
        opacity: 0;
        transform: translateY(0);
    }
    50% { 
        opacity: 0.5;
        transform: translateY(-20px);
    }
}

@keyframes divine-ring-pulse {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes divine-badge-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes divine-button-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}