/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Exo+2:wght@300;400;600;700&display=swap');

:root {
    --neon-purple: #b026ff;
    --neon-blue: #00b3ff;
    --dark-bg: #0f0f1a;
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--dark-bg);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

.orbitron {
    font-family: 'Orbitron', sans-serif;
}

/* Neon Text Effects */
.neon-purple {
    text-shadow: 0 0 5px #bf00ff, 0 0 10px #bf00ff, 0 0 15px #bf00ff;
    animation: pulsateNeon 2s infinite alternate;
}

.neon-blue {
    text-shadow: 0 0 5px #00b3ff, 0 0 10px #00b3ff, 0 0 15px #00b3ff;
    animation: pulsateNeon 2s infinite alternate;
}

@keyframes pulsateNeon {
    0% {
        text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor;
    }
    100% {
        text-shadow: 0 0 7px currentColor, 0 0 15px currentColor, 0 0 20px currentColor, 0 0 25px currentColor;
    }
}

/* Button Effects */
.btn-neon {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-neon:hover {
    box-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple);
    transform: translateY(-2px);
    border-color: var(--neon-purple);
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue), var(--neon-purple), var(--neon-blue));
    background-size: 400%;
    z-index: -1;
    animation: glowing 20s linear infinite;
    opacity: 0.6;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* Form Input Styles */
.form-input {
    background-color: rgba(30, 30, 50, 0.8);
    border: 1px solid rgba(176, 38, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--neon-purple);
    box-shadow: 0 0 0 2px rgba(176, 38, 255, 0.2);
    outline: none;
}

/* Background Effects */
.pixel-bg {
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    opacity: 0.15;
    filter: drop-shadow(0 0 5px currentColor);
    animation: float 15s infinite ease-in-out;
    color: #888;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-25px) rotate(8deg) scale(1.05); }
    50% { transform: translateY(0px) rotate(0deg) scale(1); }
    75% { transform: translateY(25px) rotate(-8deg) scale(0.95); }
}

/* Card Effects */
.gradient-border {
    position: relative;
    border-radius: 0.5rem;
    padding: 2px;
    background-clip: padding-box;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    border-radius: inherit;
    z-index: -1;
    margin: -2px;
    animation: borderPulse 2s infinite alternate;
}

@keyframes borderPulse {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Console Icon */
.console-icon {
    filter: drop-shadow(0 0 3px var(--neon-blue));
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 3px var(--neon-blue));
    }
    100% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 8px var(--neon-blue));
    }
}

/* Shake Animation */
.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* Form Field Animations */
.form-field {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.form-field:nth-child(1) { animation-delay: 0.1s; }
.form-field:nth-child(2) { animation-delay: 0.2s; }
.form-field:nth-child(3) { animation-delay: 0.3s; }
.form-field:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Message Animation */
.error-message {
    animation: shake 0.5s ease-in-out, fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Custom Checkbox */
input[type="checkbox"] {
    accent-color: var(--neon-purple);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(176, 38, 255, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(176, 38, 255, 0.7);
} 