/* The launcher's download page: the launcher's own colours (src/ui/style.css). */
:root {
    --bg: #0f1216;
    --panel: #161a20;
    --panel-2: #1c2129;
    --line: #262c35;
    --text: #e8ebef;
    --muted: #8a94a3;
    --soft: #c6cdd6;
    --accent: #d9a441;
    --accent-ink: #1a1306;
    --discord: #5865f2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.55 "Segoe UI", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.top {
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1120px;
    margin: 0 auto;
    padding: 22px 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}
.brand img { width: 32px; height: 32px; }

.discord {
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--discord);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.discord:hover { filter: brightness(1.1); }

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(92vh, 760px);
    padding: 120px 0 72px;
    background:
        linear-gradient(90deg, rgba(15, 18, 22, 0.94) 0%, rgba(15, 18, 22, 0.72) 45%, rgba(15, 18, 22, 0.15) 100%),
        linear-gradient(0deg, var(--bg) 0%, rgba(15, 18, 22, 0) 30%),
        url("/site/images/hero.jpg") center / cover no-repeat;
}

.hero-text {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px; /* the brand's and main's own edge */
}

.hero h1 {
    max-width: 560px;
    margin: 0 0 16px;
    font-size: clamp(36px, 6vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.lead {
    max-width: 520px;
    margin: 0 0 32px;
    color: var(--soft);
    font-size: 18px;
}

.download {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 32px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--accent-ink);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(217, 164, 65, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.download:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(217, 164, 65, 0.38); }
.download-title { font-size: 19px; font-weight: 700; letter-spacing: 0.02em; }
.download-info { font-size: 13px; opacity: 0.75; }

.need { margin: 16px 0 0; color: var(--muted); font-size: 14px; }

main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.block { padding: 56px 0 24px; }

.block h2 {
    margin: 0 0 24px;
    font-size: 28px;
    letter-spacing: -0.01em;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li, .faq-item {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
}

.num {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
}

.steps h3, .faq h3 { margin: 0 0 6px; font-size: 17px; }
.steps p, .faq p { margin: 0; color: var(--muted); font-size: 15px; }

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 40px 0 8px;
}
.gallery img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    display: block;
}

.faq {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.foot {
    display: flex;
    justify-content: space-between;
    max-width: 1120px;
    margin: 48px auto 0;
    padding: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

@media (max-width: 900px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .steps, .faq { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .top .brand span { display: none; }
}
