/* ── INTRO SCREEN ── */
#intro-screen {
  position: fixed; inset: 0;
  background: #06332b;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

#intro-screen.hidden {
  display: none;
}

#intro-screen::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(11,138,66,0.3) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(14,168,84,0.2) 0%, transparent 55%);
  animation: introGlow 3s ease-in-out infinite alternate;
}

@keyframes introGlow {
  from { opacity: 0.5; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.06); }
}

#intro-logo {
  position: relative; z-index: 2;
  width: 120px; height: 120px;
  opacity: 0;
  transform: scale(0.3);
  filter: brightness(0) invert(1);
  animation: logoPop 0.85s cubic-bezier(0.34,1.56,0.64,1) 0.3s forwards;
}

@keyframes logoPop { to { opacity: 1; transform: scale(1); } }

#intro-tagline {
  position: relative; z-index: 2;
  margin-top: 1.4rem;
  color: rgba(255,255,255,0.75);
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  animation: taglineIn 0.6s ease 1s forwards;
}

@keyframes taglineIn { to { opacity: 1; transform: translateY(0); } }

#intro-bar-wrap {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.08);
  z-index: 3;
}

#intro-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #0b8a42, #0ea854, #7ef5b2);
  animation: barFill 2.4s cubic-bezier(0.4,0,0.2,1) 0.3s forwards;
}

@keyframes barFill { to { width: 100%; } }

#intro-screen.exit {
  animation: curtainExit 0.9s cubic-bezier(0.86,0,0.07,1) forwards;
}

@keyframes curtainExit {
  0%   { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 100%); }
}
