@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.glow-purple {
    animation: glowPurple 2s ease-in-out infinite;
}

.glow-orange {
    animation: glowOrange 1s ease-in-out infinite;
}

.glow-red {
    animation: glowRed 0.5s ease-in-out infinite;
}

@keyframes glowPurple {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(147, 51, 234, 0.8)); }
}

@keyframes glowOrange {
    0%, 100% { filter: drop-shadow(0 0 15px rgba(249, 115, 22, 0.6)); }
    50% { filter: drop-shadow(0 0 30px rgba(249, 115, 22, 0.9)); }
}

@keyframes glowRed {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.7)); }
    50% { filter: drop-shadow(0 0 40px rgba(239, 68, 68, 1)); }
}

.glitch {
    position: relative;
}

.glitch:hover {
    animation: glitch 0.3s ease;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 20s infinite;
}

.particles::before {
    top: 20%;
    left: 20%;
    animation-delay: -5s;
}

.particles::after {
    top: 60%;
    left: 80%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    50% {
        transform: translate(100px, 100px);
    }
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

button {
    cursor: pointer;
    user-select: none;
}

button:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .text-7xl {
        font-size: 3rem;
    }
    .text-9xl {
        font-size: 4rem;
    }
}

/* Smooth transitions for all interactive elements */
* {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}