.intro-container {
  --intro-cyan: #79dce8;
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 12, 25, 0.56), rgba(3, 12, 25, 0.74)),
    url("https://d8j0ntlcm91z4.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/hf_20260827_202133_508c64b8-a31e-4290-bdfc-1187df70e0a6.png") center 58% / cover,
    #04101f;
  opacity: 1;
  visibility: visible;
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), visibility 650ms;
}

.intro-container::before,
.intro-container::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.intro-container::before {
  background: radial-gradient(ellipse at 50% 48%, rgba(20, 89, 119, 0.2), transparent 56%);
}

.intro-container::after {
  border: 1px solid rgba(121, 220, 232, 0.14);
  box-shadow: inset 0 0 100px rgba(1, 9, 20, 0.45);
}

.intro-content {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: clamp(32px, 6vw, 56px) clamp(24px, 7vw, 64px) 38px;
  overflow: hidden;
  border: 1px solid rgba(169, 229, 244, 0.25);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(5, 24, 43, 0.86), rgba(4, 13, 27, 0.78));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.38), 0 0 48px rgba(64, 174, 207, 0.1);
  text-align: center;
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

.intro-active .intro-content {
  animation: intro-arrive 700ms cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards;
}

.intro-mark {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid rgba(121, 220, 232, 0.44);
  border-radius: 20px;
  background: rgba(121, 220, 232, 0.1);
  color: var(--intro-cyan);
  box-shadow: 0 0 32px rgba(57, 185, 213, 0.18), inset 0 0 18px rgba(57, 185, 213, 0.08);
}

.intro-mark svg { width: 32px; height: 32px; }

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(121, 220, 232, 0.28);
  border-radius: 999px;
  background: rgba(7, 33, 55, 0.62);
  color: #c6f6ff;
  font-family: 'Hanken Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.intro-badge span { color: var(--intro-cyan); }

.welcome-title {
  margin: 22px 0 0;
  color: #f7fbff;
  font-family: 'Hanken Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.welcome-title span {
  display: block;
  margin-top: 5px;
  color: var(--intro-cyan);
  font-weight: 700;
  text-shadow: 0 0 30px rgba(121, 220, 232, 0.22);
}

.intro-message {
  margin: 14px 0 0;
  color: rgba(231, 242, 255, 0.76);
  font-family: 'Hanken Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  line-height: 1.6;
}

.intro-progress {
  width: min(180px, 70%);
  height: 3px;
  margin: 30px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.intro-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5fc7d8, #d9f8fc);
  box-shadow: 0 0 14px rgba(121, 220, 232, 0.6);
  transform: scaleX(0);
  transform-origin: left;
}

.intro-active .intro-progress span {
  animation: intro-progress 3.8s linear 150ms forwards;
}

.intro-container.intro-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes intro-arrive {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes intro-progress {
  to { transform: scaleX(1); }
}

@media (max-width: 480px) {
  .intro-container { padding: 18px; }
  .intro-content { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-container { transition: none; }
  .intro-active .intro-content { animation: none; opacity: 1; transform: none; }
  .intro-active .intro-progress span { animation: none; transform: scaleX(1); }
}
