/* Import Google Fonts for Outfit (modern sans-serif) and Noto Sans SC (beautiful Chinese typography) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #00FF41;
    --primary-glow: rgba(0, 255, 65, 0.35);
    --primary-hover: #00D4AA;
    --bg-dark: #070708;
    --card-bg: rgba(20, 20, 22, 0.65);
    --border-color: rgba(0, 255, 65, 0.15);
    --font-sans: 'Outfit', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: radial-gradient(circle at 50% 50%, #12161a 0%, var(--bg-dark) 100%);
    color: #ffffff;
    font-family: var(--font-sans);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Grid Background */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 65, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.floating-element {
    position: absolute;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.15) 0%, transparent 80%);
    border: 1px solid rgba(0, 255, 65, 0.1);
    border-radius: 50%;
    animation: float 18s infinite linear;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translateY(105vh) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

/* Glow Text */
.glow-text {
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 0 0 15px rgba(0, 255, 65, 0.3), 0 0 30px rgba(0, 255, 65, 0.1);
    }
    50% {
        text-shadow: 0 0 25px rgba(0, 255, 65, 0.6), 0 0 45px rgba(0, 255, 65, 0.3);
    }
}

/* Glassmorphism Hero Panel */
.hero-gradient {
    background: linear-gradient(135deg, 
        rgba(20, 25, 30, 0.7) 0%, 
        rgba(10, 15, 20, 0.8) 100%);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.hero-gradient:hover {
    border-color: rgba(0, 255, 65, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 255, 65, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Buttons with Premium Interactions */
button {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    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.15), transparent);
    transition: all 0.6s;
}

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

.btn-glow-green:hover {
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.4);
    transform: translateY(-2px) scale(1.02);
}

.btn-glow-red:hover {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px) scale(1.02);
}

.btn-glow-blue:hover {
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px) scale(1.02);
}

.btn-glow-orange:hover {
    box-shadow: 0 0 25px rgba(234, 88, 12, 0.4);
    transform: translateY(-2px) scale(1.02);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d0d0e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-hover));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-hover), var(--primary));
}

/* Glassmorphism Modals */
.modal-glass {
    background: rgba(15, 17, 20, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-glass-dark {
    background: rgba(10, 11, 14, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 255, 65, 0.05);
}

/* Form Styling */
.form-field {
    margin-bottom: 1.25rem;
}

.form-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #a1a1aa;
    margin-bottom: 0.5rem;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff !important;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.form-field input::placeholder {
    color: #52525b;
}

.form-field select option {
    background-color: #18181b;
    color: #ffffff;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.15);
}

/* Mouse Follow Effect */
.mouse-follower {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .hero-gradient {
        display: none;
    }
}
