@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap');

:root {
    color-scheme: dark;
    --bg: #0a0f15;
    --surface: #101820;
    --line: #263440;
    --text: #f1f7f7;
    --muted: #9cadb3;
    --accent: #2ed8c3;
    --accent-strong: #62f1df;
}

* { box-sizing: border-box; }

html, body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    color: var(--text);
    background: var(--bg);
    font-family: Inter, system-ui, sans-serif;
    line-height: 1.6;
    text-align: center;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 75% 0%, rgba(46, 216, 195, .10), transparent 32rem);
}

h1, h2 { font-family: 'Space Grotesk', Inter, sans-serif; }

.instructions-container {
    padding: 20px;
    color: var(--text);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.platform-instructions {
    max-width: 800px;
    margin: auto;
}

.platform-instructions h1 {
    margin: 0 0 1em;
    font-size: 2em;
}

.platform-instructions h2 {
    margin: 0 0 .5em;
    font-size: 1.5em;
}

.windows-instructions,
.android-instructions {
    margin-bottom: 1em;
    padding: 10px;
    border: 1px solid rgba(46, 216, 195, .55);
    border-radius: 10px;
}

.windows-instructions p,
.android-instructions p { margin: .35rem 0; color: var(--muted); }

main { padding: 0 16px 60px; }

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.button-container a { text-decoration: none; }

.button,
.phone-links a {
    appearance: none;
    display: inline-block;
    min-height: 60px;
    padding: 16px 24px;
    border: 2px solid var(--accent-strong);
    border-radius: 15px;
    color: var(--accent-strong);
    background: var(--surface);
    font: 600 16px Inter, system-ui, sans-serif;
    line-height: normal;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    touch-action: manipulation;
}

.button:hover,
.phone-links a:hover {
    color: #04201d;
    background: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    transform: translateY(-2px);
}

.button:active,
.phone-links a:active { transform: translateY(0); }

.button:focus-visible,
.phone-links a:focus-visible { outline: 3px solid rgba(98, 241, 223, .4); outline-offset: 3px; }

.disclaimer {
    max-width: 600px;
    margin: auto;
}

.disclaimer i,
.server-note {
    display: block;
    padding: 10px;
    color: var(--muted);
    font-size: .82rem;
    overflow-wrap: break-word;
}

.phone-links {
    margin-top: 50px;
    text-align: center;
}

.phone-links h2 { margin-bottom: .5em; }

.phone-links a {
    min-height: auto;
    margin: 10px 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}

.deprecated-links h2 span {
    margin-left: .35rem;
    color: #f5b942;
    font: 700 .7rem Inter, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.deprecated-links a {
    border-color: rgba(245, 185, 66, .45);
    color: #f8dfaa;
    background: transparent;
}

.deprecated-links a:hover {
    border-color: #f5b942;
    color: #fff0c7;
    background: rgba(245, 185, 66, .08);
}

.server-note { margin-top: 8px; }

.launch-page { min-height: 100vh; display: grid; place-content: center; padding: 2rem; }
.launch-page h1 { margin: 0 0 1rem; font-size: clamp(2.1rem, 6vw, 3.5rem); }
.launch-page p { margin: .6rem 0; color: var(--muted); }
.launch-page a { color: var(--accent); font-weight: 700; }

@media (max-width: 520px) {
    .button-container a, .button { width: 100%; }
    .phone-links a { display: block; width: 100%; margin: 10px 0; }
}
