/* ========================================
   REGISTRY PAGE — matches index theme
   (Pink Love Beach palette from Styles.css)
   ======================================== */

.registry-body {
  background: linear-gradient(135deg, var(--sand-light) 0%, var(--ocean-light) 100%);
}

/* ========================================
   HERO
   ======================================== */
.registry-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 179, 198, 0.55) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(255, 77, 125, 0.35) 0%, transparent 55%),
    linear-gradient(135deg, var(--sand) 0%, var(--ocean-light) 50%, var(--seafoam) 100%);
}

.registry-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.registry-hero-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 45px 40px 40px;
  text-align: center;
  max-width: 560px;
  width: 100%;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.18),
    0 8px 25px rgba(255, 77, 125, 0.18);
  animation: cardSlideIn 1s ease-out;
}

.hero-heart {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.hero-heart svg {
  width: 100%;
  height: 100%;
  fill: var(--ocean-dark);
  filter: drop-shadow(0 4px 8px rgba(255, 77, 125, 0.4));
}

.registry-hero-card h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  color: var(--ocean-deeper);
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
}

.registry-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  margin: 12px auto 18px;
}

.registry-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.registry-quick-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-link {
  padding: 8px 18px;
  background: var(--sand-light);
  color: var(--ocean-deeper);
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 133, 168, 0.3);
  transition: all 0.3s ease;
}

.quick-link:hover {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 77, 125, 0.35);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: var(--spacing-sm);
  line-height: 1.7;
  font-style: italic;
  font-family: var(--font-serif);
}

/* ========================================
   HONEYMOON FUND
   ======================================== */
.honeymoon-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(180deg, rgba(255, 245, 247, 0.6) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.honeymoon-card {
  background: white;
  border-radius: 25px;
  padding: 50px 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 133, 168, 0.15);
  max-width: 900px;
  margin: 0 auto;
}

.cruise-details {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 2px dashed rgba(255, 133, 168, 0.4);
  margin-bottom: 35px;
}

.cruise-icon {
  font-size: 4rem;
  margin-bottom: 12px;
  transition: opacity 0.3s ease;
}

.cruise-details h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2rem);
  color: var(--ocean-deeper);
  margin-bottom: 8px;
  transition: opacity 0.3s ease;
}

.cruise-details > p {
  color: var(--text-light);
  font-size: 1.05rem;
  font-style: italic;
}

.cruise-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.highlight {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  color: white;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(255, 77, 125, 0.25);
}

/* Pie chart */
.fund-tracker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 35px;
}

.pie-chart-container {
  position: relative;
  width: 230px;
  height: 230px;
}

.pie-chart {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.pie-background {
  fill: none;
  stroke: var(--sand);
  stroke-width: 18;
}

.pie-progress {
  fill: none;
  stroke: url(#gradient);
  stroke-width: 18;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 565.48;
  transition: stroke-dashoffset 1.5s ease-out;
}

.pie-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.amount-remaining {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ocean-deeper);
}

.amount-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

.fund-stats {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 25px;
  width: 100%;
  max-width: 460px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px;
  background: var(--sand-light);
  border-radius: 14px;
  flex: 1;
  min-width: 100px;
  border: 1px solid rgba(255, 133, 168, 0.18);
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ocean-deeper);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 4px;
}

/* Item Visual */
.item-visual {
  height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  animation: fadeIn 0.4s ease;
}

.item-icon-large {
  font-size: 5rem;
  margin-bottom: 10px;
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.item-price-tag {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--ocean-deeper);
  font-weight: 700;
  margin-bottom: 5px;
}

.item-visual-note {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

@keyframes bounceIn {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Contribution */
.contribution-section {
  padding-top: 30px;
  border-top: 2px dashed rgba(255, 133, 168, 0.4);
  text-align: center;
}

.contribution-section h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ocean-deeper);
  margin-bottom: 22px;
}

.gift-type-container {
  margin-bottom: 22px;
  text-align: left;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.gift-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ocean-dark);
  font-size: 0.95rem;
  font-weight: 500;
}

.gift-select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--sand);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-dark);
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ff4d7d%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px top 50%;
  background-size: 12px auto;
}

.gift-select:focus {
  border-color: var(--ocean);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 133, 168, 0.2);
}

.amount-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.amount-btn {
  padding: 11px 24px;
  border: 2px solid var(--coral);
  background: white;
  color: var(--coral);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 77, 125, 0.35);
}

.donor-details {
  max-width: 420px;
  margin: 0 auto 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.donor-input {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid var(--sand);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.donor-input:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(255, 133, 168, 0.2);
}

.donor-input::placeholder {
  color: #c9a8b3;
}

textarea.donor-input {
  resize: vertical;
  min-height: 80px;
  font-family: var(--font-sans);
}

.custom-amount-input {
  margin-bottom: 18px;
}

.custom-amount-input input {
  padding: 13px 22px;
  border: 2px solid var(--sand);
  border-radius: 50px;
  font-size: 1rem;
  text-align: center;
  width: 200px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-amount-input input:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(255, 133, 168, 0.2);
}

.paypal-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 38px;
  background: #0070BA;
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(0, 112, 186, 0.25);
}

.paypal-button:hover {
  background: #003087;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 112, 186, 0.4);
}

.paypal-logo {
  height: 22px;
  filter: brightness(0) invert(1);
}

.contribution-note {
  color: var(--text-light);
  font-size: 0.9rem;
  font-style: italic;
}

/* ========================================
   EXPERIENCES (now matches index theme)
   ======================================== */
.experiences-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, rgba(255, 201, 217, 0.25) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.experiences-section .section-title {
  color: var(--ocean-deeper);
}

.experiences-section .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean), var(--coral));
  border-radius: 2px;
}

.experiences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.experience-card {
  background: white;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(255, 133, 168, 0.15);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(255, 77, 125, 0.18);
  border-color: rgba(255, 77, 125, 0.4);
}

.experience-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.experience-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--ocean-deeper);
  margin-bottom: 8px;
}

.experience-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

.experience-price {
  display: inline-block;
  padding: 7px 18px;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(255, 77, 125, 0.3);
}

/* ========================================
   STORES
   ======================================== */
.stores-section {
  padding: var(--spacing-xl) 0;
  background: rgba(255, 255, 255, 0.95);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.store-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(255, 77, 125, 0.15);
  border-color: var(--coral);
}

.store-logo-container {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand-light);
  border-radius: 14px;
  padding: 12px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 133, 168, 0.18);
}

.store-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.store-info h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ocean-deeper);
  margin-bottom: 4px;
}

.store-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.store-arrow {
  margin-left: auto;
  font-size: 1.4rem;
  color: var(--coral);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.store-card:hover .store-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================
   THANK YOU
   ======================================== */
.thankyou-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 100%);
}

.thankyou-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.hearts {
  font-size: 3.5rem;
  margin-bottom: 18px;
  animation: heartbeat 1.5s ease-in-out infinite;
  display: inline-block;
}

.thankyou-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--ocean-deeper);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.thankyou-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
}

.thankyou-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
}

.signature {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--coral);
  margin-top: 18px;
  line-height: 1.2;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .registry-hero {
    padding: 90px 16px 60px;
    min-height: auto;
  }

  .registry-hero-card {
    padding: 35px 24px 30px;
    border-radius: 20px;
  }

  .honeymoon-card {
    padding: 32px 22px;
    border-radius: 20px;
  }

  .stores-grid {
    grid-template-columns: 1fr;
  }

  .fund-stats {
    gap: 12px;
  }

  .stat {
    min-width: 85px;
    padding: 10px 12px;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  .pie-chart-container {
    width: 200px;
    height: 200px;
  }

  .amount-remaining {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .amount-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .registry-quick-links {
    gap: 8px;
  }

  .quick-link {
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  .experience-card {
    padding: 28px 18px;
  }

  .store-card {
    padding: 18px;
    gap: 14px;
  }

  .store-logo-container {
    width: 60px;
    height: 60px;
    padding: 10px;
  }
}
