/* ============================================================
   STYLES.CSS — NatureVital Health VSL Clone
   Edit brand colors in :root for quick theming
   ============================================================ */

:root {
  /* BRAND COLORS — edit here */
  --color-green: #2e7d32;
  --color-lightgreen: #43a047;
  --color-gold: #f9a825;
  --color-darkgold: #f57f17;
  --color-red: #c62828;
  --color-blue: #1877f2; /* Facebook blue */
}

/* ============================================================
   TICKER ANIMATION
   ============================================================ */
.ticker-track {
  display: inline-block;
  animation: ticker-scroll 38s linear infinite;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ============================================================
   PACKAGE CARD — popular badge glow
   ============================================================ */
.package-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.package-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.package-card.popular {
  border: 2px solid var(--color-green);
  position: relative;
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-green);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* CTA BUTTON — pulse effect on most popular */
.cta-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(46, 125, 50, 0); }
}

/* ============================================================
   COMMENT ITEM — Facebook-style (exact match)
   ============================================================ */
.fb-thread {
  margin-bottom: 14px;
}
.fb-comment-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.fb-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: #ccc;
}
.fb-avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: #ccc;
}
.fb-bubble {
  background: #f0f2f5;
  border-radius: 18px;
  padding: 8px 14px;
  display: inline-block;
  max-width: 100%;
  position: relative;
}
.fb-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1877f2;
  display: block;
  margin-bottom: 2px;
}
.fb-text {
  font-size: 0.88rem;
  color: #1c1e21;
  line-height: 1.45;
}
.fb-actions {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 3px;
  padding-left: 2px;
  font-size: 0.78rem;
  color: #65676b;
  position: relative;
}
.fb-actions .fb-time {
  color: #8a8d91;
  font-size: 0.75rem;
  margin-right: 6px;
}
.fb-actions .fb-sep {
  color: #ccc;
  margin: 0 4px;
  font-size: 0.7rem;
}
.fb-actions .fb-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  color: #65676b;
  padding: 0;
  transition: color 0.15s;
}
.fb-actions .fb-btn:hover { color: #1877f2; }
.fb-actions .fb-btn.active { color: #1877f2; }

/* Reaction badge — right side (👍❤️ + count) */
.fb-reactions {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  background: #fff;
  border: 1px solid #e4e6ea;
  border-radius: 999px;
  padding: 2px 6px 2px 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  font-size: 0.75rem;
  color: #65676b;
  cursor: default;
  flex-shrink: 0;
}
.fb-reactions .react-icons {
  display: inline-flex;
}
.fb-reactions .react-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  margin-right: -3px;
  border: 1.5px solid #fff;
}
.react-like  { background: #1877f2; }
.react-heart { background: #f33e58; }

/* Reply indent */
.fb-replies {
  margin-top: 8px;
  margin-left: 46px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================
   MEDIA LOGOS
   ============================================================ */
.media-logo {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #9e9e9e;
  text-transform: uppercase;
  font-style: italic;
  transition: color 0.2s;
  user-select: none;
}
.media-logo:hover {
  color: #555;
}

/* ============================================================
   OFFER SECTION — shimmer on badge
   ============================================================ */
#offer-section .inline-block {
  position: relative;
  overflow: hidden;
}
#offer-section .inline-block::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-20deg);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { left: -60%; }
  100% { left: 120%; }
}

/* ============================================================
   GENERAL SCROLL SMOOTHING
   ============================================================ */
html {
  scroll-behavior: smooth;
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 640px) {
  .ticker-track {
    animation-duration: 22s;
  }
  .comment-bubble {
    border-radius: 12px;
  }
}
