* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans KR", sans-serif; }
html { min-height: 100%; background: #07152e; }
body { margin: 0; color: #f2f7ff; min-height: 100vh; background: linear-gradient(155deg, #061228, #0b2041 52%, #0c1b35); overflow-x: hidden; }
.ambient { position: fixed; pointer-events: none; filter: blur(18px); opacity: .6; border-radius: 50%; }
.ambient-a { width: 460px; height: 460px; top: -160px; right: -220px; background: radial-gradient(circle, #1974c28a, transparent 70%); }
.ambient-b { width: 550px; height: 550px; bottom: 0; left: -380px; background: radial-gradient(circle, #168d9580, transparent 70%); }
.wrap { position: relative; max-width: 750px; margin: auto; padding: 28px 24px 34px; }
.brand { display: flex; align-items: center; gap: 13px; }
.logo { display: grid; place-items: center; height: 46px; width: 46px; border-radius: 13px; background: linear-gradient(140deg,#35d3ed,#307efa); color: #081d34; font-size: 27px; font-weight: 900; }
.eyebrow { margin: 0 0 2px; letter-spacing: 0.18em; color: #8cbee6; font-weight: 800; font-size: 10px; }
.brand-title { margin: 0; font-size: 14px; font-weight: 700; }
.hero { padding: 45px 0 30px; }
.pill { display: inline-block; margin: 0 0 16px; color: #a6e8ff; border: 1px solid #2a6488; border-radius: 30px; padding: 7px 12px; font-size: 11px; font-weight: 750; letter-spacing: .02em; }
h1 { font-size: clamp(33px, 7vw, 51px); font-weight: 860; line-height: 1.24; letter-spacing: -.06em; margin: 0; }
h1 em { color: #50ccf7; font-style: normal; }
.lead { margin: 14px 0 0; color: #b1c7df; font-size: 14px; line-height: 1.8; }
.result { padding: 24px; background: #ffffff0e; border: 1px solid #8acbf539; border-radius: 21px; box-shadow: 0 20px 50px #010d1c3f; backdrop-filter: blur(10px); }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 19px; }
.section-kicker { font-size: 10px; font-weight: 800; color: #6fc8f4; letter-spacing: 0.16em; margin: 0 0 5px; }
h2 { font-size: 17px; margin: 0; letter-spacing: -.03em; }
.code { font-size: 11px; background: #233a58; border-radius: 7px; padding: 7px 9px; color: #c5d8ed; white-space: nowrap; }
.frame { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; min-height: 180px; background: #071327; border: 1px solid #ffffff1f; border-radius: 13px; overflow: hidden; }
.frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.frame img[hidden] { display: none; }
.state { white-space: pre-line; text-align: center; font-size: 14px; line-height: 1.8; color: #afc5db; padding: 24px; }
.state[hidden] { display: none; }
.download { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 54px; margin-top: 18px; border-radius: 12px; text-decoration: none; color: #071a31; background: linear-gradient(120deg,#70e0e8,#5bb3f4); font-weight: 850; font-size: 15px; transition: transform .15s ease, opacity .15s ease; }
.download:not(.is-disabled):active { transform: scale(.985); }
.download.is-disabled { opacity: .35; cursor: default; pointer-events: none; }
.download-icon { display: grid; place-items: center; border: 1.5px solid #083c5b; width: 24px; height: 24px; border-radius: 50%; font-size: 17px; }
.hint { margin: 12px 0 0; text-align: center; color: #a5bdd5; font-size: 12px; line-height: 1.5; }
.info { margin: 30px 1px; padding: 0 5px; }
.info h2 { font-size: 14px; color: #d4e6f7; margin-bottom: 9px; }
.info p { margin: 0 0 12px; color: #94aec9; font-size: 12px; line-height: 1.8; }
footer { border-top: 1px solid #ffffff1a; padding-top: 22px; text-align: center; letter-spacing: .12em; color: #6486aa; font-size: 10px; }
@media (min-width: 610px) { .wrap { padding: 32px 40px; } .mobile-break { display:none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
