:root {
    --bg: #0f1419;
    --card: #1a1f29;
    --text: #e6e9ef;
    --muted: #9aa4b2;
    --accent: #4f8cf0;
    --accent-hover: #6aa1ff;
    --border: #2a3340;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

header h1 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 600;
}

header .subtitle {
    margin: 0 0 32px;
    color: var(--muted);
}

code {
    background: var(--bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.92em;
}

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.15s ease;
    width: 100%;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.hint {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.all-platforms {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.all-platforms h2 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    font-weight: 500;
    margin: 0 0 16px;
}

.downloads {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.downloads a {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.15s ease;
}

.downloads a:hover {
    border-color: var(--accent);
}

.downloads strong {
    font-size: 15px;
    margin-bottom: 4px;
}

.downloads span {
    font-size: 13px;
    color: var(--muted);
}

.version {
    margin-top: 24px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

footer p {
    margin: 0;
}
