/* style.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

.glass-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

/* Perspective for 3D flip */
.perspective {
    perspective: 1000px;
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.rotate-y-180 {
    transform: rotateY(180deg);
}

.gold-text-gradient {
    background: linear-gradient(to right, #FBBF24, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

/* Toast animation */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.toast-enter {
    animation: slideInUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast-leave {
    animation: fadeOut 0.5s ease forwards;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Custom Scrollbar for Modal */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(20, 20, 20, 0.5);
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.5);
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 158, 11, 0.8);
}

/* Floating Particles for Cards */
.card-particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    bottom: -10px;
    background: #F59E0B;
    border-radius: 50%;
    box-shadow: 0 0 10px #F59E0B, 0 0 20px #F59E0B;
    opacity: 0;
    animation: floatUp 3s infinite ease-in-out;
}

.particle:nth-child(1) { left: 15%; width: 4px; height: 4px; animation-duration: 4s; animation-delay: 0.5s; }
.particle:nth-child(2) { left: 45%; width: 6px; height: 6px; animation-duration: 3.5s; animation-delay: 1.2s; }
.particle:nth-child(3) { left: 75%; width: 3px; height: 3px; animation-duration: 5s; animation-delay: 0.1s; }
.particle:nth-child(4) { left: 85%; width: 5px; height: 5px; animation-duration: 4.2s; animation-delay: 2s; }

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-80px) scale(0);
        opacity: 0;
    }
}
