/* ============================================================
   hero.css — Hero Section, Video Banner & Marquee Ticker
   ============================================================ */

/* ── Hero wrapper ── */
.hero {
  min-height: unset;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* ── Video Banner ── */
.hero-video-wrap {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 220px;
  max-height: 320px;
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #000;
}

/* Gradient overlay */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.1)  0%,
    rgba(10,10,10,0.4)  60%,
    rgba(10,10,10,1)    100%
  );
}

/* Label pojok kanan bawah */
.hero-video-label {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(245,245,240,0.4);
  text-transform: uppercase;
  z-index: 1;
}

/* Placeholder teks saat video belum ada */
.hero-video-wrap::before {
  content: 'Kyy APP Premium';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--grey-2);
  z-index: 0;
}

/* ── Hero Content ── */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 24px;
  position: relative;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--grey-3);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--grey-3);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -1px;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  color: var(--grey-3);
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-3);
  max-width: 400px;
  line-height: 1.8;
  white-space: pre-line;
}

/* ── Scroll indicator ── */
.hero-scroll {
  position: absolute;
  right: 48px;
  bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--grey-3);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--grey-3), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Marquee ── */
.marquee-wrap {
  border-top: 1px solid var(--grey-2);
  border-bottom: 1px solid var(--grey-2);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--grey-1);
}

.marquee-track {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--grey-3);
  padding: 0 40px;
  text-transform: uppercase;
}
.marquee-track span.accent {
  color: var(--white);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-video-wrap {
    height: 35vh;
    min-height: 200px;
    max-height: 260px;
  }
  .hero-content {
    padding: 0 20px 20px;
  }
  .hero-scroll {
    display: none;
  }
}
