
:root {
    --neon-cyan: #22d3ee;
    --neon-fuchsia: #d946ef;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
    * {
        cursor: none !important;
    }
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #050505;
}

#custom-cursor, #cursor-dot {
    display: none;
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
    #custom-cursor, #cursor-dot {
        display: block;
    }
}

#custom-cursor {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: background-color 0.3s ease;
    will-change: transform;
}

#cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--neon-cyan);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.05s ease-out;
}

.cursor-hover {
    background-color: var(--neon-fuchsia) !important;
}

h1, h2, h3, .neon-text {
    font-family: 'Orbitron', sans-serif;
}

.neon-text {
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.8),
                 0 0 20px rgba(34, 211, 238, 0.4),
                 0 0 30px rgba(34, 211, 238, 0.2);
}

.neon-text-fuchsia {
    text-shadow: 0 0 10px rgba(217, 70, 239, 0.8),
                 0 0 20px rgba(217, 70, 239, 0.4),
                 0 0 30px rgba(217, 70, 239, 0.2);
}

.neon-box-cyan {
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3),
                inset 0 0 15px rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.5);
}

.neon-box-fuchsia {
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.3),
                inset 0 0 15px rgba(217, 70, 239, 0.1);
    border-color: rgba(217, 70, 239, 0.5);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition-property: transform, border-color, box-shadow;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, border-color, box-shadow;
}

.glass-card:hover {
    border-color: rgba(34, 211, 238, 0.6);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(34, 211, 238, 0.3);
}

.glass-card-fuchsia:hover {
    border-color: rgba(217, 70, 239, 0.6);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(217, 70, 239, 0.3);
}

@media (max-width: 768px) {
    .glass-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    h1 {
        font-size: 4rem !important;
    }
    
    .text-7xl {
        font-size: 3.5rem !important;
    }
    
    .text-9xl {
        font-size: 4rem !important;
    }

    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    background-size: 200% auto;
    animation: gradient 4s linear infinite;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Section transitions */
section {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    filter: blur(10px);
    transition-property: opacity, transform, filter;
    transition-duration: 1.4s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

section.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Text reveal animation */
.reveal-text {
    overflow: hidden;
}

.reveal-text > * {
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

section.visible .reveal-text > * {
    transform: translateY(0);
}

.grid-background {
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    position: relative;
}

.grid-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}
/* Sentinel: Security fixes for CSP (removing inline styles) */
.z-skip-link {
    z-index: 10001;
}

.delay-2s {
    animation-delay: 2s;
}

.delay-4s {
    animation-delay: 4s;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    section {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    .reveal-text > * {
        transform: none !important;
        transition: none !important;
    }

    .glass-card:hover {
        transform: none !important;
    }

    body {
        scroll-behavior: auto !important;
    }
}
