/* Tailwind directives removed (using CDN) */

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

/* Success Animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    border-radius: 50%;
    border: 4px solid #14B8A6;
    /* Mint-500 */
    animation: scaleIn 0.5s ease-in-out;
}

.success-checkmark::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 20px;
    border-left: 4px solid #14B8A6;
    /* Mint-500 */
    border-bottom: 4px solid #14B8A6;
    /* Mint-500 */
    top: 45%;
    left: 25%;
    transform: rotate(-45deg) scale(0);
    animation: checkIn 0.5s 0.2s forwards ease-in-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkIn {
    0% {
        transform: rotate(-45deg) scale(0);
    }

    100% {
        transform: rotate(-45deg) scale(1);
    }
}

/* Modal Overlay */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.05);
    /* Lighter/Premium */
    backdrop-filter: blur(16px);
    /* Stronger Blur */
}

/* --- ULTIMATE UI ADDITIONS --- */

/* 1. Aurora Background Animation */
@keyframes aurora {
    0% {
        background-position: 50% 50%, 50% 50%;
    }

    50% {
        background-position: 100% 0%, 0% 100%;
    }

    100% {
        background-position: 50% 50%, 50% 50%;
    }
}

.bg-aurora {
    background-color: #f8fafc;
    /* Slate-50 */
    background-image:
        radial-gradient(at 0% 0%, hsla(168, 76%, 85%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(186, 100%, 89%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(271, 70%, 93%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(162, 70%, 86%, 1) 0, transparent 50%),
        radial-gradient(at 0% 100%, hsla(260, 68%, 93%, 1) 0, transparent 50%);
    background-size: 200% 200%;
    animation: aurora 15s ease infinite alternate;
}

/* 2. Noise Texture (Premium Feel) */
.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 3. Glass Card Ultimate */
.glass-ultimate {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

/* 4. Custom Scrollbar (Premium) */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

/* 5. Orbit Animation */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

.orbit-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 2px dashed rgba(20, 184, 166, 0.3);
    /* Mint-500/30 */
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.orbit-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14B8A6;
    /* Mint-500 */
}

/* Position icons on the circle (approximate) */
.orbit-icon:nth-child(1) {
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
}

/* Top */
.orbit-icon:nth-child(2) {
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
}

/* Bottom */
.orbit-icon:nth-child(3) {
    left: -24px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
}

/* Left */
.orbit-icon:nth-child(4) {
    right: -24px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
}

/* Right */

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(204, 251, 241, 1);
    /* Mint-100 */
    border-radius: 20px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(153, 246, 228, 1);
    /* Mint-200 */
}