/* ===== Crazy Dances – custom styles ===== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* ---------- Navbar ---------- */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px -12px rgba(214, 36, 126, 0.4);
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, #ff5db1, #d6247e);
  transition: width 0.25s ease;
}
.nav-link:hover {
  color: #ec4899;
}
.nav-link:hover::after {
  width: 100%;
}

.mobile-link {
  display: block;
  padding: 0.75rem 0.5rem;
  border-radius: 0.75rem;
  color: #111;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-link:hover {
  background: #ffd6ec;
  color: #d6247e;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff5db1 0%, #d6247e 100%);
  box-shadow: 0 10px 24px -8px rgba(214, 36, 126, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 30px -8px rgba(214, 36, 126, 0.7);
  filter: brightness(1.05);
}
.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  color: #d6247e;
  background: #fff;
  border: 2px solid #ffb3d9;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-outline:hover {
  transform: translateY(-3px);
  background: #ffd6ec;
  border-color: #ff5db1;
}

/* ---------- Section helpers ---------- */
.section-eyebrow {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #ec4899;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.section-sub {
  max-width: 42rem;
  margin: 0 auto;
  color: #6b7280;
  font-size: 1.05rem;
}

.text-gradient {
  background: linear-gradient(90deg, #ff5db1, #d6247e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Offer cards ---------- */
.offer-card {
  position: relative;
  z-index: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fff7fb 100%);
  border: 1px solid rgba(255, 93, 177, 0.14);
  border-radius: 1.75rem;
  padding: 2.25rem 1.85rem;
  box-shadow: 0 12px 32px -20px rgba(214, 36, 126, 0.4);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}
/* soft inner shine */
.offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 30% 0%, rgba(255, 93, 177, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
/* glowing gradient ring */
.offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #ff5db1, #ffb3d9 45%, #d6247e);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.offer-card:hover {
  transform: translateY(-10px);
  border-color: transparent;
  box-shadow: 0 28px 55px -22px rgba(214, 36, 126, 0.55),
    0 0 30px rgba(255, 93, 177, 0.5);
}
.offer-card:hover::before,
.offer-card:hover::after {
  opacity: 1;
}
.offer-icon {
  width: 3.75rem;
  height: 3.75rem;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #ffd6ec, #ffb3d9);
  margin-bottom: 1.25rem;
  transition: transform 0.25s ease;
}
.offer-card:hover .offer-icon {
  transform: rotate(-8deg) scale(1.08);
}
.offer-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.offer-text {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.offer-tag {
  display: inline-block;
  font-family: "Fredoka", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #d6247e;
  background: #ffe0f0;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
}

/* ---------- Feature list ---------- */
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: #374151;
}
.feature-dot {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #ff5db1, #d6247e);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------- Schedule ---------- */
.sched-row {
  transition: background 0.2s ease;
}
.sched-row:hover {
  background: #fff5fa;
}
.sched-row td {
  padding: 1rem 1.5rem;
  color: #374151;
}
.sched-day {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  color: #d6247e;
}

/* ---------- Contact ---------- */
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: #f3f4f6;
  transition: transform 0.2s ease;
}
a.contact-item:hover {
  transform: translateX(6px);
}
.contact-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ff5db1, #d6247e);
}
.social-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-btn:hover {
  background: linear-gradient(135deg, #ff5db1, #d6247e);
  transform: translateY(-3px);
}

/* ---------- Form ---------- */
.form-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: "Poppins", sans-serif;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.form-input:focus {
  outline: none;
  border-color: #ff5db1;
  background: rgba(255, 255, 255, 0.12);
}
.form-input option {
  color: #111;
}

/* ---------- Blobs ---------- */
.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.blob-1 {
  width: 22rem;
  height: 22rem;
  background: rgba(255, 93, 177, 0.35);
  top: -4rem;
  left: -4rem;
  animation: drift 14s ease-in-out infinite;
}
.blob-2 {
  width: 18rem;
  height: 18rem;
  background: rgba(214, 36, 126, 0.25);
  bottom: 2rem;
  right: -3rem;
  animation: drift 18s ease-in-out infinite reverse;
}
.blob-3 {
  width: 14rem;
  height: 14rem;
  background: rgba(255, 179, 217, 0.4);
  top: 40%;
  left: 45%;
  animation: drift 12s ease-in-out infinite;
}
.blob-4 {
  width: 20rem;
  height: 20rem;
  background: rgba(255, 93, 177, 0.2);
  top: -3rem;
  right: -4rem;
  animation: drift 16s ease-in-out infinite;
}
.blob-5 {
  width: 24rem;
  height: 24rem;
  background: rgba(214, 36, 126, 0.35);
  bottom: -6rem;
  left: -6rem;
  animation: drift 20s ease-in-out infinite reverse;
}

/* ---------- Animations ---------- */
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.08); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
.animate-float {
  animation: float 5s ease-in-out infinite;
}
.animate-float-slow {
  animation: float 7s ease-in-out infinite;
}

@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.animate-bounce-slow {
  animation: bounce-slow 3s ease-in-out infinite;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-float,
  .animate-float-slow,
  .animate-bounce-slow,
  .blob {
    animation: none;
  }
  html { scroll-behavior: auto; }
}
