:root {
    --bg-dark: #050508;
    --bg-panel: #0a0a10;
    --primary: #ffffff;
    --secondary: #9ea7b8;
    --accent-lol: #c8aa6e;
    --accent-fivem: #ff5e00;
    --accent-eafc: #00ff88;
    --text-main: #ffffff;
    --text-muted: #8a8a9e;
    --font-cyber: 'Teko', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 0 10px var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 255, 204, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, border-color 0.2s;
}

/* Background Effects */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    z-index: 9990;
    pointer-events: none;
    opacity: 0.6;
}

.cyber-grid {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 255, 204, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 204, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 0 40px; }
}

/* Typography & Headers */
.cyber-heading {
    font-family: var(--font-cyber);
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

.cyber-heading span {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.6);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.heading-line {
    height: 2px;
    width: 150px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 10px auto 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px; 
    width: 80%;
    left: 10%;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 15, 20, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 0 15px rgba(255,255,255,0.05);
    transition: all 0.4s ease;
}

.navbar:hover {
    background: rgba(15, 15, 20, 0.85);
    border-color: rgba(255, 51, 51, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 20px rgba(255,51,51,0.2);
}

.logo {
    font-family: var(--font-cyber);
    font-size: 2.2rem;
    color: var(--text-main);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    position: relative;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.nav-links a i {
    font-size: 1.1rem;
    transition: 0.3s;
}

.nav-links a:hover i {
    color: #ff3333;
    text-shadow: 0 0 15px #ff3333;
}

/* Call to Action Navbar Button */
.nav-links .nav-cta {
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.5);
    padding: 8px 20px;
    border-radius: 30px;
    color: #fff;
    box-shadow: inset 0 0 10px rgba(255, 51, 51, 0.1);
}

.nav-links .nav-cta:hover {
    background: #ff3333;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.6);
    border-color: #ff3333;
    transform: translateY(0);
}

.nav-links .nav-cta:hover i {
    color: #fff;
    text-shadow: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background Video Styling */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(10,10,15,0.4) 0%, rgba(10,10,15,0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hud-box {
    position: relative;
    padding: 3rem 5rem;
    text-align: center;
    background: radial-gradient(circle, rgba(0,255,204,0.05) 0%, transparent 70%);
}

.hud-corner {
    position: absolute;
    width: 30px; height: 30px;
    border-color: var(--primary);
    border-style: solid;
}
.top-left { top: 0; left: 0; border-width: 2px 0 0 2px; }
.top-right { top: 0; right: 0; border-width: 2px 2px 0 0; }
.bottom-left { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.bottom-right { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.glitch-title {
    font-family: var(--font-cyber);
    font-size: 8rem;
    line-height: 1;
    margin-bottom: 10px;
    position: relative;
    text-shadow: 0 0 20px var(--primary);
}

.cyber-subtitle {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-muted);
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.status-bar {
    font-family: var(--font-cyber);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.status-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--primary);
}
.blink { animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.cyber-btn {
    position: relative;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: 0.3s;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 10px; height: 100%;
    background: var(--primary);
    transition: 0.3s;
}

.cyber-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 255, 204, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.2) inset;
}
.cyber-btn:hover::before { width: 100%; z-index: -1; }
.cyber-btn:hover .btn-text { color: #000; }

.cyber-btn.secondary::before { background: var(--secondary); }
.cyber-btn.secondary:hover { border-color: var(--secondary); background: rgba(255, 0, 85, 0.1); box-shadow: 0 0 20px rgba(255, 0, 85, 0.2) inset; }

.scroll-prompt {
    position: absolute;
    bottom: 40px;
    text-align: center;
    font-family: var(--font-cyber);
    color: var(--text-muted);
}
.mouse {
    width: 24px; height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    margin: 0 auto 10px;
    position: relative;
}
.mouse::before {
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}
@keyframes scroll-wheel { 0% { top: 6px; opacity: 1; } 100% { top: 18px; opacity: 0; } }

/* Gaming Section */
.gaming-section {
    padding: 100px 5%;
    position: relative;
}

.gaming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.game-card {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    position: relative;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform-style: preserve-3d;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.game-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: var(--card-color);
    box-shadow: 0 0 10px var(--card-color);
}

.card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.05;
    z-index: 0;
    transition: 0.5s;
    background-size: cover;
    background-position: center;
}

.game-card:hover .card-bg { opacity: 0.15; transform: scale(1.05) translateZ(20px); }

.card-content-wrap {
    position: relative;
    z-index: 1;
    transform: translateZ(30px);
}

.card-icon {
    font-size: 3rem;
    color: var(--card-color);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--card-color);
}

.game-card h3 {
    font-family: var(--font-cyber);
    font-size: 2.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.stat-bars {
    margin-bottom: 20px;
}

.stat-item {
    margin-bottom: 12px;
}

.stat-info {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #e0e0e0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--card-color);
    width: 0;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
    box-shadow: 0 0 10px var(--card-color);
}

.meta-list {
    list-style: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.meta-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.meta-list span { color: var(--text-main); font-weight: 600; }

/* Dev Section */
.dev-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #08080c 100%);
}

.dev-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}

.terminal-box {
    background: #0d0d12;
    border: 1px solid #1a1a24;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 0 1px rgba(0, 255, 204, 0.1);
}

.terminal-header {
    background: #15151e;
    padding: 10px 20px;
    font-family: monospace;
    color: var(--text-muted);
    border-bottom: 1px solid #222230;
}

.terminal-body {
    padding: 25px;
    font-family: 'Courier New', Courier, monospace;
    color: #00ffcc;
    font-size: 1rem;
    line-height: 1.6;
}

.terminal-body .cmd { color: #fff; margin-bottom: 15px; }
.terminal-body .output { color: #888; margin-bottom: 15px; }
.terminal-body .success { color: #00ffcc; margin-top: 15px; font-weight: bold;}

.hacker-list {
    list-style: none;
    margin-left: 20px;
}

.hacker-list li {
    opacity: 0;
    transform: translateX(-10px);
}
.hacker-list.active li {
    animation: typing 0.3s forwards;
    animation-delay: calc(var(--i) * 0.2s);
}

@keyframes typing {
    to { opacity: 1; transform: translateX(0); }
}

.hacker-list span { color: #00ff00; }

.hologram-container {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.holo-car {
    position: relative;
    font-size: 8rem;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    filter: drop-shadow(0 0 15px var(--primary));
    animation: hover-float 4s ease-in-out infinite;
}

.holo-rings {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotateX(70deg);
}

.ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(0, 255, 204, 0.3);
    border-radius: 50%;
}
.r1 { width: 200px; height: 200px; animation: spin 10s linear infinite; border-top-color: var(--primary); }
.r2 { width: 250px; height: 250px; animation: spin 15s linear infinite reverse; border-right-color: var(--primary); }
.r3 { width: 300px; height: 300px; animation: spin 20s linear infinite; border-bottom-color: var(--primary); border-style: dashed; }

@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes hover-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.holo-stats {
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.h-stat {
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid rgba(0, 255, 204, 0.3);
    padding: 8px 15px;
    font-family: var(--font-cyber);
    color: var(--primary);
    font-size: 1.2rem;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* Contact Section */
.contact-section {
    padding: 100px 5% 0;
    text-align: center;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23050508"/><path d="M0 100 L100 0" stroke="rgba(0,255,204,0.05)" stroke-width="2"/></svg>');
    background-size: 50px 50px;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0 80px;
    flex-wrap: wrap;
}

.cyber-social {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    z-index: 10;
}

.cyber-social i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: 0.3s;
}

.cyber-social::before {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.cyber-social:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}
.cyber-social:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-bar {
    background: #030305;
    padding: 20px;
    border-top: 1px solid rgba(0, 255, 204, 0.2);
    font-family: var(--font-cyber);
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .dev-content { grid-template-columns: 1fr; }
    .glitch-title { font-size: 5rem; }
    .hud-box { padding: 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; /* Can implement mobile menu */ }
    .hero-buttons { flex-direction: column; }
    .glitch-title { font-size: 4rem; }
    .cursor-dot, .cursor-outline { display: none; }
    * { cursor: auto; }
}
