:root {
    --bg-dark: #0A0E27;
    --bg-card: #1A1F3A;
    --primary: #00D9FF;
    --secondary: #39FF14;
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

#root {
    min-height: 100vh;
}

.gradient-text {
    background: linear-gradient(90deg, #00D9FF, #39FF14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, #00D9FF, #39FF14);
}

.glow-primary {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4), 0 0 40px rgba(0, 217, 255, 0.2);
}

.glow-secondary {
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4), 0 0 40px rgba(57, 255, 20, 0.2);
}

.glow-gradient {
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3), 0 0 60px rgba(57, 255, 20, 0.2);
}

.card-hover:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.card-hover:active {
    transform: scale(0.98);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.4), 0 0 40px rgba(57, 255, 20, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 217, 255, 0.6), 0 0 80px rgba(57, 255, 20, 0.4);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

.slide-in {
    animation: slideDown 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-out {
    animation: slideOut 0.3s ease-in forwards;
}

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

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes confetti {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-200px) rotate(720deg); opacity: 0; }
}

.confetti-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti 1s ease-out forwards;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.count-up {
    animation: countUp 0.5s ease-out;
}

.toggle-pill {
    width: 52px;
    height: 28px;
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-pill.off {
    background: #4A5568;
}

.toggle-pill.on {
    background: linear-gradient(135deg, #00D9FF, #39FF14);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

.toggle-knob {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 3px;
    transition: all 0.3s ease;
}

.toggle-pill.off .toggle-knob {
    left: 3px;
}

.toggle-pill.on .toggle-knob {
    left: 27px;
}

.swipe-hint {
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.neon-border {
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, #00D9FF, #39FF14) border-box;
}

.icon-crop {
    object-fit: none;
}

.touch-none {
    touch-action: none;
}

@media (max-width: 768px) {
    .mobile-full {
        width: 100%;
    }
}