:root {
    --ink: #f4f8ff;
    --blue: #1686ff;
    --blue-bright: #62b5ff;
    --bg: #06111f;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: 6px 8px;
    color: var(--ink);
    background: radial-gradient(ellipse at 50% 20%, #0b2037 0%, var(--bg) 65%);
    font-family: 'DM Sans', Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}
p, h1 { margin: 0; }
.page-shell { width: 100%; max-width: 374px; margin: 0 auto; position: relative; z-index: 1; }
.hero, .hero-visual { width: 100%; }
.identity-card {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 28px;
    text-align: center;
    border: 1px solid rgba(43, 148, 255, .7);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(13, 38, 65, .94), rgba(5, 17, 31, .94));
    box-shadow: 0 0 45px rgba(11, 111, 218, .12), inset 0 0 50px rgba(11, 84, 150, .08);
}
.card-topline {
    width: 100%; display: flex; justify-content: space-between;
    color: #55718f; font: 600 12px/14px 'Space Grotesk', Arial, sans-serif; letter-spacing: .1em;
}
.live-status { color: #73d4a5; }
.live-status i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #73d4a5; }
.monogram-wrap {
    flex-shrink: 0;
    margin: 32px 0 22px;
    padding: 8px;
    border: 2px solid var(--blue);
    border-radius: 30px;
    box-shadow: 0 0 26px rgba(22, 134, 255, .38);
}
.monogram { display: block; width: 134px; height: 134px; border-radius: 20px; object-fit: cover; object-position: 62% 50%; }
.card-kicker { margin-bottom: 12px; color: #5f89af; font: 600 12px/15px 'Space Grotesk', Arial, sans-serif; letter-spacing: .15em; }
h1 { margin-bottom: 12px; font: 600 36px/43px 'Space Grotesk', Arial, sans-serif; }
.card-tagline { color: #9ab0c8; font-size: 17px; line-height: 22px; white-space: nowrap; }
.card-tagline span { padding: 0 3px; color: var(--blue-bright); }
.recovery-badge {
    margin: 26px 0 24px;
    padding: 14px 24px;
    border: 1px solid var(--blue);
    border-radius: 999px;
    color: var(--blue-bright);
    font: 600 15px/19px 'Space Grotesk', Arial, sans-serif;
    letter-spacing: .06em;
    white-space: nowrap;
}
.recovery-badge strong { font-weight: 700; }
.card-copy { max-width: 330px; margin-bottom: 26px; color: #9ab0c8; font-size: 16px; line-height: 1.6; }
.card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 24px;
    width: 100%;
    min-height: 56px;
    padding: 15px 12px;
    border-radius: 8px;
    color: white;
    background: var(--blue);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    box-shadow: 0 10px 30px rgba(22, 134, 255, .25);
    transition: background .2s, transform .2s;
}
.card-button:hover { background: #3499ff; transform: translateY(-2px); }
.card-button:focus-visible { outline: 3px solid #b5deff; outline-offset: 5px; }
.card-button:active { transform: translateY(0); }
.card-note { margin-top: 22px; color: #55718f; font-size: 12px; line-height: 16px; }
@media (max-width: 390px) {
    .identity-card { padding-inline: 24px; }
    h1 { font-size: 34px; }
    .card-tagline { font-size: 16px; }
}
@media (max-width: 350px) {
    .identity-card { padding-inline: 20px; border-radius: 30px; }
    h1 { font-size: 32px; }
    .card-tagline { font-size: 15px; }
    .card-button { font-size: 14px; gap: 16px; }
}
@media (max-width: 760px) and (max-height: 720px) {
    .identity-card { padding-top: 22px; padding-bottom: 22px; }
    .monogram-wrap { margin-top: 26px; margin-bottom: 20px; }
    .monogram { width: 130px; height: 130px; }
    .recovery-badge { margin-top: 24px; margin-bottom: 24px; }
    .card-copy { font-size: 15px; margin-bottom: 22px; }
    .card-note { margin-top: 18px; }
}
@media (min-width: 761px) { body { padding: 24px 8px; } }

.character-rain {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.rain-stream {
    position: absolute;
    top: 0;
    left: var(--rain-left);
    color: #62b5ff;
    opacity: var(--rain-opacity);
    font: 500 14px/24px monospace;
    white-space: pre;
    text-align: center;
    text-shadow: 0 0 8px rgba(22, 134, 255, .6);
    animation: character-fall var(--rain-duration) var(--rain-delay) linear infinite;
}

.rain-stream > span {
    display: block;
}

.character-rain.is-paused .rain-stream {
    animation-play-state: paused;
}

@keyframes character-fall {
    from { transform: translateY(-50%); }
    to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .character-rain { display: none; }
    .rain-stream { animation: none; }
}

