/* ============================================================
   BOYS 2 MEN — ANIMATIONS.CSS
   Keyframes · Reveal states · Ticker · Hover effects
   ============================================================ */

/* ---- 1. TICKER ---- */
.ticker {
  overflow: hidden;
  background: var(--gold);
  padding: 13px 0;
  position: relative;
  z-index: 2;
}

.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 14px;
  white-space: nowrap;
  font-family: var(--ff-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--black);
}

.ticker__sep {
  font-size: 18px;
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
}

/* ---- 2. SCROLL INDICATOR ---- */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: scrollPulse 2.2s ease-in-out infinite;
  z-index: 3;
}

.scroll-hint__label {
  font-family: var(--ff-label);
  font-size: 8px;
  letter-spacing: 0.38em;
  color: rgba(255,255,255,0.45);
  writing-mode: horizontal-tb;
}

.scroll-hint__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(10px); }
}

/* ---- 3. IMAGE HOVER ZOOM ---- */
.img-zoom { overflow: hidden; }
.img-zoom img {
  transition: transform 0.9s var(--ease-out);
  will-change: transform;
}
.img-zoom:hover img { transform: scale(1.06); }

/* ---- 4. GOLD BORDER DRAW (card hover) ---- */
.card-border {
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.4s ease;
}
.card-border::before, .card-border::after {
  content: '';
  position: absolute;
  background: var(--gold);
  transition: all 0.5s var(--ease-out);
}
.card-border::before {
  top: -1px; left: -1px;
  width: 0; height: 1px;
}
.card-border::after {
  bottom: -1px; right: -1px;
  width: 0; height: 1px;
}
.card-border:hover::before,
.card-border:hover::after { width: calc(100% + 2px); }
.card-border:hover { border-color: transparent; }

/* ---- 5. UNDERLINE DRAW (nav/links) ---- */
.link-draw {
  position: relative;
  display: inline-block;
}
.link-draw::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.link-draw:hover::after { width: 100%; }

/* ---- 6. LIFT ON HOVER ---- */
.lift {
  transition: transform var(--t-slow), box-shadow var(--t-base);
}
.lift:hover { transform: translateY(-8px); }

/* ---- 7. STAR RATING ---- */
.stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  font-size: 18px;
}

/* ---- 8. REVEAL INITIAL STATES (set via JS) ---- */
/* These classes are added by GSAP before animating */
.gsap-hidden { opacity: 0; }
.gsap-up     { opacity: 0; transform: translateY(60px); }
.gsap-scale  { opacity: 0; transform: scale(0.94); }

/* Text line reveal wrapper */
.clip-line {
  overflow: hidden;
  display: block;
}

/* ---- 9. FORM FOCUS LINE ---- */
.form__focus-bar {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.form__field:focus-within .form__focus-bar { width: 100%; }

/* ---- 10. KEYFRAMES ---- */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes revealRight {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

@keyframes counterGlow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50%       { text-shadow: 0 0 40px rgba(201,168,106,0.4); }
}
