/* ─── SECTION 6: FOOTER ─── */
#footer {
  border-top: 1px solid var(--border);
  padding: 5rem 4rem 2.5rem;
  background: var(--cream);
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-ornament {
  width: 100%; height: 16px;
  margin-bottom: 3.5rem;
  opacity: 0.3;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-lab-note {
  max-width: 920px;
  margin: 0 auto 1.8rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border);
  background: rgba(250, 246, 239, 0.62);
  text-align: center;
}

.footer-lab-note p {
  margin: 0;
  font-family: 'EB Garamond', serif;
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.footer-lab-note p + p {
  margin-top: 0.4rem;
}

.footer-lab-note a {
  color: var(--burgundy);
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 21, 32, 0.35);
}

.footer-brand .nav-logo {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
  max-width: 220px;
}

.footer-col-title {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a {
  font-family: 'EB Garamond', serif;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--burgundy); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.footer-social { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social-link {
  width: 42px; height: 42px;
  border: 1px solid var(--border-str);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Cinzel', serif;
  transition: all 0.3s;
  cursor: pointer;
  background: none;
  position: relative;
}
.social-link:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(107,31,42,0.12); }
.social-link.wa:hover  { background: #25D366; border-color: #25D366; color: #fff; }
.social-link.tw:hover  { background: #000;    border-color: #000;    color: #fff; }
.social-link.fb:hover  { background: #1877F2; border-color: #1877F2; color: #fff; }
.social-link.ig:hover  { background: #E1306C; border-color: #E1306C; color: #fff; }
.social-link.li:hover  { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.social-link.tg:hover  { background: #229ED9; border-color: #229ED9; color: #fff; }

/* Share section above footer */
.share-section {
  text-align: center;
  padding: 3rem 4rem;
  border-top: 1px solid var(--border);
  background: var(--cream);
}
.share-label {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.share-label::before, .share-label::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold-light);
  opacity: 0.5;
}
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--border-str);
  background: var(--ivory);
  color: var(--ink-soft);
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.share-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(107,31,42,0.1); }
.share-btn.wa:hover { background: #25D366; border-color: #25D366; color: #fff; }
.share-btn.tw:hover { background: #000;    border-color: #000;    color: #fff; }
.share-btn.fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.share-btn.ig:hover { background: #E1306C; border-color: #E1306C; color: #fff; }
.share-btn.li:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.share-btn.tg:hover { background: #229ED9; border-color: #229ED9; color: #fff; }

@media (max-width: 768px) {
  .share-section { padding: 2.5rem 1.2rem; }
  .share-buttons { gap: 0.6rem; }
  .share-btn { padding: 0.65rem 1rem; font-size: 0.55rem; }
}

/* ─── MODAL ─── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(30,20,9,0.55);
  backdrop-filter: blur(6px);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--ivory);
  border: 1px solid var(--border-str);
  padding: 3rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 20px 80px rgba(107,31,42,0.15);
  animation: fadeUp 0.35s ease;
}
.modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.modal-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: var(--muted);
  font-size: 1.2rem; cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: var(--burgundy); }

.modal-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--burgundy);
  margin-bottom: 0.4rem;
}

.modal-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.modal-input {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--border-str);
  padding: 0.85rem 1.1rem;
  color: var(--ink);
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  outline: none;
  transition: border-color 0.3s;
}
.modal-input:focus { border-color: var(--gold); }
.modal-input::placeholder { color: var(--muted); }

.modal-submit {
  width: 100%;
  padding: 1rem;
  background: var(--burgundy);
  color: var(--gold-pale);
  border: none;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 0.5rem;
}
.modal-submit:hover { background: var(--burg-light); }

.success-msg { display: none; text-align: center; padding: 2rem 0; }
.success-msg .check { font-size: 2rem; margin-bottom: 1rem; color: var(--gold); }
.success-msg h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--burgundy);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.success-msg p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── ANIMATIONS ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--burgundy);
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 57px; left: 0; right: 0;
    background: rgba(250,246,239,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    z-index: 99;
    padding: 0.5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    font-size: 0.75rem;
  }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
@keyframes spinBox {
  from { transform: rotateX(-28deg) rotateY(0deg); }
  to   { transform: rotateX(-28deg) rotateY(-360deg); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  /* NAV (repeat .open here so menu still works if earlier CSS block is truncated by CDN) */
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; }

  /* SECTIONS */
  #hero, #cta, #product, #carousel-section, #process, #footer {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  #hero { padding-top: 5rem; padding-bottom: 3rem; }
  #hero::after { left: 0.8rem; right: 0.8rem; top: 4.5rem; bottom: 0.8rem; }
  #cta, #carousel-section, #process { padding-top: 4rem; padding-bottom: 4rem; }
  #product { padding-top: 4rem; padding-bottom: 4rem; }

  /* HERO */
  .hero-title { font-size: clamp(2.8rem, 12vw, 5rem); }
  .hero-sub { font-size: 1rem; max-width: 100%; }
  .hero-badge { font-size: 0.52rem; letter-spacing: 0.15em; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
  .hero-badge::before, .hero-badge::after { width: 20px; }

  /* SECTION TITLES */
  .section-title { font-size: clamp(1.8rem, 8vw, 3rem); }
  .eyebrow { font-size: 0.55rem; }

  /* CTA BUTTONS */
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; text-align: center; }

  /* REGISTRATION FORM */
  #register-form-wrap { padding: 0; }

  /* REGISTERED STATE */
  #cta-registered { max-width: 100%; }

  /* STATS */
  .drop-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-num { font-size: 1.6rem; }
  .countdown-timer { font-size: clamp(1.2rem, 4.5vw, 1.6rem); letter-spacing: 0.05em; }
  .countdown-days { font-size: 0.7rem; }

  /* MINT BAND */
  .mint-band { gap: 0.8rem; padding: 0.8rem 1rem; flex-wrap: wrap; justify-content: center; }
  .mint-band-dates { font-size: 0.75rem; }
  .mint-band-label { font-size: 0.5rem; }

  /* CAROUSEL */
  .slide { padding: 2.5rem 1.5rem 2rem; min-height: 360px; }
  .slide-h { font-size: clamp(1.4rem, 6vw, 2.2rem); }
  .slide-p { font-size: 0.9rem; }
  .slide-num { font-size: 5rem; }
  .carousel-wrap { max-width: 100%; }

  /* PROCESS */
  .process-steps { grid-template-columns: 1fr; }
  .process-header { max-width: 100%; margin-bottom: 3rem; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  #footer { padding-top: 3rem; padding-bottom: 2rem; }
  .footer-lab-note { margin: 0 auto 1.4rem; padding: 1rem 0.9rem; }
  .footer-lab-note p { font-size: 1rem; line-height: 1.7; }

  /* BOX — scale down slightly on mobile */
  .scene { transform: scale(0.85); transform-origin: center top; }

  /* LEADERBOARD */
  #leaderboard-list div { padding: 0.75rem 1rem !important; }

  /* INVITE LINK ROW */
  #user-invite-link { font-size: 0.78rem !important; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 2.4rem; }
  .hero-badge { font-size: 0.48rem; }
  .section-title { font-size: 1.6rem; }
  .drop-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 1.3rem; }
  .slide { padding: 2rem 1.2rem 1.8rem; }
  nav { padding: 0.8rem 1rem; }
  .nav-logo { font-size: 1rem; }
}

/* ─── PRODUCT SPECS ─── */
.product-specs {
  width: 100%;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.spec-item {
  background: var(--ivory);
  padding: 1.4rem 1.2rem;
  text-align: center;
  transition: background 0.3s;
}
.spec-item:hover { background: var(--cream); }

.spec-label {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.spec-value {
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .product-specs { grid-template-columns: repeat(2, 1fr); }
}

/* ─── SIZE COMPARISON ─── */
.size-compare {
  width: 100%;
  max-width: 620px;
  margin: 2rem 0;
  text-align: center;
}

.size-compare-title {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.size-compare-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5rem;
  padding: 0 1rem;
}

.size-box-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.size-box-label-top {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 600;
}

/* Boxes rendered at 4px per cm scale */
/* Phase I: 5w × 15h → 20px × 60px */
/* Phase II: 7.5w × 20h → 30px × 80px */
/* Phase III: 15w × 36h → 60px × 144px */
.size-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-str);
  background: linear-gradient(160deg, var(--ivory), var(--cream));
  box-shadow: 4px 4px 0 rgba(154,117,32,0.12);
  transition: box-shadow 0.3s;
}
.size-box:hover {
  box-shadow: 6px 6px 0 rgba(90,21,32,0.12);
}

.size-box.phase-i   { width: 52px;  height: 120px; }
.size-box.phase-ii  { width: 78px;  height: 160px; }
.size-box.phase-iii { width: 156px; height: 288px; }

/* gold top accent */
.size-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.size-box-dims {
  font-family: 'Cinzel', serif;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  padding: 0.2rem;
}

.size-box-label-bottom {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.size-box-sub {
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.size-compare-note {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .size-compare-stage { gap: 1.2rem; }
  .size-box.phase-i   { width: 36px;  height: 84px;  }
  .size-box.phase-ii  { width: 54px;  height: 112px; }
  .size-box.phase-iii { width: 108px; height: 200px; }
  .size-box-dims { font-size: 0.42rem; }
}

/* ─── FOOTER BABA QUOTE ─── */
.footer-baba-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--burgundy);
  line-height: 1.8;
  margin-top: 1.2rem;
  opacity: 0.85;
}
.footer-baba-quote em {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: normal;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
}

/* ─── FLOATING CTA ─── */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--ivory);
  border-top: 1px solid var(--border-str);
  box-shadow: 0 -4px 30px rgba(90,21,32,0.1);
  padding: 0.9rem 2rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.floating-cta.visible {
  transform: translateY(0);
}

.floating-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.floating-cta-text {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.floating-cta-btns {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.floating-btn-primary {
  background: var(--burgundy);
  color: var(--gold-pale, #f3e8c0);
  border: none;
  padding: 0.7rem 1.4rem;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}
.floating-btn-primary:hover { background: #7a1a28; }

.floating-btn-secondary {
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
  padding: 0.7rem 1.4rem;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.floating-btn-secondary:hover { background: var(--burgundy); color: var(--gold-pale, #f3e8c0); }

@media (max-width: 768px) {
  .floating-cta { padding: 0.8rem 1rem; }
  .floating-cta-text { display: none; }
  .floating-cta-btns { width: 100%; }
  .floating-btn-primary, .floating-btn-secondary { flex: 1; text-align: center; }
}
/* ─── REGISTERED DASHBOARD ─── */
.dash-card {
  background: var(--ivory);
  border: 1px solid var(--border-str);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.dash-card-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.dash-rank-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.8rem 1.5rem;
  gap: 1rem;
}

.dash-rank-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.dash-rank-label {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-rank-num {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
}

.dash-rank-num--gold { color: var(--gold); }

.dash-rank-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.78rem;
  color: var(--muted);
  min-height: 1rem;
}

.dash-rank-movement-up {
  color: #2a7a3a;
  font-style: normal;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.dash-divider-v {
  width: 1px;
  height: 60px;
  background: var(--border-str);
}

/* Invite section */
.dash-invite-label {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 1.2rem 1.5rem 0.5rem;
}

.dash-invite-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0 1.5rem;
}

.dash-invite-link {
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--border-str);
  padding: 0.7rem 0.9rem;
  font-family: 'EB Garamond', serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-copy-btn {
  background: var(--burgundy);
  color: var(--gold-pale, #f3e8c0);
  border: none;
  padding: 0.7rem 1.2rem;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.dash-copy-btn:hover { background: #7a1a28; }

/* Social share grid */
.dash-share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
}

.dash-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.4rem;
  border: none;
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  color: #fff;
}
.dash-share-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.dash-share-wa { background: #25D366; }
.dash-share-tw { background: #000; }
.dash-share-tg { background: #0088cc; }
.dash-share-li { background: #0A66C2; }

.dash-invite-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  padding: 0 1.5rem 1.2rem;
  line-height: 1.6;
}

/* Community header */
.dash-community-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-community-title {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.dash-community-sub {
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 480px) {
  .dash-share-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-rank-num { font-size: 2.4rem; }
}

/* ─── SAMITHI MODAL ─── */
.samithi-modal-inner {
  background: var(--ivory);
  max-width: 480px;
  width: 100%;
  margin: auto;
  padding: 2.5rem 2rem;
  position: relative;
  border: 1px solid var(--border-str);
}

.samithi-modal-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.samithi-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--muted);
}

.samithi-modal-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.samithi-modal-title {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.samithi-modal-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.samithi-input {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--border-str);
  padding: 0.8rem 1rem;
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}
.samithi-input:focus { border-color: var(--gold); }

.samithi-results {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--border);
  background: var(--ivory);
  margin-bottom: 0.8rem;
  display: none;
}

.samithi-result-item {
  padding: 0.8rem 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.samithi-result-item:hover { background: var(--cream); }
.samithi-result-item span {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 0.15rem;
}

.samithi-submit-btn {
  width: 100%;
  background: var(--burgundy);
  color: var(--gold-pale, #f3e8c0);
  border: none;
  padding: 0.9rem;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 0.5rem;
}
.samithi-submit-btn:hover { background: #7a1a28; }

.samithi-add-btn {
  width: 100%;
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
  padding: 0.8rem;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.5rem;
}
.samithi-add-btn:hover { background: var(--burgundy); color: var(--gold-pale, #f3e8c0); }

.samithi-skip-btn {
  width: 100%;
  background: none;
  border: none;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  padding: 0.5rem;
}

.samithi-add-title {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--burgundy);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.samithi-success-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: 0.08em;
}

.samithi-success-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

/* ─── CARE NOTE ─── */
.box-care-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  max-width: 500px;
  margin: -1rem auto 1.5rem;
  line-height: 1.7;
}

/* ─── TEAM GOVERNANCE ─── */
.team-governance {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
  text-align: left;
}

/* ─── FAQ SECTION ─── */
#faq {
  padding: 8rem 4rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.faq-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-str);
  border: 1px solid var(--border-str);
  margin-top: 3rem;
  text-align: left;
}

.faq-item {
  background: var(--ivory);
  padding: 2rem;
  transition: background 0.2s;
}
.faq-item:hover { background: #fdf9f3; }

.faq-q {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--burgundy);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.faq-a {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0;
}

@media (max-width: 768px) {
  #faq { padding: 4rem 1.5rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .team-governance { margin-bottom: 2rem; }
}

/* ─── CAROUSEL / SHARE / MOBILE OVERRIDES (was inline before FAQ) ─── */
.carousel-track { cursor: grab; user-select: none; }
@media (max-width: 768px) {
  #whats-in-box, #unboxing { padding: 3rem 1.2rem; }
  #whats-in-box > div > div[style*="grid"], #unboxing > div > div[style*="grid"] { grid-template-columns: 1fr !important; }
  .share-section { padding: 2rem 1rem !important; }
  .share-buttons { gap: 0.6rem !important; }
  .share-btn { font-size: 0.6rem !important; padding: 0.65rem 0.8rem !important; gap: 0.5rem !important; }
  .share-btn svg { width: 14px !important; height: 14px !important; }
  .btn-primary, .btn-secondary { width: 100% !important; max-width: 320px !important; padding: 1rem 1.5rem !important; font-size: 0.72rem !important; }
  .cta-register-btns { flex-direction: column !important; align-items: center !important; gap: 0.75rem !important; }
  #register-form-wrap { padding: 1.5rem 1rem !important; }
  .step { padding: 1.2rem !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .rarity-cards { grid-template-columns: 1fr 1fr !important; }
  .slide { padding: 2rem 1.5rem !important; }
  #journey { padding: 3rem 1.2rem !important; }
  #journey img { width: min(260px, 85%) !important; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2.4rem) !important; }
  .hero-content { flex-direction: column !important; text-align: center !important; }
  .hero-image-wrap { margin: 0 auto !important; max-width: 220px !important; }
  .hero-text { padding: 0 !important; }
  .hero-descriptor { font-size: 0.68rem !important; }
  .countdown-row div[style*="display:flex"] { flex-direction: column !important; gap: 0.25rem !important; }
  #cta { padding: 3rem 1.2rem !important; }
  .cta-inner { padding: 2rem 1.2rem !important; }
  .process-steps { gap: 1rem !important; }
  #whats-in-box div[style*="repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  #unboxing div[style*="repeat(auto-fit"] { grid-template-columns: 1fr !important; }
  #faq { padding: 3rem 1.2rem !important; }
  .faq-acc-item button { padding: 1.2rem !important; }
  .floating-cta-text { display: none !important; }
  .share-buttons { grid-template-columns: repeat(2, 1fr) !important; display: grid !important; }
}
.carousel-track:active { cursor: grabbing; }
.carousel-controls { justify-content: center !important; }

/* ─── SAIRAM CHAT WIDGET ─── */
#ss-chat-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--burgundy, #5a1520);
  border: 2px solid #9a7520;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(90, 21, 32, 0.35);
  transition: transform 0.2s;
}
#ss-chat-bubble:hover { transform: scale(1.08); }
#ss-chat-bubble svg { width: 24px; height: 24px; fill: #faf6ef; }
#ss-chat-window {
  position: fixed;
  bottom: 92px;
  right: 28px;
  z-index: 9999;
  width: 340px;
  max-height: 520px;
  background: #faf6ef;
  border: 1px solid #d4c8b0;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(90, 21, 32, 0.18);
  display: none;
  flex-direction: column;
  font-family: 'EB Garamond', serif;
  overflow: hidden;
}
#ss-chat-window.open { display: flex; }
#ss-chat-header {
  background: var(--burgundy, #5a1520);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
#ss-chat-header-left { display: flex; align-items: center; gap: 10px; }
#ss-chat-header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #9a7520;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  color: #faf6ef;
  font-weight: 500;
  flex-shrink: 0;
}
#ss-chat-header-title { color: #faf6ef; font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.06em; }
#ss-chat-header-sub {
  color: rgba(250, 246, 239, 0.65);
  font-size: 11px;
  font-family: 'EB Garamond', serif;
  margin-top: 1px;
}
#ss-chat-close {
  background: none;
  border: none;
  color: rgba(250, 246, 239, 0.7);
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  line-height: 1;
}
#ss-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
}
#ss-chat-messages::-webkit-scrollbar { width: 4px; }
#ss-chat-messages::-webkit-scrollbar-track { background: transparent; }
#ss-chat-messages::-webkit-scrollbar-thumb { background: #d4c8b0; border-radius: 2px; }
.ss-msg {
  max-width: 88%;
  line-height: 1.6;
  font-size: 14.5px;
  padding: 10px 14px;
  border-radius: 12px;
}
.ss-msg.bot {
  background: #f3ece0;
  color: #0d0702;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.ss-msg.user {
  background: var(--burgundy, #5a1520);
  color: #faf6ef;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.ss-msg.typing {
  background: #f3ece0;
  color: #9a7520;
  font-style: italic;
  align-self: flex-start;
}
#ss-chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #e8dcc8;
  background: #faf6ef;
}
#ss-chat-input {
  flex: 1;
  border: 1px solid #d4c8b0;
  border-radius: 8px;
  padding: 9px 12px;
  font-family: 'EB Garamond', serif;
  font-size: 14px;
  background: #fff;
  color: #0d0702;
  outline: none;
  resize: none;
}
#ss-chat-input:focus { border-color: #9a7520; }
#ss-chat-send {
  background: var(--burgundy, #5a1520);
  border: none;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
#ss-chat-send:hover { opacity: 0.85; }
#ss-chat-send svg { width: 16px; height: 16px; fill: #faf6ef; }
