:root {
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', monospace;
    --accent-glow: rgba(13, 110, 253, 0.25);
    --bg-grid-color: rgba(255, 255, 255, 0.05);
}

body {
    font-family: var(--font-sans);
    background-color: #0b0f17 !important;
    color: #f8f9fa;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Continuous Animated Background Grid */
.bg-grid {
    position: absolute;
    inset: 0;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, var(--bg-grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--bg-grid-color) 1px, transparent 1px);
    z-index: 0;
    pointer-events: none;
}

/* Dynamic Glow Orbs */
.glow-orb {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.glow-orb-1 {
    top: 10%;
    left: 15%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-orb-2 {
    bottom: 10%;
    right: 15%;
    background: radial-gradient(circle, rgba(111, 66, 193, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Glassmorphism Card Container */
.glass-card {
    /*background: rgba(18, 24, 38, 0.65);*/
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /*box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);*/
    border-radius: 1.5rem;
    position: relative;
    z-index: 1;
    will-change: transform, opacity;
}

.font-mono {
    font-family: var(--font-mono);
}

/* 404 Glitch & Gradient Typography */
.glitch-text {
    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #0d6efd 50%, #6f42c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
    position: relative;
    user-select: none;
    display: inline-block;
    will-change: transform;
}

/* WordPress Dynamic Search Form Override */
.wp-404-searchform {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50rem;
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.wp-404-searchform:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: #0d6efd;
    box-shadow: 0 0 25px rgba(13, 110, 253, 0.4);
}

.wp-404-searchform input[type="search"],
.wp-404-searchform input[type="text"] {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
}

.wp-404-searchform input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Quick Link Badges */
.quick-badge {
    background: rgba(218, 152, 54, 0.21);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(24, 22, 22, 0.7);
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    font-size: 0.85rem;
    display: inline-block;
    will-change: transform;
}

.btn-gsap {
    will-change: transform;
}