:root {
    --mc-green: #6aa84f;
    --mc-dark-green: #3b5e2b;
    --mc-brown: #7f6000;
    --mc-dark-brown: #5b3a00;
    --mc-sky: #78b9ff;
    --mc-stone: #9fa8b0;
    --mc-shadow: #1b1b1b;
    --mc-text: #f4f4f4;
    --mc-accent: #ffd966;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Press Start 2P', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    background:
        linear-gradient(to bottom,
            #050509 0,
            #0b0b12 35%,
            #17111a 65%,
            #24120c 100%);
    color: var(--mc-text);
    text-shadow: 0 2px 0 #000;
    image-rendering: pixelated;
}

.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.35) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.35) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.25;
    mix-blend-mode: soft-light;
    z-index: 0;
}

.bg-sand {
    position: fixed;
    inset: -32px 0 0 0;
    pointer-events: none;
    background-image:
        radial-gradient(3px 3px at 0 0, rgba(255, 217, 102, 0.9) 0 50%, transparent 50%),
        radial-gradient(3px 3px at 0 0, rgba(127, 96, 0, 0.7) 0 50%, transparent 50%),
        radial-gradient(3px 3px at 0 0, rgba(255, 242, 204, 0.8) 0 50%, transparent 50%);
    background-size:
        12px 12px,
        18px 18px,
        24px 24px;
    opacity: 0.85;
    mix-blend-mode: screen;
    z-index: 0;
    animation: sand-fall 16s linear infinite;
}

@keyframes sand-fall {
    0% {
        background-position:
            0 0,
            0 0,
            0 0;
    }
    100% {
        background-position:
            -80px 260px,
            -120px 440px,
            -60px 360px;
    }
}

.page {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.card {
    background: #1b1b1f;
    border: 5px solid #000;
    box-shadow:
        0 0 0 5px #3a3a42,
        0 12px 0 #000;
    padding: 38px 30px 32px;
}

.card + .card {
    margin-top: 40px;
}

header {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 26px;
    align-items: center;
}

@media (max-width: 720px) {
    header {
        grid-template-columns: 1fr;
    }

    .page {
        padding-top: 24px;
    }
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    border: 4px solid #fff;
    padding: 9px 15px;
    font-size: 15px;
    letter-spacing: 1px;
}

.logo-square {
    width: 20px;
    height: 20px;
    background:
        linear-gradient(#cfe2f3, #6fa8dc);
    border: 4px solid #000;
    box-shadow: 0 4px 0 #000;
}

h1 {
    font-size: 36px;
    margin: 30px 0 20px;
    line-height: 1.4;
    text-transform: uppercase;
}

.subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
    max-width: 30em;
}

.tagline {
    display: inline-block;
    margin-top: 20px;
    padding: 9px 15px;
    background: #000;
    border: 4px solid var(--mc-accent);
    color: var(--mc-accent);
    font-size: 13px;
    text-transform: uppercase;
}

.hero-art {
    position: relative;
    height: 260px;
    background:
        radial-gradient(circle at 50% -20%, #3c3f52 0 48%, transparent 48%),
        linear-gradient(to bottom,
            #101018 0,
            #181821 40%,
            #22161a 72%,
            #2b1710 100%);
    border: 4px solid #000;
    box-shadow:
        0 0 0 4px #3a3a42,
        0 10px 0 #000;
    overflow: hidden;
}

.hero-ip {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    background: #000;
    border: 4px solid #fff;
    font-size: 16px;
}

.hero-ip-label {
    color: #b7b7b7;
    font-size: 13px;
}

.pill {
    padding: 6px 12px;
    background: var(--mc-green);
    border: 4px solid #000;
    box-shadow: 0 4px 0 #000;
    font-size: 15px;
}

a {
    color: inherit;
    text-decoration: none;
}

.btn-row {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 21px;
    background: var(--mc-green);
    border: 5px solid #000;
    box-shadow: 0 8px 0 #000;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transform: translateY(0);
    transition: transform 80ms ease-out, box-shadow 80ms ease-out, background 120ms;
}

.btn.secondary {
    background: var(--mc-stone);
}

.btn span.icon {
    width: 18px;
    height: 18px;
    background: #000;
}

.btn:hover {
    background: var(--mc-dark-green);
}

.btn.secondary:hover {
    background: #87919b;
}

.btn:active {
    box-shadow: 0 2px 0 #000;
    transform: translateY(4px);
}

.section-title {
    font-size: 21px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-text {
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
    margin: 0 0 15px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

@media (max-width: 720px) {
    .features {
        grid-template-columns: 1fr;
    }
}

.feature {
    padding: 15px 12px 14px;
    background: #26262b;
    border: 4px solid #000;
    box-shadow: 0 5px 0 #000;
    font-size: 13px;
}

.feature-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.pixel-dot {
    width: 15px;
    height: 15px;
    border: 4px solid #000;
}

.pixel-dot.green {
    background: var(--mc-green);
}

.pixel-dot.blue {
    background: #6fa8dc;
}

.pixel-dot.gold {
    background: #ffd966;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

@media (max-width: 720px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

.step {
    padding: 15px 14px 14px;
    background: #26262b;
    border: 4px solid #000;
    font-size: 13px;
}

.step-badge {
    display: inline-block;
    padding: 6px 9px;
    background: #000;
    border: 4px solid #fff;
    margin-bottom: 12px;
    font-size: 13px;
}

.modpack-card {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 16px;
    align-items: center;
}

@media (max-width: 720px) {
    .modpack-card {
        grid-template-columns: 1fr;
    }
}

.modpack-thumb {
    height: 140px;
    border: 4px solid #000;
    box-shadow:
        0 0 0 4px #3a3a42,
        0 8px 0 #000;
    background:
        linear-gradient(#181821 0 45%, #22161a 45% 70%, #2b1710 100%);
    position: relative;
    overflow: hidden;
}

.modpack-label {
    font-size: 13px;
    color: #cccccc;
    margin-bottom: 9px;
}

.modpack-sub {
    font-size: 13px;
    color: #aaaaaa;
    margin-top: 9px;
}

footer {
    margin-top: 40px;
    font-size: 12px;
    color: #c0c0c0;
    text-align: center;
}

footer span.separator {
    color: #777;
    padding: 0 6px;
}


