/* ==================
   Base Styles & Variables
   ================== */
:root {
    --neon-blue: #00eaff;
    --neon-pink: #f0f;
    --neon-purple: #9f00ff; /* Adjusted purple */
    --dark-bg: #0a0a0f; /* Slightly darker */
    --light-bg: #1a1a2e; /* Dark blue/purple */
    --text-color: #e0e0e0;
    --header-height: 72px;
    --grid-color: rgba(0, 234, 255, 0.08); /* Fainter grid */
    --circuit-color: rgba(159, 0, 255, 0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Orbitron', sans-serif; /* More futuristic font */
    background-color: var(--dark-bg);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    position: relative; /* Needed for absolute positioned backgrounds */
}

/* Apply futuristic font to headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Audiowide', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

main {
    position: relative; /* Ensure content is above background layers */
    z-index: 2;
    padding-top: var(--header-height); /* Adjust for fixed header */
}

/* Custom Scrollbar (Optional but adds to theme) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

/* Link Styling */
a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--neon-blue);
}

/* ==================
   Background Layers Container
   ================== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind everything */
    overflow: hidden; /* Prevent background elements spilling */
    pointer-events: none; /* Allow clicks through */
}

/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Orbitron:wght@400;700&display=swap');

/* Cyberpunk Background */
.cyber-bg {
    position: relative;
    background: linear-gradient(45deg, #0a0a0f 0%, #1a1a2f 100%);
}

/* Grid Background Effect */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 1;
    animation: gridMove 20s linear infinite;
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue);
    animation: glitch 1s infinite;
}

/* Cyber Button */
.cyber-button {
    position: relative;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    transition: 0.3s;
    z-index: 1;
}

.cyber-button:hover {
    color: var(--dark-bg);
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-blue);
    transition: 0.5s;
    z-index: -1;
}

.cyber-button:hover::before {
    left: 0;
}

/* Header Styles */
.cyber-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cyber-logo {
    font-size: 2.5rem;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.logo-glitch::before,
.logo-glitch::after {
    content: 'VaultX';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.logo-glitch::before {
    color: var(--neon-pink);
    animation: glitch 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.logo-glitch::after {
    color: var(--neon-purple);
    animation: glitch 2s infinite reverse;
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
}

/* Navigation */
.cyber-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 50px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.cyber-text {
    font-size: 1.5rem;
    margin: 20px 0;
    opacity: 0.8;
}

/* Animations */
@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);
    }
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(30px);
    }
} 