:root {
    --bg-main: #050507;
    --bg-secondary: #0b0b14;
    --accent: #00f3ff;    
    --accent-glow: rgba(0, 243, 255, 0.4);
    --secondary: #7000ff;   
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
    
    --glass: rgba(15, 15, 25, 0.7);
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

#neural-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; background: var(--bg-main);
}
.overlay-vignette {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #000 90%);
    pointer-events: none; z-index: -1;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn {
    padding: 14px 30px; font-family: var(--font-head); font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; text-decoration: none;
    border-radius: 2px; transition: 0.3s; position: relative; overflow: hidden;
    display: inline-block;
}

.btn-primary {
    background: transparent; color: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: 0 0 15px rgba(0,243,255,0.1);
}
.btn-primary:hover {
    background: var(--accent); color: #000;
    box-shadow: 0 0 40px var(--accent-glow);
}

.btn-glass {
    background: rgba(255,255,255,0.05); color: white;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}
.btn-glass:hover { background: rgba(255,255,255,0.15); border-color: white; }

.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: var(--border-glass);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

header {
    position: fixed; width: 100%; top: 0; z-index: 1000;
    padding: 20px 0; transition: 0.4s;
}
header.scrolled {
    background: rgba(5, 5, 7, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 10px 0;
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; letter-spacing: 1px; }
.highlight { color: var(--accent); }

.nav-links { display: flex; list-style: none; gap: 40px; align-items: center; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-weight: 600;
    font-family: var(--font-head); text-transform: uppercase; font-size: 0.9rem;
    transition: 0.3s;
}
.nav-links a:hover { color: var(--text-main); text-shadow: 0 0 8px var(--accent); }

.btn-discord {
    background: #5865F2; padding: 8px 20px !important; color: white !important;
    border-radius: 4px; font-size: 0.8rem !important;
}

/* --- HERO --- */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding-top: 60px;
}
.status-badge {
    color: var(--accent); border: 1px solid rgba(0,243,255,0.3);
    display: inline-block; padding: 5px 12px; font-size: 0.8rem;
    border-radius: 20px; margin-bottom: 20px; font-weight: 600; letter-spacing: 1px;
}
.glitch-title {
    font-size: clamp(3rem, 8vw, 6rem); font-family: var(--font-head);
    line-height: 0.9; margin-bottom: 25px; font-weight: 800;
    color: white; text-shadow: 2px 2px var(--secondary);
}
.hero-desc {
    max-width: 600px; margin: 0 auto 40px; color: var(--text-muted); font-size: 1.1rem;
}
.cta-group { display: flex; gap: 20px; justify-content: center; }

/* --- PROJECTS --- */
.section-pad { padding: 100px 0; }
.section-header { margin-bottom: 60px; }
.section-title { font-family: var(--font-head); font-size: 2.5rem; display: flex; align-items: center; gap: 15px; }
.line { height: 2px; width: 100px; background: var(--accent); display: block; }

.grid-projects {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px;
}
.project-card {
    background: var(--glass); border: var(--border-glass);
    border-radius: 8px; overflow: hidden; transition: 0.4s;
    position: relative;
}
.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.1);
}
.card-thumb { height: 220px; position: relative; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.project-card:hover img { transform: scale(1.1); }
.card-body { padding: 25px; }
.card-body h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 10px; }
.stats-row { display: flex; gap: 15px; margin: 15px 0; color: var(--text-muted); font-size: 0.9rem; }
.btn-play {
    display: block; width: 100%; padding: 12px; text-align: center;
    background: rgba(255,255,255,0.05); color: white; text-decoration: none;
    font-weight: 700; font-family: var(--font-head); transition: 0.3s;
}
.btn-play:hover { background: var(--secondary); }

.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.features { list-style: none; margin-top: 30px; }
.features li { margin-bottom: 15px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.features i { color: var(--accent); }

.form-box { padding: 40px; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; color: var(--text-muted); margin-bottom: 8px; font-size: 0.9rem; }
.input-group input, .input-group textarea {
    width: 100%; padding: 12px; background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1); color: white; font-family: var(--font-body);
    outline: none; transition: 0.3s; border-radius: 4px;
}
.input-group input:focus, .input-group textarea:focus {
    border-color: var(--accent); background: rgba(0,0,0,0.5);
}
.btn-submit {
    width: 100%; background: var(--text-main); color: black; border: none; cursor: pointer;
}
.btn-submit:hover { background: var(--accent); }

footer { padding: 40px 0; border-top: 1px solid #111; margin-top: 50px; background: #020202; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.socials a { color: var(--text-muted); margin-left: 20px; font-size: 1.2rem; transition: 0.3s; }
.socials a:hover { color: var(--accent); }

@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
        background: #000; flex-direction: column; justify-content: center;
        border-left: 1px solid #222; transition: 0.4s; z-index: 999;
    }
    .nav-links.active { right: 0; }
    .contact-wrapper { grid-template-columns: 1fr; }
    
    .menu-toggle { display: block; cursor: pointer; z-index: 1000; }
    .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background: white; }
}

.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }