:root {
    --bg-main: #0b141a;
    --bg-alt: #111c24;
    --bg-card: #18242f;
    --accent: #0062cd;
    --accent-soft: #293a44;
    --accent-header: #22333b;
    --text-main: #f7fdfd;
    --text-muted: #a3b4c2;
    --danger: #ff4b5c;
    --success: #39d98a;
    --border-soft: rgba(255,255,255,0.06);
    --shadow-soft: 0 18px 40px rgba(0,0,0,0.35);
    --radius-lg: 18px;
    --radius-pill: 999px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Rajdhani", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #16232f 0, #05080c 70%);
    color: var(--text-main);
    min-height: 100vh;
}

/* NAVBAR */

.site-header {
    background: linear-gradient(to bottom, var(--accent-header), transparent 70%);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: "Press Start 2P", system-ui;
    font-size: 14px;
    letter-spacing: 0.12em;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.nav-links a:hover {
    background: rgba(0,0,0,0.35);
    color: var(--text-main);
    transform: translateY(-1px);
}

/* HERO */

.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 30px;
    align-items: center;
}

.hero-content h1 {
    font-family: "Press Start 2P", system-ui;
    font-size: 26px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-tagline {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 480px;
}

.hero-ctas {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: var(--radius-pill);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.5);
}

.btn-secondary {
    background: var(--accent-soft);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: #324651;
    transform: translateY(-1px);
}

.btn.wide {
    width: 100%;
    justify-content: center;
}

/* HERO META */

.hero-meta {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-item {
    background: rgba(0,0,0,0.45);
    border-radius: 10px;
    padding: 8px 12px;
    border: 1px solid var(--border-soft);
    min-width: 110px;
}

.meta-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.meta-value {
    font-size: 14px;
    font-weight: 600;
}

/* STATUS PILL */

.status-pill {
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 12px;
}

.status-online {
    background: rgba(57,217,138,0.1);
    color: var(--success);
}

.status-offline {
    background: rgba(255,75,92,0.1);
    color: var(--danger);
}

.status-unknown {
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
}

/* HERO ART CARD */

.hero-art {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    background: radial-gradient(circle at top, #203343, #101820);
    border-radius: 22px;
    padding: 18px 20px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    max-width: 360px;
}

.hero-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-card-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-card-list li::before {
    content: "?";
    color: var(--accent);
    margin-right: 6px;
}

.hero-card-footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-pill {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--border-soft);
}

/* SECTIONS */

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.section h2 {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 540px;
    margin-top: 8px;
}

/* FEATURES */

.section-features {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), transparent);
}

.feature-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    border: 1px solid var(--border-soft);
}

.feature-card h3 {
    margin-top: 0;
    font-size: 16px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* DOWNLOAD SECTION */

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.version-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    background: rgba(0,0,0,0.4);
}

.download-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.download-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    border: 1px solid var(--border-soft);
}

.download-card h3 {
    margin-top: 0;
}

.download-card p {
    color: var(--text-muted);
    font-size: 14px;
}

.download-meta {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.changelog-link {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.changelog-link a {
    color: var(--accent);
    text-decoration: none;
    margin-left: 8px;
}

.changelog-link a:hover {
    text-decoration: underline;
}

/* FAQ */

.faq-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    border: 1px solid var(--border-soft);
}

.faq-item h3 {
    margin-top: 0;
    font-size: 15px;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* FOOTER */

.site-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #05080c;
    padding: 14px 20px 18px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.footer-logo {
    font-weight: 600;
}

.footer-meta {
    color: var(--text-muted);
    display: block;
}

.footer-links {
    display: flex;
    gap: 14px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
}

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

/* RESPONSIVE */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 20px;
    }

    .hero-art {
        justify-content: flex-start;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
