/* ============================================================
   Shared styles — Jinxter Labs
   ============================================================ */

:root {
    --bg-color: #0a0f05;
    --surface-color: #111a0a;
    --primary-color: #3a9e2f;
    --primary-hover: #2d7d24;
    --text-main: #e8f5e2;
    --text-muted: #7aaa6a;
    --nav-height: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
header {
    background: linear-gradient(to bottom, #1e5c12 0%, #4ab83a 20%, #4ab83a 80%, #1e5c12 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #1e4a14;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

/* Base button */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.2s;
}

/* Main content area */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #1e4a14;
    color: var(--text-muted);
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
}
