:root {
    --bg: #060913;
    --card: #121a2e;
    --text: #e8eefc;
    --muted: #a7b4d6;
    --primary: #4b7fc4;
    --success: #22c55e;
    --disabled: #475569;
    --ring: rgba(26, 115, 232, 0.45);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: radial-gradient(1200px 800px at 10% 10%, #14161a, #0b0d12 60%),
        radial-gradient(800px 600px at 90% 20%, #121417, transparent 40%),
        radial-gradient(600px 600px at 30% 90%, #101215, transparent 40%);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    margin-bottom: 16px;
}

.logo {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    display: block;
    margin: 0 auto 8px auto;
}

.brand {
    margin: 0 0 8px;
    font-size: 40px;
    letter-spacing: 0.5px;
    color: #018786;
}

.tagline {
    margin: 0;
    color: var(--muted);
}

.actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.btn {
    appearance: none;
    border: none;
    background: var(--card);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 8px 24px rgba(2, 6, 23, 0.35);
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
    outline: 2px solid transparent;
    outline-offset: 2px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 12px 30px rgba(2, 6, 23, 0.45);
}

.btn:focus-visible {
    outline-color: var(--ring);
}

.btn-primary {
    background: linear-gradient(180deg, #2a82f0, var(--primary));
}

.btn-success {
    background: linear-gradient(180deg, #34d97b, var(--success));
}

.btn-disabled {
    background: var(--disabled);
    cursor: not-allowed;
    opacity: 0.8;
}

.footer {
    margin-top: 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.footer a {
    color: #00b1b1;
    text-decoration: underline;
}

.footer a:hover {
    opacity: 0.9;
}

@media (max-width: 640px) {
    .container {
        padding: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }

    .brand {
        font-size: 36px;
    }

    .actions {
        flex-direction: column;
        gap: 14px;
    }

    .btn {
        width: 100%;
        text-align: center;
        font-size: 18px;
        padding: 14px 18px;
    }

    .logo {
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }
}