/* ─── Home Page Styles ────────────────────────────────────────────── */

/* ─── Hero ────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #6E2038 0%, #8B2842 30%, #5A1D32 70%, #3A3228 100%);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212, 160, 23, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(212, 160, 23, 0.06) 0%, transparent 40%);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.25s ease;
}

.hero-btn--primary {
  background: linear-gradient(135deg, #D4A017, #B8860B);
  color: #fff;
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.35);
}

.hero-btn--primary:hover {
  background: linear-gradient(135deg, #B8860B, #996F09);
  box-shadow: 0 6px 24px rgba(184, 134, 11, 0.5);
  transform: translateY(-2px);
}

.hero-btn--outline {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.hero-btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ─── Steps ──────────────────────────────────────────────────────── */
.step-card {
  text-align: center;
  position: relative;
  padding: 2rem 1.5rem;
}

.step-number {
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: #F5F0EA;
  line-height: 1;
}

.step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-icon--gold {
  background: #FFF9EB;
  color: #B8860B;
}

.step-icon--burgundy {
  background: #FDF2F4;
  color: #8B2842;
}

.step-icon--sage {
  background: #F4F7F4;
  color: #4E6B4E;
}

/* ─── Stats ──────────────────────────────────────────────────────── */
.stat-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(45, 35, 25, 0.06);
}

.stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #8B2842;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #8B7A5E;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── Featured Profiles ──────────────────────────────────────────── */
.profile-card {
  background: #fff;
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(45, 35, 25, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.profile-card:hover {
  box-shadow: 0 4px 16px rgba(45, 35, 25, 0.1);
  transform: translateY(-2px);
}

.profile-card__photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #F5F0EA;
}

.profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F5F0EA, #EBE2D6);
}

.profile-card__gender {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: #fff;
}

.profile-card__gender--male {
  background: #4E6B4E;
}

.profile-card__gender--female {
  background: #8B2842;
}

.profile-card__info {
  padding: 0.75rem;
}

/* ─── Stories Carousel ───────────────────────────────────────────── */
.stories-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -1rem;
  padding: 0 1rem;
}

.stories-scroll::-webkit-scrollbar {
  display: none;
}

.stories-track {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
}

.story-card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(45, 35, 25, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: block;
  color: inherit;
  text-decoration: none;
}

.story-card:hover {
  box-shadow: 0 8px 24px rgba(45, 35, 25, 0.12);
  transform: translateY(-3px);
}

.story-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #FDF2F4;
}

.story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FDF2F4, #FAE2E7);
}

.story-card__content {
  padding: 1.25rem;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Ad Slots ───────────────────────────────────────────────────── */
.ad-slot--homepage_banner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.ad-slot--homepage_banner .ad-slot__img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.ad-slot__link {
  display: block;
  transition: opacity 0.2s;
}

.ad-slot__link:hover {
  opacity: 0.9;
}

.ad-slot__item {
  margin-bottom: 0.75rem;
}

/* ─── Home Event Cards ───────────────────────────────────────────── */
.home-event-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(45, 35, 25, 0.06);
  border: 1px solid #EBE2D6;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.home-event-card:hover {
  box-shadow: 0 8px 24px rgba(45, 35, 25, 0.12);
  transform: translateY(-2px);
}

.home-event-card__image {
  position: relative;
  height: 180px;
  background: #FDF2F4;
  overflow: hidden;
}

.home-event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-event-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.home-event-card__type {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  background: rgba(139, 40, 66, 0.85);
  color: white;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Franchise CTA ──────────────────────────────────────────────── */
.franchise-cta {
  background: linear-gradient(135deg, #FAF8F5 0%, #FFF9EB 100%);
  border: 1px solid #EBE2D6;
  border-radius: 1.5rem;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .franchise-cta {
    grid-template-columns: 1fr 1fr;
    padding: 3.5rem;
  }
}

.franchise-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #8B2842, #6E2038);
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(139, 40, 66, 0.25);
}

.franchise-cta__btn:hover {
  background: linear-gradient(135deg, #6E2038, #5A1D32);
  box-shadow: 0 6px 24px rgba(139, 40, 66, 0.35);
  transform: translateY(-2px);
}

.franchise-cta__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.franchise-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #fff;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #524838;
  box-shadow: 0 1px 3px rgba(45, 35, 25, 0.06);
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .stat-value {
    font-size: 1.75rem;
  }

  .franchise-cta {
    padding: 2rem;
  }

  .franchise-cta__features {
    grid-template-columns: 1fr;
  }

  .story-card {
    flex: 0 0 260px;
  }
}
