:root {
    /* Game-accurate Color Palette */
    --neon-blue: #00D9FF;
    --neon-orange: #FF6B35;
    --neon-turquoise: #40E0D0;
    --neon-amber: #FFBF00;
    --neon-violet: #8B5CF6;
    --bg-dark: #05050a;
    --bg-panel: rgba(10, 10, 20, 0.9);
    --border-glow: rgba(0, 217, 255, 0.3);
    
    /* Fonts */
    --font-heading: 'Orbitron', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    --font-body: 'Electrolize', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: #e0e0e0;
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* scanlines effect */
body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 1000;
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

/* Animations */
@keyframes flicker {
    0% { opacity: 0.9; }
    5% { opacity: 0.85; }
    10% { opacity: 0.95; }
    15% { opacity: 0.8; }
    20% { opacity: 0.9; }
    100% { opacity: 1; }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.glitch {
    animation: glitch 1s infinite linear alternate-reverse;
}

/* Layout */
header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    border-bottom: 1px solid var(--neon-blue);
    background: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 10px var(--neon-blue);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--neon-blue);
}

/* Hero Section */
.hero {
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    position: relative;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 15px;
    position: relative;
}

.hero h1 span {
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue);
}

.hero p {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    max-width: 800px;
    color: var(--neon-turquoise);
    margin-bottom: 40px;
}

.btn {
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 217, 255, 0.2);
    transition: left 0.3s;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    box-shadow: 0 0 20px var(--neon-blue);
    background: var(--neon-blue);
    color: #000;
}

/* Features */
.features {
    padding: 100px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--bg-panel);
    border: 1px solid rgba(0, 217, 255, 0.2);
    padding: 40px;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
}

.card::after {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--neon-blue);
    border-left: 2px solid var(--neon-blue);
}

.card h3 {
    font-family: var(--font-heading);
    color: var(--neon-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #ccc;
}

/* Status Bar */
.status-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 30px;
    background: rgba(0, 217, 255, 0.1);
    border-top: 1px solid var(--neon-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-blue);
    z-index: 100;
}

/* Utility */
.highlight {
    color: var(--neon-orange) !important;
}
