:root {
    --bg-0: #020817;
    --blue: #0a8cff;
    --blue-bright: #19a7ff;
    --cyan: #00d7ff;
    --gold: #ffb703;
    --text: #f4f8ff;
    --text-soft: #b7c4d6;
    --text-muted: #7f90a6;
    --border: rgba(36, 139, 255, 0.24);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg-0);
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 130, 255, 0.10), transparent 34%),
        radial-gradient(circle at 83% 12%, rgba(255, 183, 3, 0.08), transparent 28%),
        linear-gradient(180deg, #020817 0%, #04101e 52%, #020817 100%);
}

a {
    -webkit-tap-highlight-color: transparent;
}

.page-shell {
    --page-width: 640px;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.page-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

.ambient {
    position: fixed;
    z-index: -2;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
    pointer-events: none;
}

.ambient-blue {
    top: 4%;
    left: -140px;
    background: var(--blue);
}

.ambient-gold {
    right: -170px;
    bottom: 3%;
    background: var(--gold);
}

.accent-cyan {
    color: var(--cyan);
}

.accent-gold {
    color: var(--gold);
}

.content {
    width: min(var(--page-width), calc(100% - 40px));
    margin: 0 auto;
    padding: 64px 0 48px;
    display: flex;
    justify-content: center;
}

.account-card {
    position: relative;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(10, 25, 45, 0.94), rgba(4, 13, 25, 0.96));
    box-shadow:
        var(--shadow),
        0 0 0 1px rgba(255, 183, 3, 0.035) inset,
        0 0 50px rgba(0, 139, 255, 0.07);
    overflow: hidden;
}

.account-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan) 26%, var(--gold) 74%, transparent);
    opacity: 0.9;
}

.panel {
    padding: 34px;
}

.app-identity {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 28px;
}

.app-icon {
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #f9f9f9;
    object-fit: cover;
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.42),
        0 0 24px rgba(0, 215, 255, 0.10);
}

.app-heading {
    min-width: 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--cyan);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.9rem, 5vw, 2.55rem);
    letter-spacing: -0.035em;
}

.app-tagline {
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 1.08rem;
    line-height: 1.55;
}

.store-button {
    width: 100%;
    min-height: 52px;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(255, 183, 3, 0.55);
    border-radius: 12px;
    color: #07101e;
    background: linear-gradient(135deg, #ffd54a, var(--gold));
    box-shadow:
        0 14px 34px rgba(255, 183, 3, 0.18),
        0 0 22px rgba(255, 183, 3, 0.08);
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 150ms ease,
        box-shadow 150ms ease;
}

.store-button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 18px 40px rgba(255, 183, 3, 0.24),
        0 0 28px rgba(255, 183, 3, 0.11);
}

.store-button:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

.store-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.app-description {
    margin: 28px 0 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.feature-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 15px;
    border: 1px solid rgba(36, 139, 255, 0.20);
    border-radius: 12px;
    background: rgba(0, 136, 255, 0.045);
    color: var(--text-soft);
    line-height: 1.55;
}

.feature-mark {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.65);
}

.app-links {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(36, 139, 255, 0.14);
    text-align: center;
    font-size: 0.9rem;
}

.app-links a {
    color: var(--cyan);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 215, 255, 0.35);
}

.app-links a:hover,
.app-links a:focus-visible {
    border-bottom-color: var(--cyan);
}

.app-links a:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

.page-footer {
    width: min(var(--page-width), calc(100% - 40px));
    margin: 0 auto;
    padding: 6px 0 34px;
    text-align: center;
}

.footer-line {
    display: block;
    width: min(520px, 80%);
    height: 1px;
    margin: 0 auto 20px;
    background: linear-gradient(90deg, transparent, rgba(0, 215, 255, 0.35), rgba(255, 183, 3, 0.35), transparent);
}

.page-footer p {
    margin: 0;
    color: #75869c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.footer-separator {
    margin: 0 8px;
    color: #42536a;
}

@media (prefers-reduced-motion: reduce) {
    .store-button {
        transition: none;
    }

    .store-button:hover {
        transform: none;
    }
}

@media (max-width: 680px) {
    .content {
        padding-top: 36px;
    }

    .panel {
        padding: 26px 22px;
    }

    .account-card {
        border-radius: 19px;
    }

    .app-identity {
        gap: 16px;
    }

    .app-icon {
        width: 84px;
        height: 84px;
        border-radius: 20px;
    }

    .page-footer p {
        line-height: 1.8;
    }
}

@media (max-width: 420px) {
    .content,
    .page-footer {
        width: min(100% - 28px, var(--page-width));
    }

    .app-identity {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-links {
        display: grid;
        justify-items: center;
        gap: 12px;
    }

    .app-links a {
        width: fit-content;
    }

    .app-links .footer-separator {
        display: none;
    }
}
