:root {
  --ink: #f8fafc;
  --muted: #bac3d3;
  --panel: rgba(19, 22, 30, .94);
  --blue: #ff4655;
  --success: #43d19e;
  --warning: #f3b64a;
  --danger: #ff6b76;
}

* { box-sizing: border-box; }
html { background: #0c0d12; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 11% 9%, rgba(255, 70, 85, .30), transparent 28rem),
    radial-gradient(circle at 88% 90%, rgba(75, 208, 184, .16), transparent 31rem),
    linear-gradient(135deg, #090a0e 0%, #13151d 48%, #0a0b10 100%);
  font-family: Pretendard, Inter, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ambient { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; width: 26rem; height: 26rem; border-radius: 999px; filter: blur(5px); opacity: .56; }
.orb-one { top: -11rem; right: -6rem; background: radial-gradient(circle at 40% 40%, rgba(255, 70, 85, .62), rgba(255, 70, 85, 0) 68%); animation: float-orb 11s ease-in-out infinite alternate; }
.orb-two { bottom: -14rem; left: -8rem; background: radial-gradient(circle at 55% 42%, rgba(61, 203, 178, .32), rgba(61, 203, 178, 0) 67%); animation: float-orb 14s ease-in-out -4s infinite alternate-reverse; }
.grid-glow { position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(rgba(255, 70, 85, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 70, 85, .07) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 47%, black, transparent 68%); }

.shell { position: relative; z-index: 1; width: min(620px, calc(100% - 36px)); min-height: 100vh; margin: 0 auto; padding: 38px 0 28px; display: grid; align-content: center; gap: 20px; }
.result-card { overflow: hidden; padding: 22px 32px 30px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; background: var(--panel); box-shadow: 0 28px 70px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 70, 85, .08) inset; backdrop-filter: blur(16px); animation: reveal-card .62s cubic-bezier(.2, .85, .25, 1) both; }

.brand-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 15px; font-weight: 900; letter-spacing: -.01em; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px 2px 8px 2px; color: #fff; background: linear-gradient(135deg, #ff5b69, #d72840); box-shadow: 0 6px 18px rgba(255, 70, 85, .32); font-size: 15px; font-weight: 900; }
.service-tag { padding: 6px 9px; border: 1px solid rgba(255, 70, 85, .30); border-radius: 99px; color: #ffc6cc; background: rgba(255, 70, 85, .10); font-size: 10px; font-weight: 800; letter-spacing: .09em; white-space: nowrap; }

.status-wrap { margin: 28px 0 17px; display: grid; place-items: center; }
.status-ring { position: relative; width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 999px; color: var(--blue); background: linear-gradient(145deg, #272b36, #171920); box-shadow: 0 12px 26px rgba(255, 70, 85, .16), inset 0 1px 0 rgba(255, 255, 255, .12); animation: status-pop .65s .16s cubic-bezier(.2, .85, .25, 1) both; }
.status-ring::before { position: absolute; inset: -7px; border: 1px solid rgba(255, 70, 85, .22); border-radius: inherit; content: ""; animation: halo-pulse 2.8s ease-out infinite; }
.status-ring span { font-size: 35px; font-weight: 800; line-height: 1; transform: translateY(-1px); }
.page-success .status-ring { color: var(--success); background: linear-gradient(145deg, #fff, #e7f8ef); }
.page-success .status-ring::before { border-color: rgba(22, 165, 107, .17); }
.page-fail .status-ring { color: var(--danger); background: linear-gradient(145deg, #fff, #fff0f1); }
.page-fail .status-ring::before { border-color: rgba(214, 78, 97, .18); }
.page-removed .status-ring { color: var(--warning); background: linear-gradient(145deg, #fff, #fff7e8); }
.page-removed .status-ring::before { border-color: rgba(201, 123, 16, .18); }

.eyebrow { margin: 0; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-align: center; }
h1 { max-width: 490px; margin: 9px auto 0; color: #fff; font-size: clamp(25px, 5.5vw, 34px); font-weight: 850; letter-spacing: -.05em; line-height: 1.2; text-align: center; word-break: keep-all; }
.description { max-width: 430px; margin: 15px auto 0; color: var(--muted); font-size: 15px; line-height: 1.72; text-align: center; word-break: keep-all; }

.actions { display: flex; justify-content: center; margin-top: 25px; }
.btn { min-height: 49px; padding: 0 17px 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 14px; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:focus-visible { outline: 3px solid rgba(255, 70, 85, .55); outline-offset: 3px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #ff5b69, #dc2942); box-shadow: 0 12px 21px rgba(255, 70, 85, .28); }
.btn-primary:hover { background: linear-gradient(135deg, #ff6c78, #e02f48); box-shadow: 0 15px 26px rgba(255, 70, 85, .38); }
.btn-primary b { font-size: 19px; font-weight: 500; line-height: 1; transition: transform .18s ease; }
.btn-primary:hover b { transform: translateX(3px); }
.btn-secondary { color: #f2f5fa; border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07); box-shadow: 0 6px 16px rgba(0, 0, 0, .16); }
.btn-secondary:hover { background: rgba(255, 255, 255, .13); }

.assurance { max-width: 500px; margin: 28px auto 0; padding: 14px 15px; display: grid; grid-template-columns: 26px 1fr; gap: 11px; border: 1px solid rgba(255, 255, 255, .10); border-radius: 16px; background: linear-gradient(115deg, rgba(255, 70, 85, .12), rgba(255, 255, 255, .035)); text-align: left; }
.assurance-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #e2354a; font-family: Georgia, serif; font-size: 15px; font-weight: 700; }
.assurance strong { display: block; color: #f6f8fb; font-size: 13px; line-height: 1.45; word-break: keep-all; }
.assurance p { margin: 4px 0 0; color: #b6c0cf; font-size: 12px; line-height: 1.6; word-break: keep-all; }
.page-note { margin: 16px auto 0; color: #9faabc; font-size: 12px; line-height: 1.58; text-align: center; word-break: keep-all; }

.service-footer { display: flex; justify-content: center; align-items: center; gap: 9px; color: #9ca7b8; font-size: 12px; }
.service-footer strong { color: #f7c1c7; font-size: 13px; letter-spacing: .02em; }
.service-footer span::before { margin-right: 9px; color: #ff7a85; content: "•"; }

@keyframes reveal-card { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes status-pop { 0% { opacity: 0; transform: scale(.68); } 68% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
@keyframes halo-pulse { 0%, 100% { opacity: .18; transform: scale(.94); } 50% { opacity: .64; transform: scale(1.05); } }
@keyframes float-orb { from { transform: translate3d(-10px, 5px, 0) scale(.96); } to { transform: translate3d(17px, -13px, 0) scale(1.06); } }

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 620px); padding: 18px 0 22px; }
  .result-card { padding: 19px 19px 23px; border-radius: 24px; }
  .service-tag { font-size: 9px; letter-spacing: .06em; }
  .status-wrap { margin: 24px 0 15px; }
  .status-ring { width: 76px; height: 76px; }
  .status-ring span { font-size: 30px; }
  .description { font-size: 14px; }
  .assurance { margin-top: 23px; padding: 13px; grid-template-columns: 24px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
