/* ==========================================================================
   style-public-pro.css
   Additive visual polish for the PUBLIC pages (home, about, auth, view-profile,
   legal). Companion to style-dashboard-pro.css, which does the same for the
   member dashboard.

   • Loaded LAST on each public page, so it wins the cascade on shared props.
   • PURE UI: no field, feature, layout-structure, or behavioural changes.
   • Colours stay on the locked brand palette (cream surface / navy text / gold
     accent) via the theme-aware tokens, so everything flips in dark mode.
   • Off-limits and deliberately NOT targeted here:
       – the stacked image gallery      (.image-stack*)
       – the full-size photo modal        (#imageModal / .image-modal*)
       – the mobile info overlay          (.info-overlay / .info-backdrop / …)
       – Google sign-in button + its JS   (untouched by request)
       – the hero floating shapes         (.floating-shape*, driven by script-3d.js)
   • Page-specific rules are scoped to a body class added per page
     (.home-page / .about-page / .auth-page / .viewprofile-page / .legal-page).
   ========================================================================== */

/* --------------------------------------------------------------------------
   0) Local tokens. Reference the site's theme-aware custom properties so they
      recolour automatically between light and dark. These only exist where this
      file is loaded (public pages), so plain selectors below are safe.
   -------------------------------------------------------------------------- */
body {
  --pp-radius: 18px;
  --pp-radius-sm: 12px;
  --pp-radius-lg: 24px;
  --pp-radius-pill: 999px;
  --pp-line: rgba(var(--text-rgb), 0.10);
  --pp-line-strong: rgba(var(--text-rgb), 0.16);
  --pp-tint: rgba(var(--text-rgb), 0.035);
  --pp-tint-2: rgba(var(--text-rgb), 0.06);
  --pp-muted: rgba(var(--text-rgb), 0.64);
  --pp-gold-soft: rgba(var(--accent-1-rgb), 0.12);
  --pp-gold-soft-2: rgba(var(--accent-1-rgb), 0.20);
  --pp-gold-line: rgba(var(--accent-1-rgb), 0.42);
  --pp-shadow: 0 1px 2px rgba(13, 52, 68, 0.05), 0 14px 34px rgba(13, 52, 68, 0.08);
  --pp-shadow-hover: 0 10px 22px rgba(13, 52, 68, 0.10), 0 30px 60px rgba(13, 52, 68, 0.15);
  --pp-shadow-gold: 0 12px 30px rgba(212, 175, 55, 0.28);
}

/* --------------------------------------------------------------------------
   1) Global base polish (all public pages)
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}
::selection {
  background: rgba(var(--accent-1-rgb), 0.24);
}
/* A single, consistent gold focus ring. :where() keeps specificity at 0 so it
   never fights a component's own styling except while focused. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--accent-1-rgb), 0.30);
}

/* --------------------------------------------------------------------------
   2) Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--pp-line);
  -webkit-backdrop-filter: saturate(130%) blur(10px);
  backdrop-filter: saturate(130%) blur(10px);
}
/* Animated gold underline on primary nav links. */
.site-nav a {
  position: relative;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #e7c65a, var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   3) Buttons
   style-theme-fix.css forces every `.btn` to a solid-gold fill with
   `!important`, which flattens the intended primary/secondary hierarchy (the
   hero's two "ghost" buttons render identical to the primary CTA). Re-establish
   the variants at higher specificity + `!important`, and add depth. Loaded last.
   -------------------------------------------------------------------------- */
.btn {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease,
    background 0.22s ease, border-color 0.22s ease;
}
.btn-primary {
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.26);
}
.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.38);
  filter: brightness(1.03);
}
.btn:active {
  transform: translateY(-1px);
}

/* Secondary / ghost — transparent with a gold outline, readable in both themes.
   Overrides theme-fix's forced gold fill + white text. */
.btn.btn-ghost,
.btn.btn-secondary {
  background: transparent !important;
  color: var(--text) !important;
  border: 1.5px solid var(--pp-gold-line) !important;
}
.btn.btn-ghost:hover,
.btn.btn-secondary:hover {
  background: var(--pp-gold-soft) !important;
  border-color: var(--accent) !important;
  color: var(--text) !important;
}

/* --------------------------------------------------------------------------
   4) Section headings & rhythm
   -------------------------------------------------------------------------- */
.section-title {
  letter-spacing: -0.015em;
  line-height: 1.14;
}
/* A short gold kicker rule under each section title. */
.section-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-1-rgb), 0.15));
}
.section-lead {
  color: var(--pp-muted);
}

/* --------------------------------------------------------------------------
   5) Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--pp-line);
}
.footer-social-link {
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.footer-social-link:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   HOMEPAGE  (.home-page)
   ========================================================================== */

/* Hero copy typographic lift */
.home-page .eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.home-page .hero-title {
  letter-spacing: -0.025em;
  line-height: 1.06;
}
.home-page .hero-highlights span {
  position: relative;
  padding-left: 22px;
}
/* Gold check-dot before each highlight chip. */
.home-page .hero-highlights span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #f0d67a, var(--accent));
  box-shadow: 0 0 0 3px rgba(var(--accent-1-rgb), 0.16);
}

/* Hero showcase cards — keep the frosted-glass feel (they sit over the animated
   blobs) but firm up the edge and add a lift. */
.home-page .hero-card {
  border: 1px solid rgba(var(--accent-1-rgb), 0.16);
  border-radius: var(--pp-radius) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.home-page .hero-card:hover {
  transform: translateY(-4px);
  border-color: var(--pp-gold-line);
}
.home-page .hero-card-main {
  border-color: var(--pp-gold-line);
}

/* Pillars, steps, tier cards, payment & contact cards: a unified, elevated,
   on-brand surface with a gold hover accent. On the homepage these override the
   near-invisible white-glass fill that style-3d.css applies. */
.home-page .pillar,
.home-page .step,
.home-page .tier-card,
.home-page .payment-card,
.home-page .contact-card {
  background: var(--surface);
  border: 1px solid var(--pp-line-strong);
  border-radius: var(--pp-radius) !important;
  box-shadow: var(--pp-shadow);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.home-page .pillar:hover,
.home-page .step:hover,
.home-page .tier-card:hover,
.home-page .contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pp-shadow-hover);
  border-color: var(--pp-gold-line);
}
.home-page .payment-card:hover {
  box-shadow: var(--pp-shadow-hover);
  border-color: var(--pp-gold-line);
}

/* Numbered pillar / step markers as gold medallions. */
.home-page .pillar-mark,
.home-page .step-num {
  background: linear-gradient(135deg, #e7c65a, var(--accent));
  color: #08222b;
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.30);
}

/* Featured tier — make "Most chosen" clearly the recommended plan. */
.home-page .tier-card-featured {
  border: 1.5px solid var(--pp-gold-line) !important;
  box-shadow: var(--pp-shadow-gold), var(--pp-shadow);
  transform: translateY(-6px);
}
.home-page .tier-card-featured:hover {
  transform: translateY(-12px);
}
/* Gold ribbon across the top of the featured card. */
.home-page .tier-card-featured {
  position: relative;
  overflow: hidden;
}
.home-page .tier-card-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #e7c65a, var(--accent));
}
/* "Most chosen" eyebrow as a gold pill. */
.home-page .tier-card-featured .tier-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--pp-radius-pill);
  background: var(--pp-gold-soft-2);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.home-page .tier-price {
  color: var(--accent);
}

/* Elite tier table — clearer rows, hover highlight, gold top-tier row. */
.home-page .elite-table {
  border: 1px solid var(--pp-line-strong);
  border-radius: var(--pp-radius);
  overflow: hidden;
}
.home-page .elite-row {
  transition: background 0.2s ease;
}
.home-page .elite-row:not(.elite-row-head):hover {
  background: var(--pp-tint);
}
.home-page .elite-row-top {
  background: var(--pp-gold-soft);
}
.home-page .elite-fee {
  color: var(--accent);
  font-weight: 700;
}

/* Copy button pills */
.home-page .copy-btn {
  border-radius: var(--pp-radius-pill);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.home-page .copy-btn:hover {
  transform: translateY(-1px);
}

/* Privacy pledge badge — a gentle gold glow ring. */
.home-page .badge-ring {
  box-shadow: 0 0 0 1px var(--pp-gold-line), 0 20px 50px rgba(212, 175, 55, 0.18);
}

/* ==========================================================================
   ABOUT  (.about-page)
   ========================================================================== */
.about-page .feature-card {
  background: var(--surface);
  border: 1px solid var(--pp-line-strong);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.about-page .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pp-shadow-hover);
  border-color: var(--pp-gold-line);
}
/* Bullet lists get a tidy gold marker. */
.about-page .list-reset li,
.legal-page .list-reset li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.about-page .list-reset li::before,
.legal-page .list-reset li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7c65a, var(--accent));
}
/* "How we work" ordered steps get a soft gold left rail. */
.about-page .steps li {
  border-left: 2px solid var(--pp-gold-line);
  padding-left: 18px;
}

/* ==========================================================================
   PRIVACY / LEGAL  (.legal-page)
   ========================================================================== */
/* Comfortable reading measure for the long prose sections. */
.legal-page .wrap > p,
.legal-page .wrap > ul {
  max-width: 74ch;
}
.legal-page .section-lead {
  font-style: italic;
}

/* ==========================================================================
   AUTH  (.auth-page — login & signup)
   ========================================================================== */
.auth-page .auth-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pp-line-strong);
  box-shadow: var(--pp-shadow-hover);
}
/* Gold ribbon across the top of the auth card. */
.auth-page .auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e7c65a, var(--accent));
  z-index: 2;
}
.auth-page .auth-sub {
  color: var(--pp-muted);
}
/* Inputs & selects: consistent radius + a clear gold focus state. */
.auth-page .field input,
.auth-page .field select {
  border-radius: var(--pp-radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.auth-page .field input:focus,
.auth-page .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-1-rgb), 0.18);
}
/* The "or" divider line. */
.auth-page .auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pp-muted);
}
.auth-page .auth-divider::before,
.auth-page .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--pp-line);
}
/* Gender radios as selectable cards; gold highlight when chosen. */
.auth-page .gender-option {
  border: 1px solid var(--pp-line-strong);
  border-radius: var(--pp-radius-sm);
  padding: 10px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.auth-page .gender-option:hover {
  border-color: var(--pp-gold-line);
}
.auth-page .gender-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--pp-gold-soft);
}
/* Consent card highlighted as the key agreement gate. */
.auth-page .consent-card {
  border: 1px solid var(--pp-gold-line);
  border-radius: var(--pp-radius-sm);
  background: var(--pp-gold-soft);
  padding: 13px 15px;
}
.auth-page .consent-card input[type="checkbox"] {
  accent-color: var(--accent);
}

/* ==========================================================================
   VIEW PROFILE  (.viewprofile-page)
   Public read-only profile. The gallery (#photoGallery / .image-stack*) and the
   photo modal (.image-modal*) are intentionally left untouched.
   ========================================================================== */
.viewprofile-page .dash-card.glass {
  border: 1px solid var(--pp-line-strong);
  box-shadow: var(--pp-shadow-hover);
}
.viewprofile-page .public-profile-hero {
  border-bottom: 1px solid var(--pp-line);
  padding-bottom: 18px;
}
.viewprofile-page .avatar {
  box-shadow: 0 0 0 3px var(--pp-gold-soft), 0 8px 22px rgba(13, 52, 68, 0.16);
}
/* Section headings as small gold-accented eyebrows. */
.viewprofile-page .public-profile-section > h3 {
  position: relative;
  padding-left: 14px;
}
.viewprofile-page .public-profile-section > h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #e7c65a, var(--accent));
}
.viewprofile-page .tier-badge {
  background: linear-gradient(135deg, #e7c65a, var(--accent));
  color: #08222b;
  border: none;
}
.viewprofile-page .notice-box {
  border: 1px solid var(--pp-gold-line);
  border-radius: var(--pp-radius);
  background: var(--pp-gold-soft);
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .site-nav a::after,
  .footer-social-link,
  .home-page .hero-card,
  .home-page .pillar,
  .home-page .step,
  .home-page .tier-card,
  .home-page .payment-card,
  .home-page .contact-card,
  .home-page .copy-btn,
  .about-page .feature-card {
    transition: none;
  }
  .home-page .pillar:hover,
  .home-page .step:hover,
  .home-page .tier-card:hover,
  .home-page .contact-card:hover,
  .home-page .hero-card:hover,
  .about-page .feature-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   BRAND ICONS — genuine glyphs (contact "Start your profile" + footers)
   The SVGs carry `data-force-fill`, so the dark-theme flatten rule leaves them
   alone and they follow `currentColor` / `fill`. Contact badges wear their real
   brand colours over a soft matching tint (both themes); footer icons ride the
   theme text colour at rest and warm to the brand hue on hover.
   ========================================================================== */

/* Contact badges — real brand colour + soft tint. Selectors are scoped to
   `.home-page .contact-card` so they outrank the base `.icon-badge` rules and
   the dark-theme `span { color }` force (hence !important on colour). */
.home-page .contact-card .icon-badge {
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.home-page .contact-card:hover .icon-badge {
  transform: translateY(-2px) scale(1.04);
}
.home-page .contact-card .icon-badge-whatsapp  { color: #25D366 !important; background: rgba(37, 211, 102, 0.14); border: 1px solid rgba(37, 211, 102, 0.34); }
.home-page .contact-card .icon-badge-facebook  { color: #1877F2 !important; background: rgba(24, 119, 242, 0.14); border: 1px solid rgba(24, 119, 242, 0.34); }
.home-page .contact-card .icon-badge-instagram { color: #E1306C !important; background: rgba(225, 48, 108, 0.14); border: 1px solid rgba(225, 48, 108, 0.34); }
.home-page .contact-card .icon-badge-tiktok    { color: #EE1D52 !important; background: rgba(238, 29, 82, 0.14);  border: 1px solid rgba(238, 29, 82, 0.34); }
.home-page .contact-card .icon-badge-youtube   { color: #FF0000 !important; background: rgba(255, 0, 0, 0.12);    border: 1px solid rgba(255, 0, 0, 0.30); }
.home-page .contact-card .icon-badge-email     { color: var(--accent) !important; background: var(--pp-gold-soft); border: 1px solid var(--pp-gold-line); }

/* Footer icons — monochrome (theme text) at rest, brand hue on hover.
   `.site-footer *` forces `color`, so drive the glyph tint with `fill` on hover. */
.footer-social a[aria-label="WhatsApp"]:hover  svg { fill: #25D366 !important; }
.footer-social a[aria-label="Facebook"]:hover   svg { fill: #1877F2 !important; }
.footer-social a[aria-label="Instagram"]:hover  svg { fill: #E1306C !important; }
.footer-social a[aria-label="YouTube"]:hover     svg { fill: #FF0000 !important; }
.footer-social a[aria-label="Email"]:hover       svg { fill: var(--accent) !important; }

/* ==========================================================================
   FORGOT PASSWORD MODAL (.fp-*)
   WhatsApp RESET-code flow — identical UX to the mobile app's ForgotPasswordDialog
   (prompt → generating → code). Scoped to .auth-page (login page only); uses
   the same tokens/visual language as the site's own pro modals.
   ========================================================================== */
.auth-page .fp-overlay {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 6vh, 60px) 16px;
  overflow-y: auto;
  background: rgba(8, 30, 40, 0.58);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  backdrop-filter: blur(6px) saturate(120%);
}
.auth-page .fp-overlay.open {
  display: flex;
  animation: fpOverlayFade 0.22s ease;
}
@keyframes fpOverlayFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fpModalPop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-page .fp-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: auto;
  background: var(--surface);
  border: 1px solid var(--pp-line-strong);
  border-radius: var(--pp-radius);
  padding: 30px 28px 26px;
  box-shadow: 0 30px 80px -24px rgba(8, 30, 40, 0.55);
  overflow: hidden;
  animation: fpModalPop 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.auth-page .fp-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e7c65a, var(--accent));
}
.auth-page .fp-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--pp-line);
  background: var(--pp-tint);
  color: var(--pp-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.auth-page .fp-close:hover {
  background: var(--pp-tint-2);
  color: var(--text);
}

/* mutually exclusive states */
.auth-page .fp-state { display: none; }
.auth-page .fp-state.active { display: block; animation: fpOverlayFade 0.2s ease; }

.auth-page .fp-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--text);
  margin: 4px 0 8px;
}
.auth-page .fp-title-gold { color: var(--accent); }
.auth-page .fp-sub {
  color: var(--pp-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 4px 0 18px;
}

/* prompt */
.auth-page .fp-phone-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}
.auth-page .fp-country {
  flex: 0 0 150px;
  height: 52px;
  border-radius: var(--pp-radius-sm);
  border: 1px solid var(--pp-line);
  background: var(--pp-tint);
  color: var(--text);
  font-size: 0.92rem;
  padding: 0 10px;
}
.auth-page .fp-phone-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border-radius: var(--pp-radius-sm);
  border: 1px solid var(--pp-line);
  background: var(--pp-tint);
  color: var(--text);
  font-size: 1rem;
  padding: 0 14px;
}
.auth-page .fp-country:focus,
.auth-page .fp-phone-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-1-rgb), 0.22);
}
.auth-page .fp-primary {
  margin-top: 16px;
  height: 52px;
  border-radius: var(--pp-radius-sm);
  font-weight: 700;
}
.auth-page .fp-expired-note {
  color: #c62828;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 12px 0 0;
}
.auth-page .fp-text-btn {
  margin-top: 12px;
  border: none;
  background: none;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pp-muted);
  cursor: pointer;
}
.auth-page .fp-text-btn:hover { color: var(--accent); }

/* generating */
.auth-page .fp-loader {
  width: 78px;
  height: 78px;
  margin: 26px auto 18px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), #e7c65a, var(--accent));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  animation: fpSpin 0.9s linear infinite;
}
@keyframes fpSpin { to { transform: rotate(360deg); } }

/* code pane */
.auth-page .fp-code-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pp-tint);
  border: 1px solid var(--pp-gold-soft-2);
  border-radius: var(--pp-radius);
  padding: 22px 18px;
}
.auth-page .fp-code {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--accent);
  user-select: all;
}
.auth-page .fp-icon-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--pp-line);
  background: var(--pp-tint-2);
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.auth-page .fp-icon-btn:hover {
  background: var(--pp-gold-soft);
  border-color: var(--pp-gold-line);
}
.auth-page .fp-icon-btn-round {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pp-gold-soft);
}
.auth-page .fp-countdown {
  display: inline-block;
  margin: 14px 0 0;
  padding: 4px 14px;
  border-radius: 8px;
  background: var(--pp-tint-2);
  color: var(--text);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
}
.auth-page .fp-countdown.critical {
  background: rgba(198, 40, 40, 0.12);
  color: #c62828;
}
.auth-page .fp-number-card {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: var(--pp-radius-sm);
  background: var(--pp-gold-soft);
  border: 1px solid var(--pp-gold-line);
  text-align: left;
}
.auth-page .fp-number-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pp-muted);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.auth-page .fp-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.auth-page .fp-number-text {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
}
.auth-page .fp-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: var(--pp-muted);
  font-size: 0.72rem;
  font-weight: 700;
}
.auth-page .fp-divider::before,
.auth-page .fp-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(var(--text-rgb), 0.2);
}
.auth-page .fp-open-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  border-radius: var(--pp-radius-sm);
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 22px -10px rgba(37, 211, 102, 0.55);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.auth-page .fp-open-whatsapp:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.auth-page .fp-open-whatsapp:active { transform: translateY(0); }

/* toast inside the overlay */
.auth-page .fp-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(8px);
  z-index: 1260;
  max-width: 84vw;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 16px 40px -16px rgba(8, 30, 40, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.auth-page .fp-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 520px) {
  .auth-page .fp-card { padding: 26px 18px 22px; }
  .auth-page .fp-phone-row { flex-wrap: wrap; }
  .auth-page .fp-country { flex: 1 1 100%; }
  .auth-page .fp-code { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page .fp-overlay.open,
  .auth-page .fp-card,
  .auth-page .fp-state.active { animation: none; }
  .auth-page .fp-loader { animation-duration: 1.6s; }
}
