:root {
    --bg: #0b0e13;
    --card-top: #1a1f2a;
    --card: #141821;
    --text: #e6e6e6;
    --muted: #9aa0a6;
    --dot: #6b7280;
    --dot-active: #4da3ff;
    --link: #6fb6ff;
    --link-hover: #9fd0ff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, sans-serif;
    background: radial-gradient(ellipse at top, #111622, var(--bg) 60%);
    color: var(--text);
}

main {
    flex: 1;
}

/* ─────────── Header ─────────── */

.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 20px;
}

.lang-switch {
    display: flex;
    gap: 12px;
}

.lang-switch img {
    width: 22px;
    height: 22px;
    opacity: 0.75;
    transition: opacity 0.15s ease;
}

.lang-switch img:hover {
    opacity: 1;
}

/* ─────────── Logo ─────────── */

.logo-container {
    text-align: center;
    margin: 70px 20px 90px;
}

.logo {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    border-radius: 28px;
    overflow: hidden;
    background: #0f2f33;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 4px 10px rgba(0, 0, 0, 0.35);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at center,
            rgba(0, 0, 0, 0) 55%,
            rgba(0, 0, 0, 0.25) 75%,
            rgba(0, 0, 0, 0.45) 100%);
}

.title {
    margin: 0;
}

.subtitle {
    margin-top: 6px;
    color: var(--muted);
}

/* ─────────── Timeline ─────────── */

.timeline {
    max-width: 980px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.timeline-item+.timeline-item {
    margin-top: 56px;
}

/* Date row with dot */
.date-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.date {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Dot */
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dot);
    flex-shrink: 0;
}

/* Active dot */
.timeline-item.active .dot {
    background: var(--dot-active);
    box-shadow:
        0 0 0 4px rgba(77, 163, 255, 0.15),
        0 0 12px rgba(77, 163, 255, 0.7);
}

/* Card */
.card {
    background: linear-gradient(180deg, var(--card-top), var(--card));
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* APK link */
.apk-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--link);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(111, 182, 255, 0.35);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.apk-link:hover {
    color: var(--link-hover);
    border-bottom-color: rgba(159, 208, 255, 0.6);
}

.apk-link:focus-visible {
    outline: 2px solid var(--link-hover);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ─────────── Footer ─────────── */

footer {
    text-align: center;
    color: var(--muted);
    padding: 32px 0;
    font-size: 0.9rem;
}

/* ─────────── Motion preferences ─────────── */

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}