/* =================================================================
   ASTRO ARUN — PAYMENT DETAILS PAGE (Refined premium, v2)
   Refinement pass: compact hero with subtle space effect, feature
   cards, centered fee cards (moved above payment methods), tighter
   payment methods cards. Same design language and color tokens as
   before — refined, not redesigned.
   ================================================================= */

/* ── HERO ── */
.pd-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #0f1a3d 0%, #1a2e6e 42%, #3b1266 100%);
  padding: 34px 20px 30px;
  text-align: center;
  color: #ffffff;
}

/* subtle glow */
.pd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(480px 260px at 18% 0%, rgba(200,151,58,0.16), transparent 65%),
    radial-gradient(420px 260px at 85% 100%, rgba(124,58,237,0.28), transparent 65%);
  pointer-events: none;
}

/* faint stars + constellation, kept very subtle */
.pd-hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,0.55), transparent 100%),
    radial-gradient(1.5px 1.5px at 27% 68%, rgba(255,255,255,0.4), transparent 100%),
    radial-gradient(1px 1px at 41% 15%, rgba(255,255,255,0.5), transparent 100%),
    radial-gradient(1.5px 1.5px at 58% 78%, rgba(255,255,255,0.35), transparent 100%),
    radial-gradient(1px 1px at 72% 30%, rgba(255,255,255,0.5), transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 62%, rgba(255,255,255,0.4), transparent 100%),
    radial-gradient(1px 1px at 95% 20%, rgba(255,255,255,0.45), transparent 100%),
    radial-gradient(1px 1px at 6% 82%, rgba(255,255,255,0.4), transparent 100%);
}
.pd-hero-stars::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(115deg, transparent 39.6%, rgba(232,196,122,0.7) 39.8%, transparent 40%),
    linear-gradient(35deg, transparent 59.6%, rgba(232,196,122,0.7) 59.8%, transparent 60%);
  background-size: 340px 340px, 300px 300px;
  background-position: 8% 8%, 82% 70%;
  background-repeat: no-repeat;
}

.pd-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.pd-hero h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.2;
  letter-spacing: 0.2px;
}
.pd-hero-subheading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8c47a;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
.pd-hero-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ── INTRO STRIP ── */
.pd-intro-section {
  background: #ffffff;
  padding: 20px 20px 28px;
  text-align: center;
}
.pd-intro-container { max-width: 760px; margin: 0 auto; }
.pd-info-box {
  background: linear-gradient(135deg, #16224a 0%, #24346e 100%);
  border-left: 4px solid #c8973a;
  border-radius: 12px;
  padding: 18px 22px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(22, 34, 74, 0.20);
  text-align: left;
}
.pd-intro-text {
  font-size: 0.95rem;
  color: #f0edff;
  font-style: normal;
  line-height: 1.6;
  margin: 0;
}

/* ── SECTION HEADINGS (shared) ── */
.pd-section-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2e1065;
  text-align: center;
  margin-bottom: 4px;
  line-height: 1.25;
}
.pd-section-heading-center { margin-bottom: 18px; }
.pd-section-sub {
  text-align: center;
  color: #55536e;
  max-width: 640px;
  margin: 0 auto 18px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.pd-section-sub.pd-tight { margin-bottom: 14px; }

/* ── CONSULTATION FEES (moved above payment methods) ── */
.pd-fees-section { background: #ffffff; padding: 30px 20px 34px; }
.pd-fees-container { max-width: 900px; margin: 0 auto; }

.pd-fee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.pd-fee-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(91, 33, 182, 0.14);
  border: 1px solid rgba(124, 58, 237, 0.10);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pd-fee-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(91, 33, 182, 0.14);
}
.pd-fee-header-bar {
  background: linear-gradient(135deg, #2e1065, #4d0079);
  padding: 20px 14px 18px;
}
/* Online Horoscope Predictions — reference card, ~25% tighter top/bottom */
.pd-fee-header-1 { padding-top: 15px; padding-bottom: 14px; }
/* Marriage Matching — ~20-25% tighter top/bottom */
.pd-fee-header-2 { padding-top: 16px; padding-bottom: 14px; }
/* Auspicious Time Fixing — ~15-20% tighter top/bottom */
.pd-fee-header-3 { padding-top: 17px; padding-bottom: 15px; }
.pd-fee-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pd-fee-price-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}
.pd-price-center { align-items: center; }
.pd-price-left { align-items: flex-start; width: fit-content; margin: 0 auto; }
.pd-price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pd-price-center .pd-price-line { justify-content: center; }
.pd-price-left .pd-price-line { justify-content: flex-start; }
.pd-price-line .pd-amt {
  font-size: 1.4rem;
  font-weight: 900;
  color: #e8c47a;
  line-height: 1;
}
.pd-price-line .pd-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.pd-fee-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 16px;
}
.pd-fee-body { text-align: left; flex: 1; }
.pd-fee-body p {
  color: #3d3a52;
  line-height: 1.65;
  font-size: 0.88rem;
  letter-spacing: 0.1px;
  margin-bottom: 10px;
}
.pd-fee-body p:last-child { margin-bottom: 0; }

/* ── PAYMENT METHODS (compact refinement) ── */
.pd-methods-section { background: #f5f3ff; padding: 32px 20px 36px; }
.pd-methods-container { max-width: 600px; margin: 0 auto; }
.pd-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 233px));
  justify-content: center;
  column-gap: 18px;
  row-gap: 26px;
}
.pd-method-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 15px 14px;
  box-shadow: 0 6px 22px rgba(91, 33, 182, 0.13);
  border: 1px solid rgba(124, 58, 237, 0.10);
  border-top: 4px solid #7c3aed;
}
.pd-method-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: #c8973a;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pd-method-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 12px;
  text-align: center;
}
.pd-method-icon { font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.pd-method-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #2e1065;
  margin: 0;
}
.pd-detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f4ff;
  border-radius: 8px;
  padding: 8px 14px 8px 17px;
  margin-bottom: 7px;
}
.pd-detail-row:last-child { margin-bottom: 0; }
.pd-detail-row > div:first-child { flex: 1; min-width: 0; }
.pd-detail-label {
  font-size: 0.7rem;
  color: #8a819f;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0;
}
.pd-detail-value {
  font-family: "Courier New", monospace;
  font-weight: 700;
  color: #2e1065;
  font-size: 0.9rem;
  word-break: break-all;
}
.pd-copy-btn {
  flex-shrink: 0;
  background: #7c3aed;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 6px 11px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.pd-copy-btn:hover { background: #5b21b6; }
.pd-copy-btn.copied { background: #059669; }
.pd-methods-note {
  margin-top: 18px;
  background: #fff9ec;
  border: 1px solid #f1dfb0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.86rem;
  color: #6b5d33;
  line-height: 1.5;
  text-align: center;
}

/* ── CTA ── */
.pd-cta-section {
  background: linear-gradient(135deg, #f5f3ff, #ece4fa);
  padding: 26px 20px 34px;
  text-align: center;
  color: #2e1065;
}
.pd-cta-section h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: 8px; color: #2e1065; }
.pd-cta-section p { color: #55536e; margin-bottom: 20px; font-size: 0.94rem; }
.pd-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 0.98rem;
  transition: background 0.2s, transform 0.2s;
}
.pd-cta-btn:hover { background: #1eb855; color: #ffffff; transform: translateY(-2px); }
.pd-cta-spacer { background: #ffffff; height: 18px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .pd-fee-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .pd-hero { padding: 28px 16px 24px; }
  .pd-hero h1 { font-size: 1.7rem; }
  .pd-hero-subheading { font-size: 0.95rem; }
  .pd-hero-desc { font-size: 0.88rem; }

  .pd-fees-section { padding: 24px 16px 26px; }
  .pd-fee-grid { grid-template-columns: 1fr; gap: 34px; }
  .pd-info-box { padding: 16px 18px; }
  .pd-intro-text { font-size: 0.9rem; }
  .pd-section-heading { font-size: 1.55rem; margin-bottom: 6px; }
  .pd-section-heading-center { margin-bottom: 20px; }
  .pd-fee-header-bar { padding: 24px 16px 22px; }
  .pd-fee-header-1 { padding-top: 18px; padding-bottom: 17px; }
  .pd-fee-header-2 { padding-top: 19px; padding-bottom: 17px; }
  .pd-fee-header-3 { padding-top: 20px; padding-bottom: 18px; }
  .pd-fee-title { font-size: 1.32rem; }

  .pd-methods-section { padding: 24px 16px 28px; }
  .pd-methods-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 46px;
  }
  .pd-method-card { width: 100%; max-width: 310px; }

  .pd-cta-section { padding: 20px 16px 26px; }
  .pd-cta-section h2 { font-size: 1.25rem; }
}
