/* =========================================================
   GLOBAL BASE
   ========================================================= */
:root {
    color-scheme: dark;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #000000;
    color: #f5f5f5;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Shared layout for main content wrapper */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

/* =========================================================
   GLOBAL HEADER / NAV (same everywhere)
   ========================================================= */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 9, 0.95);
    backdrop-filter: blur(10px);
}

.nav-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.03em;
}

.logo a span {
    color: #ff1744;
}

.nav-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    opacity: 1;
    transform: translateY(-1px);
}

.btn-small {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #ff1744;
    color: #fff;
    white-space: nowrap;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-small:hover,
.btn-small:focus {
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .nav-wrap {
        padding-inline: 16px;
        gap: 12px;
    }

    .nav-links {
        gap: 12px;
        font-size: 13px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .btn-small {
        display: none;
    }
}

/* =========================================================
   GLOBAL FOOTER
   ========================================================= */
.site-footer {
    border-top: 1px solid #262636;
    margin-top: 24px;
    padding: 14px 20px 20px;
    font-size: 12px;
    color: #888;
    background: #050509;
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}