/* Custom styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.noise-texture {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 4px 4px, 6px 6px;
    background-position: 0 0, 3px 3px;
}

.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Enhanced focus states */
input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.1);
}

/* Button hover effects */
button {
    position: relative;
    overflow: hidden;
}

button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

button:hover:before {
    left: 100%;
}

/* Card type indicators */
.card-visa::after {
    content: 'VISA';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #1a73e8;
    font-weight: bold;
}

/* Smooth transitions */
* {
    transition: all 0.2s ease-in-out;
}

/* Loading spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success confetti effect */
@keyframes confetti {
    0% { transform: translateY(-100vh) rotate(0deg); }
    100% { transform: translateY(100vh) rotate(720deg); }
}

/* Dark mode scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Form field animations */
.form-field {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-field:focus-within {
    transform: translateY(-2px);
}

/* Glow effect for neon button */
.neon-glow {
    box-shadow: 
        0 0 20px rgba(204, 255, 0, 0.3),
        0 0 40px rgba(204, 255, 0, 0.1),
        inset 0 0 20px rgba(204, 255, 0, 0.1);
}

/* Pulse animation for errors */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Backdrop blur support */
@supports (backdrop-filter: blur(10px)) {
    .backdrop-blur-sm {
        backdrop-filter: blur(10px);
    }
}