:root {
    --bg: #0a0a14;
    --surface: #13131f;
    --accent: #7c5cfc;
    --accent-light: #a48bff;
    --text: #f0f0f8;
    --text-muted: #8888aa;
    --border: #2a2a40;
    --radius: 14px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent-light);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ── Header ─────────────────────────────────────────────── */

header {
    padding: 40px 24px 20px;
    text-align: center;
}

.site-logo {
    max-width: 855px;
    width: 90%;
    height: auto;
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 24px 60px;
    text-align: center;
}

.byline {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.app-title {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.game-description {
    max-width: 620px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    text-align: center;
    margin-bottom: 36px;
}

.screenshot-wrap {
    max-width: 680px;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow:
        0 0 0 1px var(--border),
        0 20px 60px rgba(124, 92, 252, 0.25),
        0 8px 24px rgba(0, 0, 0, 0.6);
    margin-bottom: 40px;
}

.screenshot-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.badge-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.appstore-btn img {
    width: 160px;
    height: auto;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.appstore-btn:hover img {
    transform: scale(1.06);
    opacity: 0.85;
}

.mac-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 28px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
    transition: border-color 0.18s, background 0.18s, transform 0.18s;
    text-decoration: none;
}

.mac-download-btn:hover {
    border-color: var(--accent-light);
    background: #1a1a2e;
    transform: scale(1.04);
    text-decoration: none;
}

/* ── Footer ──────────────────────────────────────────────── */

footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 28px 24px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 36px;
    list-style: none;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.18s;
}

.footer-nav a:hover {
    color: var(--accent-light);
    text-decoration: none;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ── Inner pages (privacy, support) ─────────────────────── */

.page-wrap {
    flex: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 72px;
    width: 100%;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 36px;
    transition: color 0.18s;
}

.back-link:hover {
    color: var(--accent-light);
    text-decoration: none;
}

.page-wrap h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.page-date {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 40px;
}

.page-wrap h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-light);
    margin: 36px 0 10px;
}

.page-wrap p,
.page-wrap li {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 1rem;
}

.page-wrap ul {
    margin: 8px 0 8px 22px;
}

.page-wrap li {
    margin-bottom: 4px;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-top: 16px;
}

.contact-card p {
    margin-bottom: 6px;
}

.contact-card a {
    font-size: 1rem;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 500px) {
    .footer-nav {
        flex-direction: column;
        gap: 14px;
    }

    .contact-card {
        padding: 20px;
    }
}
