/* ==========================================================================
   04-man-hinh-chao MÀN HÌNH CHÀO
   Tách từ index.html: <style> dòng 332–383 (giữ nguyên 100% nội dung).
   Splash hero: chữ DTR động, con trỏ gõ chữ.
   ========================================================================== */
/* ============ HERO ============ */
.hero { position: relative; height: 100vh; z-index: 10; pointer-events: none; }
.splash-content { position: absolute; inset: 0; }

.w-mart {
  position: absolute; top: 20%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(72px, 12vw, 180px);
  font-weight: 700;
  letter-spacing: -0.06em; line-height: 0.95;
  color: var(--text);
  white-space: nowrap;
  opacity: 0; transition: opacity 1.4s ease;
}
.splash-content.show .w-mart { opacity: 1; }

.typed-wrap {
  position: absolute; top: 32%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', sans-serif;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 500; letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-2);
  opacity: 0; transition: opacity 1s ease;
  white-space: nowrap; text-align: center;
}
.splash-content.show .typed-wrap { opacity: 1; }

.dtr-letter { color: var(--gold); }
.cursor { color: var(--text-3); margin-left: 2px; font-weight: 300; animation: cursorBlink 1s steps(1) infinite; }
@keyframes cursorBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.scroll-hint {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  color: var(--text-4);
  font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0; transition: opacity 1s ease;
  pointer-events: none;
  animation: hintBounce 2.4s ease-in-out infinite;
}
.scroll-hint.active { opacity: 1; }
@keyframes hintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}
