:root{
  --accent:#F59E0B;
  --accent-dark:#D97706;
  --accent-light:#FDBA5C;
  --cream:#FDEEDC;
  --cream-2:#FBE3C6;
  --black:#1A1A1A;
  --text-main:#1A1A1A;
  --text-muted:#7A7570;
  --white:#FFFFFF;
  --border:#F0E4D4;
  --green:#22C55E;
  --red:#EF4444;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',sans-serif;
  background:var(--white);
  color:var(--text-main);
}
h1,h2,h3,h4{font-family:'Poppins',sans-serif;}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
ul{list-style:none;}
.container{max-width:1160px;margin:0 auto;padding:0 24px;}
section{position:relative;}

/* header */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 24px;max-width:1280px;margin:0 auto;gap:16px;
}
.logo{
  font-weight:800;font-size:21px;letter-spacing:.2px;
  display:flex;align-items:center;gap:6px;white-space:nowrap;flex-shrink:0;
}
.logo span{color:var(--accent);}
.nav-links{display:flex;gap:22px;align-items:center;flex:1;justify-content:center;}
.nav-links a{font-size:13.5px;color:var(--text-muted);font-weight:600;transition:color .2s;white-space:nowrap;flex-shrink:0;}
.nav-links a:hover{color:var(--accent-dark);}
.nav-right{display:flex;align-items:center;gap:14px;flex-shrink:0;}
.brand-mark{height:64px;width:auto;flex-shrink:0;display:block;}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 24px;border-radius:999px;font-weight:700;font-size:14.5px;
  cursor:pointer;border:none;transition:transform .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--accent);color:var(--white);
  box-shadow:0 8px 20px rgba(245,158,11,0.28);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(245,158,11,0.36);}
.btn-outline{
  background:var(--white);border:1.5px solid var(--accent);color:var(--accent-dark);
}
.btn-outline:hover{background:var(--cream);}
.btn-sm{padding:9px 18px;font-size:13px;}
.avatar-icon{
  width:38px;height:38px;border-radius:50%;background:var(--cream);
  border:1px solid var(--border);display:flex;align-items:center;justify-content:center;
  font-size:16px;
}
.menu-toggle{display:none;background:none;border:none;color:var(--text-main);font-size:24px;cursor:pointer;}

/* pill badge like NIRA / TOP */
.tag-badge{
  display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;
  margin-bottom:12px;
}
.tag-badge .black-pill{
  background:var(--black);color:var(--white);padding:5px 12px;border-radius:8px;
  font-size:11.5px;letter-spacing:.5px;
}
.tag-badge .rest{color:var(--text-main);text-transform:uppercase;letter-spacing:.5px;font-size:13px;}
.row-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;}
.view-all{
  display:inline-flex;align-items:center;gap:6px;background:var(--black);color:var(--white);
  padding:9px 16px;border-radius:999px;font-size:12.5px;font-weight:700;
}

/* hero */
.hero{padding:56px 0 70px;background:linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;}
.hero h1{font-size:44px;line-height:1.16;font-weight:800;margin-bottom:18px;letter-spacing:-0.5px;}
.hero h1 em{font-style:normal;color:var(--accent);}
.hero p.lead{font-size:16.5px;color:var(--text-muted);line-height:1.7;margin-bottom:30px;max-width:460px;}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:32px;}
.hero-stats{display:flex;gap:30px;}
.hero-stats div{display:flex;flex-direction:column;}
.hero-stats strong{font-size:22px;font-weight:800;color:var(--accent-dark);}
.hero-stats span{font-size:12px;color:var(--text-muted);margin-top:2px;}

/* promo card - mirrors the app's "Get Free Remedies" banner */
.promo-card{
  background:linear-gradient(135deg,#241608,#3A2412);
  border-radius:26px;padding:32px;color:var(--white);position:relative;overflow:hidden;
  min-height:280px;display:flex;flex-direction:column;justify-content:space-between;
  box-shadow:0 20px 50px rgba(36,22,8,0.25);
}
.promo-card::after{
  content:"";position:absolute;right:-40px;bottom:-40px;width:220px;height:220px;
  border-radius:50%;background:radial-gradient(circle, rgba(245,158,11,0.35), transparent 70%);
}
.promo-card h3{font-size:26px;font-weight:800;line-height:1.25;max-width:220px;margin-bottom:22px;position:relative;z-index:1;}
.promo-card .btn{width:fit-content;position:relative;z-index:1;}
.promo-tc{font-size:10.5px;color:rgba(255,255,255,0.5);margin-top:10px;position:relative;z-index:1;}
.promo-dots{display:flex;gap:6px;margin-top:18px;position:relative;z-index:1;}
.promo-dots span{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,0.3);}
.promo-dots span.active{background:var(--accent);width:18px;border-radius:4px;}
.promo-orb{
  position:absolute;top:20px;right:20px;width:90px;height:90px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #B45309, #241608 75%);
  box-shadow:0 0 30px rgba(245,158,11,.35);
}

.eyebrow{color:var(--accent-dark);font-weight:700;font-size:13px;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:8px;}
.section-title{font-size:30px;font-weight:800;margin-bottom:12px;letter-spacing:-0.3px;}
.section-sub{color:var(--text-muted);font-size:15px;max-width:560px;line-height:1.7;margin-bottom:38px;}
.center{text-align:center;margin-left:auto;margin-right:auto;}

/* categories */
.categories{padding:70px 0 20px;}
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.cat-card{text-align:center;text-decoration:none;color:inherit;display:block;}
.cat-icon{
  width:84px;height:84px;border-radius:50%;background:var(--cream);
  display:flex;align-items:center;justify-content:center;font-size:34px;
  margin:0 auto 12px;border:1px solid var(--border);transition:transform .2s ease;
}
.cat-card:hover .cat-icon{transform:translateY(-4px);background:var(--cream-2);}
.cat-card span{font-size:13.5px;font-weight:600;}

/* astrologers */
.astrologers{padding:70px 0;}
.astro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.astro-card{
  background:var(--cream);border-radius:22px;padding:20px;border:1px solid var(--border);
  transition:transform .2s ease, box-shadow .2s ease;
}
.astro-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(217,119,6,0.15);}
.astro-top{display:flex;gap:14px;margin-bottom:14px;}
.astro-photo{
  width:64px;height:64px;border-radius:16px;flex-shrink:0;
  background:linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:20px;
  position:relative;
}
.status-dot{
  position:absolute;bottom:-3px;right:-3px;width:16px;height:16px;border-radius:50%;
  border:2.5px solid var(--cream);
}
.status-dot.online{background:var(--green);}
.status-dot.offline{background:#B0AAA2;}
.astro-name{font-size:16px;font-weight:700;margin-bottom:2px;}
.astro-exp{font-size:12.5px;color:var(--text-muted);}
.astro-status-label{font-size:11px;font-weight:700;margin-top:4px;}
.astro-status-label.online{color:var(--green);}
.astro-status-label.offline{color:#B0AAA2;}
.astro-rates{display:flex;gap:16px;margin-bottom:12px;}
.rate{font-size:13px;}
.rate .old{color:#B0AAA2;text-decoration:line-through;margin-right:5px;}
.rate .new{color:var(--accent-dark);font-weight:800;}
.astro-meta{font-size:12px;color:var(--text-muted);margin-bottom:6px;}
.astro-lang{font-size:12px;color:var(--text-muted);margin-bottom:16px;}
.astro-actions{display:flex;gap:10px;}
.astro-actions .btn{flex:1;padding:10px 14px;font-size:13px;}
.btn-disabled{background:var(--white);border:1.5px solid #E5B8B8;color:#C97070;cursor:default;}

/* Loading skeleton shown while GET /astrologers/top is in flight - replaces the old hardcoded
   placeholder astrologers, which used to flash real-looking (but fake) names/rates on every page
   load before the live API data arrived. Sized to roughly match a real .astro-card so the section
   doesn't jump/reflow once the actual cards swap in. */
.astro-skeleton{min-height:230px;position:relative;overflow:hidden;background:var(--white);}
.astro-skeleton::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg, transparent, rgba(217,119,6,0.08), transparent);
  animation:astroShimmer 1.4s infinite;
}
@keyframes astroShimmer{
  0%{transform:translateX(-100%);}
  100%{transform:translateX(100%);}
}
.astro-empty{grid-column:1/-1;text-align:center;color:var(--text-muted);font-size:14px;padding:30px 0;}

/* predictions */
.predictions{padding:70px 0;background:var(--cream);}
.predictions-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.predict-card{
  background:var(--white);border-radius:18px;padding:26px 20px;text-align:center;
  border:1px solid var(--border);transition:transform .2s ease;
  text-decoration:none;color:inherit;display:block;
}
.predict-card:hover{transform:translateY(-4px);}
.predict-card .emoji{font-size:32px;margin-bottom:12px;}
.predict-card h4{font-size:16px;margin-bottom:6px;}
.predict-card p{font-size:12.5px;color:var(--text-muted);line-height:1.6;}
.ai-note{
  display:flex;align-items:center;gap:14px;margin-top:32px;
  background:var(--white);border:1px solid var(--border);border-radius:16px;padding:18px 24px;
}
.ai-note .ic{font-size:20px;}
.ai-note p{font-size:13.5px;color:var(--text-muted);}
.ai-note strong{color:var(--text-main);}

/* gemstones */
.gems{padding:70px 0;text-align:center;}
.gem-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px 22px;max-width:520px;margin:0 auto;}
.gem-grid-wide{display:grid;grid-template-columns:repeat(6,1fr);gap:30px 20px;max-width:920px;margin:0 auto;}
@media (max-width:860px){.gem-grid-wide{grid-template-columns:repeat(4,1fr);}}
@media (max-width:560px){.gem-grid-wide{grid-template-columns:repeat(3,1fr);gap:22px 14px;}}
.gem-card{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;text-decoration:none;color:inherit;cursor:pointer;transition:transform .15s ease;}
.gem-card:hover{transform:translateY(-3px);}
.gem-stone{
  width:72px;height:72px;border-radius:50%;position:relative;overflow:hidden;
  box-shadow:inset -6px -6px 14px rgba(0,0,0,0.18), inset 6px 6px 14px rgba(255,255,255,0.25), 0 8px 18px rgba(0,0,0,0.12);
}
.gem-stone img{width:100%;height:100%;object-fit:cover;display:block;}
.gem-card span{font-size:13px;font-weight:600;}
.gem-ruby{background:radial-gradient(circle at 35% 30%, #E0455C, #7A0E1F);}
.gem-pearl{background:radial-gradient(circle at 35% 30%, #FFFDF8, #E6DFCF);}
.gem-coral{background:radial-gradient(circle at 35% 30%, #FF7A5C, #B8341A);}
.gem-emerald{background:radial-gradient(circle at 35% 30%, #4ADE80, #0B5E32);}
.gem-yellow{background:radial-gradient(circle at 35% 30%, #FFE374, #C9960C);}
.gem-diamond{background:radial-gradient(circle at 35% 30%, #FFFFFF, #C7D2DA);}
.gem-blue{background:radial-gradient(circle at 35% 30%, #4C7FE0, #0B2A6B);}
.gem-hessonite{background:radial-gradient(circle at 35% 30%, #E0A15C, #7A3E0E);}
.gem-catseye{background:radial-gradient(circle at 35% 30%, #C9D46B, #5C6B1A);}

/* trust */
.trust{padding:10px 0 70px;}
.trust-panel{
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
  background:var(--white);border:1px solid var(--border);border-radius:22px;padding:30px;
  box-shadow:0 12px 30px rgba(0,0,0,0.04);
}
.trust-item{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;}
.trust-item .ic{
  width:50px;height:50px;border-radius:50%;background:var(--cream);
  display:flex;align-items:center;justify-content:center;font-size:22px;
}
.trust-item span{font-size:13.5px;font-weight:600;}

/* astrologer registration / signup forms (shared by the "Join as Astrologer" popup on index.html
   and the standalone astrologer-signup.html page) */
.register{padding:70px 0;background:var(--cream);}
.register-card{
  max-width:680px;margin:0 auto;background:var(--white);border:1px solid var(--border);
  border-radius:24px;padding:40px;box-shadow:0 12px 30px rgba(0,0,0,0.05);
}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}
.form-group{display:flex;flex-direction:column;gap:6px;}
.form-group.full{grid-column:1/-1;}
.form-group label{font-size:13px;font-weight:600;color:var(--text-main);}
.form-group label .req{color:var(--accent-dark);}
.register-card input,
.register-card select,
.register-card textarea{
  padding:12px 14px;border-radius:12px;border:1.5px solid var(--border);
  font-family:'Inter',sans-serif;font-size:14px;color:var(--text-main);background:var(--white);
  outline:none;transition:border-color .2s ease;width:100%;
}
.register-card input:focus,
.register-card select:focus,
.register-card textarea:focus{border-color:var(--accent);}
.register-card textarea{resize:vertical;min-height:100px;font-family:'Inter',sans-serif;}
.form-note{font-size:12px;color:var(--text-muted);margin-top:16px;text-align:center;}
.submit-btn{width:100%;max-width:340px;display:block;margin:6px auto 0;padding:14px;font-size:15px;}
.terms-row{display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:14px;cursor:pointer;line-height:1.5;}
.terms-row input[type="checkbox"]{width:16px;height:16px;flex-shrink:0;margin-top:3px;accent-color:var(--accent);}

/* Astrologer signup redesign (astrologer-signup.html) - scoped under .astro-signup so it never
   affects the lighter-weight "Join as Astrologer" lead-capture modal on index.html, which shares
   the base .register-card/.form-grid/.form-group rules above but isn't part of this redesign. */
.astro-signup .reg-section-label{
  font-size:12px;font-weight:700;letter-spacing:1.1px;text-transform:uppercase;color:var(--text-muted);
  display:flex;align-items:center;gap:14px;margin:36px 0 16px;
}
.astro-signup .reg-section-label:first-child{margin-top:0;}
.astro-signup .reg-section-label::after{content:'';flex:1;height:1px;background:var(--border);}

.astro-signup .reg-field-hint{font-size:12px;color:var(--text-muted);margin-top:2px;}

.astro-signup .icon-input{position:relative;}
.astro-signup .icon-input .field-icon{
  position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--text-muted);font-size:14px;
}
.astro-signup .icon-input input{padding-left:38px;}

.astro-signup .phone-input-row{display:flex;gap:10px;}
.astro-signup .phone-input-row .phone-code{
  flex-shrink:0;width:64px;border-radius:12px;border:1.5px solid var(--border);background:var(--cream);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:var(--text-main);
}
.astro-signup .phone-input-row input{flex:1;min-width:0;}

.astro-signup .reg-stepper{display:flex;align-items:center;gap:12px;}
.astro-signup .reg-stepper-btn{
  width:44px;height:44px;flex-shrink:0;border-radius:12px;border:1.5px solid var(--border);
  background:var(--cream);color:var(--accent-dark);font-size:20px;font-weight:700;line-height:1;cursor:pointer;
  transition:border-color .2s ease;
}
.astro-signup .reg-stepper-btn:hover{border-color:var(--accent);}
.astro-signup .reg-stepper-value{
  flex:1;text-align:center;border:1.5px solid var(--border);border-radius:12px;padding:12px;
  font-weight:700;font-size:15px;color:var(--text-main);
}
.astro-signup .reg-stepper-value span:last-child{color:var(--text-muted);font-weight:500;font-size:13.5px;margin-left:6px;}

.astro-signup .chip-row-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}
.astro-signup .chip-row-head label{font-size:13px;font-weight:600;color:var(--text-main);}
.astro-signup .chip-count{font-size:12.5px;color:var(--text-muted);flex-shrink:0;}

.astro-signup .chip-group{display:flex;flex-wrap:wrap;gap:10px;}
.astro-signup .chip{
  position:relative;padding:10px 18px;border-radius:999px;border:1.5px solid var(--border);
  background:var(--white);font-size:13.5px;font-weight:600;color:var(--text-main);cursor:pointer;
  transition:border-color .15s ease, background .15s ease, color .15s ease;
}
.astro-signup .chip:hover{border-color:var(--accent);}
.astro-signup .chip.selected{border-color:var(--accent);background:var(--cream);color:var(--accent-dark);}

/* "Join as Astrologer" popup - triggered from the nav/footer link via JS on index.html. Capped at
   85vh with its own internal scroll (rather than growing to whatever the form's height is) so it
   reads as a compact dialog with visible rounded corners top and bottom, not a second full page. */
.modal-overlay{
  display:none;position:fixed;inset:0;background:rgba(20,15,10,0.55);
  z-index:200;align-items:center;justify-content:center;padding:24px 16px;
}
.modal-overlay.open{display:flex;}
.modal-box{
  background:var(--white);border-radius:20px;max-width:820px;width:100%;
  max-height:85vh;overflow-y:auto;
  padding:36px 36px 28px;position:relative;margin:auto;box-shadow:0 30px 60px rgba(0,0,0,0.25);
}
.modal-close{
  position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;
  border:1px solid var(--border);background:var(--white);font-size:20px;line-height:1;
  cursor:pointer;color:var(--text-muted);display:flex;align-items:center;justify-content:center;
}
.modal-close:hover{background:var(--cream);color:var(--text-main);}

/* final cta */
.final-cta{padding:20px 0 90px;}
.cta-panel{
  background:linear-gradient(135deg,#241608,#3A2412);
  border-radius:28px;padding:56px;text-align:center;position:relative;overflow:hidden;color:#fff;
}
.cta-panel::after{
  content:"";position:absolute;left:-60px;top:-60px;width:260px;height:260px;border-radius:50%;
  background:radial-gradient(circle, rgba(245,158,11,0.3), transparent 70%);
}
.cta-panel h2{font-size:30px;margin-bottom:12px;font-weight:800;position:relative;z-index:1;}
.cta-panel p{color:rgba(255,255,255,0.65);font-size:15px;margin-bottom:30px;position:relative;z-index:1;}
.cta-buttons{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;position:relative;z-index:1;}
.store-badge{
  display:flex;align-items:center;gap:10px;background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.18);padding:10px 18px;border-radius:12px;font-size:13px;color:#fff;
}
.store-badge .icon{font-size:20px;}
.store-badge .label{color:rgba(255,255,255,0.55);font-size:10.5px;display:block;}
.store-badge .name{font-weight:700;font-size:14px;}

/* blog listing */
.blog-hero{padding:56px 0 36px;background:linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);text-align:center;}
.blog-filters{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:0 0 40px;}
.blog-filter-chip{padding:8px 18px;border-radius:999px;font-size:13px;font-weight:600;border:1.5px solid var(--border);background:var(--white);color:var(--text-muted);cursor:pointer;transition:all .2s ease;}
.blog-filter-chip:hover{border-color:var(--accent);color:var(--accent-dark);}
.blog-filter-chip.active{background:var(--accent);border-color:var(--accent);color:var(--white);}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding-bottom:70px;}
.blog-card{background:var(--white);border:1px solid var(--border);border-radius:20px;overflow:hidden;transition:transform .2s ease, box-shadow .2s ease;display:flex;flex-direction:column;}
.blog-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(217,119,6,0.12);}
.blog-card-img{width:100%;height:170px;background:var(--cream) center/cover no-repeat;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:34px;}
.blog-card-body{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1;}
.blog-card-category{font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--accent-dark);}
.blog-card-title{font-size:17px;font-weight:800;line-height:1.35;}
.blog-card-summary{font-size:13.5px;color:var(--text-muted);line-height:1.6;flex:1;}
.blog-card-meta{font-size:12px;color:var(--text-muted);margin-top:4px;}
.blog-empty{text-align:center;padding:60px 20px;color:var(--text-muted);grid-column:1/-1;}

/* blog post detail */
.post-hero{padding:48px 0 20px;}
.post-back{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;color:var(--accent-dark);margin-bottom:24px;}
.post-category{font-size:12px;font-weight:700;color:var(--accent-dark);letter-spacing:.5px;text-transform:uppercase;margin-bottom:10px;}
.post-title{font-size:36px;font-weight:800;line-height:1.2;margin-bottom:14px;max-width:820px;}
.post-lead{font-size:17px;color:var(--text-muted);line-height:1.7;max-width:760px;margin-bottom:18px;}
.post-meta{font-size:13px;color:var(--text-muted);margin-bottom:28px;}
.post-hero-img{width:100%;max-height:420px;object-fit:cover;border-radius:20px;margin-bottom:36px;}
.post-body{max-width:760px;margin:0 auto;padding-bottom:70px;font-size:16px;line-height:1.8;color:var(--text-main);}
.post-body h2, .post-body h3{margin:32px 0 14px;font-weight:800;}
.post-body p{margin-bottom:18px;}
.post-highlight{background:var(--cream);border-left:4px solid var(--accent);border-radius:12px;padding:18px 22px;margin:28px 0;font-size:15px;font-style:italic;color:var(--text-main);}
.post-not-found{text-align:center;padding:90px 20px;}

/* gemstone detail */
.gem-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;max-width:760px;margin:0 auto 36px;}
.gem-gallery img{width:100%;height:220px;object-fit:cover;border-radius:16px;}
.gem-tags{display:flex;flex-wrap:wrap;gap:10px;max-width:760px;margin:0 auto 30px;}
.gem-tag{display:flex;align-items:center;gap:8px;background:var(--cream);border-radius:30px;padding:8px 16px 8px 8px;font-size:13px;font-weight:600;}
.gem-tag img{width:28px;height:28px;border-radius:50%;object-fit:cover;}
.gem-spec-sheet{max-width:760px;margin:0 auto 32px;background:var(--cream);border-radius:16px;padding:6px 22px;}
.gem-spec-sheet table{width:100%;border-collapse:collapse;}
.gem-spec-sheet tr{border-bottom:1px solid rgba(0,0,0,0.06);}
.gem-spec-sheet tr:last-child{border-bottom:none;}
.gem-spec-sheet th,.gem-spec-sheet td{text-align:left;padding:12px 0;font-size:14px;vertical-align:top;}
.gem-spec-sheet th{color:var(--text-muted);font-weight:600;width:46%;padding-right:16px;}
.gem-spec-sheet td{color:var(--text-main);font-weight:600;}
@media (max-width:640px){.gem-spec-sheet th,.gem-spec-sheet td{font-size:13px;}}

/* about page */
.about-hero{padding:60px 0 50px;background:linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);text-align:center;}
.about-hero p{max-width:640px;margin:0 auto;color:var(--text-muted);font-size:16.5px;line-height:1.75;}
.about-section{padding:50px 0;}
.about-body{max-width:760px;margin:0 auto;font-size:15.5px;line-height:1.8;color:var(--text-main);}
.about-body p{margin-bottom:20px;}
.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.about-value-card{background:var(--white);border:1px solid var(--border);border-radius:18px;padding:26px;text-align:center;}
.about-value-card .emoji{font-size:30px;margin-bottom:12px;}
.about-value-card h4{font-size:16px;margin-bottom:8px;}
.about-value-card p{font-size:13.5px;color:var(--text-muted);line-height:1.6;}

/* footer */
footer{padding:36px 0;border-top:1px solid var(--border);}
.footer-grid{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;}
.footer-links{display:flex;gap:22px;flex-wrap:wrap;}
.footer-links a{font-size:13px;color:var(--text-muted);}
.footer-links a:hover{color:var(--accent-dark);}
.footer-note{font-size:12.5px;color:var(--text-muted);}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;}
  .promo-card{order:-1;}
  .predictions-grid{grid-template-columns:repeat(2,1fr);}
  .astro-grid{grid-template-columns:1fr;}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .gem-grid{grid-template-columns:repeat(3,1fr);max-width:360px;}
  .blog-grid{grid-template-columns:1fr;}
  .about-grid{grid-template-columns:1fr;}
  .post-title{font-size:28px;}
  .form-grid{grid-template-columns:1fr !important;}
  .trust-panel{grid-template-columns:1fr;}
  /* The mobile hamburger just toggled this row's `display` between none/flex, but .nav-links
     keeps its desktop styles (flex:1, horizontal row, justify-content:center) - so "open" meant
     7 nav links squeezed into a sliver of a ~360px-wide row between the logo and the button,
     overlapping everything around them instead of a real dropdown. Turn it into an actual
     full-width dropdown panel below the header when open (JS toggles the .open class - see
     site.css's menu-toggle click handler in each page's <script>). */
  nav{position:relative;}
  .nav-links{
    display:none;
    position:absolute;
    top:100%;left:0;right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:var(--white);
    border-bottom:1px solid var(--border);
    box-shadow:0 16px 28px rgba(0,0,0,0.10);
    padding:6px 24px 14px;
  }
  .nav-links.open{display:flex;}
  .nav-links a{padding:12px 0;border-bottom:1px solid var(--border);}
  .nav-links a:last-child{border-bottom:none;}
  .menu-toggle{display:block;}
  .brand-mark{height:46px;}
  .hero h1{font-size:32px;}
  .cta-panel{padding:36px 22px;}
  .modal-box{padding:28px 22px 24px;max-height:90vh;}
}
