:root {
  --bg: #eef1f6;
  --bg-soft: #f8f9fc;
  --navy: #0e1b31;
  --navy-2: #172944;
  --ink: #121c2c;
  --muted: #728096;
  --line: rgba(14, 27, 49, 0.12);
  --line-strong: rgba(14, 27, 49, 0.24);
  --white: #ffffff;
  --silver-1: #ffffff;
  --silver-2: #eef2f8;
  --silver-3: #c8d0df;
  --silver-4: #7d899e;
  --shadow: 0 30px 80px rgba(14, 27, 49, 0.18);
  --shadow-soft: 0 18px 44px rgba(14, 27, 49, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Noto Sans SC", "Noto Sans JP", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 26%, rgba(255,255,255,0.94), rgba(255,255,255,0.30) 32%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, #f7f8fb 0%, #edf0f5 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(14, 27, 49, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 27, 49, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.32;
  mask-image: radial-gradient(circle at center, black 26%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at center, black 26%, transparent 76%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 52%, rgba(14, 27, 49, 0.050), transparent 18%),
    radial-gradient(circle at 82% 44%, rgba(14, 27, 49, 0.040), transparent 22%);
  opacity: 0.72;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 76px;
  padding: 0 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: linear-gradient(90deg, rgba(10, 18, 32, 0.98), rgba(17, 31, 54, 0.98), rgba(10, 18, 32, 0.98));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
}

.header-balance {
  min-width: 1px;
}

.brand-center {
  justify-self: center;
  color: var(--white);
  text-decoration: none;
  font-size: clamp(1.12rem, 2.2vw, 1.68rem);
  font-weight: 800;
  letter-spacing: 0.30em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 16px rgba(255, 255, 255, 0.16);
}

.language-switcher {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.language-switcher button {
  appearance: none;
  border: 0;
  min-width: 42px;
  height: 32px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.70);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.language-switcher button:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.language-switcher button.active {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
}

.landing-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 114px 24px 56px;
}

.corner {
  position: fixed;
  width: 18px;
  height: 18px;
  border-color: rgba(14, 27, 49, 0.23);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

.corner-tl { top: 104px; left: 36px; border-width: 2px 0 0 2px; }
.corner-tr { top: 104px; right: 36px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 34px; left: 36px; border-width: 0 0 2px 2px; }
.corner-br { bottom: 34px; right: 36px; border-width: 0 2px 2px 0; }

.hero-center {
  position: relative;
  z-index: 3;
  width: min(680px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.metal-stage {
  position: relative;
  width: clamp(252px, 38vw, 390px);
  height: clamp(252px, 38vw, 390px);
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.hud-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hud-ring-one {
  inset: 4%;
  border: 1px solid rgba(14, 27, 49, 0.08);
  animation: hudSpin 34s linear infinite;
}

.hud-ring-two {
  inset: 12%;
  border: 1px dashed rgba(14, 27, 49, 0.15);
  animation: hudSpinReverse 28s linear infinite;
}

.hud-ring-three {
  inset: 22%;
  border: 1px solid rgba(14, 27, 49, 0.10);
}

.hud-ring-two::before,
.hud-ring-two::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(14, 27, 49, 0.22);
}

.hud-ring-two::before { top: 8%; left: 70%; }
.hud-ring-two::after { bottom: 10%; left: 22%; }

.badge-z-axis {
  position: relative;
  width: clamp(174px, 25vw, 252px);
  height: clamp(174px, 25vw, 252px);
  transform-style: preserve-3d;
  animation: badgeZAxisSpin 18s linear infinite;
}

.badge-shadow {
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background: rgba(14, 27, 49, 0.18);
  filter: blur(26px);
  transform: translate3d(14px, 34px, -42px) scale(1.06);
}

.badge-metal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform-style: preserve-3d;
  background:
    conic-gradient(from 210deg,
      #68758b 0deg,
      #f9fbff 42deg,
      #aeb8c9 86deg,
      #ffffff 132deg,
      #758298 184deg,
      #f1f4fa 236deg,
      #9da8bb 292deg,
      #68758b 360deg);
  box-shadow:
    inset 12px 14px 18px rgba(255, 255, 255, 0.78),
    inset -14px -18px 24px rgba(23, 38, 62, 0.28),
    0 28px 58px rgba(14, 27, 49, 0.22);
}

.badge-metal::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.96), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(192, 202, 218, 0.36));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.86),
    inset 0 0 0 10px rgba(14, 27, 49, 0.028),
    inset -10px -12px 18px rgba(14, 27, 49, 0.13);
}

.badge-metal::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(120deg, transparent 0 34%, rgba(255, 255, 255, 0.58) 43%, transparent 55% 100%);
  mix-blend-mode: screen;
  opacity: 0.65;
  transform: translateZ(16px);
  pointer-events: none;
}

.badge-rim-light {
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    0 0 0 1px rgba(14, 27, 49, 0.08),
    inset 0 10px 18px rgba(255, 255, 255, 0.72),
    inset 0 -12px 20px rgba(14, 27, 49, 0.10);
  transform: translateZ(8px);
}

.badge-core {
  position: relative;
  z-index: 2;
  width: 69%;
  height: 69%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  transform: translateZ(18px);
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.52) 30%, transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #eef2f8 58%, #d5dde9 100%);
  box-shadow:
    inset 0 0 0 1px rgba(14, 27, 49, 0.08),
    inset 0 8px 14px rgba(255, 255, 255, 0.90),
    inset 0 -10px 18px rgba(14, 27, 49, 0.11),
    0 8px 20px rgba(14, 27, 49, 0.10);
}

.badge-logo {
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.7)) contrast(1.10);
  opacity: 0.96;
}

.report-button {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  height: 64px;
  padding: 0 32px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(14, 27, 49, 0.12);
  box-shadow: 0 16px 38px rgba(14, 27, 49, 0.11);
  text-decoration: none;
  font-size: clamp(2.0rem, 4vw, 3.1rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.015em;
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.report-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 48px rgba(14, 27, 49, 0.16);
}

.report-button:active {
  transform: translateY(0);
}

.report-shell {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  padding: 120px 24px 56px;
  display: grid;
  place-items: center;
}

.report-panel {
  width: min(820px, 100%);
  padding: clamp(26px, 5vw, 44px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(14, 27, 49, 0.10);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.report-kicker {
  margin-bottom: 10px;
  color: rgba(14, 27, 49, 0.50);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.report-title,
.success-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.report-description,
.success-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.report-form-page {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-group.full {
  grid-column: 1 / -1;
}

.field-label {
  color: var(--navy);
  font-size: 0.96rem;
  font-weight: 850;
}

.field-help {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.rating-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.rating-grid label {
  cursor: pointer;
}

.rating-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 48px;
  padding: 0 15px;
  border-radius: 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(14, 27, 49, 0.12);
  box-shadow: 0 8px 18px rgba(14, 27, 49, 0.06);
  font-weight: 850;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.rating-grid input:checked + span {
  color: var(--white);
  background: linear-gradient(180deg, #142641, #0c182c);
  box-shadow: 0 12px 24px rgba(14, 27, 49, 0.20);
}

select,
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid rgba(14, 27, 49, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  outline: none;
  font: inherit;
  padding: 15px 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

select:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: rgba(14, 27, 49, 0.36);
  box-shadow: 0 0 0 4px rgba(14, 27, 49, 0.06);
}

textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.72;
}

.consent-box {
  padding: 18px;
  border-radius: 20px;
  background: rgba(14, 27, 49, 0.045);
  border: 1px solid rgba(14, 27, 49, 0.07);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.78;
}

.consent-row input {
  margin-top: 5px;
  transform: scale(1.10);
}

.form-actions-page {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.send-button,
.back-button {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.send-button {
  color: var(--white);
  background: linear-gradient(180deg, #142641, #0c182c);
  box-shadow: 0 14px 28px rgba(14, 27, 49, 0.20);
}

.back-button {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(14, 27, 49, 0.10);
}

.send-button:hover,
.back-button:hover {
  transform: translateY(-1px);
}

.success-panel {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(14, 27, 49, 0.10);
}

.success-summary {
  margin: 22px 0 0;
  padding: 18px;
  border-radius: 20px;
  color: var(--navy);
  background: rgba(14, 27, 49, 0.052);
  border: 1px solid rgba(14, 27, 49, 0.07);
  line-height: 1.85;
}

@keyframes badgeZAxisSpin {
  0% {
    transform: rotateX(13deg) rotateY(-9deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(13deg) rotateY(-9deg) rotateZ(-360deg);
  }
}

@keyframes hudSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hudSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .badge-z-axis,
  .hud-ring-one,
  .hud-ring-two {
    animation: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 70px;
    padding: 0 12px;
    grid-template-columns: 72px 1fr auto;
  }

  .brand-center {
    font-size: 1rem;
    letter-spacing: 0.22em;
  }

  .language-switcher {
    gap: 2px;
    padding: 4px;
  }

  .language-switcher button {
    min-width: 32px;
    height: 28px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .landing-shell {
    padding-top: 100px;
  }

  .corner-tl { top: 94px; left: 18px; }
  .corner-tr { top: 94px; right: 18px; }
  .corner-bl { bottom: 20px; left: 18px; }
  .corner-br { bottom: 20px; right: 18px; }

  .report-button {
    min-width: 150px;
    height: 58px;
    font-size: 2.15rem;
  }

  .report-shell {
    padding: 96px 14px 34px;
  }

  .report-panel {
    border-radius: 26px;
  }

  .report-form-page {
    grid-template-columns: 1fr;
  }

  .form-actions-page {
    flex-direction: column;
    align-items: stretch;
  }

  .send-button,
  .back-button {
    width: 100%;
  }
}
/* =========================================================
   C.O.V.E.R.T landing dashboard upgrade
   첫 화면 전용 스타일 덮어쓰기
   ========================================================= */

.landing-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.98), rgba(238, 244, 252, 0.78) 30%, rgba(238, 244, 252, 0) 58%),
    radial-gradient(circle at 50% 62%, rgba(58, 104, 190, 0.16), rgba(58, 104, 190, 0.03) 22%, rgba(58, 104, 190, 0) 48%),
    linear-gradient(180deg, #f7faff 0%, #edf2f8 100%);
}

.landing-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(31, 68, 130, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 68, 130, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(72, 116, 204, 0.12), rgba(72, 116, 204, 0) 38%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  opacity: 0.86;
  mask-image: radial-gradient(circle at center, black 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 82%);
}

.landing-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 50%, rgba(18, 48, 104, 0.055), transparent 18%),
    radial-gradient(circle at 82% 44%, rgba(18, 48, 104, 0.050), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(111, 159, 236, 0.035), rgba(255, 255, 255, 0));
  opacity: 0.9;
}

/* 첫 화면에서는 상단 바를 어둡게 막지 않고, 인트라넷 화면처럼 배경 위에 얹는다 */
.landing-page .site-header {
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.landing-page .brand-center {
  color: #0d1c32;
  text-shadow:
    0 0 18px rgba(91, 132, 213, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.9);
}

.landing-page .language-switcher {
  background: transparent;
  border: 0;
  gap: 14px;
  padding: 0;
}

.landing-page .language-switcher button {
  position: relative;
  min-width: auto;
  height: auto;
  padding: 8px 2px;
  border-radius: 0;
  color: rgba(13, 28, 50, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-page .language-switcher button:hover {
  color: #0d1c32;
  transform: translateY(-1px);
}

.landing-page .language-switcher button.active {
  background: transparent;
  color: #0d1c32;
}

.landing-page .language-switcher button.active::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 3px;
  height: 1px;
  background: rgba(13, 28, 50, 0.72);
}

/* 첫 화면 전체 */
.landing-page .landing-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 96px 24px 42px;
  overflow: hidden;
  isolation: isolate;
}

.landing-page .landing-shell::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 49%;
  width: min(760px, 72vw);
  height: min(760px, 72vw);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle, rgba(78, 126, 219, 0.11), rgba(78, 126, 219, 0.035) 36%, rgba(78, 126, 219, 0) 66%);
  filter: blur(4px);
  animation: covertHaloPulse 5.4s ease-in-out infinite;
}

.landing-page .landing-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(88, 131, 213, 0.045) 50%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(88, 131, 213, 0.030) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.82;
  animation: covertScreenBreathe 6s ease-in-out infinite;
}

/* 화면 가장자리 프레임 */
.landing-page .corner {
  width: 58px;
  height: 58px;
  border-color: rgba(25, 57, 112, 0.46);
  z-index: 4;
}

.landing-page .corner-tl {
  top: 36px;
  left: 30px;
  border-width: 2px 0 0 2px;
}

.landing-page .corner-tr {
  top: 36px;
  right: 30px;
  border-width: 2px 2px 0 0;
}

.landing-page .corner-bl {
  bottom: 30px;
  left: 30px;
  border-width: 0 0 2px 2px;
}

.landing-page .corner-br {
  bottom: 30px;
  right: 30px;
  border-width: 0 2px 2px 0;
}

/* 매트릭스 느낌의 데이터 흐름 */
.matrix-rain {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.9;
}

.matrix-column {
  position: absolute;
  top: -38%;
  white-space: nowrap;
  color: rgba(78, 117, 198, 0.115);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.76rem;
  line-height: 1.68;
  letter-spacing: 0.16em;
  text-align: left;
  text-shadow: 0 0 10px rgba(93, 137, 219, 0.16);
  animation-name: covertMatrixFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.matrix-column-1 {
  left: 3%;
  animation-duration: 18s;
  animation-delay: 0s;
}

.matrix-column-2 {
  left: 14%;
  animation-duration: 16s;
  animation-delay: -5s;
}

.matrix-column-3 {
  left: 28%;
  animation-duration: 22s;
  animation-delay: -8s;
}

.matrix-column-4 {
  right: 27%;
  animation-duration: 19s;
  animation-delay: -2s;
}

.matrix-column-5 {
  right: 14%;
  animation-duration: 17s;
  animation-delay: -9s;
}

.matrix-column-6 {
  right: 4%;
  animation-duration: 21s;
  animation-delay: -4s;
}

/* 화면 전체를 지나가는 스캔 라이트 */
.scan-sweep {
  position: absolute;
  left: -20%;
  top: 0;
  width: 18%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(116, 164, 246, 0.12), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  animation: covertSweep 7.6s linear infinite;
}

.hud-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 32%, rgba(24, 58, 116, 0.05), transparent 15%),
    radial-gradient(circle at 76% 65%, rgba(24, 58, 116, 0.045), transparent 18%);
  opacity: 0.7;
  animation: covertNoiseShift 7s ease-in-out infinite;
}

/* 중앙 영역 */
.landing-page .hero-center {
  position: relative;
  z-index: 5;
  width: min(780px, 100%);
  transform: translateY(14px);
}

/* 로고 스테이지 크기 확대 */
.landing-page .metal-stage {
  width: clamp(410px, 43vw, 620px);
  height: clamp(410px, 43vw, 620px);
  perspective: 1600px;
}

/* HUD 링 추가/강화 */
.landing-page .hud-ring {
  border-radius: 50%;
  pointer-events: none;
}

.landing-page .hud-ring-one {
  inset: 3%;
  border: 1px solid rgba(75, 119, 210, 0.18);
  box-shadow: 0 0 24px rgba(75, 119, 210, 0.08);
  animation: covertHudSpin 30s linear infinite;
}

.landing-page .hud-ring-two {
  inset: 10%;
  border: 1px dashed rgba(75, 119, 210, 0.24);
  animation: covertHudSpinReverse 24s linear infinite;
}

.landing-page .hud-ring-three {
  inset: 19%;
  border: 1px solid rgba(75, 119, 210, 0.13);
  animation: covertRingPulse 4.8s ease-in-out infinite;
}

.landing-page .hud-ring-four {
  position: absolute;
  inset: 28%;
  border: 1px solid rgba(75, 119, 210, 0.11);
  border-radius: 50%;
  animation: covertHudSpin 18s linear infinite;
}

.landing-page .hud-ring-two::before,
.landing-page .hud-ring-two::after {
  width: 8px;
  height: 8px;
  background: rgba(72, 116, 204, 0.42);
  box-shadow: 0 0 18px rgba(72, 116, 204, 0.35);
}

/* 배지를 크게 만들고, 중앙 기준 Z축 회전 */
.landing-page .badge-z-axis {
  width: clamp(305px, 31vw, 455px);
  height: clamp(305px, 31vw, 455px);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  animation: covertBadgeZAxisSpin 20s linear infinite;
  will-change: transform;
}

.landing-page .badge-shadow {
  position: absolute;
  left: 50%;
  bottom: -11%;
  width: 60%;
  height: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(23, 58, 130, 0.30), rgba(23, 58, 130, 0.08) 56%, rgba(23, 58, 130, 0) 100%);
  filter: blur(16px);
  transform: translateX(-50%) translateZ(-80px);
  animation: covertBadgeShadowPulse 4.2s ease-in-out infinite;
}

/* 금속 뱃지 본체 */
.landing-page .badge-metal {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform-style: preserve-3d;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 24%),
    conic-gradient(from 118deg,
      #f7fbff 0deg,
      #7b879c 36deg,
      #e5ebf4 72deg,
      #536176 120deg,
      #ffffff 166deg,
      #9ba7ba 212deg,
      #eff4fb 258deg,
      #657288 304deg,
      #f7fbff 360deg);
  box-shadow:
    inset 16px 18px 28px rgba(255, 255, 255, 0.78),
    inset -18px -22px 34px rgba(11, 26, 52, 0.34),
    inset 0 0 0 2px rgba(255, 255, 255, 0.55),
    0 34px 70px rgba(11, 26, 52, 0.25);
}

.landing-page .badge-metal::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.10) 0 1px, rgba(14, 27, 49, 0.035) 1px 2px, transparent 2px 7px),
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.95), transparent 20%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(148, 160, 181, 0.42));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.86),
    inset 0 0 0 13px rgba(14, 27, 49, 0.030),
    inset -14px -16px 24px rgba(14, 27, 49, 0.17);
  transform: translateZ(8px);
}

.landing-page .badge-metal::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background:
    linear-gradient(120deg, transparent 0 31%, rgba(255, 255, 255, 0.72) 41%, transparent 53% 100%);
  mix-blend-mode: screen;
  opacity: 0.78;
  transform: translateZ(24px);
  pointer-events: none;
  animation: covertMetalGlint 5.8s ease-in-out infinite;
}

.landing-page .badge-rim-light {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0 0 2px rgba(14, 27, 49, 0.18),
    0 0 26px rgba(76, 121, 210, 0.16),
    inset 0 14px 22px rgba(255, 255, 255, 0.76),
    inset 0 -16px 26px rgba(14, 27, 49, 0.15);
  transform: translateZ(24px);
}

.landing-page .badge-core {
  position: relative;
  z-index: 2;
  width: 66%;
  height: 66%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  transform: translateZ(42px);
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.42) 28%, transparent 46%),
    conic-gradient(from 160deg, #ffffff, #aeb9ca, #eef3fa, #7b879d, #ffffff),
    linear-gradient(180deg, #ffffff 0%, #e7edf6 58%, #c6d1e0 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.82),
    inset 0 0 0 10px rgba(14, 27, 49, 0.075),
    inset 0 10px 18px rgba(255, 255, 255, 0.90),
    inset 0 -16px 26px rgba(14, 27, 49, 0.17),
    0 12px 24px rgba(14, 27, 49, 0.16);
}

.landing-page .badge-logo {
  width: 84%;
  height: 84%;
  object-fit: contain;
  display: block;
  opacity: 0.96;
  mix-blend-mode: multiply;
  filter:
    drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.80))
    drop-shadow(0 3px 4px rgba(7, 17, 34, 0.42))
    contrast(1.28)
    brightness(0.74)
    saturate(0.9);
}

/* REPORT 버튼: 바탕색 없는 글자형 버튼 */
.landing-page .report-button {
  position: relative;
  z-index: 6;
  margin-top: 40px;
  display: inline-block;
  min-width: auto;
  height: auto;
  padding: 10px 18px;
  border-radius: 0;
  color: #153a78;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  text-decoration: none;
  font-size: clamp(2.5rem, 4.7vw, 4.35rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(76, 121, 210, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.86);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    letter-spacing 0.2s ease,
    text-shadow 0.2s ease;
  animation: covertReportPulse 3.6s ease-in-out infinite;
}

.landing-page .report-button::before,
.landing-page .report-button::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px;
  height: 26px;
  border-color: rgba(72, 116, 204, 0.55);
  border-style: solid;
  transform: translateY(-50%);
  pointer-events: none;
}

.landing-page .report-button::before {
  left: -26px;
  border-width: 2px 0 0 2px;
}

.landing-page .report-button::after {
  right: -26px;
  border-width: 0 2px 2px 0;
}

.landing-page .report-button:hover {
  transform: translateY(2px);
  color: #2453a0;
  background: transparent;
  box-shadow: none;
  letter-spacing: 0.40em;
  text-shadow:
    0 0 26px rgba(76, 121, 210, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.92);
}

.landing-page .report-button:active {
  transform: translateY(4px);
}

/* 좌우 HUD 패널 */
.hud-panel {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  color: #183765;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0.08em;
  text-align: left;
  animation: covertHudFloat 6s ease-in-out infinite;
}

.target-area-panel {
  left: clamp(34px, 8vw, 150px);
  top: 43%;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.classified-panel {
  right: clamp(34px, 8vw, 142px);
  top: 26%;
  animation-delay: -1.4s;
}

.operation-log-panel {
  right: clamp(34px, 8vw, 150px);
  bottom: 18%;
  animation-delay: -2.2s;
}

.hud-card {
  position: relative;
  min-width: 220px;
  padding: 18px 22px;
  border: 1px solid rgba(50, 91, 168, 0.20);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.hud-card::before,
.hud-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(50, 91, 168, 0.48);
  border-style: solid;
}

.hud-card::before {
  left: -1px;
  top: -1px;
  border-width: 1px 0 0 1px;
}

.hud-card::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.hud-card .hud-title,
.hud-card .hud-row,
.hud-content .hud-title,
.hud-content .hud-row {
  position: relative;
  z-index: 1;
}

.hud-card::selection,
.hud-content::selection {
  background: transparent;
}

.hud-card::marker,
.hud-content::marker {
  color: transparent;
}

.hud-card::before {
  animation: covertHudCornerBlink 2.8s ease-in-out infinite;
}

.hud-card::after {
  animation: covertHudCornerBlink 2.8s ease-in-out infinite reverse;
}

.hud-stripe {
  width: 54px;
  height: 6px;
  margin-bottom: 16px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(24, 55, 101, 0.72) 0 4px,
      transparent 4px 8px
    );
  animation: covertStripeMove 1.8s linear infinite;
}

.hud-title {
  margin-bottom: 8px;
  color: #193966;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: covertHudFlicker 4s ease-in-out infinite;
}

.hud-title-large {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  letter-spacing: 0.12em;
}

.hud-row {
  color: rgba(16, 33, 60, 0.82);
  font-size: 0.95rem;
  line-height: 1.8;
  animation: covertHudFlicker 3.7s ease-in-out infinite;
}

.hud-row:nth-child(2) {
  animation-delay: -0.5s;
}

.hud-row:nth-child(3) {
  animation-delay: -1.1s;
}

.hud-rule {
  width: 220px;
  height: 1px;
  margin: 0 0 16px;
  background:
    linear-gradient(90deg, rgba(25, 57, 102, 0.72), rgba(25, 57, 102, 0.18), transparent);
  position: relative;
  overflow: hidden;
}

.hud-rule::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 28%;
  height: 100%;
  background: rgba(89, 136, 222, 0.7);
  animation: covertRuleScan 3.2s linear infinite;
}

.hud-dots {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}

.hud-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(54, 95, 174, 0.65);
  animation: covertDotBlink 1.4s ease-in-out infinite;
}

.hud-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.hud-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.hud-cross {
  position: relative;
  width: 30px;
  height: 30px;
  margin-top: 4px;
  border: 1px solid rgba(50, 91, 168, 0.44);
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(75, 119, 210, 0.16),
    inset 0 0 0 6px rgba(255, 255, 255, 0.22);
  animation: covertTargetPulse 2.4s ease-in-out infinite;
}

.hud-cross::before,
.hud-cross::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(50, 91, 168, 0.58);
  transform: translate(-50%, -50%);
}

.hud-cross::before {
  width: 42px;
  height: 1px;
}

.hud-cross::after {
  width: 1px;
  height: 42px;
}

.hud-cross span:first-child {
  position: absolute;
  left: 50%;
  top: -8px;
  width: 1px;
  height: 8px;
  background: rgba(50, 91, 168, 0.44);
  transform: translateX(-50%);
}

.hud-cross span:last-child {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 1px;
  height: 8px;
  background: rgba(50, 91, 168, 0.44);
  transform: translateX(-50%);
}

/* 하단 작은 화살표 */
.bottom-chevron {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 5;
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(30, 68, 132, 0.45);
  border-bottom: 2px solid rgba(30, 68, 132, 0.45);
  transform: translateX(-50%) rotate(45deg);
  animation: covertChevronMove 1.8s ease-in-out infinite;
}

/* =========================================================
   Animations
   ========================================================= */

@keyframes covertBadgeZAxisSpin {
  0% {
    transform: rotateX(14deg) rotateY(-10deg) rotateZ(0deg) translateZ(0);
  }

  50% {
    transform: rotateX(14deg) rotateY(-10deg) rotateZ(180deg) translateZ(14px);
  }

  100% {
    transform: rotateX(14deg) rotateY(-10deg) rotateZ(360deg) translateZ(0);
  }
}

@keyframes covertHudSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes covertHudSpinReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes covertRingPulse {
  0%, 100% {
    opacity: 0.42;
    transform: scale(1);
  }

  50% {
    opacity: 0.94;
    transform: scale(1.02);
  }
}

@keyframes covertBadgeShadowPulse {
  0%, 100% {
    opacity: 0.62;
    transform: translateX(-50%) translateZ(-80px) scale(1);
  }

  50% {
    opacity: 0.92;
    transform: translateX(-50%) translateZ(-80px) scale(1.08);
  }
}

@keyframes covertMetalGlint {
  0%, 100% {
    opacity: 0.35;
    transform: translateZ(24px) rotate(0deg);
  }

  40% {
    opacity: 0.92;
  }

  60% {
    opacity: 0.52;
  }

  100% {
    transform: translateZ(24px) rotate(360deg);
  }
}

@keyframes covertReportPulse {
  0%, 100% {
    opacity: 0.92;
  }

  50% {
    opacity: 1;
  }
}

@keyframes covertMatrixFall {
  0% {
    transform: translateY(-18%);
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  100% {
    transform: translateY(150%);
    opacity: 0;
  }
}

@keyframes covertSweep {
  0% {
    left: -28%;
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  100% {
    left: 118%;
    opacity: 0;
  }
}

@keyframes covertNoiseShift {
  0%, 100% {
    opacity: 0.55;
    transform: translateY(0);
  }

  50% {
    opacity: 0.85;
    transform: translateY(-8px);
  }
}

@keyframes covertScreenBreathe {
  0%, 100% {
    opacity: 0.56;
  }

  50% {
    opacity: 0.95;
  }
}

@keyframes covertHaloPulse {
  0%, 100% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.045);
  }
}

@keyframes covertHudFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes covertHudFlicker {
  0%, 100% {
    opacity: 1;
  }

  47% {
    opacity: 0.86;
  }

  50% {
    opacity: 0.38;
  }

  53% {
    opacity: 0.98;
  }
}

@keyframes covertHudCornerBlink {
  0%, 100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

@keyframes covertStripeMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 16px 0;
  }
}

@keyframes covertRuleScan {
  0% {
    left: -30%;
  }

  100% {
    left: 110%;
  }
}

@keyframes covertDotBlink {
  0%, 100% {
    opacity: 0.28;
  }

  50% {
    opacity: 1;
  }
}

@keyframes covertTargetPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 18px rgba(75, 119, 210, 0.16),
      inset 0 0 0 6px rgba(255, 255, 255, 0.22);
  }

  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 26px rgba(75, 119, 210, 0.34),
      inset 0 0 0 6px rgba(255, 255, 255, 0.32);
  }
}

@keyframes covertChevronMove {
  0%, 100% {
    transform: translateX(-50%) translateY(0) rotate(45deg);
    opacity: 0.42;
  }

  50% {
    transform: translateX(-50%) translateY(8px) rotate(45deg);
    opacity: 0.92;
  }
}

/* 움직임 최소화 설정을 켠 사용자를 위한 처리 */
@media (prefers-reduced-motion: reduce) {
  .landing-page .badge-z-axis,
  .landing-page .hud-ring-one,
  .landing-page .hud-ring-two,
  .landing-page .hud-ring-three,
  .landing-page .hud-ring-four,
  .matrix-column,
  .scan-sweep,
  .hud-noise,
  .hud-panel,
  .bottom-chevron,
  .landing-page .report-button {
    animation: none;
  }
}

/* 모바일 대응 */
@media (max-width: 900px) {
  .landing-page {
    overflow: hidden;
  }

  .landing-page .site-header {
    height: 70px;
    padding: 0 14px;
    grid-template-columns: 74px 1fr auto;
  }

  .landing-page .brand-center {
    font-size: 1rem;
    letter-spacing: 0.22em;
  }

  .landing-page .language-switcher {
    gap: 8px;
  }

  .landing-page .language-switcher button {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .landing-page .landing-shell {
    padding: 88px 18px 42px;
  }

  .target-area-panel,
  .classified-panel,
  .operation-log-panel {
    display: none;
  }

  .matrix-rain {
    opacity: 0.45;
  }

  .landing-page .metal-stage {
    width: clamp(320px, 86vw, 430px);
    height: clamp(320px, 86vw, 430px);
  }

  .landing-page .badge-z-axis {
    width: clamp(235px, 64vw, 310px);
    height: clamp(235px, 64vw, 310px);
  }

  .landing-page .report-button {
    margin-top: 28px;
    font-size: clamp(2rem, 12vw, 3.1rem);
    letter-spacing: 0.22em;
  }

  .landing-page .report-button::before,
  .landing-page .report-button::after {
    width: 18px;
    height: 18px;
  }

  .landing-page .report-button::before {
    left: -14px;
  }

  .landing-page .report-button::after {
    right: -14px;
  }

  .landing-page .corner {
    width: 30px;
    height: 30px;
  }

  .landing-page .corner-tl {
    top: 92px;
    left: 18px;
  }

  .landing-page .corner-tr {
    top: 92px;
    right: 18px;
  }

  .landing-page .corner-bl {
    bottom: 20px;
    left: 18px;
  }

  .landing-page .corner-br {
    bottom: 20px;
    right: 18px;
  }
}

@media (max-width: 520px) {
  .landing-page .metal-stage {
    width: 300px;
    height: 300px;
  }

  .landing-page .badge-z-axis {
    width: 225px;
    height: 225px;
  }

  .landing-page .report-button {
    margin-top: 22px;
    font-size: 2rem;
    letter-spacing: 0.18em;
  }

  .bottom-chevron {
    bottom: 20px;
  }
}

/* =========================================================
   FINAL VIEWPORT / SIMPLE REPORT / CRT COMPLETE OVERRIDES
   이 블록은 styles.css의 가장 마지막에 추가
   ========================================================= */

[hidden] {
  display: none !important;
}

/* ---------------------------------------------------------
   1. 첫 화면을 현재 브라우저 높이에 정확히 맞춤
   --------------------------------------------------------- */

.landing-page {
  overflow: hidden;
}

.landing-page .landing-shell {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  padding: 82px 24px 18px;
  overflow: hidden;
}

.landing-page .hero-center {
  width: min(720px, 100%);
  max-height: calc(100svh - 100px);
  transform: none;
}

.landing-page .metal-stage {
  width: clamp(250px, 42vw, 520px);
  height: clamp(250px, 42vw, 520px);
  width: clamp(250px, min(42vw, 58svh), 520px);
  height: clamp(250px, min(42vw, 58svh), 520px);
}

.landing-page .badge-z-axis {
  width: 72%;
  height: 72%;
}

.landing-page .report-button {
  margin-top: clamp(8px, 1.5svh, 18px);
  min-width: 0;
  height: auto;
  padding: 8px 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: clamp(2rem, min(4.1vw, 5.2svh), 4rem);
}

.landing-page .bottom-chevron {
  bottom: 10px;
}

@media (max-width: 1100px) {
  .landing-page .hud-panel {
    display: none;
  }
}

@media (max-height: 680px) {
  .landing-page .hud-panel,
  .landing-page .bottom-chevron {
    display: none;
  }

  .landing-page .landing-shell {
    padding-top: 74px;
    padding-bottom: 8px;
  }

  .landing-page .metal-stage {
    width: clamp(220px, min(38vw, 54svh), 400px);
    height: clamp(220px, min(38vw, 54svh), 400px);
  }

  .landing-page .report-button {
    margin-top: 4px;
  }
}

@media (max-width: 900px) {
  .landing-page .site-header {
    height: 64px;
    padding: 0 12px;
    grid-template-columns: 72px 1fr auto;
  }

  .landing-page .landing-shell {
    height: 100vh;
    height: 100svh;
    padding: 72px 12px 10px;
  }

  .landing-page .hero-center {
    max-height: calc(100svh - 82px);
  }

  .landing-page .metal-stage {
    width: clamp(230px, min(82vw, 52svh), 390px);
    height: clamp(230px, min(82vw, 52svh), 390px);
  }

  .landing-page .report-button {
    margin-top: 8px;
    padding: 6px 12px;
    font-size: clamp(1.75rem, min(10vw, 4.8svh), 2.9rem);
    letter-spacing: 0.20em;
  }

  .landing-page .report-button::before,
  .landing-page .report-button::after {
    width: 16px;
    height: 16px;
  }

  .landing-page .report-button::before {
    left: -10px;
  }

  .landing-page .report-button::after {
    right: -10px;
  }

  .landing-page .corner-tl,
  .landing-page .corner-tr {
    top: 78px;
  }

  .landing-page .corner-bl,
  .landing-page .corner-br {
    bottom: 12px;
  }
}

@media (max-height: 520px) {
  .landing-page .site-header {
    height: 56px;
  }

  .landing-page .landing-shell {
    padding: 60px 10px 6px;
  }

  .landing-page .metal-stage {
    width: clamp(190px, min(44vw, 52svh), 280px);
    height: clamp(190px, min(44vw, 52svh), 280px);
  }

  .landing-page .report-button {
    margin-top: 0;
    font-size: clamp(1.45rem, 4.4svh, 2rem);
  }

  .landing-page .matrix-rain {
    opacity: 0.28;
  }
}

/* ---------------------------------------------------------
   2. 간단한 FINAL REPORT 화면
   --------------------------------------------------------- */

.report-page {
  overflow-y: auto;
}

.report-page .report-shell {
  min-height: 100vh;
  min-height: 100svh;
  padding: 98px 18px 32px;
  place-items: start center;
}

.report-page .report-panel {
  width: min(680px, 100%);
  padding: clamp(24px, 4vw, 36px);
  border-radius: 28px;
}

.report-page .report-kicker-main {
  margin: 0;
  color: var(--navy);
  text-align: center;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0.22em;
}

.report-page .simple-report-form {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.report-page .simple-report-form .field-group {
  grid-column: 1 / -1;
}

.report-page .simple-report-form textarea {
  min-height: 180px;
  resize: vertical;
}

.report-page .consent-box {
  margin-top: -2px;
  padding: 16px;
}

.report-page .simple-form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
}

.report-page .simple-form-actions .send-button {
  width: auto;
  min-width: 190px;
  padding: 0 30px;
}

.report-page .send-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.image-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.image-upload-box {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed rgba(14, 27, 49, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.image-upload-box:hover {
  border-color: rgba(14, 27, 49, 0.42);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.image-upload-mark {
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;
}

.image-preview {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(14, 27, 49, 0.045);
  border: 1px solid rgba(14, 27, 49, 0.08);
}

.image-preview img {
  width: 104px;
  height: 78px;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(14, 27, 49, 0.06);
}

.image-preview-info {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.image-preview-info span {
  min-width: 0;
  overflow: hidden;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-remove-button {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid rgba(14, 27, 49, 0.12);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

@media (max-width: 720px) {
  .report-page .report-shell {
    padding: 86px 12px 22px;
  }

  .report-page .report-panel {
    padding: 22px 18px 24px;
    border-radius: 22px;
  }

  .report-page .report-kicker-main {
    font-size: clamp(1.5rem, 7.6vw, 2.15rem);
    letter-spacing: 0.16em;
  }

  .report-page .simple-report-form {
    margin-top: 22px;
    gap: 16px;
  }

  .report-page .simple-report-form textarea {
    min-height: 156px;
  }

  .report-page .simple-form-actions {
    flex-direction: row;
    align-items: center;
  }

  .report-page .simple-form-actions .send-button {
    width: min(240px, 100%);
    min-width: 0;
  }

  .image-preview {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .image-preview img {
    width: 82px;
    height: 66px;
  }
}

/* ---------------------------------------------------------
   3. MISSION COMPLETE + CRT terminal sequence
   --------------------------------------------------------- */

.mission-complete-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.mission-complete-page::before,
.mission-complete-page::after {
  display: none;
}

.mission-sequence {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.mission-complete-intro {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 24px;
  transform-origin: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.98), rgba(237, 243, 251, 0.88) 42%, rgba(220, 229, 242, 0.82) 100%),
    #eef3f9;
}

.mission-complete-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(18, 45, 88, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 45, 88, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.55;
}

.complete-logo-badge {
  position: relative;
  z-index: 1;
  width: clamp(180px, 23vw, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(from 140deg, #ffffff, #79869b, #eef3fa, #536177, #ffffff, #8c98aa, #ffffff);
  box-shadow:
    inset 14px 16px 24px rgba(255, 255, 255, 0.78),
    inset -16px -20px 28px rgba(12, 28, 52, 0.30),
    0 28px 64px rgba(12, 28, 52, 0.24);
  animation: completeBadgeFloat 3.2s ease-in-out infinite;
}

.complete-logo-badge::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.80);
  box-shadow:
    0 0 0 2px rgba(15, 37, 75, 0.22),
    inset 0 -14px 24px rgba(15, 37, 75, 0.16);
}

.complete-logo-core {
  position: relative;
  z-index: 1;
  width: 67%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #d8e1ed);
  box-shadow:
    inset 0 0 0 9px rgba(15, 37, 75, 0.07),
    inset 0 -12px 20px rgba(15, 37, 75, 0.15);
}

.complete-logo-core img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.2) brightness(0.78);
}

.mission-complete-heading {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #0e2344;
  text-align: center;
  font-size: clamp(2.4rem, 7vw, 6.6rem);
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-shadow:
    0 0 24px rgba(55, 102, 190, 0.15),
    0 1px 0 rgba(255, 255, 255, 0.9);
}

.intro-powering-off .mission-complete-intro {
  animation: completeCrtOff 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.terminal-screen {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  transform: scaleY(0.004) scaleX(0.18);
  transform-origin: center;
  background:
    radial-gradient(circle at center, rgba(0, 36, 8, 0.18), rgba(0, 0, 0, 0.94) 64%),
    #000;
}

.terminal-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.028) 0,
      rgba(255, 255, 255, 0.028) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.78;
  animation: terminalScanMove 8s linear infinite;
}

.terminal-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 160px rgba(0, 0, 0, 0.94),
    inset 0 0 36px rgba(87, 255, 104, 0.08);
}

.terminal-inner {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 48px));
  color: #89ff88;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(1.05rem, 2.4vw, 2rem);
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 8px rgba(83, 255, 103, 0.44),
    0 0 22px rgba(83, 255, 103, 0.18);
}

.terminal-text {
  display: inline;
  margin: 0;
  white-space: pre-wrap;
}

.terminal-cursor {
  display: inline-block;
  margin-left: 4px;
  color: #b8ffb7;
  animation: terminalCursorBlink 0.82s steps(1, end) infinite;
}

.terminal-powering-on .terminal-screen {
  animation: completeCrtOn 0.82s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.terminal-powering-off .terminal-screen {
  animation: completeTerminalOff 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

/* 완료 후 index 화면이 다시 켜지는 효과 */
.return-crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
  background: #000;
  animation: returnBlackoutFade 1.05s ease forwards;
}

.return-crt-overlay span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 2px;
  transform: translate(-50%, -50%) scaleX(0);
  background: #dff7ff;
  box-shadow:
    0 0 12px #ffffff,
    0 0 34px rgba(124, 196, 255, 0.9);
  animation: returnPowerLine 0.72s ease forwards;
}

@keyframes completeBadgeFloat {
  0%, 100% {
    transform: translateY(0) rotateZ(-1deg);
  }
  50% {
    transform: translateY(-10px) rotateZ(1deg);
  }
}

@keyframes completeCrtOff {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }
  54% {
    opacity: 1;
    transform: scaleY(0.018) scaleX(1);
    filter: brightness(4.5);
  }
  78% {
    opacity: 1;
    transform: scaleY(0.005) scaleX(0.62);
    filter: brightness(7);
  }
  100% {
    opacity: 0;
    transform: scaleY(0) scaleX(0.12);
    filter: brightness(0);
  }
}

@keyframes completeCrtOn {
  0% {
    opacity: 0;
    transform: scaleY(0.003) scaleX(0.12);
    filter: brightness(7);
  }
  32% {
    opacity: 1;
    transform: scaleY(0.009) scaleX(1);
    filter: brightness(5);
  }
  62% {
    opacity: 1;
    transform: scaleY(1.04) scaleX(1);
    filter: brightness(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes completeTerminalOff {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }
  55% {
    opacity: 1;
    transform: scaleY(0.012) scaleX(1);
    filter: brightness(5);
  }
  100% {
    opacity: 0;
    transform: scaleY(0) scaleX(0.08);
    filter: brightness(0);
  }
}

@keyframes terminalScanMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 24px;
  }
}

@keyframes terminalCursorBlink {
  0%, 48% {
    opacity: 1;
  }
  49%, 100% {
    opacity: 0;
  }
}

@keyframes returnBlackoutFade {
  0%, 58% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes returnPowerLine {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
  }
  26% {
    opacity: 1;
    transform: translate(-50%, -50%) scaleX(0.18);
  }
  68% {
    opacity: 1;
    transform: translate(-50%, -50%) scaleX(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(1);
  }
}

@media (max-width: 720px) {
  .mission-complete-intro {
    gap: 24px;
  }

  .mission-complete-heading {
    font-size: clamp(2rem, 12vw, 3.5rem);
    letter-spacing: 0.08em;
  }

  .terminal-inner {
    width: calc(100% - 32px);
    font-size: clamp(1rem, 5.2vw, 1.35rem);
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .complete-logo-badge,
  .mission-complete-intro,
  .terminal-screen,
  .terminal-screen::before,
  .terminal-cursor,
  .return-crt-overlay,
  .return-crt-overlay span {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* =========================================================
   C.O.V.E.R.T signal noise transition
   초기 암전 1초 + 마지막 페이지 디졸브 1초
   ========================================================= */

/*
 * 완료 페이지와 다음 index 페이지에서 공통으로 사용하는
 * 전체 화면 노이즈 레이어
 */
.signal-noise-overlay,
.return-noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  overflow: hidden;
  background: #000;
}

/*
 * 실제 TV 수신 불량과 유사한 미세 입자
 */
.signal-noise-overlay::before,
.return-noise-overlay::before {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0.92;
  mix-blend-mode: screen;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.95'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 220px;
  animation:
    covertStaticJitter 0.09s steps(2, end) infinite;
}

/*
 * 수평 주사선과 순간적으로 지나가는 밝은 노이즈 띠
 */
.signal-noise-overlay::after,
.return-noise-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.78;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 2px,
      rgba(255, 255, 255, 0.18) 2px,
      rgba(255, 255, 255, 0.18) 3px,
      transparent 3px,
      transparent 7px
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 255, 255, 0.38) 44%,
      rgba(255, 255, 255, 0.08) 48%,
      transparent 54%
    );
  animation:
    covertStaticBands 0.13s steps(2, end) infinite;
}

/*
 * mission-complete.html에 항상 들어 있지만
 * 전환이 아닐 때는 보이지 않는다.
 */
.signal-noise-overlay {
  opacity: 0;
  visibility: hidden;
}

/*
 * 초기 MISSION COMPLETE 화면에서
 * 1초 동안 노이즈가 차오르며 암전
 */
.signal-noise-overlay.noise-blackout-in {
  visibility: visible;
  animation:
    covertInitialNoiseBlackout 1.5s steps(27, end) forwards;
}

/*
 * 노이즈 아래의 MISSION COMPLETE 화면도
 * 같은 1초 동안 흐트러지며 사라진다.
 */
.initial-noise-transition .mission-complete-intro {
  animation:
    covertIntroNoiseDissolve 1.5s linear forwards;
}

/*
 * 1초 뒤 바로 나타나는 터미널 화면
 * 기존의 접혔다가 켜지는 초기 transform을 무효화한다.
 */
.terminal-screen.terminal-active {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1);
}

/*
 * 타이핑이 끝나고 5초 후,
 * 현재 페이지에서 실행되는 첫 번째 0.5초
 */
.signal-noise-overlay.noise-dissolve-out {
  visibility: visible;
  animation:
    covertOutgoingNoiseDissolve 0.75s steps(15, end) forwards;
}

.final-noise-transition .terminal-screen {
  animation:
    covertTerminalNoiseDissolve 0.75s linear forwards;
}

/*
 * index.html로 이동한 뒤 실행되는 나머지 0.75초
 * 처음에는 검은 노이즈가 화면을 덮고 있다가
 * 점차 사라지며 index 화면을 공개한다.
 */
.return-noise-overlay {
  opacity: 1;
  visibility: visible;
  animation:
    covertIncomingNoiseDissolve 0.75s steps(15, end) forwards;
}

/* =========================================================
   Noise animations
   ========================================================= */

@keyframes covertStaticJitter {
  0% {
    transform:
      translate3d(-3%, -2%, 0)
      scale(1.08);
    background-position: 0 0;
  }

  20% {
    transform:
      translate3d(2%, -4%, 0)
      scale(1.10);
    background-position: 37px -52px;
  }

  40% {
    transform:
      translate3d(-4%, 3%, 0)
      scale(1.07);
    background-position: -91px 44px;
  }

  60% {
    transform:
      translate3d(4%, 1%, 0)
      scale(1.11);
    background-position: 68px 103px;
  }

  80% {
    transform:
      translate3d(-1%, 4%, 0)
      scale(1.09);
    background-position: -43px -79px;
  }

  100% {
    transform:
      translate3d(3%, -3%, 0)
      scale(1.08);
    background-position: 116px 28px;
  }
}

@keyframes covertStaticBands {
  0% {
    transform: translateY(-42%);
    opacity: 0.44;
  }

  25% {
    transform: translateY(-8%);
    opacity: 0.90;
  }

  50% {
    transform: translateY(19%);
    opacity: 0.52;
  }

  75% {
    transform: translateY(46%);
    opacity: 0.96;
  }

  100% {
    transform: translateY(82%);
    opacity: 0.58;
  }
}

/*
 * 첫 화면 노이즈:
 * 계속 일정하게 진해지는 것이 아니라 순간적으로 깜빡이며
 * 마지막에는 완전한 검은 화면이 된다.
 */
@keyframes covertInitialNoiseBlackout {
  0% {
    opacity: 0;
    filter: contrast(1) brightness(1.2);
  }

  8% {
    opacity: 0.52;
    filter: contrast(1.8) brightness(1.5);
  }

  16% {
    opacity: 0.20;
  }

  25% {
    opacity: 0.68;
  }

  34% {
    opacity: 0.35;
  }

  48% {
    opacity: 0.78;
    filter: contrast(2.1) brightness(1.1);
  }

  57% {
    opacity: 0.49;
  }

  68% {
    opacity: 0.88;
  }

  78% {
    opacity: 0.66;
  }

  89% {
    opacity: 0.96;
  }

  100% {
    opacity: 1;
    filter: contrast(2.3) brightness(0.38);
  }
}

@keyframes covertIntroNoiseDissolve {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: contrast(1) brightness(1);
  }

  20% {
    transform: translate3d(-2px, 0, 0) scale(1.002);
  }

  38% {
    transform: translate3d(3px, -1px, 0) scale(0.998);
    filter: contrast(1.5) brightness(1.15);
  }

  56% {
    opacity: 0.72;
    transform: translate3d(-4px, 1px, 0) scale(1.004);
  }

  76% {
    opacity: 0.34;
    transform: translate3d(2px, 0, 0) scale(0.996);
    filter: contrast(2) brightness(0.72) blur(1px);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.99);
    filter: contrast(2.4) brightness(0.16) blur(2px);
  }
}

/*
 * 현재 터미널 화면에서 시작되는 0.5초 노이즈
 */
@keyframes covertOutgoingNoiseDissolve {
  0% {
    opacity: 0;
    filter: contrast(1) brightness(1);
  }

  14% {
    opacity: 0.72;
  }

  25% {
    opacity: 0.34;
  }

  38% {
    opacity: 0.84;
  }

  52% {
    opacity: 0.51;
  }

  67% {
    opacity: 0.92;
    filter: contrast(2) brightness(0.92);
  }

  81% {
    opacity: 0.70;
  }

  100% {
    opacity: 1;
    filter: contrast(2.3) brightness(0.34);
  }
}

@keyframes covertTerminalNoiseDissolve {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: contrast(1) brightness(1);
  }

  25% {
    transform: translate3d(-3px, 0, 0) scale(1.002);
  }

  48% {
    opacity: 0.78;
    transform: translate3d(4px, 1px, 0) scale(0.998);
    filter: contrast(1.7) brightness(1.18);
  }

  72% {
    opacity: 0.38;
    transform: translate3d(-2px, -1px, 0) scale(1.004);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.99);
    filter: contrast(2.5) brightness(0.12) blur(2px);
  }
}

/*
 * 새 index.html에서 노이즈가 걷히는 0.5초
 */
@keyframes covertIncomingNoiseDissolve {
  0% {
    opacity: 1;
    visibility: visible;
    filter: contrast(2.3) brightness(0.38);
  }

  18% {
    opacity: 0.72;
  }

  31% {
    opacity: 0.92;
  }

  45% {
    opacity: 0.55;
  }

  58% {
    opacity: 0.76;
  }

  73% {
    opacity: 0.34;
    filter: contrast(1.8) brightness(1);
  }

  86% {
    opacity: 0.18;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    filter: contrast(1) brightness(1);
  }
}

/*
 * 운영체제에서 '동작 줄이기'가 활성화되어 있더라도
 * 이번 시퀀스의 핵심 시간은 동일하게 유지한다.
 */
@media (prefers-reduced-motion: reduce) {
  .initial-noise-transition .mission-complete-intro {
    animation:
      covertIntroNoiseDissolve 1.5s linear forwards !important;
  }

  .terminal-screen.terminal-active {
    animation: none !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    filter: brightness(1) !important;
  }

  .final-noise-transition .terminal-screen {
    animation:
      covertTerminalNoiseDissolve 0.75s linear forwards !important;
  }

  .signal-noise-overlay.noise-blackout-in {
    animation:
      covertInitialNoiseBlackout 1.5s steps(27, end) forwards !important;
  }

  .signal-noise-overlay.noise-dissolve-out {
    animation:
      covertOutgoingNoiseDissolve 0.75s steps(15, end) forwards !important;
  }

  .return-noise-overlay {
    animation:
      covertIncomingNoiseDissolve 0.75s steps(15, end) forwards !important;
  }
}
/* =========================================================
   Unknown next-mission location
   실제 문자는 전혀 표시하지 않고,
   타이핑 시작 순간부터 해당 위치만 고장 난 상태로 표시
   ========================================================= */

/*
 * 정상 문자는 최종 위치를 미리 차지하지만
 * 타이핑되기 전까지 보이지 않는다.
 */
.terminal-typing-character {
  visibility: visible;
}

.terminal-typing-character.is-pending {
  visibility: hidden;
}

/*
 * 커서를 terminalText 내부로 이동시키기 때문에
 * 커서가 문장 폭을 밀지 않도록 너비를 0으로 만든다.
 */
.terminal-text .terminal-cursor {
  width: 0;
  margin-left: 0;
  overflow: visible;
  vertical-align: baseline;
  transform: translateX(0.12em);
}

/*
 * 다음 도시가 들어갈 위치.
 *
 * 내부에 글자나 기호는 전혀 들어있지 않다.
 * 그라데이션과 노이즈만으로 고장 난 화면을 표현한다.
 */
.terminal-unknown-location {
  position: relative;
  display: inline-block;
  width: 6.5ch;
  height: 1.12em;
  margin: 0 0.10em;
  overflow: hidden;
  vertical-align: -0.16em;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.98) 0,
      rgba(0, 0, 0, 0.98) 2px,
      rgba(51, 255, 74, 0.12) 2px,
      rgba(51, 255, 74, 0.12) 3px,
      rgba(0, 0, 0, 0.98) 3px,
      rgba(0, 0, 0, 0.98) 6px
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.98),
      rgba(15, 63, 20, 0.68),
      rgba(0, 0, 0, 0.98)
    );
  border-top: 1px solid rgba(118, 255, 129, 0.34);
  border-bottom: 1px solid rgba(118, 255, 129, 0.26);
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.96),
    inset 0 0 5px rgba(67, 255, 84, 0.16),
    0 0 10px rgba(59, 255, 77, 0.12);
  animation:
    unknownLocationJitter 0.13s steps(2, end) infinite,
    unknownLocationDropout 1.9s steps(1, end) infinite;
  isolation: isolate;
}

/*
 * 내부에서 빠르게 움직이는 깨진 세로 신호.
 * content는 빈 문자열이므로 어떤 글자도 표시하지 않는다.
 */
.terminal-unknown-location::before {
  content: "";
  position: absolute;
  inset: -24%;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 3px,
      rgba(128, 255, 137, 0.42) 3px,
      rgba(128, 255, 137, 0.42) 4px,
      transparent 4px,
      transparent 9px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.10) 0,
      rgba(255, 255, 255, 0.10) 1px,
      transparent 1px,
      transparent 5px
    );
  opacity: 0.72;
  mix-blend-mode: screen;
  animation:
    unknownLocationNoise 0.11s steps(2, end) infinite;
}

/*
 * 위아래로 튀는 밝은 수평 오류선.
 */
.terminal-unknown-location::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: -22%;
  height: 22%;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(210, 255, 212, 0.82),
      rgba(74, 255, 91, 0.34),
      transparent
    );
  opacity: 0.84;
  filter: blur(0.5px);
  animation:
    unknownLocationScanBreak 0.74s steps(5, end) infinite;
}

/*
 * 타이핑 커서가 고장 영역에 도달했을 때
 * 약 0.52초 동안 오류가 더 강해진다.
 */
.terminal-unknown-location.is-reading {
  border-color: rgba(197, 255, 199, 0.76);
  box-shadow:
    inset 0 0 16px rgba(0, 0, 0, 1),
    inset 0 0 10px rgba(103, 255, 115, 0.38),
    0 0 18px rgba(83, 255, 98, 0.40);
  filter: brightness(1.65) contrast(1.55);
}

/* =========================================================
   Unknown location animations
   ========================================================= */

@keyframes unknownLocationJitter {
  0%,
  100% {
    transform: translate3d(0, 0, 0) skewX(0deg);
  }

  18% {
    transform: translate3d(-1px, 0, 0) skewX(-2deg);
  }

  34% {
    transform: translate3d(2px, -1px, 0) skewX(3deg);
  }

  52% {
    transform: translate3d(-2px, 1px, 0) skewX(-3deg);
  }

  72% {
    transform: translate3d(1px, 0, 0) skewX(1deg);
  }

  86% {
    transform: translate3d(-1px, -1px, 0) skewX(-1deg);
  }
}

@keyframes unknownLocationDropout {
  0%,
  78%,
  100% {
    opacity: 1;
    filter: brightness(1) contrast(1);
  }

  79% {
    opacity: 0.18;
    filter: brightness(0.42) contrast(2.4);
  }

  81% {
    opacity: 0.92;
    filter: brightness(1.8) contrast(1.6);
  }

  83% {
    opacity: 0.34;
    filter: brightness(0.72) contrast(2.1);
  }

  86% {
    opacity: 1;
    filter: brightness(1) contrast(1);
  }
}

@keyframes unknownLocationNoise {
  0% {
    transform: translate3d(-7%, -4%, 0) scale(1.08);
  }

  25% {
    transform: translate3d(5%, -8%, 0) scale(1.12);
  }

  50% {
    transform: translate3d(-4%, 7%, 0) scale(1.09);
  }

  75% {
    transform: translate3d(8%, 3%, 0) scale(1.13);
  }

  100% {
    transform: translate3d(-6%, 6%, 0) scale(1.08);
  }
}

@keyframes unknownLocationScanBreak {
  0% {
    top: -22%;
    opacity: 0.18;
  }

  18% {
    top: 9%;
    opacity: 0.94;
  }

  34% {
    top: 31%;
    opacity: 0.38;
  }

  52% {
    top: 58%;
    opacity: 1;
  }

  68% {
    top: 78%;
    opacity: 0.46;
  }

  84% {
    top: 102%;
    opacity: 0.84;
  }

  100% {
    top: 122%;
    opacity: 0.16;
  }
}

/*
 * 모바일에서는 알 수 없는 장소 영역을 조금 줄인다.
 */
@media (max-width: 720px) {
  .terminal-unknown-location {
    width: 5.5ch;
    height: 1.08em;
    margin: 0 0.06em;
  }
}

/*
 * 동작 줄이기를 사용한 환경에서도
 * 알 수 없는 장소가 글자로 나타나지는 않는다.
 * 애니메이션만 정적인 고장 화면으로 바뀐다.
 */
@media (prefers-reduced-motion: reduce) {
  .terminal-unknown-location,
  .terminal-unknown-location::before,
  .terminal-unknown-location::after {
    animation: none !important;
  }

  .terminal-unknown-location {
    background:
      repeating-linear-gradient(
        180deg,
        #000 0,
        #000 2px,
        rgba(67, 255, 83, 0.18) 2px,
        rgba(67, 255, 83, 0.18) 3px,
        #000 3px,
        #000 6px
      );
  }
}
/* =========================================================
   Unknown location delayed activation
   다음 도시 위치의 타이핑 순서가 올 때까지
   CRT 오류 영역을 보이지 않게 유지
   ========================================================= */

/*
 * 고장 영역의 너비와 자리는 그대로 유지하지만,
 * 타이핑 순서가 도달하기 전까지 화면에서는 보이지 않는다.
 *
 * visibility: hidden을 사용했기 때문에
 * 오류 영역이 나타날 때 주변 문장이 밀리거나 움직이지 않는다.
 */
.terminal-unknown-location.is-pending {
  visibility: hidden !important;
  opacity: 0 !important;
  animation-play-state: paused !important;
}

/*
 * 고장 영역 안의 세로 노이즈와 수평 오류선도
 * 숨김 상태에서는 애니메이션을 정지시킨다.
 *
 * 따라서 타이핑 순서가 도달했을 때
 * 노이즈가 중간 장면부터 시작하지 않고 처음부터 시작된다.
 */
.terminal-unknown-location.is-pending::before,
.terminal-unknown-location.is-pending::after {
  visibility: hidden !important;
  opacity: 0 !important;
  animation-play-state: paused !important;
}

/*
 * JavaScript에서 is-pending을 제거하고
 * is-visible을 추가하면 고장 영역을 표시한다.
 */
.terminal-unknown-location.is-visible {
  visibility: visible;
}
/* =========================================================
   Unknown mission location effect variants

   effect-signal-scan:
   암호화된 목적지 신호를 탐색하는 형태

   effect-coordinate-lock:
   목적지 좌표를 포착했지만 표시하지 못하는 형태
   ========================================================= */

/*
 * 두 효과에서 공통으로 사용하는 크기다.
 * 실제 문자나 특수문자는 전혀 포함하지 않는다.
 */
.terminal-unknown-location.effect-signal-scan,
.terminal-unknown-location.effect-coordinate-lock {
  width: 6.5ch;
  min-width: 6.5ch;
  height: 1.12em;
  border-radius: 0.06em;
  vertical-align: -0.16em;
}


/* =========================================================
   OPTION 1 — Signal Scan
   암호화된 목적지 신호를 반복해서 검색하는 형태
   ========================================================= */

.terminal-unknown-location.effect-signal-scan {
  border: 1px solid rgba(111, 255, 125, 0.38);

  background:
    linear-gradient(
      rgba(122, 255, 134, 0.78),
      rgba(122, 255, 134, 0.78)
    ) left top / 0.78em 1px no-repeat,

    linear-gradient(
      rgba(122, 255, 134, 0.78),
      rgba(122, 255, 134, 0.78)
    ) left top / 1px 0.42em no-repeat,

    linear-gradient(
      rgba(122, 255, 134, 0.78),
      rgba(122, 255, 134, 0.78)
    ) right top / 0.78em 1px no-repeat,

    linear-gradient(
      rgba(122, 255, 134, 0.78),
      rgba(122, 255, 134, 0.78)
    ) right top / 1px 0.42em no-repeat,

    linear-gradient(
      rgba(122, 255, 134, 0.78),
      rgba(122, 255, 134, 0.78)
    ) left bottom / 0.78em 1px no-repeat,

    linear-gradient(
      rgba(122, 255, 134, 0.78),
      rgba(122, 255, 134, 0.78)
    ) left bottom / 1px 0.42em no-repeat,

    linear-gradient(
      rgba(122, 255, 134, 0.78),
      rgba(122, 255, 134, 0.78)
    ) right bottom / 0.78em 1px no-repeat,

    linear-gradient(
      rgba(122, 255, 134, 0.78),
      rgba(122, 255, 134, 0.78)
    ) right bottom / 1px 0.42em no-repeat,

    repeating-linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.98) 0,
      rgba(0, 0, 0, 0.98) 2px,
      rgba(55, 255, 76, 0.15) 2px,
      rgba(55, 255, 76, 0.15) 3px,
      rgba(0, 0, 0, 0.98) 3px,
      rgba(0, 0, 0, 0.98) 6px
    ),

    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.99),
      rgba(15, 69, 23, 0.64),
      rgba(0, 0, 0, 0.99)
    );

  box-shadow:
    inset 0 0 14px rgba(0, 0, 0, 1),
    inset 0 0 7px rgba(65, 255, 83, 0.18),
    0 0 13px rgba(70, 255, 88, 0.15);

  animation:
    unknownSignalFrameJitter 0.16s steps(2, end) infinite,
    unknownSignalDropout 2.6s steps(1, end) infinite;
}

/*
 * 목적지 데이터가 있는 영역을 좌우로 훑는
 * 세로 해독 빔이다.
 */
.terminal-unknown-location.effect-signal-scan::before {
  content: "";
  position: absolute;
  inset: -14% -68%;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      transparent 43%,
      rgba(78, 255, 96, 0.10) 46%,
      rgba(133, 255, 143, 0.52) 49%,
      rgba(235, 255, 236, 0.96) 50%,
      rgba(102, 255, 118, 0.56) 51%,
      rgba(78, 255, 96, 0.10) 54%,
      transparent 58%,
      transparent 100%
    );

  opacity: 0.88;
  mix-blend-mode: screen;

  animation:
    unknownSignalDecoderSweep 1.7s
    cubic-bezier(0.55, 0, 0.45, 1)
    infinite;
}

/*
 * 해독에 실패할 때 수평으로 순간적으로 찢어지는 선이다.
 */
.terminal-unknown-location.effect-signal-scan::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: 18%;
  bottom: auto;
  width: auto;
  height: 0.15em;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(210, 255, 214, 0.92),
      rgba(64, 255, 83, 0.46),
      transparent
    );

  box-shadow:
    0 0 6px rgba(108, 255, 120, 0.78),
    0 0 14px rgba(66, 255, 84, 0.28);

  opacity: 0.82;
  filter: blur(0.35px);

  animation:
    unknownSignalHorizontalTear 0.94s
    steps(6, end)
    infinite;
}

/*
 * 해당 위치에 커서가 처음 도착했을 때
 * 해독 신호를 잠시 더 강하게 표현한다.
 */
.terminal-unknown-location.effect-signal-scan.is-reading {
  filter: brightness(1.7) contrast(1.5);

  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 1),
    inset 0 0 11px rgba(101, 255, 113, 0.42),
    0 0 22px rgba(83, 255, 98, 0.44);
}


/* =========================================================
   OPTION 5 — Coordinate Lock
   목적지 좌표는 포착됐지만 화면에 표시할 수 없는 형태
   ========================================================= */

.terminal-unknown-location.effect-coordinate-lock {
  border: 1px solid rgba(111, 255, 125, 0.42);

  background:
    linear-gradient(
      rgba(132, 255, 142, 0.88),
      rgba(132, 255, 142, 0.88)
    ) left top / 0.72em 1px no-repeat,

    linear-gradient(
      rgba(132, 255, 142, 0.88),
      rgba(132, 255, 142, 0.88)
    ) left top / 1px 0.44em no-repeat,

    linear-gradient(
      rgba(132, 255, 142, 0.88),
      rgba(132, 255, 142, 0.88)
    ) right top / 0.72em 1px no-repeat,

    linear-gradient(
      rgba(132, 255, 142, 0.88),
      rgba(132, 255, 142, 0.88)
    ) right top / 1px 0.44em no-repeat,

    linear-gradient(
      rgba(132, 255, 142, 0.88),
      rgba(132, 255, 142, 0.88)
    ) left bottom / 0.72em 1px no-repeat,

    linear-gradient(
      rgba(132, 255, 142, 0.88),
      rgba(132, 255, 142, 0.88)
    ) left bottom / 1px 0.44em no-repeat,

    linear-gradient(
      rgba(132, 255, 142, 0.88),
      rgba(132, 255, 142, 0.88)
    ) right bottom / 0.72em 1px no-repeat,

    linear-gradient(
      rgba(132, 255, 142, 0.88),
      rgba(132, 255, 142, 0.88)
    ) right bottom / 1px 0.44em no-repeat,

    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 0.56em,
      rgba(80, 255, 96, 0.075) 0.56em,
      rgba(80, 255, 96, 0.075) 0.58em
    ),

    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 0.36em,
      rgba(80, 255, 96, 0.07) 0.36em,
      rgba(80, 255, 96, 0.07) 0.38em
    ),

    radial-gradient(
      circle at center,
      rgba(22, 72, 29, 0.52),
      rgba(0, 0, 0, 0.98) 74%
    );

  box-shadow:
    inset 0 0 15px rgba(0, 0, 0, 1),
    inset 0 0 8px rgba(70, 255, 86, 0.20),
    0 0 14px rgba(70, 255, 87, 0.16);

  animation:
    unknownCoordinateFramePulse 1.8s ease-in-out infinite,
    unknownCoordinateSignalLoss 3.2s
    steps(1, end)
    infinite;
}

/*
 * 중앙의 좌표 조준선과 동심원이다.
 * 글자나 좌표 숫자는 출력하지 않는다.
 */
.terminal-unknown-location.effect-coordinate-lock::before {
  content: "";
  position: absolute;
  inset: 0.08em;

  background:
    radial-gradient(
      circle at center,
      rgba(225, 255, 227, 0.92) 0,
      rgba(225, 255, 227, 0.92) 0.055em,
      transparent 0.065em
    ),

    linear-gradient(
      90deg,
      transparent 0,
      transparent 49%,
      rgba(111, 255, 124, 0.72) 49%,
      rgba(111, 255, 124, 0.72) 51%,
      transparent 51%,
      transparent 100%
    ),

    linear-gradient(
      180deg,
      transparent 0,
      transparent 48%,
      rgba(111, 255, 124, 0.64) 48%,
      rgba(111, 255, 124, 0.64) 52%,
      transparent 52%,
      transparent 100%
    ),

    radial-gradient(
      circle at center,
      transparent 0,
      transparent 21%,
      rgba(96, 255, 110, 0.58) 22%,
      rgba(96, 255, 110, 0.58) 24%,
      transparent 25%,
      transparent 38%,
      rgba(96, 255, 110, 0.34) 39%,
      rgba(96, 255, 110, 0.34) 41%,
      transparent 42%
    );

  opacity: 0.82;
  mix-blend-mode: screen;

  animation:
    unknownCoordinateReticlePulse 1.32s
    steps(2, end)
    infinite;
}

/*
 * 좌표 조준점 주위를 반복해서 회전하는 탐색 부채꼴이다.
 */
.terminal-unknown-location.effect-coordinate-lock::after {
  content: "";
  position: absolute;

  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;

  width: 1.7em;
  height: 1.7em;

  border-radius: 50%;

  background:
    conic-gradient(
      from 0deg,
      rgba(164, 255, 171, 0.58) 0deg,
      rgba(80, 255, 96, 0.30) 18deg,
      rgba(80, 255, 96, 0.05) 44deg,
      transparent 75deg,
      transparent 360deg
    );

  opacity: 0.86;
  mix-blend-mode: screen;
  transform-origin: 50% 50%;

  animation:
    unknownCoordinateRadarSweep 1.72s
    linear
    infinite;
}

/*
 * 해당 위치에 커서가 처음 도착했을 때
 * 좌표 잠금이 순간적으로 강해진다.
 */
.terminal-unknown-location.effect-coordinate-lock.is-reading {
  filter: brightness(1.7) contrast(1.55);

  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 1),
    inset 0 0 12px rgba(103, 255, 115, 0.44),
    0 0 22px rgba(83, 255, 98, 0.44);
}


/* =========================================================
   Signal Scan animations
   ========================================================= */

@keyframes unknownSignalFrameJitter {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  18% {
    transform: translate3d(-1px, 0, 0);
  }

  36% {
    transform: translate3d(1px, -1px, 0);
  }

  58% {
    transform: translate3d(-1px, 1px, 0);
  }

  76% {
    transform: translate3d(2px, 0, 0);
  }

  88% {
    transform: translate3d(0, -1px, 0);
  }
}

@keyframes unknownSignalDropout {
  0%,
  74%,
  100% {
    opacity: 1;
    filter: brightness(1) contrast(1);
  }

  75% {
    opacity: 0.22;
    filter: brightness(0.45) contrast(2.3);
  }

  78% {
    opacity: 0.92;
    filter: brightness(1.8) contrast(1.5);
  }

  81% {
    opacity: 0.46;
    filter: brightness(0.72) contrast(2);
  }

  85% {
    opacity: 1;
    filter: brightness(1) contrast(1);
  }
}

@keyframes unknownSignalDecoderSweep {
  0% {
    transform: translateX(-58%);
    opacity: 0.34;
  }

  14% {
    opacity: 0.96;
  }

  48% {
    transform: translateX(58%);
    opacity: 0.92;
  }

  52% {
    transform: translateX(58%);
    opacity: 0.30;
  }

  86% {
    opacity: 0.92;
  }

  100% {
    transform: translateX(-58%);
    opacity: 0.34;
  }
}

@keyframes unknownSignalHorizontalTear {
  0% {
    top: 8%;
    transform: translateX(-3px);
    opacity: 0.18;
  }

  16% {
    top: 24%;
    transform: translateX(4px);
    opacity: 0.86;
  }

  33% {
    top: 41%;
    transform: translateX(-5px);
    opacity: 0.42;
  }

  50% {
    top: 62%;
    transform: translateX(3px);
    opacity: 1;
  }

  68% {
    top: 78%;
    transform: translateX(-2px);
    opacity: 0.36;
  }

  84% {
    top: 96%;
    transform: translateX(5px);
    opacity: 0.72;
  }

  100% {
    top: 112%;
    transform: translateX(0);
    opacity: 0.12;
  }
}


/* =========================================================
   Coordinate Lock animations
   ========================================================= */

@keyframes unknownCoordinateFramePulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    border-color: rgba(111, 255, 125, 0.34);
  }

  50% {
    transform: translate3d(0, -1px, 0);
    border-color: rgba(170, 255, 177, 0.76);
  }
}

@keyframes unknownCoordinateSignalLoss {
  0%,
  82%,
  100% {
    opacity: 1;
  }

  83% {
    opacity: 0.28;
  }

  85% {
    opacity: 0.92;
  }

  87% {
    opacity: 0.48;
  }

  90% {
    opacity: 1;
  }
}

@keyframes unknownCoordinateReticlePulse {
  0%,
  100% {
    opacity: 0.58;
    filter: brightness(0.86);
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    filter: brightness(1.5);
    transform: scale(1.04);
  }
}

@keyframes unknownCoordinateRadarSweep {
  from {
    transform:
      translate(-50%, -50%)
      rotate(0deg);
  }

  to {
    transform:
      translate(-50%, -50%)
      rotate(360deg);
  }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 720px) {
  .terminal-unknown-location.effect-signal-scan,
  .terminal-unknown-location.effect-coordinate-lock {
    width: 5.5ch;
    min-width: 5.5ch;
    height: 1.08em;
  }

  .terminal-unknown-location.effect-coordinate-lock::after {
    width: 1.5em;
    height: 1.5em;
  }
}
/* =========================================================
   Unknown mission location — test variants

   effect-redaction:
   확정된 목적지 정보가 보안상 검열된 형태

   effect-packet-loss:
   목적지 데이터가 전송 중 유실된 형태
   ========================================================= */

/*
 * 두 효과의 공통 크기.
 * 실제 문자나 기호는 내부에 전혀 표시하지 않는다.
 */
.terminal-unknown-location.effect-redaction,
.terminal-unknown-location.effect-packet-loss {
  position: relative;
  display: inline-block;
  width: 6.5ch;
  min-width: 6.5ch;
  height: 1.12em;
  margin: 0 0.10em;
  overflow: hidden;
  vertical-align: -0.16em;
  isolation: isolate;
}


/* =========================================================
   OPTION 2 — Redaction

   다음 장소가 이미 정해져 있지만
   본부가 해당 정보만 검게 검열한 형태
   ========================================================= */

.terminal-unknown-location.effect-redaction {
  border: 1px solid rgba(84, 255, 101, 0.16);
  border-radius: 0.04em;

  background:
    linear-gradient(
      180deg,
      rgba(10, 16, 11, 1) 0%,
      rgba(0, 4, 0, 1) 42%,
      rgba(8, 14, 9, 1) 100%
    );

  box-shadow:
    inset 0 1px 0 rgba(175, 255, 181, 0.08),
    inset 0 -1px 0 rgba(74, 255, 91, 0.12),
    inset 0 0 11px rgba(0, 0, 0, 1),
    0 0 9px rgba(54, 255, 72, 0.08);

  animation:
    unknownRedactionFlicker 3.4s steps(1, end) infinite,
    unknownRedactionMicroJitter 0.34s steps(2, end) infinite;
}

/*
 * 검열 영역 표면 위로 아주 약한 CRT 반사광이 지나간다.
 * 내부에는 어떤 글자도 들어가지 않는다.
 */
.terminal-unknown-location.effect-redaction::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 2px,
      rgba(116, 255, 127, 0.055) 2px,
      rgba(116, 255, 127, 0.055) 3px,
      transparent 3px,
      transparent 6px
    ),
    linear-gradient(
      105deg,
      transparent 0%,
      transparent 38%,
      rgba(186, 255, 191, 0.07) 45%,
      rgba(230, 255, 232, 0.16) 49%,
      rgba(105, 255, 119, 0.06) 54%,
      transparent 62%,
      transparent 100%
    );

  background-size:
    100% 100%,
    220% 100%;

  background-position:
    0 0,
    130% 0;

  opacity: 0.76;
  mix-blend-mode: screen;

  animation:
    unknownRedactionLightPass 3.8s
    cubic-bezier(0.55, 0, 0.45, 1)
    infinite;
}

/*
 * 간헐적으로 검열 바 일부가 수평으로 어긋난다.
 * 가려진 정보가 존재하지만 읽을 수 없다는 느낌을 준다.
 */
.terminal-unknown-location.effect-redaction::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  top: 34%;
  height: 20%;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.96),
      rgba(18, 43, 21, 0.90),
      rgba(0, 0, 0, 0.98)
    );

  border-top: 1px solid rgba(109, 255, 120, 0.08);
  border-bottom: 1px solid rgba(109, 255, 120, 0.06);

  opacity: 0.64;

  animation:
    unknownRedactionTear 2.9s
    steps(1, end)
    infinite;
}

/*
 * 타이핑 커서가 이 위치에 처음 도착했을 때
 * 검열 영역이 좌우로 빠르게 펼쳐지는 것처럼 보인다.
 */
.terminal-unknown-location.effect-redaction.is-reading {
  transform-origin: left center;

  animation:
    unknownRedactionReveal 0.52s
    steps(8, end)
    both,
    unknownRedactionFlicker 3.4s
    0.52s
    steps(1, end)
    infinite,
    unknownRedactionMicroJitter 0.34s
    0.52s
    steps(2, end)
    infinite;

  box-shadow:
    inset 0 1px 0 rgba(186, 255, 191, 0.16),
    inset 0 -1px 0 rgba(92, 255, 108, 0.18),
    inset 0 0 14px rgba(0, 0, 0, 1),
    0 0 16px rgba(72, 255, 89, 0.18);
}


/* =========================================================
   OPTION 3 — Packet Loss

   다음 장소 정보가 전송되는 과정에서
   화면 일부 데이터가 유실되고 블록 단위로 깨진 형태
   ========================================================= */

.terminal-unknown-location.effect-packet-loss {
  border: 1px solid rgba(97, 255, 112, 0.24);
  border-radius: 0.04em;

  background-color: rgba(0, 5, 0, 0.98);

  background-image:
    linear-gradient(
      90deg,
      rgba(72, 255, 89, 0.22) 0 8%,
      transparent 8% 14%,
      rgba(101, 255, 115, 0.12) 14% 27%,
      transparent 27% 34%,
      rgba(58, 255, 77, 0.30) 34% 43%,
      transparent 43% 56%,
      rgba(120, 255, 131, 0.16) 56% 66%,
      transparent 66% 74%,
      rgba(67, 255, 85, 0.24) 74% 86%,
      transparent 86% 100%
    ),
    linear-gradient(
      180deg,
      rgba(86, 255, 101, 0.10) 0 19%,
      transparent 19% 33%,
      rgba(95, 255, 108, 0.22) 33% 47%,
      transparent 47% 62%,
      rgba(60, 255, 79, 0.13) 62% 78%,
      transparent 78% 100%
    ),
    repeating-linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.98) 0,
      rgba(0, 0, 0, 0.98) 2px,
      rgba(60, 255, 78, 0.10) 2px,
      rgba(60, 255, 78, 0.10) 3px,
      rgba(0, 0, 0, 0.98) 3px,
      rgba(0, 0, 0, 0.98) 6px
    );

  background-blend-mode:
    screen,
    screen,
    normal;

  box-shadow:
    inset 0 0 14px rgba(0, 0, 0, 1),
    inset 0 0 8px rgba(61, 255, 80, 0.12),
    0 0 12px rgba(61, 255, 80, 0.10);

  animation:
    unknownPacketContainerJitter 0.18s
    steps(2, end)
    infinite,
    unknownPacketSignalDropout 2.1s
    steps(1, end)
    infinite;
}

/*
 * 서로 다른 크기의 픽셀 블록들이 계속 위치를 바꾼다.
 * 무작위 문자는 사용하지 않는다.
 */
.terminal-unknown-location.effect-packet-loss::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      transparent 0 5%,
      rgba(167, 255, 174, 0.58) 5% 13%,
      transparent 13% 22%,
      rgba(58, 255, 78, 0.32) 22% 37%,
      transparent 37% 46%,
      rgba(189, 255, 194, 0.44) 46% 53%,
      transparent 53% 67%,
      rgba(68, 255, 85, 0.48) 67% 83%,
      transparent 83% 100%
    ),
    linear-gradient(
      180deg,
      transparent 0 12%,
      rgba(91, 255, 106, 0.22) 12% 29%,
      transparent 29% 41%,
      rgba(148, 255, 157, 0.34) 41% 56%,
      transparent 56% 69%,
      rgba(56, 255, 75, 0.24) 69% 88%,
      transparent 88% 100%
    );

  background-blend-mode: screen;
  opacity: 0.82;

  animation:
    unknownPacketBlocks 0.46s
    steps(4, end)
    infinite;
}

/*
 * 유실된 화면 줄이 좌우로 어긋나는 효과.
 */
.terminal-unknown-location.effect-packet-loss::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 18%;
  height: 16%;

  background:
    linear-gradient(
      90deg,
      transparent 0 7%,
      rgba(173, 255, 179, 0.66) 7% 18%,
      rgba(43, 255, 64, 0.25) 18% 38%,
      transparent 38% 52%,
      rgba(109, 255, 121, 0.52) 52% 68%,
      transparent 68% 100%
    );

  box-shadow:
    0 0 6px rgba(90, 255, 103, 0.36);

  opacity: 0.72;

  animation:
    unknownPacketHorizontalLoss 0.68s
    steps(5, end)
    infinite;
}

/*
 * 타이핑 커서가 이 위치에 처음 도착하면
 * 데이터 블록들이 한 번 강하게 폭발하듯 나타난다.
 */
.terminal-unknown-location.effect-packet-loss.is-reading {
  animation:
    unknownPacketArrival 0.52s
    steps(8, end)
    both,
    unknownPacketContainerJitter 0.18s
    0.52s
    steps(2, end)
    infinite,
    unknownPacketSignalDropout 2.1s
    0.52s
    steps(1, end)
    infinite;

  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 1),
    inset 0 0 12px rgba(97, 255, 111, 0.30),
    0 0 20px rgba(72, 255, 89, 0.26);
}


/* =========================================================
   Redaction animations
   ========================================================= */

@keyframes unknownRedactionReveal {
  0% {
    transform: scaleX(0.04) translateX(-4px);
    opacity: 0.20;
    filter: brightness(2.2) contrast(1.8);
  }

  18% {
    transform: scaleX(0.28) translateX(3px);
    opacity: 0.84;
  }

  36% {
    transform: scaleX(0.52) translateX(-2px);
    opacity: 0.52;
  }

  54% {
    transform: scaleX(0.76) translateX(2px);
    opacity: 1;
  }

  72% {
    transform: scaleX(0.92) translateX(-1px);
    filter: brightness(1.5) contrast(1.4);
  }

  100% {
    transform: scaleX(1) translateX(0);
    opacity: 1;
    filter: brightness(1) contrast(1);
  }
}

@keyframes unknownRedactionFlicker {
  0%,
  74%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }

  75% {
    opacity: 0.74;
    filter: brightness(1.34);
  }

  77% {
    opacity: 0.94;
    filter: brightness(0.82);
  }

  79% {
    opacity: 1;
    filter: brightness(1);
  }

  92% {
    opacity: 0.84;
  }

  94% {
    opacity: 1;
  }
}

@keyframes unknownRedactionMicroJitter {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  24% {
    transform: translate3d(-1px, 0, 0);
  }

  48% {
    transform: translate3d(1px, 0, 0);
  }

  72% {
    transform: translate3d(0, -1px, 0);
  }
}

@keyframes unknownRedactionLightPass {
  0%,
  10% {
    background-position:
      0 0,
      130% 0;
  }

  60%,
  100% {
    background-position:
      0 0,
      -130% 0;
  }
}

@keyframes unknownRedactionTear {
  0%,
  70%,
  100% {
    top: 34%;
    transform: translateX(0);
    opacity: 0.22;
  }

  71% {
    top: 19%;
    transform: translateX(-4px);
    opacity: 0.82;
  }

  74% {
    top: 54%;
    transform: translateX(5px);
    opacity: 0.54;
  }

  77% {
    top: 38%;
    transform: translateX(-2px);
    opacity: 0.76;
  }

  81% {
    top: 34%;
    transform: translateX(0);
    opacity: 0.22;
  }
}


/* =========================================================
   Packet-loss animations
   ========================================================= */

@keyframes unknownPacketArrival {
  0% {
    transform: scaleX(0.08) scaleY(0.40);
    opacity: 0;
    filter: brightness(2.4) contrast(2);
  }

  14% {
    transform: scaleX(0.78) scaleY(0.62) translateX(-4px);
    opacity: 0.92;
  }

  28% {
    transform: scaleX(0.42) scaleY(1.08) translateX(5px);
    opacity: 0.48;
  }

  42% {
    transform: scaleX(1.06) scaleY(0.74) translateX(-3px);
    opacity: 1;
  }

  58% {
    transform: scaleX(0.88) scaleY(1.04) translateX(2px);
    opacity: 0.66;
  }

  76% {
    transform: scaleX(1.02) scaleY(0.96) translateX(-1px);
    filter: brightness(1.35) contrast(1.5);
  }

  100% {
    transform: scaleX(1) scaleY(1) translateX(0);
    opacity: 1;
    filter: brightness(1) contrast(1);
  }
}

@keyframes unknownPacketContainerJitter {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  18% {
    transform: translate3d(-2px, 0, 0);
  }

  36% {
    transform: translate3d(2px, -1px, 0);
  }

  54% {
    transform: translate3d(-1px, 1px, 0);
  }

  72% {
    transform: translate3d(1px, 0, 0);
  }

  88% {
    transform: translate3d(0, -1px, 0);
  }
}

@keyframes unknownPacketSignalDropout {
  0%,
  68%,
  100% {
    opacity: 1;
    filter: brightness(1) contrast(1);
  }

  69% {
    opacity: 0.18;
    filter: brightness(0.35) contrast(2.6);
  }

  72% {
    opacity: 0.92;
    filter: brightness(1.9) contrast(1.65);
  }

  75% {
    opacity: 0.42;
    filter: brightness(0.68) contrast(2.2);
  }

  79% {
    opacity: 1;
    filter: brightness(1) contrast(1);
  }

  91% {
    opacity: 0.62;
  }

  93% {
    opacity: 1;
  }
}

@keyframes unknownPacketBlocks {
  0% {
    transform: translate3d(-4px, -1px, 0);
    background-position: 0 0, 0 0;
    opacity: 0.42;
  }

  25% {
    transform: translate3d(3px, 1px, 0);
    background-position: 8px -3px, -4px 5px;
    opacity: 0.92;
  }

  50% {
    transform: translate3d(-2px, 0, 0);
    background-position: -7px 4px, 6px -4px;
    opacity: 0.58;
  }

  75% {
    transform: translate3d(5px, -1px, 0);
    background-position: 4px 7px, -6px -2px;
    opacity: 1;
  }

  100% {
    transform: translate3d(-4px, -1px, 0);
    background-position: 0 0, 0 0;
    opacity: 0.42;
  }
}

@keyframes unknownPacketHorizontalLoss {
  0% {
    top: 10%;
    transform: translateX(-6px);
    opacity: 0.22;
  }

  20% {
    top: 29%;
    transform: translateX(5px);
    opacity: 0.86;
  }

  40% {
    top: 47%;
    transform: translateX(-4px);
    opacity: 0.46;
  }

  60% {
    top: 66%;
    transform: translateX(7px);
    opacity: 1;
  }

  80% {
    top: 86%;
    transform: translateX(-2px);
    opacity: 0.40;
  }

  100% {
    top: 108%;
    transform: translateX(0);
    opacity: 0.18;
  }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 720px) {
  .terminal-unknown-location.effect-redaction,
  .terminal-unknown-location.effect-packet-loss {
    width: 5.5ch;
    min-width: 5.5ch;
    height: 1.08em;
  }
}
/* =========================================================
   C.O.V.E.R.T AGENT IDENTIFICATION
   true 3D double-sided metallic badge
   ========================================================= */

/*
 * 데스크톱 화면의 높이와 너비를 동시에 고려한다.
 * 화면이 낮아도 REPORT 버튼이 화면 밖으로 내려가지 않는다.
 */
.landing-page .metal-stage {
  width: clamp(
    340px,
    min(44vw, 58svh),
    560px
  );

  height: clamp(
    340px,
    min(44vw, 58svh),
    560px
  );

  perspective: 1600px;
  perspective-origin: 50% 48%;
}

/*
 * 이전의 평면 Z축 회전은 정지시킨다.
 * 실제 회전은 내부의 badge-coin이 담당한다.
 */
.landing-page .badge-z-axis {
  position: relative;

  width: clamp(
    250px,
    min(32vw, 43svh),
    410px
  );

  height: clamp(
    250px,
    min(32vw, 43svh),
    410px
  );

  transform-style: preserve-3d;
  animation: none !important;
}

/*
 * 배지 아래에 생기는 떠 있는 그림자.
 * 배지 자체와 함께 회전하지 않는다.
 */
.landing-page .badge-shadow {
  position: absolute;
  left: 50%;
  bottom: -7%;

  width: 68%;
  height: 18%;

  inset: auto;
  border-radius: 50%;

  background:
    radial-gradient(
      ellipse at center,
      rgba(9, 24, 45, 0.34) 0%,
      rgba(25, 61, 97, 0.16) 42%,
      rgba(9, 24, 45, 0) 76%
    );

  filter: blur(14px);

  transform:
    translateX(-50%)
    translateZ(-70px);

  animation:
    agentBadgeShadow 4.2s
    ease-in-out
    infinite;
}

/*
 * 앞면, 뒷면, 옆면을 함께 회전시키는 실제 3D 코인.
 */
.landing-page .badge-coin {
  position: absolute;
  inset: 0;

  transform-style: preserve-3d;
  transform-origin: 50% 50%;

  animation:
    agentBadgeTurn 16s
    linear
    infinite;

  will-change: transform;
}

/* =========================================================
   Metal side thickness
   ========================================================= */

/*
 * 여러 개의 금속 원판을 Z축으로 조금씩 쌓아
 * 옆에서 봤을 때 실제 두께가 보이게 한다.
 */
.landing-page .badge-edge-stack {
  position: absolute;
  inset: 0;

  border-radius: 50%;
  transform-style: preserve-3d;

  pointer-events: none;
}

.landing-page .badge-edge-stack span {
  position: absolute;
  inset: 0;

  display: block;
  border-radius: 50%;

  transform:
    translateZ(var(--edge-z));

  background:
    conic-gradient(
      from 200deg,
      #27313c 0deg,
      #8995a2 34deg,
      #d8e0e8 62deg,
      #4c5865 96deg,
      #f1f5f8 132deg,
      #707c89 174deg,
      #27313c 216deg,
      #b4bec8 258deg,
      #f3f6f8 300deg,
      #596572 334deg,
      #27313c 360deg
    );

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 8px rgba(0, 0, 0, 0.28);
}

.landing-page .badge-edge-stack span:nth-child(odd) {
  filter: brightness(0.82);
}

.landing-page .badge-edge-stack span:nth-child(even) {
  filter: brightness(1.06);
}

/* =========================================================
   Front and back faces
   ========================================================= */

.landing-page .badge-face {
  position: absolute;
  inset: 0;

  display: grid;
  place-items: center;

  border-radius: 50%;

  transform-style: preserve-3d;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/*
 * 앞면은 사용자 방향으로 14px 나온다.
 */
.landing-page .badge-face-front {
  transform:
    translateZ(14px);
}

/*
 * 뒷면은 반대 방향으로 놓는다.
 * 부모가 180도 회전했을 때 정상 방향으로 보인다.
 */
.landing-page .badge-face-back {
  transform:
    rotateY(180deg)
    translateZ(14px);
}

/* =========================================================
   Metallic face
   ========================================================= */

.landing-page .badge-face .badge-metal {
  position: absolute;
  inset: 0;

  display: grid;
  place-items: center;

  overflow: hidden;
  border-radius: 50%;

  transform-style: preserve-3d;

  background:
    radial-gradient(
      circle at 28% 20%,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.28) 17%,
      transparent 34%
    ),

    conic-gradient(
      from 210deg,
      #5b6673 0deg,
      #eef3f7 36deg,
      #8b97a4 74deg,
      #ffffff 112deg,
      #697582 154deg,
      #dce3e9 196deg,
      #727e8a 238deg,
      #f7f9fa 282deg,
      #8995a1 324deg,
      #5b6673 360deg
    );

  box-shadow:
    inset 14px 16px 22px rgba(255, 255, 255, 0.72),
    inset -17px -20px 26px rgba(5, 15, 28, 0.34),
    inset 0 0 0 2px rgba(255, 255, 255, 0.44),
    0 26px 48px rgba(9, 24, 45, 0.18);
}

/*
 * 아주 미세한 브러시드 메탈 질감.
 */
.landing-page .badge-face .badge-metal::before {
  content: "";

  position: absolute;
  inset: 5px;

  border-radius: 50%;

  background:
    repeating-radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.050) 0,
      rgba(255, 255, 255, 0.050) 1px,
      rgba(20, 31, 42, 0.035) 1px,
      rgba(20, 31, 42, 0.035) 2px,
      transparent 2px,
      transparent 6px
    ),

    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.34),
      rgba(58, 70, 82, 0.16)
    );

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.74),
    inset 0 0 0 11px rgba(7, 18, 30, 0.034),
    inset -14px -16px 22px rgba(7, 18, 30, 0.13);

  pointer-events: none;
}

/*
 * 표면을 지나가는 반사광.
 */
.landing-page .badge-face .badge-metal::after {
  content: "";

  position: absolute;
  top: -22%;
  left: -68%;

  width: 48%;
  height: 144%;

  border-radius: 48%;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 28%,
      rgba(255, 255, 255, 0.78) 50%,
      rgba(255, 255, 255, 0.10) 72%,
      transparent 100%
    );

  mix-blend-mode: screen;
  transform: rotate(12deg);

  pointer-events: none;

  animation:
    agentBadgeGlint 5.2s
    ease-in-out
    infinite;
}

.landing-page .badge-face-back .badge-metal::after {
  animation-delay: -2.6s;
}

/* =========================================================
   Outer rim
   ========================================================= */

.landing-page .badge-face .badge-rim-light {
  position: absolute;
  inset: 4.5%;

  border-radius: 50%;

  border:
    2px solid
    rgba(236, 242, 247, 0.84);

  box-shadow:
    0 0 0 2px rgba(17, 31, 45, 0.28),
    0 0 0 5px rgba(255, 255, 255, 0.10),
    inset 0 10px 17px rgba(255, 255, 255, 0.54),
    inset 0 -14px 22px rgba(8, 20, 34, 0.21),
    0 0 18px rgba(82, 124, 158, 0.14);

  transform:
    translateZ(3px);

  pointer-events: none;
}

/* =========================================================
   Dark inner medal
   ========================================================= */

.landing-page .badge-face .badge-core {
  position: relative;
  z-index: 2;

  width: 84%;
  height: 84%;

  display: grid;
  place-items: center;

  overflow: hidden;
  border-radius: 50%;

  transform:
    translateZ(5px);

  background:
    radial-gradient(
      circle at 30% 22%,
      rgba(255, 255, 255, 0.16),
      transparent 25%
    ),

    repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.016) 0,
      rgba(255, 255, 255, 0.016) 1px,
      transparent 1px,
      transparent 5px
    ),

    linear-gradient(
      145deg,
      #334348 0%,
      #10191c 43%,
      #1b2a2e 71%,
      #071012 100%
    );

  box-shadow:
    inset 0 0 0 2px rgba(3, 10, 12, 0.76),
    inset 0 0 0 7px rgba(150, 172, 174, 0.12),
    inset 9px 11px 20px rgba(255, 255, 255, 0.08),
    inset -14px -16px 24px rgba(0, 0, 0, 0.68),
    0 8px 18px rgba(5, 14, 24, 0.22);
}

/* =========================================================
   Logo fallback image
   ========================================================= */

/*
 * CSS 마스크를 지원하지 않는 브라우저에서도
 * 로고가 완전히 사라지지 않도록 원본 이미지를 아래에 둔다.
 */
.landing-page .badge-logo-fallback {
  position: absolute;

  width: 89%;
  height: 89%;

  display: block;
  object-fit: contain;

  opacity: 0.20;

  filter:
    grayscale(1)
    brightness(1.75)
    contrast(1.25)
    drop-shadow(
      0 3px 3px
      rgba(0, 0, 0, 0.72)
    );
}

/* =========================================================
   Chrome logo made from the PNG alpha mask
   ========================================================= */

.landing-page .badge-logo-metal {
  position: absolute;
  inset: 5.5%;

  display: block;

  background:
    conic-gradient(
      from 205deg,
      #596572 0deg,
      #f5f8fa 38deg,
      #8a97a3 76deg,
      #ffffff 120deg,
      #687581 160deg,
      #dce3e8 202deg,
      #798692 244deg,
      #ffffff 286deg,
      #9ba7b2 326deg,
      #596572 360deg
    );

  background-size: 180% 180%;

  -webkit-mask-image:
    url("assets/covert-agent-identification.png");

  -webkit-mask-repeat:
    no-repeat;

  -webkit-mask-position:
    center;

  -webkit-mask-size:
    contain;

  mask-image:
    url("assets/covert-agent-identification.png");

  mask-repeat:
    no-repeat;

  mask-position:
    center;

  mask-size:
    contain;

  filter:
    drop-shadow(
      0 -1px 0
      rgba(255, 255, 255, 0.78)
    )
    drop-shadow(
      0 3px 2px
      rgba(0, 0, 0, 0.82)
    )
    drop-shadow(
      0 0 6px
      rgba(179, 214, 215, 0.14)
    );

  animation:
    agentLogoMetalShift 5.8s
    ease-in-out
    infinite;

  pointer-events: none;
}

/* =========================================================
   Animations
   ========================================================= */

/*
 * 단순히 평면에서 도는 Z축 회전이 아니라
 * 앞면과 뒷면이 번갈아 보이는 Y축 코인 회전이다.
 */
@keyframes agentBadgeTurn {
  0% {
    transform:
      rotateX(-7deg)
      rotateY(0deg);
  }

  25% {
    transform:
      rotateX(0deg)
      rotateY(90deg);
  }

  50% {
    transform:
      rotateX(7deg)
      rotateY(180deg);
  }

  75% {
    transform:
      rotateX(0deg)
      rotateY(270deg);
  }

  100% {
    transform:
      rotateX(-7deg)
      rotateY(360deg);
  }
}

@keyframes agentBadgeGlint {
  0%,
  16% {
    left: -68%;
    opacity: 0;
  }

  30% {
    opacity: 0.78;
  }

  52% {
    left: 122%;
    opacity: 0;
  }

  100% {
    left: 122%;
    opacity: 0;
  }
}

@keyframes agentLogoMetalShift {
  0%,
  100% {
    background-position:
      0% 50%;
  }

  50% {
    background-position:
      100% 50%;
  }
}

@keyframes agentBadgeShadow {
  0%,
  100% {
    opacity: 0.62;

    transform:
      translateX(-50%)
      translateZ(-70px)
      scale(1);
  }

  50% {
    opacity: 0.90;

    transform:
      translateX(-50%)
      translateZ(-70px)
      scale(1.08);
  }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .landing-page .badge-coin {
    animation: none !important;

    transform:
      rotateX(-7deg)
      rotateY(-18deg);
  }

  .landing-page .badge-face .badge-metal::after,
  .landing-page .badge-logo-metal,
  .landing-page .badge-shadow {
    animation: none !important;
  }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 720px) {
  .landing-page .metal-stage {
    width:
      min(88vw, 52svh);

    height:
      min(88vw, 52svh);
  }

  .landing-page .badge-z-axis {
    width:
      min(68vw, 38svh);

    height:
      min(68vw, 38svh);
  }

  .landing-page .badge-coin {
    animation-duration: 18s;
  }

  .landing-page .badge-face-front {
    transform:
      translateZ(11px);
  }

  .landing-page .badge-face-back {
    transform:
      rotateY(180deg)
      translateZ(11px);
  }

  .landing-page .badge-edge-stack span {
    transform:
      translateZ(
        calc(var(--edge-z) * 0.78)
      );
  }
}
/* =========================================================
   FINAL BADGE FIX — visible logo + forced 3D rotation
   이 블록은 반드시 styles.css의 가장 마지막에 둔다.
   ========================================================= */

.landing-page .badge-z-axis {
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  animation: none !important;
}

.landing-page .badge-coin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d !important;
  -webkit-transform-style: preserve-3d !important;
  transform-origin: 50% 50%;
  animation: covertAgentBadgeTurn 12s linear infinite both !important;
  animation-play-state: running !important;
  will-change: transform;
}

.landing-page .badge-face {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d !important;
  -webkit-transform-style: preserve-3d !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

.landing-page .badge-face-front {
  transform: translateZ(14px) !important;
}

.landing-page .badge-face-back {
  transform: rotateY(180deg) translateZ(14px) !important;
}

.landing-page .badge-logo-visible {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  width: 91%;
  height: 91%;
  display: block;
  object-fit: contain;
  opacity: 1 !important;
  visibility: visible !important;
  mix-blend-mode: normal !important;
  transform: translate(-50%, -50%) translateZ(8px);
  filter:
    brightness(0)
    saturate(100%)
    invert(82%)
    sepia(6%)
    saturate(320%)
    hue-rotate(166deg)
    brightness(101%)
    contrast(94%)
    drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.88))
    drop-shadow(0 3px 3px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 7px rgba(171, 215, 216, 0.16));
  pointer-events: none;
}

.landing-page .badge-logo-metal,
.landing-page .badge-logo-fallback {
  display: none !important;
}

@keyframes covertAgentBadgeTurn {
  0%, 7% {
    transform: rotateX(-7deg) rotateY(0deg);
  }
  25% {
    transform: rotateX(0deg) rotateY(90deg);
  }
  48%, 55% {
    transform: rotateX(7deg) rotateY(180deg);
  }
  75% {
    transform: rotateX(0deg) rotateY(270deg);
  }
  100% {
    transform: rotateX(-7deg) rotateY(360deg);
  }
}

/* 운영체제의 '동작 줄이기' 설정과 상관없이 배지는 계속 회전한다. */
@media (prefers-reduced-motion: reduce) {
  .landing-page .badge-coin {
    animation: covertAgentBadgeTurn 16s linear infinite both !important;
    animation-play-state: running !important;
  }
}

@media (max-width: 720px) {
  .landing-page .badge-coin {
    animation-duration: 15s !important;
  }

  .landing-page .badge-face-front {
    transform: translateZ(11px) !important;
  }

  .landing-page .badge-face-back {
    transform: rotateY(180deg) translateZ(11px) !important;
  }

  .landing-page .badge-logo-visible {
    width: 92%;
    height: 92%;
  }
}
