#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #0d1117;
}

/* ── Full-screen Video ── */

.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ── Hero Clock ── */

.hero-clock-dawn {
  color: #ffffff;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.hero-clock-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 400;
  letter-spacing: 0.35em;
  color: rgba(255, 80, 80, 0.85);
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow:
    0 0 12px rgba(255, 42, 42, 0.6),
    0 0 24px rgba(255, 42, 42, 0.3);
}

.hero-clock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

/* ── Clock Frame (시계 베젤) ── */
.hero-clock-frame {
  position: relative;
  display: inline-block;
  padding: 18px 36px 18px 36px;
  border: 2px solid rgba(255, 60, 60, 0.7);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 60, 60, 0.2),
    inset 0 0 30px rgba(255, 42, 42, 0.08),
    0 0 40px rgba(255, 42, 42, 0.25),
    0 0 80px rgba(255, 42, 42, 0.1);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

/* 모서리 장식 */
.hero-clock-frame::before,
.hero-clock-frame::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(255, 80, 80, 0.9);
  border-style: solid;
}
.hero-clock-frame::before {
  top: -4px; left: -4px;
  border-width: 2px 0 0 2px;
  border-radius: 3px 0 0 0;
}
.hero-clock-frame::after {
  bottom: -4px; right: -4px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 3px 0;
}

.hero-clock-time {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(72px, 12.6vw, 162px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ff2a2a;
  line-height: 1;
  display: block;

  -webkit-text-stroke: 1.5px rgba(255, 80, 80, 0.9);
  paint-order: stroke fill;

  text-shadow:
    1px 1px 0 #c00000,
    2px 2px 0 #a80000,
    3px 3px 0 #900000,
    4px 4px 0 #780000,
    5px 5px 0 #600000,
    6px 6px 0 #480000,
    7px 7px 0 #300000,
    8px 8px 12px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 42, 42, 0.7),
    0 0 60px rgba(255, 42, 42, 0.4),
    0 0 100px rgba(255, 42, 42, 0.15);
}

.hero-clock.done .hero-clock-time {
  animation: clock-pulse 1.4s ease-in-out infinite;
}


@keyframes clock-pulse {
  0%, 100% { text-shadow:
    1px 1px 0 #c00000,
    2px 2px 0 #a80000,
    3px 3px 0 #900000,
    4px 4px 0 #780000,
    5px 5px 0 #600000,
    6px 6px 0 #480000,
    7px 7px 0 #300000,
    8px 8px 12px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 42, 42, 0.7),
    0 0 60px rgba(255, 42, 42, 0.4),
    0 0 100px rgba(255, 42, 42, 0.15);
  }
  50% { text-shadow:
    1px 1px 0 #c00000,
    2px 2px 0 #a80000,
    3px 3px 0 #900000,
    4px 4px 0 #780000,
    5px 5px 0 #600000,
    6px 6px 0 #480000,
    7px 7px 0 #300000,
    8px 8px 12px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(255, 42, 42, 1),
    0 0 100px rgba(255, 42, 42, 0.7),
    0 0 150px rgba(255, 42, 42, 0.3);
  }
}

/* ── Hero Message Sequence ── */

.hero-msg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  white-space: nowrap;
}

.hero-msg.visible { opacity: 1; }

.hero-final {
  position: absolute;
  top: 50%;
  left: 66%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
  text-align: left;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-final.visible { opacity: 1; }

.hero-final-line {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 5.5vw, 88px);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  line-height: 1.2;
  text-shadow:
    2px 2px 0 rgba(0, 0, 0, 0.5),
    4px 4px 0 rgba(0, 0, 0, 0.35),
    6px 6px 0 rgba(0, 0, 0, 0.2),
    0 0 40px rgba(255, 255, 255, 0.2);
  min-height: 1.2em;
}

.hero-msg-line {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(40px, 7vw, 100px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.25;
  text-shadow:
    2px 2px 0 rgba(0, 0, 0, 0.5),
    4px 4px 0 rgba(0, 0, 0, 0.35),
    6px 6px 0 rgba(0, 0, 0, 0.2),
    0 0 40px rgba(255, 255, 255, 0.25),
    0 0 80px rgba(255, 255, 255, 0.1);
}

/* ── Scroll Hint ── */

.scroll-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 60px);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.scroll-hint.visible {
  opacity: 1;
  animation: scroll-blink 1.2s ease-in-out infinite;
}

.scroll-arrow {
  font-size: 36px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
  display: inline-block;
  filter: drop-shadow(0 2px 10px rgba(255,255,255,0.5));
  animation: arrow-bounce 1s ease-in-out infinite;
}

.scroll-hint-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes scroll-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

@keyframes fadeIn { to { opacity: 1; } }
