@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;600;700&display=swap');

:root {
    --primary: #FFD700;
    --primary-glow: rgba(255, 215, 0, 0.5);
    --secondary: #FF5E5B;
    --accent: #36EACC;
    --bg-dark: #0c0c1a;
    --bg-darker: #060614;
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'JetBrains Mono', monospace;
}

body {
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    background-color: rgba(12, 12, 26, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
    letter-spacing: -1px;
}

a.logo, a.logo:hover {
    text-decoration: none;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
    font-weight: 400;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Special styling for participate link - override base and hover states */
.nav-links a[href="participate.html"] {
    color: var(--accent) !important;
}

.nav-links a[href="participate.html"]:hover {
    color: var(--accent) !important;
}

.nav-links a[href="participate.html"]::after {
    background-color: var(--accent) !important;
}

.nav-links a[href="participate.html"]:hover::after {
    background-color: var(--accent) !important;
}

/* Buttons */
.btn {
    background-color: var(--primary);
    color: var(--bg-darker);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

/* Sections */
.section {
    padding: 120px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

/* Responsive Design */
@media (max-width: 900px) {
    .section-title {
        font-size: 2.5rem;
    }
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    header {
        height: 60px;
    }
    .logo {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--bg-darker);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: all 0.3s ease;
        z-index: 1002;
        transform: translateX(-100%);
    }
    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }
    .nav-links a {
        font-size: 1.2rem;
    }
    .nav-links .btn {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
}

/* Hero section with higher z-index */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 20;
}

/* VITA heading with highest z-index */
.hero h1 {
    position: relative;
    z-index: 30;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Background elements should have lowest z-index */
.stars, .network-container, .pulse {
    z-index: 5;
}

/* Small device styles (iPhone SE, etc.) */
@media (max-width: 380px) {
    .hero {
        margin-top: 60px;
    }
    
    .hero h1 {
        margin-top: 80px;
    }
}

/* Extra safety for very small heights */
@media (max-height: 700px) {
    .hero {
        padding-top: 140px;
    }
} 