*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Georgia", "Times New Roman", serif;
    color: #ecf4ff;
    min-height: 100vh;
    background: #04070d;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 25% 10%, rgba(111, 159, 255, 0.28), transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(181, 120, 255, 0.2), transparent 40%),
        url("assets/starfield-sky.png") center / cover no-repeat;
    filter: brightness(0.65) saturate(0.8);
    z-index: -1;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px clamp(16px, 4vw, 30px) 40px;
}

#story {
    background: rgba(10, 16, 30, 0.56);
    border: 1px solid rgba(205, 225, 255, 0.18);
    border-radius: 10px;
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.35);
    padding: clamp(18px, 5vw, 32px);
    backdrop-filter: blur(3px);
}

p,
a {
    line-height: 1.85;
    color: #ecf4ff;
    font-size: 17px;
}

p {
    margin: 0 0 12px;
    opacity: 0;
}

.show {
    opacity: 1;
}

@media screen and (prefers-reduced-motion: no-preference) {
    p,
    .story-image {
        transition: opacity 1.0s;
    }
}

.story-image {
    width: 100%;
    opacity: 0;
    border-radius: 10px;
    border: 1px solid rgba(205, 225, 255, 0.25);
    margin: 6px 0 14px;
    display: block;
}

.story-image.show {
    opacity: 1;
}

.choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

p.choice {
    margin: 0;
}

p.choice a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(188, 214, 255, 0.35);
    background: rgba(14, 22, 42, 0.78);
    color: #e9f2ff;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

p.choice a:hover {
    background: rgba(30, 44, 86, 0.84);
}

.carrier-download {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
    margin: 26px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(205, 225, 255, 0.2);
}

.carrier-download a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 15px;
    border: 1px solid rgba(223, 236, 255, 0.46);
    border-radius: 999px;
    background: rgba(232, 240, 255, 0.11);
    color: #ffffff;
    text-decoration: none;
}

.carrier-download span {
    color: rgba(236, 244, 255, 0.72);
    font-size: 15px;
    line-height: 1.7;
}

@media (min-width: 640px) {
    p,
    a {
        font-size: 18px;
    }
}
