/* KoRT Boot Splash — shared fleet loader (matrix rain + Sims remarks + logo + fun dossier) */
.kort-boot {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #030407;
  color: #e8f4fa;
  font-family: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;
  transition: opacity 0.85s ease, visibility 0.85s ease;
  overflow: hidden;
}
.kort-boot.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.kort-boot-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.38;
  pointer-events: none;
  mix-blend-mode: screen;
}
.kort-boot-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  max-width: min(520px, 94vw);
  text-align: center;
}
.kort-boot-logo-wrap {
  width: min(280px, 70vw);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.45);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.15), 0 0 60px rgba(201, 168, 76, 0.12);
  background: #0a1018;
}
.kort-boot-logo-wrap video,
.kort-boot-logo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  background: #000;
}
.kort-boot-title {
  font-size: clamp(1rem, 3vw, 1.35rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9a84c;
  text-shadow: 0 0 18px rgba(201, 168, 76, 0.45);
  margin-top: 0.35rem;
}
.kort-boot-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(126, 200, 227, 0.85);
}
.kort-boot-remark {
  min-height: 2.6em;
  font-size: clamp(0.78rem, 2.2vw, 0.95rem);
  color: #b8dce8;
  line-height: 1.4;
  padding: 0.35rem 0.5rem;
  transition: opacity 0.25s ease;
}
.kort-boot-remark.is-swap {
  opacity: 0.35;
}
.kort-boot-bar {
  width: min(320px, 80vw);
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 0.25rem;
}
.kort-boot-bar > i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00e5ff, #c9a84c);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
  transition: width 0.2s linear;
}
.kort-boot-dossier {
  margin-top: 0.75rem;
  width: 100%;
  text-align: left;
  font-size: 0.72rem;
  line-height: 1.55;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(8, 12, 24, 0.72);
  border: 1px solid rgba(126, 200, 227, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.kort-boot-dossier h3 {
  margin: 0 0 0.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9a84c;
  font-weight: 600;
}
.kort-boot-dossier dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.75rem;
  margin: 0;
}
.kort-boot-dossier dt {
  color: rgba(138, 155, 181, 0.95);
  letter-spacing: 0.04em;
}
.kort-boot-dossier dd {
  margin: 0;
  color: #e8f4fa;
  font-family: inherit;
  word-break: break-word;
}
.kort-boot-skip {
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  color: rgba(184, 220, 232, 0.75);
  cursor: pointer;
  user-select: none;
}
.kort-boot-skip input {
  accent-color: #c9a84c;
}
.kort-boot-skip-now {
  margin-top: 0.35rem;
  appearance: none;
  border: 1px solid rgba(201, 168, 76, 0.45);
  background: rgba(12, 18, 28, 0.85);
  color: #c9a84c;
  font-family: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.kort-boot-skip-now:hover,
.kort-boot-skip-now:focus-visible {
  background: rgba(201, 168, 76, 0.15);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
  outline: none;
}
.kort-boot-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  font-size: 1.5rem;
  letter-spacing: 0.35em;
  color: #c9a84c;
  text-shadow: 0 0 24px rgba(201, 168, 76, 0.5);
}
.kort-boot-footer {
  margin-top: 0.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(138, 155, 181, 0.7);
}
@media (max-width: 640px) {
  .kort-boot-logo-wrap video,
  .kort-boot-logo-wrap img {
    max-height: 120px;
  }
  .kort-boot-dossier {
    font-size: 0.65rem;
    max-height: 38vh;
    overflow-y: auto;
  }
  .kort-boot-dossier dl {
    grid-template-columns: 1fr;
    gap: 0.05rem 0;
  }
  .kort-boot-dossier dt {
    margin-top: 0.35rem;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kort-boot {
    transition-duration: 0.2s;
  }
  .kort-boot-remark {
    transition: none;
  }
}
