/* Shared CSS Variables and Common Styles */
:root {
    --bg-primary: #111;
    --bg-secondary: rgba(0, 0, 3, 0.2);
    --bg-card: rgba(0, 0, 0, 0.3);
    --bg-dark: rgba(0, 0, 0, 0.4);
    --accent: #cc4b2e;
    --text-primary: #fff;
    --text-secondary: #ddd;
    --text-muted: #aaa;
    --border: #333;
    --nav-bg: rgba(17, 17, 17, 0.9);
    --accent-alpha: rgba(204, 75, 46, 0.1);
    --accent-shadow: rgba(204, 75, 46, 0.3);
}

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-primary);
    min-height: 100vh;
    font: 1rem/1.6 system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
}

/* Common Navigation Styles */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    margin-bottom: 10px;
    margin-top: 10px;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: var(--accent-alpha);
}

.nav-link.active {
    background-color: var(--accent);
    color: var(--text-primary);
}

/* Common Typography */
h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #ccc;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

.highlight a {
    color: var(--accent);
}

/* Common Responsive Breakpoints */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .nav-container {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}
