* {
    box-sizing: border-box;
}

:root {
    --bg: #080d12;
    --bg-soft: #0d141c;
    --panel: #111b25;
    --panel-2: #0c151d;
    --line: #20303e;
    --text: #edf5ff;
    --muted: #91a4b7;
    --cyan: #22c7ff;
    --cyan-soft: rgba(34, 199, 255, 0.12);
    --green: #69e68c;
    --amber: #ffbd45;
    --max: 1120px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

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

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(8, 13, 18, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #2b4658;
    background: linear-gradient(135deg, rgba(34,199,255,.20), transparent 60%), #111c26;
    color: var(--cyan);
    font-size: 21px;
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 22px;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a {
    color: #c6d3de;
}

.main-nav a:hover {
    color: var(--cyan);
}

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 78% 30%, rgba(34,199,255,.13), transparent 28%),
        linear-gradient(180deg, #091018 0%, #080d12 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(rgba(83,140,177,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(83,140,177,.16) 1px, transparent 1px);
    background-size: 44px 44px;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 92px 0 84px;
}

.kicker {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 10px 0 18px;
    font-size: clamp(52px, 8vw, 88px);
    line-height: .96;
    letter-spacing: -3px;
}

.hero p {
    max-width: 760px;
    margin: 0;
    color: #afbfcd;
    font-size: 19px;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 800;
}

.button.primary {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #031018;
}

.button.secondary {
    background: #111922;
}

.button.curseforge {
    background: #f16436;
    border-color: #f16436;
    color: #fff;
}

.section {
    padding: 72px 0;
}

.section.alt {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section h2 {
    margin: 6px 0 18px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
}

.lead {
    color: #b8c6d2;
    font-size: 18px;
    max-width: 820px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 30px;
}

.panel {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    padding: 26px;
}

.panel h3 {
    margin-top: 0;
    font-size: 23px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.feature {
    border: 1px solid #223442;
    background: #0b1219;
    padding: 18px;
}

.feature strong {
    display: block;
    margin-bottom: 5px;
}

.feature span,
.panel p,
.panel li {
    color: var(--muted);
}

.feature-list {
    padding-left: 20px;
    margin-bottom: 0;
}

.release-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 26px;
    align-items: center;
    border: 1px solid #2a4152;
    background: #0d171f;
    padding: 28px;
}

.release-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0;
}

.badge {
    padding: 6px 9px;
    border: 1px solid #2d5368;
    background: var(--cyan-soft);
    color: #bddff0;
    font-size: 12px;
    font-weight: 800;
}

.filename {
    color: var(--muted);
    overflow-wrap: anywhere;
    font-family: Consolas, monospace;
    font-size: 13px;
}

.note {
    margin-top: 20px;
    border-left: 3px solid var(--amber);
    background: rgba(255,189,69,.06);
    padding: 15px 18px;
    color: #d8c9aa;
}

.footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-wrap {
    min-height: 100px;
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: center;
    font-size: 13px;
}

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

@media (max-width: 760px) {
    .main-nav {
        display: none;
    }

    .info-grid,
    .feature-grid,
    .release-card {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 72px 0 66px;
    }

    .release-card .button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(var(--max), calc(100% - 28px));
    }

    .hero h1 {
        font-size: 49px;
    }

    .footer-wrap {
        padding: 24px 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}
