/* FlirtMatchZone — custom styles layered on top of Tailwind CDN */

/* Smooth scrolling for anchor navigation */
html { scroll-behavior: smooth; }

body { background-color: #0a0a0a; }

/* Subtle gold-noise texture on body for depth */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at top, rgba(120,0,0,0.15), transparent 60%);
  z-index: 0;
}

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem;
  background: linear-gradient(135deg, #d4af37 0%, #a8862a 100%);
  color: #0a0a0a;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 9999px;
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
  box-shadow: 0 8px 24px -8px rgba(212, 175, 55, 0.5);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 34px -10px rgba(212,175,55,0.65); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 500;
  transition: all .3s ease;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: #d4af37; color: #d4af37; transform: translateY(-2px); }

/* ---------- Feature cards ---------- */
.feature-card {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(120,0,0,0.08));
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .4s ease, border-color .4s ease, background .4s ease;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(212,175,55,0.15), transparent 60%);
  opacity: 0; transition: opacity .4s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.4); }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 3.25rem; height: 3.25rem;
  display: grid; place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #780000, #4a0000);
  color: #d4af37;
  font-size: 1.5rem;
  border: 1px solid rgba(212,175,55,0.3);
}

/* ---------- Testimonials ---------- */
.testimonial {
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(160deg, rgba(120,0,0,0.15), rgba(10,10,10,0.4));
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .4s ease, border-color .4s ease;
}
.testimonial:hover { transform: translateY(-4px); border-color: rgba(212,175,55,0.35); }

/* ---------- Social pills ---------- */
.social {
  width: 2.25rem; height: 2.25rem;
  display: inline-grid; place-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.7rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  transition: all .3s ease;
}
.social:hover { border-color: #d4af37; color: #d4af37; }

/* ---------- Nav scrolled state ---------- */
#navbar.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { transition: none !important; animation: none !important; }
}