/* Welcome + feature cards section */
.rs-welcome-section {
  position: relative;
  padding: 52px 16px 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(251, 146, 60, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 92% 22%, rgba(251, 113, 133, 0.1) 0%, transparent 38%),
    linear-gradient(180deg, #fff9f6 0%, #fff0e8 45%, #ffe4d6 100%);
}

.rs-welcome-section::before,
.rs-welcome-section::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  opacity: 0.14;
  pointer-events: none;
  background: radial-gradient(circle, #f97316 0%, transparent 70%);
}

.rs-welcome-section::before {
  left: -30px;
  top: 40px;
}

.rs-welcome-section::after {
  right: -20px;
  top: 60px;
}

.rs-welcome-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.rs-welcome-script {
  margin: 0 0 4px;
  text-align: center;
  font-family: 'Dancing Script', cursive;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  color: #c2785c;
}

.rs-welcome-brand {
  margin: 0;
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(90deg, #dc2626 0%, #ea580c 55%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rs-welcome-heart-icon {
  text-align: center;
  margin: 8px 0 10px;
  font-size: 14px;
  color: #e11d48;
}

.rs-welcome-tagline {
  margin: 0 auto 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d4af37;
}

.rs-welcome-desc {
  margin: 0 auto 16px;
  max-width: 720px;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: #6b7280;
}

.rs-welcome-hearts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 32px;
  font-size: 20px;
}

.rs-welcome-hearts span:nth-child(1) {
  filter: saturate(1.2);
}

.rs-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rs-feature-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 28px 18px 48px;
  text-align: center;
  box-shadow: 0 10px 32px rgba(183, 83, 40, 0.1);
  overflow: hidden;
  min-height: 100%;
}

.rs-feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px dashed #fdba74;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.rs-feature-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  font-family: 'Inter', system-ui, sans-serif;
}

.rs-feature-card p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
}

.rs-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.rs-feature-link:hover {
  opacity: 0.85;
}

.rs-feature-corner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72px;
  height: 48px;
  border-radius: 100% 0 14px 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 10px 8px;
  font-size: 11px;
  opacity: 0.85;
}

/* Card themes */
.rs-feature-card--story .rs-feature-icon {
  border-color: #fdba74;
  color: #f59e0b;
}

.rs-feature-card--story .rs-feature-link {
  color: #ea580c;
}

.rs-feature-card--story .rs-feature-corner {
  background: linear-gradient(135deg, rgba(254, 215, 170, 0.7), rgba(251, 191, 36, 0.35));
  color: #f97316;
}

.rs-feature-card--verified .rs-feature-icon {
  border-color: #51071B;
  color: #a855f7;
}

.rs-feature-card--verified .rs-feature-link {
  color: #51071B;
}

.rs-feature-card--verified .rs-feature-corner {
  background: linear-gradient(135deg, rgba(251, 207, 232, 0.75), rgba(244, 114, 182, 0.3));
  color: #51071B;
}

.rs-feature-card--search .rs-feature-icon {
  border-color: #93c5fd;
  color: #2563eb;
}

.rs-feature-card--search .rs-feature-link {
  color: #2563eb;
}

.rs-feature-card--search .rs-feature-corner {
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.75), rgba(96, 165, 250, 0.3));
  color: #3b82f6;
}

.rs-feature-card--match .rs-feature-icon {
  border-color: #fdba74;
  color: #d97706;
}

.rs-feature-card--match .rs-feature-link {
  color: #ea580c;
}

.rs-feature-card--match .rs-feature-corner {
  background: linear-gradient(135deg, rgba(254, 215, 170, 0.7), rgba(249, 115, 22, 0.3));
  color: #f97316;
}

/* Bottom waves */
.rs-welcome-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 56' preserveAspectRatio='none'%3E%3Cpath d='M0 36 C200 10 400 50 600 28 C800 6 1000 44 1200 22 L1200 56 L0 56 Z' fill='%23fb923c'/%3E%3C/svg%3E") bottom / 100% 28px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 56' preserveAspectRatio='none'%3E%3Cpath d='M0 42 C250 18 450 52 700 34 C950 16 1100 48 1200 30 L1200 56 L0 56 Z' fill='%23f97316'/%3E%3C/svg%3E") bottom / 100% 40px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 56' preserveAspectRatio='none'%3E%3Cpath d='M0 48 C300 28 500 54 800 38 C1000 26 1100 50 1200 40 L1200 56 L0 56 Z' fill='%23ea580c'/%3E%3C/svg%3E") bottom / 100% 56px no-repeat;
  opacity: 0.55;
}

@media (max-width: 980px) {
  .rs-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .rs-welcome-section {
    padding: 36px 14px 72px;
  }

  .rs-feature-grid {
    grid-template-columns: 1fr;
  }

  .rs-welcome-brand {
    letter-spacing: 1.5px;
  }
}
