/* Custom Animations */
.animate-fade-in-down {
    animation: fadeInDown 0.5s ease forwards;
}

/* Transition utilities */
.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.transform {
    transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-0 {
    --tw-scale-x: 0;
    --tw-scale-y: 0;
    transform: scale(0);
}

.scale-100 {
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    transform: scale(1);
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User Notifications Container */
#user-notifications {
    pointer-events: none;
    max-width: 300px;
}

/* Custom Gradient Text */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #a855f7, #ec4899);
}

/* Main CTA Button Glow Effect */
.main-cta-button {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    transition: all 0.3s ease;
}

.main-cta-button:hover {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.7);
}

/* Custom Background Elements */
.bg-dots-overlay {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Tailwind doesn't include this by default */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Fix for mobile safari */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
    .backdrop-blur-md, .backdrop-blur-sm {
        background-color: rgba(0, 0, 0, 0.8);
    }
}

/* Selection color */
::selection {
    background-color: rgba(168, 85, 247, 0.3);
    color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6366f1;
} 