/* ═══════════════════════════════════════════════════════
   JYOTIṢA — Premium Vedic Astrology Platform
   Aesthetic: Luxury manuscript · Aged gold on deep midnight
   Fonts: Philosopher (display) + EB Garamond (body)
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@0,400;0,700;1,400&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --ink:        #0a0810;
  --ink2:       #120f1e;
  --ink3:       #1c1730;
  --ink4:       #261f3d;
  --vellum:     #f5edd8;
  --vellum2:    #ede0c4;
  --gold:       #c8a84b;
  --gold2:      #e8cc7a;
  --gold3:      #a07830;
  --gold4:      #f0dc9c;
  --copper:     #b87333;
  --rust:       #8b3a2a;
  --sage:       #4a7c6a;
  --sage2:      #6aac94;
  --crimson:    #7a2030;
  --high:       #5aaa88;
  --moderate:   #c8a84b;
  --low:        #7a7090;
  --border:     rgba(200,168,75,0.15);
  --border2:    rgba(200,168,75,0.3);
  --radius:     4px;
  --glow:       0 0 40px rgba(200,168,75,0.08);
}

body {
  background: var(--ink);
  color: var(--vellum);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Grain texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* ── Stars canvas ── */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Header ── */
header {
  position: relative;
  z-index: 10;
  padding: 4rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border2);
  background: linear-gradient(to bottom, rgba(10,8,16,0.97) 0%, transparent 100%);
}

header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.mandala {
  font-size: 1.8rem;
  color: var(--gold3);
  opacity: 0.7;
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  0%,100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.9; transform: scale(1.15) rotate(15deg); }
}

h1 {
  font-family: 'Philosopher', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold2);
  text-shadow: 0 0 60px rgba(200,168,75,0.25), 0 2px 4px rgba(0,0,0,0.5);
  line-height: 1;
}

.subtitle {
  font-family: 'EB Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  color: var(--gold3);
  text-transform: uppercase;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ── Main ── */
main {
  position: relative;
  z-index: 10;
  max-width: 1060px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

/* ── Ornament ── */
.ornament {
  text-align: center;
  color: var(--gold3);
  letter-spacing: 0.6em;
  font-size: 0.72rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

/* ── Section headings ── */
h2 {
  font-family: 'Philosopher', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold2);
  text-align: center;
  letter-spacing: 0.12em;
  margin-bottom: 2rem;
}

h3 {
  font-family: 'Philosopher', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ── Cards / Sections ── */
.form-section,
.results-section,
.service-select-section {
  background: linear-gradient(160deg, rgba(28,23,48,0.95) 0%, rgba(18,15,30,0.98) 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: var(--glow), 0 24px 48px rgba(0,0,0,0.4);
}

.form-section::before,
.results-section::before,
.service-select-section::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(200,168,75,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Corner ornaments */
.form-section::after,
.results-section::after,
.service-select-section::after {
  content: '✦';
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: var(--gold3);
  font-size: 0.6rem;
  opacity: 0.5;
}


/* ── Form ── */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold3);
  font-family: 'EB Garamond', serif;
}

.label-hint {
  font-size: 0.68rem;
  color: rgba(200,168,75,0.4);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.05em;
  margin-left: 0.3rem;
}

input, select {
  background: rgba(10,8,16,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--vellum);
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

input:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,168,75,0.08), inset 0 1px 0 rgba(200,168,75,0.04);
}

input::placeholder { color: rgba(245,237,216,0.2); font-style: italic; }
select option { background: var(--ink2); }

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.6) sepia(1) hue-rotate(10deg) brightness(0.9);
  cursor: pointer;
}

/* ── Location ── */
.location-section { margin-bottom: 2rem; }

.location-tabs {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.loc-tab {
  background: transparent;
  border: none;
  color: rgba(245,237,216,0.4);
  font-family: 'Philosopher', serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  padding: 0.55rem 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.loc-tab.active {
  background: rgba(200,168,75,0.1);
  color: var(--gold2);
  border-right: 1px solid var(--border);
}

.loc-tab:hover:not(.active) { color: var(--vellum2); }

.search-input-wrap { display: flex; gap: 0.5rem; }
.search-input-wrap input { flex: 1; }

.search-btn {
  background: rgba(200,168,75,0.08);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: 'Philosopher', serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  padding: 0 1.4rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.search-btn:hover {
  background: rgba(200,168,75,0.16);
  border-color: var(--gold);
}

/* Location confirm */
.loc-confirm {
  background: rgba(90,170,136,0.06);
  border: 1px solid rgba(90,170,136,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 0.6rem;
  animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.loc-confirm-inner { display: flex; align-items: flex-start; gap: 0.85rem; }
.loc-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.15rem; }
.loc-name { font-family: 'Philosopher', serif; font-size: 0.95rem; color: var(--sage2); margin-bottom: 0.2rem; letter-spacing: 0.04em; }
.loc-full { font-size: 0.8rem; color: rgba(245,237,216,0.4); margin-bottom: 0.2rem; font-style: italic; }
.loc-coords { font-size: 0.72rem; color: var(--gold3); letter-spacing: 0.08em; font-family: 'Philosopher', serif; }
.loc-clear { margin-left: auto; background: none; border: none; color: rgba(245,237,216,0.3); cursor: pointer; font-size: 0.9rem; padding: 0 0.2rem; flex-shrink: 0; transition: color 0.2s; }
.loc-clear:hover { color: var(--vellum); }
.loc-hint { font-size: 0.82rem; color: rgba(245,237,216,0.35); font-style: italic; padding: 0.5rem 0; }
.loc-error-text { color: #e08080 !important; }

.latlon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1rem; }

/* ── Calculate button ── */
#predict-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 2rem;
  background: linear-gradient(135deg, #1e1628 0%, #2a1f3c 50%, #1e1628 100%);
  border: 1px solid var(--gold3);
  border-radius: var(--radius);
  color: var(--gold2);
  font-family: 'Philosopher', serif;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

#predict-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,168,75,0) 0%, rgba(200,168,75,0.08) 50%, rgba(200,168,75,0) 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

#predict-btn:hover::before { transform: translateX(100%); }

#predict-btn:hover {
  border-color: var(--gold2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 24px rgba(200,168,75,0.15);
  transform: translateY(-1px);
}

#predict-btn:active { transform: translateY(0); }

.btn-icon { font-size: 1rem; opacity: 0.7; }

/* ── Error ── */
.error-msg {
  margin-top: 1rem;
  padding: 0.8rem 1.1rem;
  background: rgba(122,32,48,0.15);
  border: 1px solid rgba(122,32,48,0.4);
  border-radius: var(--radius);
  color: #e09090;
  font-size: 0.9rem;
  text-align: center;
  font-style: italic;
}

/* ── Loader ── */
#loader {
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  z-index: 10;
}

.loader-inner p {
  color: var(--gold3);
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-top: 1.75rem;
  font-family: 'Philosopher', serif;
  animation: pulse-text 2s ease-in-out infinite;
}
@keyframes pulse-text { 0%,100%{opacity:0.4} 50%{opacity:1} }

.loader-ring {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold3);
  border-radius: 50%;
  animation: spin 1.8s cubic-bezier(0.4,0,0.2,1) infinite;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(200,168,75,0.1);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── South Indian Chart ── */
.chart-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.si-chart-wrap { flex-shrink: 0; }
.chart-info-wrap { flex: 1; min-width: 260px; }

.chart-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.chart-planets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
  gap: 0.5rem;
}

table.si-chart {
  border-collapse: collapse;
  width: 300px;
  height: 300px;
  table-layout: fixed;
}

table.si-chart tr { height: 75px; }

.si-cell {
  border: 1px solid rgba(200,168,75,0.12);
  background: linear-gradient(135deg, rgba(28,23,48,0.9), rgba(18,15,30,0.95));
  vertical-align: top;
  padding: 5px 6px;
  width: 75px;
  position: relative;
  transition: background 0.2s;
}

.si-cell:hover { background: rgba(200,168,75,0.04); }

.si-asc {
  border: 1px solid rgba(200,168,75,0.35);
  background: linear-gradient(135deg, rgba(200,168,75,0.07), rgba(28,23,48,0.9));
  box-shadow: inset 0 0 12px rgba(200,168,75,0.06);
}

.si-sign {
  display: block;
  font-family: 'Philosopher', serif;
  font-size: 0.58rem;
  color: rgba(200,168,75,0.4);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.si-asc .si-sign { color: var(--gold3); }

.si-lagna-mark {
  position: absolute;
  top: 3px; right: 4px;
  font-size: 0.48rem;
  color: var(--gold);
  font-family: 'Philosopher', serif;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.si-planets { display: flex; flex-wrap: wrap; gap: 1px; }

.si-planet {
  font-size: 0.62rem;
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  display: block;
  line-height: 1.4;
  text-shadow: 0 0 8px currentColor;
}

.si-center {
  border: 1px solid rgba(200,168,75,0.08);
  background: linear-gradient(135deg, rgba(10,8,16,0.95), rgba(18,15,30,0.9));
  text-align: center;
  vertical-align: middle;
  width: 150px;
  height: 150px;
}

.si-center-inner span {
  font-size: 1.5rem;
  color: var(--gold3);
  display: block;
  margin-bottom: 0.4rem;
  opacity: 0.6;
  animation: breathe 5s ease-in-out infinite;
}

.si-center-inner p {
  font-family: 'Philosopher', serif;
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  color: var(--gold3);
  text-transform: uppercase;
  opacity: 0.5;
}

/* ── Chart cards ── */
.chart-card {
  background: rgba(10,8,16,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  text-align: center;
  transition: border-color 0.2s;
}

.chart-card:hover { border-color: var(--border2); }

.planet-name {
  display: block;
  font-family: 'Philosopher', serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--gold3);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.planet-pos { font-size: 0.88rem; color: var(--vellum2); }
.planet-house { font-size: 0.72rem; color: rgba(200,168,75,0.4); margin-top: 0.1rem; font-style: italic; }

/* ── Dasha Timeline ── */
.timeline-wrap { width: 100%; height: 300px; position: relative; }

/* ── Promise bar ── */
.promise-bar {
  background: rgba(10,8,16,0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.5rem;
}

.promise-header { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.promise-level {
  font-family: 'Philosopher', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 2px;
  flex-shrink: 0;
}

.promise-level.STRONG   { background: rgba(90,170,136,0.12); color: var(--high); border: 1px solid rgba(90,170,136,0.3); }
.promise-level.MODERATE { background: rgba(200,168,75,0.1);  color: var(--gold); border: 1px solid rgba(200,168,75,0.25); }
.promise-level.DELAYED  { background: rgba(184,115,51,0.1);  color: var(--copper); border: 1px solid rgba(184,115,51,0.3); }
.promise-level.DENIED   { background: rgba(122,32,48,0.12);  color: #e08080; border: 1px solid rgba(122,32,48,0.35); }

.promise-notes { font-size: 0.88rem; color: rgba(245,237,216,0.45); line-height: 1.5; font-style: italic; }

.promise-delays { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.promise-delays span {
  font-size: 0.76rem;
  color: var(--copper);
  background: rgba(184,115,51,0.07);
  border: 1px solid rgba(184,115,51,0.18);
  border-radius: 2px;
  padding: 0.18rem 0.6rem;
  font-style: italic;
}

/* ── Analysis grid ── */
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.analysis-card {
  background: rgba(10,8,16,0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  transition: border-color 0.2s;
}

.analysis-card:hover { border-color: var(--border2); }

.a-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold3);
  margin-bottom: 0.3rem;
  font-family: 'Philosopher', serif;
}

.a-value { font-size: 0.95rem; color: var(--vellum2); }
.a-sub { font-size: 0.78rem; color: rgba(245,237,216,0.35); font-style: italic; margin-top: 0.2rem; }

/* ── Period cards ── */
.periods-container { display: flex; flex-direction: column; gap: 1px; }

.period-card {
  background: rgba(10,8,16,0.5);
  padding: 1.25rem 1.5rem;
  border-left: 2px solid;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background 0.2s;
  position: relative;
}

.period-card:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.period-card:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
.period-card:only-child  { border-radius: var(--radius); }

.period-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.01) 0%, transparent 40%);
  pointer-events: none;
}

.period-card:hover { background: rgba(200,168,75,0.025); }

.period-card.HIGH     { border-color: var(--high); }
.period-card.MODERATE { border-color: var(--moderate); }
.period-card.LOW      { border-color: var(--low); }
.period-card.rank-1   { border-color: var(--high); }
.period-card.rank-2   { border-color: var(--moderate); }
.period-card.rank-3   { border-color: var(--low); }
.period-card.possible { border-color: #4caf80; }

.period-names {
  font-family: 'Philosopher', serif;
  font-size: 1rem;
  color: var(--vellum);
  letter-spacing: 0.05em;
}

.sep { color: var(--gold3); margin: 0 0.5rem; font-size: 0.65rem; vertical-align: middle; }

.period-dates {
  font-size: 0.82rem;
  color: rgba(245,237,216,0.38);
  margin-top: 0.2rem;
  font-style: italic;
}

.score-pill {
  display: inline-block;
  margin-left: 0.7rem;
  font-size: 0.68rem;
  font-family: 'Philosopher', serif;
  color: var(--gold3);
  background: rgba(200,168,75,0.05);
  border: 1px solid rgba(200,168,75,0.12);
  border-radius: 2px;
  padding: 0.05rem 0.5rem;
  letter-spacing: 0.06em;
  vertical-align: middle;
  font-style: normal;
}

.period-reasons {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.period-reasons span {
  display: inline-block;
  font-size: 0.74rem;
  background: rgba(200,168,75,0.05);
  border: 1px solid rgba(200,168,75,0.1);
  border-radius: 2px;
  padding: 0.12rem 0.5rem;
  color: rgba(245,237,216,0.5);
  font-style: italic;
}

.prob-badge {
  font-family: 'Philosopher', serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.9rem;
  border-radius: 2px;
  align-self: center;
  flex-shrink: 0;
  white-space: nowrap;
  text-transform: uppercase;
}

.prob-badge.HIGH     { background: rgba(90,170,136,0.1);  color: var(--high);     border: 1px solid rgba(90,170,136,0.25); }
.prob-badge.MODERATE { background: rgba(200,168,75,0.08); color: var(--moderate); border: 1px solid rgba(200,168,75,0.2); }
.prob-badge.LOW      { background: rgba(122,112,144,0.1); color: var(--low);      border: 1px solid rgba(122,112,144,0.2); }
.prob-badge.rank-1   { background: rgba(90,170,136,0.1);  color: var(--high);     border: 1px solid rgba(90,170,136,0.25); }
.prob-badge.rank-2   { background: rgba(200,168,75,0.08); color: var(--moderate); border: 1px solid rgba(200,168,75,0.2); }
.prob-badge.rank-3   { background: rgba(122,112,144,0.1); color: var(--low);      border: 1px solid rgba(122,112,144,0.2); }
.prob-badge.possible { background: rgba(76,175,128,0.12); color: #4caf80;         border: 1px solid rgba(76,175,128,0.3); }

.possibilities-heading {
  color: #4caf80;
  font-family: 'Philosopher', serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-align: center;
}

/* ── Denied / empty ── */
.denied-msg {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.5rem 1.75rem;
  background: rgba(122,32,48,0.07);
  border: 1px solid rgba(122,32,48,0.25);
  border-radius: var(--radius);
}

.denied-icon { font-size: 1.4rem; flex-shrink: 0; color: #c07070; }
.denied-msg strong { display: block; color: #c07070; font-family: 'Philosopher', serif; font-size: 0.9rem; margin-bottom: 0.35rem; letter-spacing: 0.06em; }
.denied-msg p { font-size: 0.88rem; color: rgba(245,237,216,0.4); line-height: 1.6; margin: 0; font-style: italic; }

.no-periods {
  text-align: center;
  color: rgba(245,237,216,0.3);
  font-style: italic;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

/* ── Section window badge ── */
.section-window {
  font-family: 'EB Garamond', serif;
  font-size: 0.8rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold3);
  letter-spacing: 0.08em;
  margin-left: 0.6rem;
  opacity: 0.7;
}

/* ── Utilities ── */
.hidden { display: none !important; }

/* ── Engine Intro Section ── */
.engine-intro-section {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto 1rem;
  padding: 3.5rem 2rem 2rem;
  text-align: center;
}

.engine-intro-inner {
  background: rgba(200,168,75,0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.8rem 2.5rem 2rem;
  margin-top: 1.5rem;
}

.engine-intro-title {
  font-family: 'Philosopher', serif;
  font-size: 1.55rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
}

.engine-intro-lead {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: rgba(245,237,216,0.65);
  line-height: 1.75;
  max-width: 700px;
  margin: 0 auto 2.2rem;
}

.engine-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  text-align: left;
  margin-bottom: 2rem;
}

.engine-pillar {
  background: rgba(200,168,75,0.04);
  border: 1px solid rgba(200,168,75,0.1);
  border-radius: 3px;
  padding: 1.2rem 1.3rem;
}

.ep-icon {
  font-size: 1.4rem;
  color: var(--gold3);
  margin-bottom: 0.5rem;
}

.ep-title {
  font-family: 'Philosopher', serif;
  font-size: 0.95rem;
  color: var(--vellum);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.ep-desc {
  font-family: 'EB Garamond', serif;
  font-size: 0.88rem;
  color: rgba(245,237,216,0.45);
  line-height: 1.65;
}

.engine-intro-footer {
  font-size: 0.8rem;
  color: rgba(200,168,75,0.4);
  font-style: italic;
  letter-spacing: 0.08em;
}

/* ── Plan price with strikethrough ── */
.pg-plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  justify-content: center;
  margin: 0.5rem 0;
}
.pg-plan-original {
  font-size: 1rem;
  color: rgba(245,237,216,0.35);
  text-decoration: line-through;
  font-weight: 400;
}
.pg-plan-price-wrap .pg-plan-price {
  font-size: 2rem;
  color: #c8a84b;
  font-weight: 700;
  letter-spacing: 0;
}

/* ── PDF Export ── */
.pdf-export-wrap {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.5rem 0 2.5rem;
  flex-wrap: wrap;
}

/* ── Premium Analysis upsell card ── */
.premium-analysis-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid rgba(200,168,75,0.55);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(200,168,75,0.08) 0%, rgba(200,168,75,0.03) 100%);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  min-width: 200px;
  text-align: center;
}
.premium-analysis-card:hover {
  border-color: rgba(200,168,75,0.9);
  background: linear-gradient(135deg, rgba(200,168,75,0.15) 0%, rgba(200,168,75,0.06) 100%);
}
.prem-badge {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c8a84b;
  font-family: 'Philosopher', serif;
  font-weight: 700;
}
.prem-title {
  font-family: 'Philosopher', serif;
  font-size: 0.82rem;
  color: rgba(245,237,216,0.9);
  letter-spacing: 0.05em;
}
.prem-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  justify-content: center;
}
.prem-original {
  font-size: 0.78rem;
  color: rgba(245,237,216,0.3);
  text-decoration: line-through;
}
.prem-final {
  font-size: 1.1rem;
  color: #c8a84b;
  font-weight: 700;
  font-family: 'Philosopher', serif;
}
.prem-desc {
  font-size: 0.7rem;
  color: rgba(245,237,216,0.4);
  letter-spacing: 0.04em;
}

.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Philosopher', serif;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: #2d2d1e;
  background: linear-gradient(135deg, #c8a84b 0%, #e8d080 60%, #c8a84b 100%);
  border: none;
  border-radius: 3px;
  padding: 0.75rem 2rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  text-transform: uppercase;
}

.pdf-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.pdf-btn:active { transform: translateY(0); }
.pdf-icon { font-size: 1rem; }

/* ── Footer ── */
footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  color: rgba(200,168,75,0.3);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-style: italic;
}

footer::before {
  content: '✦  ✦  ✦';
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.8em;
  margin-bottom: 1rem;
  color: var(--gold3);
  opacity: 0.4;
}

/* ── Responsive ── */
@media(max-width:640px){
  .form-section, .results-section, .service-select-section { padding: 2rem 1.25rem; }
  .header-inner { gap: 1.2rem; }
  h1 { font-size: 2.4rem; }
  .chart-layout { flex-direction: column; }
  table.si-chart { width: 260px; height: 260px; }
  table.si-chart tr { height: 65px; }
  .si-cell { width: 65px; }
}

/* ── Children capacity block ── */
.capacity-block {
  background: rgba(10,8,16,0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.capacity-header {
  margin-bottom: 0.75rem;
}

.capacity-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.capacity-label {
  font-family: 'Philosopher', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold3);
}

.capacity-badge {
  font-family: 'Philosopher', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.9rem;
  border-radius: 2px;
  border: 1px solid;
}

.capacity-summary {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.85rem;
  font-style: italic;
}

.capacity-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.capacity-note {
  font-size: 0.74rem;
  background: rgba(200,168,75,0.04);
  border: 1px solid rgba(200,168,75,0.1);
  border-radius: 2px;
  padding: 0.12rem 0.55rem;
  color: rgba(245,237,216,0.45);
  font-style: italic;
}

/* ── Fulfilled message ── */
.fulfilled-msg {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.5rem 1.75rem;
  background: rgba(184,115,51,0.06);
  border: 1px solid rgba(184,115,51,0.2);
  border-radius: var(--radius);
}

.fulfilled-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--copper);
  margin-top: 0.1rem;
}

.fulfilled-msg strong {
  display: block;
  color: var(--copper);
  font-family: 'Philosopher', serif;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.06em;
}

.fulfilled-msg p {
  font-size: 0.88rem;
  color: rgba(245,237,216,0.45);
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

/* ── Parent blocks (father / mother) ── */
.parent-block {
  background: rgba(10,8,16,0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.parent-label {
  font-family: 'Philosopher', serif;
  font-size: 0.95rem;
  color: var(--gold2);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.location-sub {
  margin-top: 0.5rem;
}

.location-sub .location-tabs {
  margin-bottom: 0.75rem;
}

#dual-person-form .form-grid {
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════════════
   SERVICE SELECTION — Premium Expanded Grid
══════════════════════════════════════════════════════ */

.svc-header-block {
  text-align: center;
  margin-bottom: 0.5rem;
}

.svc-header-sub {
  font-size: 0.88rem;
  color: rgba(245,237,216,0.38);
  font-style: italic;
  letter-spacing: 0.04em;
  margin-top: -1rem;
  margin-bottom: 2rem;
}

/* Override grid to 4-column layout */
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 0.5rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Live active services */
.service-card {
  background: linear-gradient(160deg, rgba(30,22,48,0.95) 0%, rgba(20,16,34,0.98) 100%);
  border: 1px solid rgba(200,168,75,0.18);
  border-radius: 10px;
  padding: 2rem 1.5rem 1.75rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card:not(.coming-soon)::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,168,75,0.1) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:not(.coming-soon):hover::after,
.service-card.active::after { opacity: 1; }

.service-card:not(.coming-soon):hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(200,168,75,0.12);
}

.service-card.active {
  border-color: var(--gold2);
  box-shadow: 0 0 0 1px var(--gold3), 0 0 50px rgba(200,168,75,0.15);
}

/* Animated glow for live services */
.svc-active-glow {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% -20%, rgba(200,168,75,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Badge: Live */
.svc-badge-live {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  font-family: 'Philosopher', serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--high);
  background: rgba(90,170,136,0.1);
  border: 1px solid rgba(90,170,136,0.25);
  border-radius: 2px;
  padding: 0.18rem 0.55rem;
}

/* CTA arrow */
.svc-cta {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Philosopher', serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold3);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s;
}

.service-card:not(.coming-soon):hover .svc-cta,
.service-card.active .svc-cta {
  opacity: 1;
  transform: translateY(0);
  color: var(--gold2);
}

/* Coming soon cards */
.service-card.coming-soon {
  cursor: default;
  opacity: 0.52;
  background: linear-gradient(160deg, rgba(18,15,28,0.9) 0%, rgba(12,10,20,0.95) 100%);
  border-color: rgba(200,168,75,0.07);
  filter: grayscale(0.15);
}

.service-card.coming-soon:hover {
  opacity: 0.62;
  transform: none;
  border-color: rgba(200,168,75,0.12);
}

.svc-badge-soon {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  font-family: 'Philosopher', serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  background: rgba(184,115,51,0.08);
  border: 1px solid rgba(184,115,51,0.2);
  border-radius: 2px;
  padding: 0.18rem 0.55rem;
}

.svc-icon {
  font-size: 2rem;
  margin-bottom: 0.85rem;
  display: block;
  filter: drop-shadow(0 0 10px rgba(200,168,75,0.25));
}

.svc-title {
  font-family: 'Philosopher', serif;
  font-size: 1rem;
  color: var(--gold2);
  letter-spacing: 0.07em;
  margin-bottom: 0.55rem;
}

.svc-desc {
  font-size: 0.8rem;
  color: rgba(245,237,216,0.42);
  line-height: 1.6;
  font-style: italic;
}

@media(max-width: 900px) {
  .service-cards { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 500px) {
  .service-cards { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════
   PAYMENT GATE
══════════════════════════════════════════════════════ */

#payment-gate {
  position: relative;
  z-index: 10;
  margin-bottom: 2rem;
}

.payment-gate-section {
  background: linear-gradient(160deg, rgba(22,17,40,0.98) 0%, rgba(12,10,22,0.99) 100%);
  border: 1px solid rgba(200,168,75,0.22);
  border-radius: 12px;
  padding: 3.5rem 2.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(200,168,75,0.06), 0 32px 64px rgba(0,0,0,0.5);
}

.pg-glow-top {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(200,168,75,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.pg-lock-icon {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 20px rgba(200,168,75,0.3));
  animation: lock-pulse 3s ease-in-out infinite;
}

@keyframes lock-pulse {
  0%,100% { filter: drop-shadow(0 0 15px rgba(200,168,75,0.25)); }
  50%      { filter: drop-shadow(0 0 35px rgba(200,168,75,0.5)); }
}

.pg-title {
  font-family: 'Philosopher', serif;
  font-size: 1.6rem;
  color: var(--gold2);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.pg-service-name {
  font-size: 0.85rem;
  color: rgba(200,168,75,0.5);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 2.5rem;
}

/* ── Pricing plans ── */
.pg-pricing-row {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.pg-plan {
  background: rgba(10,8,16,0.6);
  border: 1px solid rgba(200,168,75,0.15);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: all 0.25s;
  min-width: 160px;
  position: relative;
  text-align: center;
}

.pg-plan:hover {
  border-color: rgba(200,168,75,0.35);
  background: rgba(200,168,75,0.04);
}

.pg-plan-featured {
  border-color: var(--gold3);
  background: linear-gradient(160deg, rgba(200,168,75,0.07) 0%, rgba(10,8,16,0.7) 100%);
  box-shadow: 0 0 30px rgba(200,168,75,0.08);
}

.pg-plan-popular {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Philosopher', serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a0810;
  background: linear-gradient(90deg, var(--gold3), var(--gold), var(--gold3));
  padding: 0.2rem 0.75rem;
  border-radius: 10px;
  white-space: nowrap;
}

.pg-plan-check {
  font-size: 0.8rem;
  color: var(--high);
  height: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.pg-plan-name {
  font-family: 'Philosopher', serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold3);
  margin-bottom: 0.4rem;
}

.pg-plan-price {
  font-family: 'Philosopher', serif;
  font-size: 2rem;
  color: var(--gold2);
  line-height: 1;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.pg-plan-desc {
  font-size: 0.76rem;
  color: rgba(245,237,216,0.3);
  font-style: italic;
}

.pg-plan.selected {
  border-color: var(--gold2);
  box-shadow: 0 0 0 1px var(--gold3), 0 0 40px rgba(200,168,75,0.12);
}

/* ── Features list ── */
.pg-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 2rem;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.pg-feature {
  font-size: 0.88rem;
  color: rgba(245,237,216,0.55);
  font-style: italic;
}

.pg-feat-icon {
  color: var(--gold3);
  margin-right: 0.5rem;
  font-size: 0.65rem;
}

/* ── Payment methods ── */
.pg-methods-label {
  font-family: 'Philosopher', serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold3);
  margin-bottom: 0.9rem;
  opacity: 0.7;
}

.pg-methods {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.pg-method-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10,8,16,0.7);
  border: 1px solid rgba(200,168,75,0.2);
  border-radius: 6px;
  color: var(--vellum2);
  font-family: 'Philosopher', serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  transition: all 0.22s;
}

.pg-method-btn:hover,
.pg-method-btn.active {
  background: rgba(200,168,75,0.08);
  border-color: var(--gold);
  color: var(--gold2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.pg-method-icon { font-size: 0.9rem; color: var(--gold3); }

/* ── Payment form ── */
.pg-payment-form {
  max-width: 480px;
  margin: 0 auto 1.25rem;
  animation: fadeSlideIn 0.3s ease;
}

.pg-form-row {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.pg-card-row {
  margin-bottom: 0.6rem;
}

.pg-input {
  background: rgba(10,8,16,0.8);
  border: 1px solid rgba(200,168,75,0.18);
  border-radius: 5px;
  color: var(--vellum);
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  flex: 1;
}

.pg-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,168,75,0.08);
}

.pg-input::placeholder { color: rgba(245,237,216,0.2); font-style: italic; }
.pg-select option { background: var(--ink2); }

.pg-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--gold3) 0%, var(--gold) 50%, var(--gold3) 100%);
  border: none;
  border-radius: 5px;
  color: #0a0810;
  font-family: 'Philosopher', serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s;
  text-transform: uppercase;
  flex-shrink: 0;
}

.pg-pay-btn:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 50%, var(--gold) 100%);
  box-shadow: 0 6px 20px rgba(200,168,75,0.3);
  transform: translateY(-1px);
}

.pg-form-hint {
  font-size: 0.76rem;
  color: rgba(245,237,216,0.28);
  font-style: italic;
  margin-top: 0.5rem;
  text-align: left;
}

/* ── Processing state ── */
.pg-processing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
}

.pg-processing-ring {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(200,168,75,0.2);
  border-top: 1px solid var(--gold);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  flex-shrink: 0;
}

.pg-processing-text {
  font-family: 'Philosopher', serif;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  color: var(--gold3);
  text-transform: uppercase;
  animation: pulse-text 1.5s ease-in-out infinite;
}

.pg-secure-note {
  font-size: 0.74rem;
  color: rgba(200,168,75,0.3);
  font-style: italic;
  letter-spacing: 0.1em;
  margin-top: 1.5rem;
}

/* ── Coupon ── */
.pg-coupon-wrap {
  max-width: 380px;
  margin: 0 auto 1.5rem;
}

.pg-coupon-row {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
}

.pg-coupon-input {
  flex: 1;
  letter-spacing: 0.12em;
  font-family: 'Philosopher', serif;
}

.pg-coupon-btn {
  background: rgba(200,168,75,0.07);
  border: 1px solid rgba(200,168,75,0.22);
  border-radius: 5px;
  color: var(--gold2);
  font-family: 'Philosopher', serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  padding: 0 1.3rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  text-transform: uppercase;
  flex-shrink: 0;
}

.pg-coupon-btn:hover {
  background: rgba(200,168,75,0.14);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.pg-coupon-msg {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-style: italic;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.1rem;
}

.pg-coupon-success { color: var(--high); }
.pg-coupon-error   { color: #e08080; }

/* ── Results locked overlay ── */
#results.results-locked {
  position: relative;
  pointer-events: none;
}

#results.results-locked::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink) 0%, rgba(10,8,16,0.7) 60%, transparent 100%);
  z-index: 5;
  border-radius: 8px;
}

#results.results-locked > * {
  filter: blur(6px);
  user-select: none;
}

/* ── Premium header enhancements ── */
h1 .brand-tagline {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: rgba(200,168,75,0.45);
  text-transform: uppercase;
  margin-top: 0.4rem;
  font-style: normal;
}

/* ── Premium divider ornament ── */
.pg-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
  opacity: 0.4;
}
.pg-divider::before, .pg-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold3));
}
.pg-divider::after {
  background: linear-gradient(to left, transparent, var(--gold3));
}
.pg-divider span {
  color: var(--gold3);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
}

/* ── Premium Gmail Modal ── */
.pgm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.pgm-overlay.hidden { display: none; }
.pgm-box {
  background: #1a1228;
  border: 1px solid rgba(200,168,75,0.4);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  width: min(420px, 92vw);
  text-align: center;
}
.pgm-title {
  font-family: 'Philosopher', serif;
  font-size: 1.25rem;
  color: #c8a84b;
  margin-bottom: 0.5rem;
}
.pgm-sub {
  font-size: 0.87rem;
  color: #b0a080;
  margin-bottom: 1.4rem;
  line-height: 1.55;
}
.pgm-field { text-align: left; margin-bottom: 1.2rem; }
.pgm-field label {
  display: block;
  font-size: 0.82rem;
  color: #b0a080;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}
.pgm-field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: #0e0c18;
  border: 1px solid #4a3860;
  border-radius: 6px;
  color: #e8d8a0;
  font-size: 0.95rem;
  box-sizing: border-box;
}
.pgm-field input:focus { outline: none; border-color: #c8a84b; }
.pgm-error { color: #e85050; font-size: 0.8rem; margin-top: 0.35rem; }
.pgm-pay-btn {
  width: 100%;
  padding: 0.78rem;
  background: linear-gradient(135deg, #c8a84b, #a07830);
  border: none;
  border-radius: 8px;
  color: #0e0c18;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0.75rem;
  font-family: 'Philosopher', serif;
  letter-spacing: 0.05em;
}
.pgm-pay-btn:hover { opacity: 0.9; }
.pgm-cancel {
  background: none;
  border: none;
  color: #806850;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
