/* ============================================================
   OFERTE HERO ALIVE — animații care fac hero-ul Buffalo Box viu
   ============================================================ */

/* Hero-ul devine layer pentru particule */
.offer-hero {
  position: relative;
  isolation: isolate;
}

/* ============================================================
   1. BACKGROUND ANIMAT — diagonal stripes care se mișcă lent
   ============================================================ */
.offer-hero::before {
  content: '';
  position: absolute;
  inset: -40px;
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0px,
      transparent 60px,
      rgba(255, 204, 0, 0.04) 60px,
      rgba(255, 204, 0, 0.04) 62px,
      transparent 62px,
      transparent 120px
    );
  animation: chk-stripes-move 22s linear infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes chk-stripes-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(120px, 120px); }
}

/* Glow radial pulsant în spate */
.offer-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.22) 0%, rgba(255, 204, 0, 0) 65%);
  transform: translateY(-50%);
  animation: chk-glow-pulse 4.5s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
}
@keyframes chk-glow-pulse {
  0%, 100% { opacity: 0.55; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.85; transform: translateY(-50%) scale(1.08); }
}

/* Conținutul deasupra layerelor */
.offer-hero-inner { position: relative; z-index: 2; }

/* ============================================================
   2. SPARKLES — particule galbene plutitoare (decorative)
   ============================================================ */
.chk-sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: chk-sparkle-twinkle 3.4s ease-in-out infinite;
}
.chk-sparkle svg { width: 100%; height: 100%; }
.chk-sparkle.s1 { top: 12%; left: 8%;  animation-delay: 0s;   }
.chk-sparkle.s2 { top: 26%; left: 32%; animation-delay: 0.6s; width: 10px; height: 10px; }
.chk-sparkle.s3 { top: 70%; left: 14%; animation-delay: 1.2s; width: 18px; height: 18px; }
.chk-sparkle.s4 { top: 18%; right: 18%; animation-delay: 0.3s; width: 16px; height: 16px; }
.chk-sparkle.s5 { top: 78%; right: 26%; animation-delay: 1.6s; width: 12px; height: 12px; }
.chk-sparkle.s6 { top: 42%; left: 48%;  animation-delay: 2.0s; width: 9px;  height: 9px;  }
.chk-sparkle.s7 { top: 58%; right: 9%;  animation-delay: 0.9s; width: 13px; height: 13px; }
.chk-sparkle.s8 { top: 8%;  right: 42%; animation-delay: 2.4s; width: 11px; height: 11px; }

@keyframes chk-sparkle-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  30% { opacity: 1; transform: scale(1) rotate(120deg); }
  60% { opacity: 0.85; transform: scale(0.85) rotate(240deg); }
}

/* ============================================================
   3. CHEVRONS FLOATING — săgețile galbene din hero
   ============================================================ */
.chk-chevron {
  position: absolute;
  color: rgba(255, 204, 0, 0.32);
  pointer-events: none;
  z-index: 1;
  font-family: var(--font-display, 'Anton', sans-serif);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.05em;
  animation: chk-chevron-drift 7s ease-in-out infinite;
}
.chk-chevron.c1 { top: 6%; left: 18%; animation-delay: 0s; }
.chk-chevron.c2 { top: 52%; left: 4%; animation-delay: 1.4s; transform: rotate(-15deg); }
.chk-chevron.c3 { top: 80%; left: 38%; animation-delay: 2.8s; font-size: 22px; }
.chk-chevron.c4 { top: 16%; right: 8%; animation-delay: 0.8s; font-size: 32px; }
@keyframes chk-chevron-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.35; }
  50% { transform: translateY(-18px) rotate(8deg); opacity: 0.7; }
}

/* ============================================================
   4. PRICE TAG — pulse + bounce
   ============================================================ */
.offer-hero-text .price-lead {
  position: relative;
  animation: chk-price-bounce 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: left center;
  box-shadow: 0 6px 18px rgba(255, 204, 0, 0.35);
}
@keyframes chk-price-bounce {
  0%, 100% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.07) rotate(-1.5deg); }
  60% { transform: scale(0.98) rotate(0.8deg); }
}

/* Sparkle pe price tag */
.offer-hero-text .price-lead::after {
  content: '✨';
  position: absolute;
  top: -10px;
  right: -22px;
  font-size: 22px;
  animation: chk-price-sparkle 2s ease-in-out infinite;
}
@keyframes chk-price-sparkle {
  0%, 100% { transform: scale(0.7) rotate(0deg); opacity: 0.6; }
  50% { transform: scale(1.2) rotate(45deg); opacity: 1; }
}

/* ============================================================
   5. H1 — shimmer reveal
   ============================================================ */
.offer-hero-text h1 {
  background: linear-gradient(
    105deg,
    var(--white) 0%,
    var(--white) 40%,
    var(--mustard) 50%,
    var(--white) 60%,
    var(--white) 100%
  );
  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: chk-shimmer 5.5s ease-in-out infinite;
  animation-delay: 1.5s;
}
@keyframes chk-shimmer {
  0% { background-position: 200% 0; }
  40%, 100% { background-position: -100% 0; }
}

/* ============================================================
   6. IMAGINEA — floating + tilt subtle
   ============================================================ */
.offer-hero-image img {
  animation: chk-img-float 5.2s ease-in-out infinite;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 40px rgba(255, 204, 0, 0.18));
  transform-origin: center;
}
@keyframes chk-img-float {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-14px) rotate(0.5deg); }
}

/* ============================================================
   7. CTA BUTTONS — shine sweep periodic
   ============================================================ */
.offer-hero-cta a {
  position: relative;
  overflow: hidden;
}
.offer-hero-cta a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 90%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  transform: skewX(-20deg);
  animation: chk-btn-shine 4s ease-in-out infinite;
  pointer-events: none;
}
.offer-hero-cta a:nth-child(2)::before { animation-delay: 2s; }
.offer-hero-cta a:nth-child(3)::before { animation-delay: 1s; }
@keyframes chk-btn-shine {
  0%, 35% { left: -120%; }
  60%, 100% { left: 120%; }
}

/* ============================================================
   8. URGENCY BADGE — "ÎN CURÂND SE TERMINĂ" pulsant
   ============================================================ */
.chk-urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--mustard);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 204, 0, 0.3);
  animation: chk-urgency-pulse 2.2s ease-in-out infinite;
}
@keyframes chk-urgency-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255, 204, 0, 0); }
}
.chk-urgency-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: chk-urgency-blink 1s ease-in-out infinite;
}
@keyframes chk-urgency-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================================
   9. PHONE CTA — buton "Comandă în locație"
   ============================================================ */
.btn-phone-local {
  background: transparent !important;
  color: var(--white) !important;
  border: 2px solid var(--mustard) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 200ms ease;
}
.btn-phone-local:hover {
  background: var(--mustard) !important;
  color: var(--grill) !important;
  transform: translateY(-2px);
}
.btn-phone-local svg { width: 16px; height: 16px; }

/* ============================================================
   REDUCED MOTION — dezactivează animații pentru accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .offer-hero::before,
  .offer-hero::after,
  .chk-sparkle,
  .chk-chevron,
  .offer-hero-text .price-lead,
  .offer-hero-text .price-lead::after,
  .offer-hero-text h1,
  .offer-hero-image img,
  .offer-hero-cta a::before,
  .chk-urgency-badge,
  .chk-urgency-dot {
    animation: none !important;
  }
  .offer-hero-text h1 {
    background: none;
    -webkit-text-fill-color: var(--white);
    color: var(--white);
  }
}

/* ============================================================
   MOBILE — păstrăm animațiile, dar reducem dimensiunile
   ============================================================ */
@media (max-width: 575px) {
  .offer-hero::after { width: 350px; height: 350px; right: -50px; }
  .chk-chevron { font-size: 18px !important; }
  .chk-chevron.c1, .chk-chevron.c3 { display: none; }
  .chk-sparkle.s2, .chk-sparkle.s6, .chk-sparkle.s8 { display: none; }
  .offer-hero-text .price-lead::after { font-size: 18px; right: -16px; top: -6px; }
}
