/* Aviator Premium UI Design System */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    --primary: #ff1f4b; /* Neon Red */
    --primary-glow: rgba(255, 31, 75, 0.4);
    --secondary: #00f2ff; /* Electric Blue */
    --secondary-glow: rgba(0, 242, 255, 0.4);
    --accent: #bc13fe; /* Purple Glow */
    --dark: #050505;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

@layer components {
    .neon-text {
        text-shadow: 0 0 10px var(--primary-glow), 0 0 20px var(--primary-glow);
    }
    
    .neon-border {
        box-shadow: 0 0 15px var(--primary-glow);
        border: 1px solid var(--primary);
    }

    .glass-v2 {
        background: rgba(255, 255, 255, 0.02);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
    }

    .animated-gradient {
        background: linear-gradient(-45deg, #ff1f4b, #bc13fe, #00f2ff, #ff1f4b);
        background-size: 400% 400%;
        animation: gradient 15s ease infinite;
    }

    @keyframes gradient {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

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

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

    /* Ripple Effect */
    .ripple {
        position: relative;
        overflow: hidden;
    }
    .ripple::after {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
        background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
        background-repeat: no-repeat;
        background-position: 50%;
        transform: scale(10, 10);
        opacity: 0;
        transition: transform .5s, opacity 1s;
    }
    .ripple:active::after {
        transform: scale(0, 0);
        opacity: .3;
        transition: 0s;
    }
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 31, 75, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

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

body {
    background: radial-gradient(circle at top right, #1e1b4b, #09090b 70%);
    font-family: 'Outfit', sans-serif;
    color: #f4f4f5;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, .font-display {
    font-family: 'Space Grotesk', sans-serif;
}

/* Glassmorphism Classes */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-glow);
    transform: translateY(-2px);
}

/* Animations */
@keyframes glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

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

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

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

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Neon Buttons */
.btn-neon {
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    background: linear-gradient(135deg, #e11d48, #9f1239);
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.4);
}

.btn-neon:hover {
    box-shadow: 0 0 25px rgba(225, 29, 72, 0.7);
    transform: scale(1.05);
}

/* Aviator Plane Specific */
.plane-container {
    filter: drop-shadow(0 0 10px var(--primary-glow));
}
