/* ===============================
   INTRO WRAPPER
================================ */

#intro {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #0f2027, #020617);
  z-index: 9999;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===============================
   3D CARTOON CANVAS
================================ */

#intro-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ===============================
   INTRO CONTENT (TEXT OVERLAY)
================================ */

.intro-content,
.intro-title {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  pointer-events: none;
}

/* MAIN LOGO */
.logo,
.intro-title h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  margin: 0;
}

/* YEAR */
.year {
  font-size: 1.8rem;
  margin-top: -12px;
  opacity: 0.85;
}

/* TAGLINE */
.tagline {
  margin-top: 18px;
  font-size: 0.95rem;
  opacity: 0.75;
  letter-spacing: 0.05em;
}

/* ===============================
   SCROLL INDICATOR
================================ */

.scroll-indicator,
.scroll-hint {
  margin-top: 50px;
  font-size: 0.85rem;
  opacity: 0.6;
  animation: float 2s ease-in-out infinite;
}

/* LINE INDICATOR */
.scroll-indicator span {
  display: block;
  width: 2px;
  height: 40px;
  background: #38bdf8;
  margin: 12px auto;
  border-radius: 2px;
  /* align-items: center; */
  /* align-self: center; */
}

/* ===============================
   ANIMATIONS
================================ */

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* ===============================
   INTRO EXIT STATE
================================ */

#intro.fade-out {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1s ease;
}
/* Scroll to Enter - Bottom Center */
.scroll-enter {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  pointer-events: none;
}

/* Arrow animation */
.scroll-enter .arrow {
  font-size: 1.4rem;
  animation: scrollBounce 1.8s infinite;
  opacity: 0.8;
}

/* Subtle bounce */
@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}
.intro-ui {
  position: absolute;
  bottom: 6%;
  width: 100%;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}

.scroll-hint {
  font-size: 0.85rem;
  opacity: 0.65;
  animation: float 2s infinite;
}

.scroll-hint .arrow {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
#intro-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;                 /* 🔥 FIX */
  pointer-events: none;       /* 🔥 FIX */
}

/* ===============================
   INTRO SECTION
================================ */

#intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background: #020617;
}

/* ---------- BACKGROUND IMAGE ---------- */
.intro-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/branch.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  transform: scale(1.08);
}

/* ---------- BLUE OVERLAY ---------- */
.intro-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(56,189,248,0.35), rgba(2,6,23,0.85)),
    linear-gradient(to bottom, rgba(2,6,23,0.3), rgba(2,6,23,0.95));
}

/* ---------- CONTENT ---------- */
.intro-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #e5f3ff;
  text-align: center;
}

.logo {
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: 0.35em;
  font-weight: 700;
  text-shadow:
    0 0 20px rgba(56,189,248,0.6),
    0 0 60px rgba(56,189,248,0.4);
}

.year {
  margin-top: 10px;
  font-size: 1.4rem;
  opacity: 0.85;
}

.tagline {
  margin-top: 14px;
  font-size: 1rem;
  opacity: 0.75;
}

/* ---------- SCROLL INDICATOR ---------- */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  font-size: 0.85rem;
  opacity: 0.6;
  animation: float 2s infinite;
}

.scroll-indicator span {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
#intro {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #020617, #000);
  overflow: hidden;
  z-index: 1000;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Canvas behind */
#intro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* CONTENT */
.intro-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  transform: translateX(-0.12em); /* 🔥 optical fix for letter-spacing */
}

/* TITLE */
.logo {
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: 0.35em;
  margin: 0;

  background: linear-gradient(90deg, #38bdf8, #60a5fa, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 30px rgba(56,189,248,0.6);
}

.year {
  margin-top: 6px;
  opacity: 0.85;
}

.tagline {
  margin-top: 12px;
  opacity: 0.75;
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0.7;
}

.scroll-indicator span {
  display: block;
  width: 2px;
  height: 36px;
  background: #38bdf8;
  margin: 0 auto 8px;
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: 0.3; }
  50% { opacity: 1; }
}
#intro {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #020617, #000);
  overflow: hidden;
  z-index: 9999;
}

/* CANVAS */
#intro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* TEXT LAYER */
.intro-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.logo {
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 0.4em;
  color: #e0f2fe;
  text-shadow: 0 0 35px rgba(56,189,248,0.6);
}

.year {
  margin-top: 10px;
  font-size: 1.4rem;
  opacity: 0.9;
}

.tagline {
  margin-top: 14px;
  opacity: 0.75;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  text-align: center;
  opacity: 0.7;
}

.scroll-indicator span {
  display: block;
  width: 2px;
  height: 40px;
  background: #38bdf8;
  margin: 0 auto 10px;
  animation: scrollPulse 1.8s infinite;
}

@keyframes scrollPulse {
  0%,100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(12px); opacity: 1; }
}
