/* ==========================================================================
   Kalyanasangamam — Premium Tamil Traditional Wedding Matrimony
   Theme: Gold (#D4AF37) + Maroon (#800000) on White
   ========================================================================== */

:root {
  --gold: #d4af37;
  --gold-light: #e8d28a;
  --gold-dark: #b8941f;
  --maroon: #800000;
  --maroon-light: #a52a2a;
  --maroon-dark: #5c0000;
  --cream: #fdf8ee;
  --beige: #f5ecd9;
  --soft-beige: #faf4e6;
  --white: #ffffff;
  --ink: #2b2118;
  --muted: #7a6f63;
  --gold-gradient: linear-gradient(135deg, #f3d77a 0%, #d4af37 45%, #b8941f 100%);
  --maroon-gradient: linear-gradient(135deg, #a52a2a 0%, #800000 60%, #5c0000 100%);
  --shadow-sm: 0 4px 14px rgba(128, 0, 0, .08);
  --shadow-md: 0 12px 34px rgba(128, 0, 0, .12);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, .35);
  --radius: 16px;
  --font-head: 'Playfair Display', 'Tiro Tamil', serif;
  --font-body: 'Mukta', 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* must be on html too — body alone doesn't prevent horizontal scroll in all browsers */
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.25;
}

a { text-decoration: none; transition: color .25s ease; }

img { max-width: 100%; height: auto; }

.text-gold { color: var(--gold) !important; }
.text-maroon { color: var(--maroon) !important; }
.bg-cream { background: var(--cream) !important; }
.bg-beige { background: var(--soft-beige) !important; }
.bg-maroon { background: var(--maroon) !important; }
.fw-head { font-family: var(--font-head); }
.logo-img {
    height: 90px;
    width: auto;
    display: block;
    transition: height 0.38s cubic-bezier(0.4,0,0.2,1);
}
.navbar.scrolled .logo-img { height: 75px; }
.footer-logo {
    height: 100px; /* Adjust as needed */
    width: auto;
    max-width: 100%;
    border-radius: 5px;
}
/* ---------- Decorative section heading ---------- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.section-title h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 0; }
.section-title .ornament {
  width: 120px; height: 26px; margin: 14px auto 0;
  background: no-repeat center/contain;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.section-title .ornament::before,
.section-title .ornament::after {
  content: ""; height: 2px; width: 44px;
  background: linear-gradient(90deg, transparent, var(--gold));
  margin: 0 10px;
}
.section-title .ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.section-title p { color: var(--muted); max-width: 620px; margin: 14px auto 0; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 50px; padding: .7rem 1.6rem; transition: all .3s ease; }
.btn-gold {
  background: var(--gold-gradient); color: var(--maroon-dark);
  border: none; box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); color: var(--maroon-dark); box-shadow: 0 14px 34px rgba(212,175,55,.5); }
.btn-maroon { background: var(--maroon-gradient); color: #fff; border: none; }
.btn-maroon:hover { transform: translateY(-3px); color: #fff; box-shadow: var(--shadow-md); }
.btn-outline-gold { border: 2px solid var(--gold); color: var(--maroon); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: var(--maroon-dark); }
.btn-outline-light { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--maroon); }


/* ==========================================================================
   ANNOUNCEMENT MARQUEE BAR  (ks-announce-*)
   ========================================================================== */
.ks-announce-bar {
  background: linear-gradient(90deg, #0d0305 0%, #1c0508 40%, #1c0508 60%, #0d0305 100%);
  border-bottom: 1px solid rgba(212,175,55,.18);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  height: 36px;
  max-height: 36px;
  transition: max-height .42s cubic-bezier(.4,0,.2,1), opacity .32s ease;
}
/* Gold radial glow overlay */
.ks-announce-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -80%, rgba(212,175,55,.14), transparent 60%);
  pointer-events: none; z-index: 0;
}
/* Gold shimmer top line */
.ks-announce-bar::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.5) 30%, rgba(248,225,130,.7) 50%, rgba(212,175,55,.5) 70%, transparent);
  pointer-events: none; z-index: 1;
}
.ks-announce-bar.ks-hidden { max-height: 0; opacity: 0; }

/* Scrolling track */
.ks-mq-track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative; z-index: 1;
}
/* Fade-out edges so text fades in/out cleanly */
.ks-mq-track::before,
.ks-mq-track::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 64px; z-index: 2; pointer-events: none;
}
.ks-mq-track::before { left: 0;  background: linear-gradient(90deg, #0d0305, transparent); }
.ks-mq-track::after  { right: 0; background: linear-gradient(90deg, transparent, #0d0305); }

/* The scrolling tape — content duplicated to 2× for seamless loop */
.ks-mq-tape {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: ks-mq-scroll 38s linear infinite;
  will-change: transform;
}
.ks-mq-tape:hover { animation-play-state: paused; }

@keyframes ks-mq-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Each text item */
.ks-mq-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 28px;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: rgba(212,175,55,.82);
  font-family: var(--font-body);
  white-space: nowrap;
}
.ks-mq-item i {
  font-size: .58rem;
  color: rgba(212,175,55,.5);
  flex-shrink: 0;
}
/* Diamond separator */
.ks-mq-sep {
  display: inline-flex;
  align-items: center;
  color: rgba(212,175,55,.22);
  font-size: .5rem;
  flex-shrink: 0;
  padding: 0 4px;
}

/* Right-side CTA */
.ks-announce-cta {
  flex-shrink: 0;
  background: var(--gold-gradient);
  color: #3d0a0a !important;
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .4px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  white-space: nowrap;
  position: relative; z-index: 2;
  transition: filter .2s, opacity .2s;
  box-shadow: -6px 0 20px rgba(13,3,5,.7);
}
.ks-announce-cta:hover { filter: brightness(1.07); }
.ks-announce-cta i { font-size: .56rem; transition: transform .2s; }
.ks-announce-cta:hover i { transform: translateX(3px); }

/* ==========================================================================
   TOP BAR + NAVBAR — Premium Dark
   ========================================================================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1020;
}

/* Topbar */
.topbar {
  background: linear-gradient(90deg,
    #580000 0%, #800000 28%,
    #8B0000 50%,
    #800000 72%, #580000 100%);
  color: #f5e6c8;
  font-size: .8rem; padding: 0;
  overflow: hidden;
  max-height: 44px;
  border-bottom: 1px solid rgba(212,175,55,.3);
  box-shadow: 0 1px 0 rgba(0,0,0,.18);
  transition: max-height 0.42s cubic-bezier(0.4,0,0.2,1), opacity 0.32s ease;
}
.topbar .container { height: 44px; }
.topbar.ks-hidden { max-height: 0; opacity: 0; }
.topbar a { color: rgba(245,230,200,.72); text-decoration: none; transition: color .22s; }
.topbar a:hover { color: #D4AF37; }
.topbar i { color: rgba(212,175,55,.85); margin-right: 4px; }

/* Topbar social icons */
.ks-top-social { display: flex; align-items: center; gap: 6px; }
.ks-top-social a {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(212,175,55,.28);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(212,175,55,.88); font-size: .68rem;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.ks-top-social a:hover {
  background: rgba(212,175,55,.22);
  border-color: #D4AF37;
  color: #D4AF37; transform: translateY(-1px);
}

/* Navbar */
.navbar {
  background: rgba(255,253,249,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: .5rem 0;
  border-bottom: 2px solid transparent;
  box-shadow: 0 2px 18px rgba(128,0,0,.07);
  transition: padding 0.38s ease, box-shadow 0.38s ease,
              background 0.38s ease, border-color 0.38s ease;
}
.navbar.scrolled {
  padding: .26rem 0;
  background: rgba(255,253,249,.99);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 4px 28px rgba(44,10,10,.12);
  border-bottom-color: rgba(212,175,55,.32);
}

/* Logo */
.navbar-brand { display: flex; align-items: center; }

/* Member chip — lives outside #mainNav collapse so it's always visible */
.ks-nav-member {
  display: flex;
  align-items: center;
  gap: 8px;
  order: 3;
  flex-shrink: 0;
}
/* Ensure chip dropdowns always appear above page content and any animated sections */
.ks-nav-member .dropdown-menu {
  z-index: 1060;
}
@media (max-width: 1199px) {
  /* Override Bootstrap's justify-content:space-between so a single auto-margin
     cleanly absorbs all free space without being split between items */
  .navbar > .container,
  .navbar > .container-fluid {
    justify-content: flex-start;
  }
  /* Toggler (order 2) gets the auto margin → pulls both toggler AND chip to the right
     Result: Logo [all free space] Hamburger Bell Avatar */
  .navbar-toggler {
    order: 2 !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  /* Chip follows immediately after the toggler with no additional gap */
  .ks-nav-member {
    margin-left: 0;
    gap: 6px;
  }
}
@media (min-width: 1200px) {
  /* On desktop: collapse flex-grow:1 fills the middle; auto margin is a safety anchor */
  .ks-nav-member { margin-left: auto; }
}

/* Nav links */
.navbar .nav-link {
  color: var(--ink);
  font-weight: 600; font-size: .9rem;
  margin: 0 1px; position: relative;
  padding: .5rem .9rem !important;
  border-radius: 8px;
  transition: color .25s;
}
.navbar .nav-link::after {
  content: "";
  position: absolute; left: 50%; right: 50%; bottom: 3px;
  height: 2px; background: var(--gold); border-radius: 2px;
  transition: left .3s ease, right .3s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--maroon); }
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { left: .9rem; right: .9rem; }

/* Dropdown */
.dropdown-menu {
  background: #fff;
  border: 1px solid rgba(212,175,55,.2);
  box-shadow: 0 20px 60px rgba(0,0,0,.14), 0 4px 16px rgba(128,0,0,.08);
  border-radius: 16px; padding: 8px; margin-top: 8px !important;
}
.dropdown-item {
  border-radius: 10px; font-weight: 500;
  padding: .5rem .85rem; font-size: .875rem; color: #1a0202;
  transition: background .2s, color .2s, padding-left .22s;
}
.dropdown-item:hover { background: rgba(212,175,55,.1); color: var(--maroon); padding-left: 1.1rem; }
/* ===== Premium Mega-Menu (Global Communities) ===== */
.ks-mega-menu {
  min-width: 460px;
  padding: 0 !important;
  border: 1px solid rgba(212,175,55,.22) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.14), 0 6px 22px rgba(128,0,0,.09) !important;
  border-radius: 20px !important;
  overflow: hidden;
  margin-top: 10px !important;
}
.ks-mm-hd {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #5c0000 0%, #800000 60%, #6b0000 100%);
}
.ks-mm-hd-ico {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(212,175,55,.18); border: 1px solid rgba(212,175,55,.35);
  display: flex; align-items: center; justify-content: center;
  color: #D4AF37; font-size: 1.05rem; flex-shrink: 0;
}
.ks-mm-hd-title {
  font-size: .9rem; font-weight: 700; color: #fff;
  font-family: var(--font-head); letter-spacing: .2px; line-height: 1.2;
}
.ks-mm-hd-sub { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.ks-mm-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; padding: 10px; background: #fff;
}
.ks-mm-item {
  display: flex !important; align-items: center !important;
  gap: 9px !important; padding: 9px 11px !important;
  border-radius: 11px !important;
  color: var(--ink) !important; font-size: .855rem !important;
  font-weight: 500 !important; text-decoration: none !important;
  transition: background .2s, color .2s !important;
}
.ks-mm-item:hover {
  background: rgba(128,0,0,.06) !important; color: var(--maroon) !important;
  padding-left: 11px !important;
}
.ks-mm-flag {
  width: 26px; height: 18px; border-radius: 3px;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.14);
}
.ks-mm-item span { flex: 1; }
.ks-mm-arr { font-size: .48rem; color: rgba(128,0,0,.3); opacity: 0; transition: opacity .2s; }
.ks-mm-item:hover .ks-mm-arr { opacity: 1; }
.ks-mm-ft { padding: 6px 10px 10px; background: #fff; border-top: 1px solid rgba(212,175,55,.12); }
.ks-mm-cta {
  display: flex !important; align-items: center !important;
  justify-content: center !important; gap: 8px !important;
  padding: 10px 16px !important;
  background: linear-gradient(135deg, rgba(212,175,55,.1), rgba(212,175,55,.04)) !important;
  border: 1px solid rgba(212,175,55,.25) !important;
  border-radius: 10px !important;
  color: var(--maroon) !important; font-size: .82rem !important;
  font-weight: 700 !important; text-decoration: none !important;
  transition: background .25s, border-color .25s !important;
}
.ks-mm-cta:hover {
  background: linear-gradient(135deg, rgba(128,0,0,.07), rgba(212,175,55,.08)) !important;
  border-color: rgba(212,175,55,.5) !important; color: var(--maroon) !important;
  padding-left: 16px !important;
}
.ks-mm-cta i:first-child { color: #D4AF37 !important; }
.ks-mm-cta-arr { font-size: .6rem !important; opacity: .5; }

/* ==========================================================================
   HERO — Premium
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(45,0,0,.90) 0%, rgba(75,8,8,.84) 55%, rgba(18,0,0,.94) 100%),
    url('../img/hero.jpg') center/cover no-repeat fixed;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 76% 14%, rgba(212,175,55,.28) 0%, transparent 48%),
    radial-gradient(ellipse at 18% 88%, rgba(160,30,30,.38) 0%, transparent 42%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 160px;
  pointer-events: none;
  z-index: 0;
}

/* Floating gold particles */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.hp {
  position: absolute;
  border-radius: 50%;
  animation: hpFloat linear infinite;
  opacity: 0;
}
.hp1 { width: 8px; height: 8px; left: 10%; bottom: -5%; background: rgba(212,175,55,.35); animation-duration: 15s; animation-delay: 0s; }
.hp2 { width: 5px; height: 5px; left: 26%; bottom: -5%; background: rgba(212,175,55,.2); animation-duration: 20s; animation-delay: 4s; }
.hp3 { width: 10px; height: 10px; left: 52%; bottom: -5%; background: rgba(212,175,55,.3); animation-duration: 17s; animation-delay: 7s; }
.hp4 { width: 4px; height: 4px; left: 70%; bottom: -5%; background: rgba(212,175,55,.2); animation-duration: 23s; animation-delay: 2s; }
.hp5 { width: 6px; height: 6px; left: 87%; bottom: -5%; background: rgba(212,175,55,.28); animation-duration: 19s; animation-delay: 9s; }
.hp6 { width: 3px; height: 3px; left: 40%; bottom: -5%; background: rgba(248,200,100,.25); animation-duration: 25s; animation-delay: 12s; }
@keyframes hpFloat {
  0%   { transform: translateY(0) rotate(0deg) scale(.8); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: .8; }
  100% { transform: translateY(-105vh) rotate(720deg) scale(1.2); opacity: 0; }
}

/* Content container */
.hero-content { position: relative; z-index: 2; padding: 50px 0 60px; width: 100%; }

/* Eyebrow badge */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,.14);
  border: 1px solid rgba(212,175,55,.48);
  color: #f5dfa0;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
  animation: heroBadgePulse 3.5s ease-in-out infinite;
}
@keyframes heroBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
  50%       { box-shadow: 0 0 0 10px rgba(212,175,55,.06); }
}

/* Headline */
.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hh-top {
  font-size: .65em;
  font-weight: 500;
  color: rgba(255,255,255,.68);
  letter-spacing: .8px;
  line-height: 1.2;
}
.hh-accent {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(120deg,
    #f3d77a 0%, #d4af37 28%,
    #fff8d6 52%,
    #d4af37 74%, #b8941f 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hh-shimmer 4.5s linear 0.6s infinite;
  display: inline-block;
  line-height: 1.05;
  letter-spacing: -1px;
}
.hh-bot {
  font-size: .44em;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 5.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
  line-height: 1.4;
  margin-top: 6px;
}
@keyframes hh-shimmer {
  0%   { background-position: 220% center; }
  100% { background-position: -220% center; }
}

/* Gold ornament divider */
.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 20px;
}
.hero-div-line {
  height: 1px;
  width: 72px;
  flex-shrink: 0;
  background: linear-gradient(to right, transparent, rgba(212,175,55,.65), transparent);
}
.hero-div-ico { color: var(--gold); font-size: .95rem; opacity: .9; }

/* Lead text */
.hero-lead {
  font-size: 1.1rem;
  color: #f0e2c4;
  max-width: 510px;
  line-height: 1.78;
  margin-bottom: 30px;
}

/* CTA buttons */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(212,175,55,.45);
  transition: transform .25s ease, box-shadow .25s ease;
  letter-spacing: .2px;
}
.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(212,175,55,.62);
  color: var(--maroon-dark);
}
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  color: #fff;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.38);
  backdrop-filter: blur(8px);
  transition: all .25s ease;
}
.hero-btn-secondary:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.7);
  color: #fff;
  transform: translateY(-3px);
}

/* Stats glass row */
.hero-stats-row {
  display: flex;
  align-items: center;
  width: fit-content;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 16px;
  padding: 14px 6px;
  backdrop-filter: blur(12px);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hero-stat-pill { text-align: center; padding: 4px 22px; }
.hero-stat-pill .num { font-family: var(--font-head); font-size: 2rem; color: var(--gold); font-weight: 800; line-height: 1; }
.hero-stat-lbl { font-size: .76rem; color: #e7d9bf; margin-top: 4px; white-space: nowrap; letter-spacing: .3px; }
.hero-stat-div { width: 1px; height: 38px; background: rgba(212,175,55,.32); flex-shrink: 0; }

/* Trust badges */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .79rem;
  color: #e0cfa8;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(212,175,55,.2);
  padding: 6px 14px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}
.hero-trust span i { color: var(--gold); }

/* ---------- Hero glass search card ---------- */
.hero-search-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212,175,55,.32);
  border-radius: 24px;
  padding: 38px 34px;
  box-shadow: 0 28px 70px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.1);
  position: relative;
  z-index: 2;
  animation: lpCardIn .85s .25s cubic-bezier(.22,1,.36,1) both;
}
.hero-search-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.05) 0%, transparent 65%);
  pointer-events: none;
}
.hsc-header { text-align: center; margin-bottom: 28px; }
.hsc-orn {
  width: 58px; height: 58px;
  background: var(--gold-gradient);
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  color: var(--maroon-dark);
  margin: 0 auto 14px;
  box-shadow: 0 8px 26px rgba(212,175,55,.45);
}
.hsc-header h3 { color: #fff; font-size: 1.5rem; margin-bottom: 5px; font-family: var(--font-head); }
.hsc-header p { color: rgba(255,255,255,.6); font-size: .88rem; margin: 0; }
.hsc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.hsc-field label {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  color: #f5dfa0;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hsc-select {
  width: 100%;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 10px;
  padding: 11px 36px 11px 14px;
  color: #fff;
  font-size: .9rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23c9a84c' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color .2s, background-color .2s;
}
.hsc-select:focus {
  border-color: rgba(212,175,55,.75);
  background-color: rgba(255,255,255,.14);
  box-shadow: 0 0 0 3px rgba(212,175,55,.18);
}
.hsc-select option { background: #3a0000; color: #fff; }
.hsc-btn {
  width: 100%;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  box-shadow: 0 6px 24px rgba(212,175,55,.42);
  transition: transform .25s ease, box-shadow .25s ease;
  font-family: var(--font-body);
}
.hsc-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(212,175,55,.58); }
.hsc-foot {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 0;
  font-size: .84rem;
  color: rgba(255,255,255,.5);
}
.hsc-foot a { color: var(--gold); font-weight: 600; text-decoration: none; }
.hsc-foot a:hover { color: #f5dfa0; }

/* Scroll indicator */
.hero-scroll-ind {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-ind span {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(212,175,55,.45);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-ind span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 9px;
  background: var(--gold);
  border-radius: 2px;
  animation: heroScroll 1.8s ease-in-out infinite;
}
@keyframes heroScroll {
  0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
  80%  { transform: translateX(-50%) translateY(14px); opacity: 0; }
  100% { transform: translateX(-50%) translateY(0); opacity: 0; }
}

/* Hero responsive */
@media (max-width: 991px) {
  .hero-content { padding: 80px 0 60px; }
  .hero-stats-row { width: 100%; }
  .hero-scroll-ind { display: none; }
}
@media (max-width: 575px) {
  .hero-h1 { font-size: 2rem; gap: 2px; }
  .hh-top { font-size: .75em; }
  .hh-bot { font-size: .52em; letter-spacing: 3px; }
  .hero-stat-pill { padding: 4px 12px; }
  .hero-stat-pill .num { font-size: 1.6rem; }
  .hsc-row { grid-template-columns: 1fr; gap: 12px; }
  .hero-search-card { padding: 26px 18px; }
  .hero-btn-primary, .hero-btn-secondary { width: 100%; justify-content: center; }
}

/* ==========================================================================
   HERO — LAUNCH MODE  (.hero--launch)
   ========================================================================== */
@keyframes lh-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
@keyframes lh-float-badge {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-3px); }
}
@keyframes lh-pulse-ring {
  0%,100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); border-color: rgba(212,175,55,.38); }
  50%     { box-shadow: 0 0 18px 6px rgba(212,175,55,.14); border-color: rgba(212,175,55,.7); }
}
@keyframes lh-card-in {
  from { opacity: 0; transform: translateX(32px) scale(.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes lh-rocket {
  0%,100% { transform: translateY(0) rotate(-8deg); }
  50%     { transform: translateY(-5px) rotate(-4deg); }
}
.hero--launch .hero-badge-lm {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.42);
  border-radius: 50px; padding: 8px 22px; margin-bottom: 22px;
  backdrop-filter: blur(8px);
  animation: lh-pulse-ring 3s ease-in-out infinite, lh-float-badge 4s ease-in-out infinite;
}
.hero--launch .hero-badge-lm i { color: #d4af37; animation: lh-rocket 2.4s ease-in-out infinite; }
.hero--launch .hero-badge-lm span { color: #f5dfa0; font-size: .74rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.hero--launch .hero-lm-h1 {
  font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; line-height: 1.08; margin-bottom: 8px;
  background: linear-gradient(90deg, #b07820 0%, #f0d060 20%, #fffae0 40%, #d4af37 52%, #fffae0 64%, #f0d060 82%, #b07820 100%);
  background-size: 250% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: lh-shimmer 4.5s linear infinite;
}
.hero--launch .hero-lm-sub {
  font-size: clamp(.9rem, 1.8vw, 1.05rem); color: rgba(245,240,232,.75);
  line-height: 1.7; margin-bottom: 28px; max-width: 520px;
}
.hero--launch .hero-lm-sub strong { color: #d4af37; -webkit-text-fill-color: #d4af37; }

/* Launch CTA buttons */
.hero-lm-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold-gradient); color: var(--maroon-dark);
  font-weight: 800; font-size: .95rem; padding: 15px 32px; border-radius: 50px;
  text-decoration: none; border: none;
  box-shadow: 0 8px 32px rgba(212,175,55,.38), 0 2px 0 rgba(255,255,255,.18) inset;
  transition: transform .22s, box-shadow .22s;
}
.hero-lm-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(212,175,55,.5); color: var(--maroon-dark); }
.hero-lm-btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); color: #f5dfa0;
  font-weight: 700; font-size: .9rem; padding: 14px 28px; border-radius: 50px;
  text-decoration: none; border: 1.5px solid rgba(212,175,55,.4);
  backdrop-filter: blur(8px); transition: background .22s, border-color .22s;
}
.hero-lm-btn-secondary:hover { background: rgba(212,175,55,.14); border-color: rgba(212,175,55,.7); color: #f5dfa0; }

/* Launch stats */
.hero-lm-stats {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 34px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(212,175,55,.18);
  border-radius: 16px; backdrop-filter: blur(10px); overflow: hidden;
}
.hero-lm-stat { flex: 1; min-width: 90px; padding: 14px 16px; text-align: center; position: relative; }
.hero-lm-stat + .hero-lm-stat::before {
  content: ''; position: absolute; left: 0; top: 18%; height: 64%; width: 1px;
  background: rgba(212,175,55,.22);
}
.hero-lm-stat-n { font-family: var(--font-head); font-size: 1.5rem; font-weight: 900; color: #d4af37; line-height: 1; }
.hero-lm-stat-l { font-size: .7rem; color: rgba(245,240,232,.6); margin-top: 4px; letter-spacing: .4px; }

/* Launch right card */
.hero-lm-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 24px; padding: 32px 28px;
  backdrop-filter: blur(18px);
  box-shadow: 0 32px 80px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.1);
  animation: lh-card-in .6s .15s cubic-bezier(.22,1,.36,1) both;
}
.hero-lm-card-hd {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  padding-bottom: 18px; border-bottom: 1px solid rgba(212,175,55,.18);
}
.hero-lm-card-ico {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(212,175,55,.22), rgba(212,175,55,.06));
  border: 1px solid rgba(212,175,55,.35);
  display: grid; place-items: center; font-size: 1.3rem; color: #d4af37;
}
.hero-lm-card-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1.2; }
.hero-lm-card-sub { font-size: .75rem; color: rgba(212,175,55,.7); margin-top: 3px; }
.hero-lm-free-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.hero-lm-free-list li {
  display: flex; align-items: center; gap: 11px;
  font-size: .88rem; color: rgba(245,240,232,.88);
}
.hero-lm-free-list li i.check { color: #4ade80; font-size: .8rem; flex-shrink: 0; }
.hero-lm-soon-band {
  background: rgba(212,175,55,.07); border: 1px dashed rgba(212,175,55,.25);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 20px;
}
.hero-lm-soon-title { font-size: .7rem; color: rgba(212,175,55,.65); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.hero-lm-soon-list { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-lm-soon-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.2);
  border-radius: 50px; padding: 3px 11px;
  font-size: .72rem; color: rgba(212,175,55,.75); font-weight: 600;
}
.hero-lm-card-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--gold-gradient); color: var(--maroon-dark);
  font-weight: 800; font-size: .95rem; padding: 14px 20px; border-radius: 14px;
  text-decoration: none; width: 100%;
  box-shadow: 0 6px 24px rgba(212,175,55,.32);
  transition: transform .2s, box-shadow .2s;
}
.hero-lm-card-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(212,175,55,.44); color: var(--maroon-dark); }
.hero-lm-card-note { text-align: center; font-size: .72rem; color: rgba(255,255,255,.38); margin-top: 10px; }

/* ==========================================================================
   HERO — MAINTENANCE MODE  (.hero--maintenance)
   ========================================================================== */
@keyframes mh-gear-spin { to { transform: rotate(360deg); } }
@keyframes mh-gear-spin-rev { to { transform: rotate(-360deg); } }
@keyframes mh-pulse-dot {
  0%,100% { opacity: .3; transform: scale(.85); }
  50%     { opacity: 1; transform: scale(1); }
}
@keyframes mh-scan {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}
@keyframes mh-fadein {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero--maintenance { min-height: 100vh; display: flex; align-items: center; }
.hero-maint-wrap {
  max-width: 680px; margin: 0 auto; text-align: center; padding: 60px 24px;
  animation: mh-fadein .7s cubic-bezier(.22,1,.36,1) both;
}
.hero-maint-gears {
  position: relative; width: 110px; height: 110px; margin: 0 auto 32px;
}
.hero-maint-gear-l {
  position: absolute; top: 0; left: 0; width: 72px; height: 72px;
  color: rgba(212,175,55,.7); font-size: 4.2rem; line-height: 1;
  animation: mh-gear-spin 8s linear infinite;
}
.hero-maint-gear-s {
  position: absolute; bottom: 0; right: 0; width: 50px; height: 50px;
  color: rgba(212,175,55,.45); font-size: 2.8rem; line-height: 1;
  animation: mh-gear-spin-rev 5s linear infinite;
}
.hero-maint-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.3);
  border-radius: 50px; padding: 6px 20px; margin-bottom: 20px;
  font-size: .72rem; font-weight: 700; color: #d4af37; letter-spacing: 1.5px; text-transform: uppercase;
}
.hero-maint-badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #facc15;
  animation: mh-pulse-dot 1.4s ease-in-out infinite;
}
.hero-maint-h1 {
  font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3rem);
  color: #fff; font-weight: 900; margin-bottom: 14px; line-height: 1.1;
}
.hero-maint-h1 span { color: #d4af37; }
.hero-maint-lead {
  font-size: clamp(.9rem, 2vw, 1.05rem); color: rgba(245,240,232,.68);
  line-height: 1.75; margin-bottom: 34px; max-width: 520px; margin-left: auto; margin-right: auto;
}
.hero-maint-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(212,175,55,.22);
  border-radius: 18px; padding: 24px 28px; margin-bottom: 28px;
  backdrop-filter: blur(14px); text-align: left;
  overflow: hidden; position: relative;
}
.hero-maint-card::after {
  content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: var(--gold-gradient);
}
.hero-maint-progress-label { font-size: .75rem; color: rgba(212,175,55,.8); font-weight: 700; margin-bottom: 10px; letter-spacing: .5px; }
.hero-maint-progress-track { height: 8px; background: rgba(255,255,255,.1); border-radius: 50px; overflow: hidden; margin-bottom: 16px; }
.hero-maint-progress-fill {
  height: 100%; border-radius: 50px;
  background: linear-gradient(90deg, #b07820, #f0d060, #d4af37);
  background-size: 200% auto;
  animation: mh-scan 2s linear infinite;
  width: 72%;
}
.hero-maint-tasks { display: flex; flex-direction: column; gap: 8px; }
.hero-maint-task {
  display: flex; align-items: center; gap: 10px;
  font-size: .84rem; color: rgba(245,240,232,.75);
}
.hero-maint-task i.done  { color: #4ade80; font-size: .8rem; }
.hero-maint-task i.doing { color: #facc15; font-size: .8rem; animation: mh-pulse-dot 1.2s ease-in-out infinite; }
.hero-maint-task i.todo  { color: rgba(255,255,255,.25); font-size: .8rem; }
.hero-maint-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-maint-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 50px; font-weight: 700; font-size: .9rem;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.hero-maint-btn-primary {
  background: var(--gold-gradient); color: var(--maroon-dark);
  box-shadow: 0 6px 24px rgba(212,175,55,.3);
}
.hero-maint-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(212,175,55,.42); color: var(--maroon-dark); }
.hero-maint-btn-outline {
  background: rgba(255,255,255,.07); color: #f5dfa0;
  border: 1.5px solid rgba(212,175,55,.35);
}
.hero-maint-btn-outline:hover { background: rgba(212,175,55,.12); color: #f5dfa0; border-color: rgba(212,175,55,.6); }
.hero-maint-note { font-size: .78rem; color: rgba(255,255,255,.32); margin-top: 18px; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-control, .form-select {
  border: 1.5px solid var(--beige); border-radius: 10px; padding: .65rem .9rem;
  background: #fffdf8;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(212,175,55,.2);
}
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gold-dark); }
.input-icon .form-control { padding-left: 42px; }

/* ==========================================================================
   CARDS / GENERIC
   ========================================================================== */
.fancy-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--beige);
  box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden; height: 100%;
}
.fancy-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

/* Why choose us */
.feature-card { text-align: center; padding: 38px 26px; }
.feature-icon {
  width: 78px; height: 78px; border-radius: 22px; margin: 0 auto 20px;
  display: grid; place-items: center; font-size: 1.9rem; color: var(--maroon);
  background: var(--soft-beige); border: 1px solid var(--gold-light);
  transition: all .35s ease;
}
.feature-card:hover .feature-icon { background: var(--gold-gradient); color: var(--maroon-dark); transform: rotate(-6deg); }
.feature-card h4 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Profile cards ---------- */
.profile-card { position: relative; }
.profile-card .photo { position: relative; overflow: hidden; aspect-ratio: 3/3.4; }
.profile-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.profile-card:hover .photo img { transform: scale(1.07); }
.profile-card .badge-premium {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--gold-gradient); color: var(--maroon-dark); font-weight: 700;
  padding: 5px 12px; border-radius: 50px; font-size: .72rem; box-shadow: var(--shadow-gold);
}
.profile-card .verified {
  position: absolute; top: 12px; right: 12px; z-index: 2; color: #fff;
  background: rgba(0,128,0,.85); padding: 5px 10px; border-radius: 50px; font-size: .72rem;
}
.profile-card .body { padding: 18px 20px 22px; }
.profile-card .body h5 { margin: 0 0 4px; font-size: 1.2rem; }
.profile-card .meta { list-style: none; padding: 0; margin: 12px 0 16px; }
.profile-card .meta li { font-size: .9rem; color: var(--muted); margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.profile-card .meta li i { color: var(--gold-dark); width: 18px; }

/* ---------- Categories ---------- */
.category-card {
  display: block; text-align: center; padding: 30px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--beige); box-shadow: var(--shadow-sm);
  transition: all .35s ease; color: var(--ink); height: 100%;
}
.category-card:hover { background: var(--maroon-gradient); color: #fff; transform: translateY(-6px); border-color: var(--maroon); }
.category-card .cat-icon { font-size: 2.1rem; color: var(--gold); margin-bottom: 12px; }
.category-card h5 { font-size: 1.05rem; margin: 0 0 4px; transition: color .3s ease; }
.category-card:hover h5 { color: #fff; }
.category-card span { font-size: .82rem; color: var(--muted); }
.category-card:hover span { color: var(--gold-light); }

/* ---------- How it works ---------- */
.step-card { text-align: center; position: relative; padding: 20px; }
.step-num {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800;
  color: var(--maroon-dark); background: var(--gold-gradient); box-shadow: var(--shadow-gold);
  position: relative; z-index: 2;
}
.step-card h5 { font-size: 1.12rem; }
.step-card p { color: var(--muted); font-size: .92rem; }

/* ---------- Pricing ---------- */
.price-card { padding: 40px 32px; text-align: center; position: relative; }
.price-card.featured { border: 2px solid var(--gold); transform: scale(1.04); }
.price-card.featured::before {
  content: "Most Popular"; position: absolute; top: 18px; right: -42px;
  background: var(--gold-gradient); color: var(--maroon-dark); font-weight: 700; font-size: .72rem;
  padding: 6px 50px; transform: rotate(45deg);
}
.price-card .plan-name { font-size: 1.4rem; }
.price-card .price { font-family: var(--font-head); font-size: 2.6rem; color: var(--maroon); font-weight: 800; }
.price-card .price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0; text-align: left; }
.price-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--beige); font-size: .94rem; }
.price-card ul li i { color: var(--gold-dark); margin-right: 10px; }
.price-card ul li.no { color: #bbb; }
.price-card ul li.no i { color: #ddd; }

/* ---------- Testimonials / success ---------- */
.testimonial-card { padding: 30px; }
.testimonial-card .stars { color: var(--gold); margin-bottom: 12px; }
.testimonial-card p { font-style: italic; color: var(--ink); }
.testimonial-card .person { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.testimonial-card .person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.testimonial-card .person strong { color: var(--maroon); display: block; }
.testimonial-card .person span { font-size: .82rem; color: var(--muted); }

.story-card .photo { aspect-ratio: 4/3; overflow: hidden; }
.story-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.story-card:hover .photo img { transform: scale(1.06); }
.story-card .body { padding: 22px; }
.story-card .body h5 { margin-bottom: 6px; }
.story-card .body .date { color: var(--gold-dark); font-size: .82rem; font-weight: 600; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--maroon-gradient); color: #fff; position: relative; }
.stats-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(212,175,55,.22), transparent 40%);
}
.stat-item { text-align: center; position: relative; z-index: 2; padding: 16px; }
.stat-item .num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: var(--gold); }
.stat-item .lbl { letter-spacing: 1px; text-transform: uppercase; font-size: .82rem; color: #f0e2c4; }

/* ---------- App promo ---------- */
.app-promo { background: var(--cream); overflow: hidden; }
.app-badge {
  display: inline-flex; align-items: center; gap: 10px; background: var(--maroon-dark); color: #fff;
  padding: 10px 18px; border-radius: 12px; transition: transform .3s ease;
}
.app-badge:hover { transform: translateY(-3px); color: #fff; }
.app-badge i { font-size: 1.8rem; color: var(--gold); }
.app-badge small { display: block; font-size: .68rem; opacity: .8; }
.app-badge strong { font-size: 1.02rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; text-align: center; padding: 130px 0 70px;
  background: linear-gradient(rgba(60,0,0,.78), rgba(92,0,0,.82)),
    url('../img/about-banner.jpg') center/cover;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero .breadcrumb { justify-content: center; background: transparent; margin: 0; }
.page-hero .breadcrumb a { color: var(--gold-light); }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: var(--gold); }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 100vh; display: flex; }
.auth-visual {
  flex: 1; position: relative; color: #fff; display: none;
  background: linear-gradient(rgba(60,0,0,.6), rgba(92,0,0,.78)),
    url('../img/login.jpg') center/cover;
}
@media (min-width: 992px){ .auth-visual { display: flex; align-items: center; } }
.auth-visual .inner { padding: 60px; }
.auth-form-side { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--cream); }
.auth-card { width: 100%; max-width: 460px; background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); border-top: 4px solid var(--gold); }
.social-btn { width: 100%; border: 1.5px solid var(--beige); background: #fff; border-radius: 10px; padding: .6rem; font-weight: 600; transition: all .25s ease; }
.social-btn:hover { border-color: var(--gold); background: var(--soft-beige); }
.divider-or { display: flex; align-items: center; gap: 14px; color: var(--muted); margin: 22px 0; }
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--beige); }

/* ---------- Multi-step register ---------- */
.steps-nav { display: flex; justify-content: space-between; margin-bottom: 36px; position: relative; }
.steps-nav::before { content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 3px; background: var(--beige); z-index: 0; }
.step-dot { text-align: center; position: relative; z-index: 1; flex: 1; }
.step-dot .circle {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--beige); color: var(--muted); font-weight: 700; transition: all .3s ease;
}
.step-dot.active .circle, .step-dot.done .circle { background: var(--gold-gradient); border-color: var(--gold); color: var(--maroon-dark); }
.step-dot .label { font-size: .78rem; color: var(--muted); font-weight: 600; }
.step-dot.active .label { color: var(--maroon); }
.form-step { display: none; animation: fadeIn .4s ease; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.photo-upload {
  border: 2px dashed var(--gold-light); border-radius: var(--radius); padding: 30px; text-align: center;
  cursor: pointer; transition: all .25s ease; background: var(--soft-beige);
}
.photo-upload:hover { border-color: var(--gold); background: var(--cream); }
.photo-upload i { font-size: 2.4rem; color: var(--gold-dark); }

/* ==========================================================================
   INDEX PAGE — Premium Sections  (ix- namespace)
   ========================================================================== */

/* ---- Quick Search Band ---- */
.ix-search-band {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, #6b1a2e 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.ix-search-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(212,175,55,.15), transparent 50%);
  pointer-events: none;
}
.ix-search-inner {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 40px 48px;
  backdrop-filter: blur(6px);
}
.ix-search-title { text-align: center; margin-bottom: 30px; }
.ix-search-title > i { font-size: 2rem; color: var(--gold); margin-bottom: 10px; display: block; }
.ix-search-title h3 { color: #fff; font-family: var(--font-head); font-size: 1.7rem; margin-bottom: 6px; }
.ix-search-title p { color: rgba(255,255,255,.55); margin: 0; font-size: .95rem; }
.ix-field-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
}
@media (max-width: 991px) { .ix-field-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ix-search-inner { padding: 24px 20px; } }
.ix-sfield label {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.ix-sfield label i { color: var(--gold); margin-right: 5px; }
.ix-sel {
  width: 100%;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: #fff;
  padding: 11px 36px 11px 14px;
  font-size: .88rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4af37' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.ix-sel:focus { outline: none; border-color: var(--gold); background-color: rgba(255,255,255,.15); }
.ix-sel option { background: #5c0000; color: #fff; }
/* Text inputs sharing .ix-sel class — remove select-only styles */
input.ix-sel {
  background-image: none;
  padding-right: 14px;
  cursor: text;
}
input.ix-sel::placeholder { color: rgba(255,255,255,.38); }
.ix-sbtn {
  width: 100%;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ix-sbtn:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(212,175,55,.45); }

/* ---- Feature Cards (Why Choose Us) ---- */
.ix-feat-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px 28px 38px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 24px rgba(74,14,31,.06);
  border: 1.5px solid rgba(212,175,55,.1);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}
.ix-feat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.ix-feat-card:hover { transform: translateY(-10px); box-shadow: 0 24px 56px rgba(74,14,31,.14); }
.ix-feat-card:hover::after { transform: scaleX(1); }
.ix-feat-num {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(212,175,55,.1);
  line-height: 1;
  pointer-events: none;
}
.ix-feat-ico {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff9e2 0%, #fde9a0 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  color: var(--maroon);
  margin: 0 auto 20px;
  transition: background .35s ease, transform .35s ease;
  box-shadow: 0 4px 14px rgba(212,175,55,.2);
}
.ix-feat-card:hover .ix-feat-ico { background: var(--gold-gradient); transform: rotate(-6deg) scale(1.08); }
.ix-feat-card h4 { font-size: 1.18rem; margin-bottom: 10px; }
.ix-feat-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---- Stats Band (ix-) ---- */
.ix-stats-band {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, #7a1228 55%, #4a0e1f 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.ix-stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(212,175,55,.22), transparent 60%);
  pointer-events: none;
}
.ix-stats-band::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(212,175,55,0.12)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.ix-stat-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}
.ix-stat-item { text-align: center; padding: 16px 44px; flex: 1 1 200px; position: relative; }
.ix-stat-item + .ix-stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: rgba(212,175,55,.35);
}
@media (max-width: 575px) {
  .ix-stat-item + .ix-stat-item::before { display: none; }
  .ix-stat-item { padding: 16px 24px; }
}
.ix-stat-ico { font-size: 1.3rem; color: rgba(212,175,55,.4); margin-bottom: 10px; display: block; }
.ix-stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.ix-stat-lbl { font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(240,226,196,.8); }

/* Launch-mode variant — deeper gradient with rocket-gold accent */
.ix-stats-band--launch {
  background: linear-gradient(135deg, #1a0508 0%, #2c0a10 50%, #1a0508 100%);
}
.ix-stats-band--launch::before {
  background: radial-gradient(ellipse at 50% -10%, rgba(212,175,55,.3), transparent 65%);
}

/* ---- Plan Cards (ix-) ---- */
.ix-plan-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(74,14,31,.07);
  border: 1.5px solid rgba(212,175,55,.12);
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}
.ix-plan-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(74,14,31,.15); }
.ix-plan-card.featured { border-color: var(--gold); box-shadow: 0 8px 40px rgba(212,175,55,.22); transform: scale(1.03); }
.ix-plan-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.ix-plan-hd {
  padding: 30px 30px 22px;
  text-align: center;
  background: var(--soft-beige);
  position: relative;
  overflow: hidden;
}
.ix-plan-card.featured .ix-plan-hd { background: var(--maroon-gradient); }
.ix-plan-ribbon {
  position: absolute;
  top: 18px; right: -34px;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  font-size: .7rem;
  font-weight: 700;
  padding: 5px 50px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}
.ix-plan-name { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; margin-bottom: 6px; }
.ix-plan-card:not(.featured) .ix-plan-name { color: var(--maroon); }
.ix-plan-card.featured .ix-plan-name { color: var(--gold-light); }
.ix-plan-price { font-family: var(--font-head); font-size: 2.7rem; font-weight: 800; line-height: 1.1; }
.ix-plan-card:not(.featured) .ix-plan-price { color: var(--maroon); }
.ix-plan-card.featured .ix-plan-price { color: #fff; }
.ix-plan-price small { font-size: 1rem; font-weight: 400; opacity: .7; }
.ix-plan-body { padding: 26px 30px 30px; }
.ix-plan-features { list-style: none; padding: 0; margin: 0 0 26px; }
.ix-plan-features li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--beige);
  font-size: .93rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ix-plan-features li:last-child { border-bottom: none; }
.ix-plan-features li i.fa-check { color: #16a34a; }
.ix-plan-features li i.fa-xmark { color: #d1d5db; }
.ix-plan-features li.no { color: #c8c8c8; }
a.ix-plan-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .97rem;
  transition: all .3s ease;
  text-decoration: none;
}
a.ix-plan-cta.gold { background: var(--gold-gradient); color: var(--maroon-dark); }
a.ix-plan-cta.gold:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); color: var(--maroon-dark); }
a.ix-plan-cta.maroon { background: var(--maroon-gradient); color: #fff; }
a.ix-plan-cta.maroon:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: #fff; }
a.ix-plan-cta.outline { background: transparent; color: var(--maroon); border: 2px solid var(--gold); }
a.ix-plan-cta.outline:hover { background: var(--gold-gradient); color: var(--maroon-dark); }
@media (max-width: 575px) { .ix-plan-card.featured { transform: none; } }

/* =========================================================
   PREMIUM PLANS SECTION  (ks-plans-*)
   ========================================================= */
.ks-plans-section {
  position: relative;
  padding: 110px 0 100px;
  background: #0e0203;
  overflow: hidden;
}

/* Ambient orbs */
.ks-plans-bg { position: absolute; inset: 0; pointer-events: none; }
.ks-plans-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
}
.ks-plans-orb--1 { width: 560px; height: 560px; background: #5a0e0e; top: -180px; left: -140px; }
.ks-plans-orb--2 { width: 420px; height: 420px; background: rgba(212,175,55,.22); bottom: -120px; right: -80px; }
.ks-plans-orb--3 { width: 300px; height: 300px; background: #3a0808; top: 40%; left: 50%; transform: translateX(-50%); opacity: .35; }

/* Section header */
.ks-plans-head { text-align: center; margin-bottom: 60px; }
.ks-plans-eyebrow {
  display: inline-flex; align-items: center;
  font-size: .72rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.ks-plans-title {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.15;
}
.ks-plans-sub {
  color: rgba(255,255,255,.55); font-size: .98rem;
  max-width: 500px; margin: 0 auto; line-height: 1.65;
}

/* Grid */
.ks-plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: center;
}

/* Base card */
.ks-plan {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 28px;
  padding: 36px 28px 32px;
  text-align: center;
  transition: transform .32s ease, box-shadow .32s ease;
  overflow: hidden;
}
.ks-plan:hover { transform: translateY(-7px); }
.ks-plan--dim { opacity: .5; pointer-events: none; }

/* Gold / Featured card */
.ks-plan--gold {
  background: linear-gradient(155deg, #1f0808 0%, #130404 55%, #0a0101 100%);
  border: 1.5px solid rgba(212,175,55,.55);
  box-shadow: 0 0 0 1px rgba(212,175,55,.12), 0 28px 72px rgba(0,0,0,.55);
  transform: scale(1.05);
  z-index: 2;
}
.ks-plan--gold:hover { transform: scale(1.05) translateY(-7px); }

/* Rotating glow ring behind featured card */
.ks-plan-glow-ring {
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: conic-gradient(from 0deg, transparent 60%, rgba(212,175,55,.55) 75%, transparent 90%);
  animation: ks-ring-spin 5s linear infinite;
  z-index: -1;
}
@keyframes ks-ring-spin { to { transform: rotate(360deg); } }

/* Shimmer sweep on gold card */
.ks-plan--gold::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(110deg, transparent 35%, rgba(212,175,55,.07) 50%, transparent 65%);
  background-size: 220% 100%;
  animation: ks-shimmer 3.5s ease infinite;
  pointer-events: none;
}
@keyframes ks-shimmer {
  0%   { background-position: 220% 0; }
  100% { background-position: -220% 0; }
}

/* Elite / Premium Plus */
.ks-plan--elite {
  background: linear-gradient(155deg, #180606 0%, #0e0303 100%);
  border: 1px solid rgba(160,40,40,.45);
}

/* Badge */
.ks-plan-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  font-size: .65rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 15px; border-radius: 50px;
  margin-bottom: 22px;
}
.ks-plan-badge--ruby {
  background: var(--maroon-gradient);
  color: #fff;
}

/* Icon circle */
.ks-plan-icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(212,175,55,.1);
  border: 1px solid rgba(212,175,55,.22);
  display: grid; place-items: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform .3s ease;
}
.ks-plan:hover .ks-plan-icon { transform: scale(1.1) rotate(-6deg); }
.ks-plan--elite .ks-plan-icon {
  background: rgba(160,40,40,.15);
  border-color: rgba(160,40,40,.35);
  color: #e07070;
}
.ks-plan:not(.ks-plan--gold):not(.ks-plan--elite) .ks-plan-icon {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  color: rgba(212,175,55,.75);
}

/* Plan name */
.ks-plan-name {
  font-family: var(--font-head);
  font-size: 1.2rem; font-weight: 700; letter-spacing: .4px;
  color: rgba(255,255,255,.88);
  margin-bottom: 16px;
}

/* Price row */
.ks-plan-price-row {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 2px; line-height: 1; margin-bottom: 6px;
}
.ks-plan-cur {
  font-size: 1.2rem; font-weight: 700;
  color: var(--gold); padding-top: 7px;
}
.ks-plan-amt {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  color: #fff; letter-spacing: -1px;
}
.ks-plan--gold .ks-plan-amt { color: var(--gold-light); }
.ks-plan-per {
  font-size: .78rem; color: rgba(255,255,255,.4);
  align-self: flex-end; padding-bottom: 7px; white-space: nowrap;
}
.ks-blurred { filter: blur(6px); user-select: none; }

/* Divider */
.ks-plan-rule {
  border: none; border-top: 1px solid rgba(255,255,255,.07); margin: 22px 0;
}
.ks-plan--gold .ks-plan-rule { border-color: rgba(212,175,55,.18); }

/* Feature list */
.ks-plan-feats {
  list-style: none; padding: 0; margin: 0 0 28px; text-align: left;
}
.ks-plan-feats li {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 0; font-size: .875rem;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.ks-plan-feats li:last-child { border-bottom: none; }
.ks-plan-feats li.no { color: rgba(255,255,255,.28); }
.kf-ico {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: .6rem;
}
.yes .kf-ico { background: rgba(74,222,128,.14); color: #4ade80; }
.no  .kf-ico { background: rgba(255,255,255,.06); color: rgba(255,255,255,.22); }
.ks-plan-feats li strong { color: #fff; }

/* CTA button */
.ks-plan-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 13px 20px; border-radius: 14px;
  font-weight: 700; font-size: .88rem; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, color .2s;
  cursor: pointer; border: none;
}
.ks-plan-btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(212,175,55,.3);
  color: rgba(255,255,255,.55);
}
.ks-plan-btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.ks-plan-btn--gold {
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  box-shadow: 0 4px 22px rgba(212,175,55,.3);
}
.ks-plan-btn--gold:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(212,175,55,.5); color: var(--maroon-dark); }
.ks-plan-btn--ruby {
  background: var(--maroon-gradient);
  color: #fff;
  box-shadow: 0 4px 22px rgba(139,26,26,.35);
}
.ks-plan-btn--ruby:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(139,26,26,.55); color: #fff; }

/* Footnote */
.ks-plans-note {
  text-align: center; margin-top: 40px;
  color: rgba(255,255,255,.35); font-size: .82rem;
}
.ks-plans-note strong { color: rgba(255,255,255,.55); }

/* Responsive */
@media (max-width: 991px) {
  .ks-plans-grid { grid-template-columns: 1fr 1fr; }
  .ks-plan--gold { grid-column: 1 / -1; transform: none; max-width: 440px; margin: 0 auto; width: 100%; }
  .ks-plan--gold:hover { transform: translateY(-7px); }
}
@media (max-width: 575px) {
  .ks-plans-grid { grid-template-columns: 1fr; }
  .ks-plan--gold { grid-column: auto; max-width: 100%; }
  .ks-plans-section { padding: 72px 0 64px; }
  .ks-plan { padding: 30px 22px 26px; }
}

/* ---- Category Cards (ix-) ---- */
.ix-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  border: 1.5px solid rgba(212,175,55,.14);
  box-shadow: 0 2px 16px rgba(74,14,31,.05);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.ix-cat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--maroon-gradient);
  opacity: 0;
  transition: opacity .35s ease;
}
.ix-cat-card:hover::before { opacity: 1; }
.ix-cat-card:hover { transform: translateY(-8px); box-shadow: 0 18px 44px rgba(74,14,31,.2); color: #fff; }
.ix-cat-ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef7dd, #fde9a0);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem;
  color: var(--maroon);
  margin-bottom: 14px;
  position: relative; z-index: 1;
  transition: background .35s ease, color .35s ease;
}
.ix-cat-card:hover .ix-cat-ico { background: rgba(255,255,255,.15); color: var(--gold-light); }
.ix-cat-card h5 { font-size: 1rem; margin: 0 0 4px; position: relative; z-index: 1; }
.ix-cat-card span { font-size: .8rem; color: var(--muted); position: relative; z-index: 1; transition: color .35s ease; }
.ix-cat-card:hover span { color: rgba(255,255,255,.7); }

/* ---- Flag variant for country cards ---- */
.ix-cat-ico.ix-flag {
  background: none;
  border: 3px solid rgba(212,175,55,.22);
  box-shadow: 0 3px 14px rgba(74,14,31,.1);
  overflow: hidden;
  padding: 0;
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.ix-cat-ico.ix-flag .fi {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: block;
  border-radius: 0;
}
.ix-cat-card:hover .ix-cat-ico.ix-flag {
  border-color: rgba(212,175,55,.6);
  box-shadow: 0 0 0 3px rgba(212,175,55,.25), 0 6px 20px rgba(74,14,31,.18);
  background: none;
  transform: scale(1.08);
}

/* =========================================================
   GLOBAL COMMUNITIES — PREMIUM  (ks-world-*)
   ========================================================= */
.ks-world-section {
  position: relative;
  padding: 110px 0 100px;
  background: linear-gradient(160deg, #0f0101 0%, #1a0404 40%, #120202 100%);
  overflow: hidden;
}

/* Background elements */
.ks-world-bg { position: absolute; inset: 0; pointer-events: none; }
.ks-world-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: .4;
}
.ks-world-orb--1 { width: 640px; height: 640px; background: #4a0a0a; top: -200px; right: -180px; }
.ks-world-orb--2 { width: 480px; height: 480px; background: rgba(212,175,55,.15); bottom: -160px; left: -120px; }
.ks-world-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(212,175,55,.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Header */
.ks-world-head { text-align: center; margin-bottom: 48px; }
.ks-world-eyebrow {
  display: inline-flex; align-items: center;
  font-size: .72rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.ks-world-title {
  font-family: var(--font-head); font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.15;
}
.ks-world-sub {
  color: rgba(255,255,255,.5); font-size: .97rem;
  max-width: 500px; margin: 0 auto; line-height: 1.65;
}
.ks-world-sub strong { color: var(--gold); }

/* Stats bar */
.ks-world-stats {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 20px 36px;
  margin-bottom: 40px;
}
.ks-world-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 36px;
}
.ks-world-stat-num {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  color: var(--gold); line-height: 1;
}
.ks-world-stat-plus { font-size: 1.2rem; }
.ks-world-stat-lbl {
  font-size: .72rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin-top: 5px;
}
.ks-world-stat-sep {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.1);
}

/* Sri Lanka hero card */
.ks-world-hero {
  display: flex; align-items: center; gap: 32px;
  background: linear-gradient(120deg, rgba(139,26,26,.35) 0%, rgba(30,4,4,.6) 60%, rgba(212,175,55,.08) 100%);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 24px;
  padding: 32px 36px;
  margin-bottom: 24px;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.ks-world-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(212,175,55,.06) 100%);
  transition: opacity .3s ease; opacity: 0;
}
.ks-world-hero:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.4); border-color: rgba(212,175,55,.6); }
.ks-world-hero:hover::before { opacity: 1; }
.ks-world-hero-flag {
  position: relative; flex-shrink: 0;
  width: 96px; height: 96px; border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(212,175,55,.45);
  box-shadow: 0 0 0 6px rgba(212,175,55,.1), 0 8px 28px rgba(0,0,0,.4);
}
.ks-world-hero-flag .fi {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  display: block; transform: scale(1.08);
}
.ks-world-hero-flag-glow {
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 50%, rgba(212,175,55,.5) 70%, transparent 90%);
  animation: ks-ring-spin 4s linear infinite;
  z-index: -1;
}
.ks-world-hero-body { flex: 1; min-width: 0; }
.ks-world-hero-tag {
  display: inline-flex; align-items: center;
  font-size: .68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 50px; padding: 3px 12px;
  margin-bottom: 8px;
}
.ks-world-hero-name {
  font-family: var(--font-head); font-size: 1.75rem; font-weight: 800;
  color: #fff; margin: 0 0 6px; line-height: 1.1;
}
.ks-world-hero-cities {
  font-size: .875rem; color: rgba(255,255,255,.45);
  margin: 0; line-height: 1.5;
}
.ks-world-hero-arrow {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.25);
  display: grid; place-items: center;
  color: var(--gold); font-size: .95rem;
  transition: background .3s ease, transform .3s ease;
}
.ks-world-hero:hover .ks-world-hero-arrow {
  background: var(--gold-gradient); color: var(--maroon-dark);
  transform: translateX(4px);
}

/* Country grid */
.ks-world-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 44px;
}
.ks-country-card {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 22px 12px 18px;
  text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
  text-align: center;
  position: relative; overflow: hidden;
}
.ks-country-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 18px;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,.12) 0%, transparent 70%);
  opacity: 0; transition: opacity .3s ease;
}
.ks-country-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,.45);
  background: rgba(212,175,55,.06);
  box-shadow: 0 12px 36px rgba(0,0,0,.4), 0 0 0 1px rgba(212,175,55,.15);
}
.ks-country-card:hover::after { opacity: 1; }
.ks-country-flag {
  width: 54px; height: 54px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(255,255,255,.12);
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  margin-bottom: 12px; flex-shrink: 0;
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
  position: relative; z-index: 1;
}
.ks-country-flag .fi {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  display: block; transform: scale(1.08);
}
.ks-country-card:hover .ks-country-flag {
  border-color: rgba(212,175,55,.6);
  box-shadow: 0 0 0 4px rgba(212,175,55,.18), 0 6px 20px rgba(0,0,0,.4);
  transform: scale(1.06);
}
.ks-country-name {
  font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.85);
  margin-bottom: 4px; line-height: 1.2; position: relative; z-index: 1;
  transition: color .28s ease;
}
.ks-country-card:hover .ks-country-name { color: var(--gold-light); }
.ks-country-cities {
  font-size: .7rem; color: rgba(255,255,255,.3);
  line-height: 1.3; position: relative; z-index: 1;
}

/* Bottom CTA */
.ks-world-footer { text-align: center; }
.ks-world-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1.5px solid rgba(212,175,55,.4);
  color: var(--gold);
  padding: 14px 36px; border-radius: 50px;
  font-weight: 700; font-size: .9rem;
  text-decoration: none;
  transition: background .28s ease, border-color .28s ease, color .28s ease, transform .28s ease, box-shadow .28s ease;
}
.ks-world-cta-btn:hover {
  background: var(--gold-gradient); border-color: transparent;
  color: var(--maroon-dark); transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(212,175,55,.35);
}

/* Responsive */
@media (max-width: 1199px) { .ks-world-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 991px) {
  .ks-world-grid { grid-template-columns: repeat(4, 1fr); }
  .ks-world-stat { padding: 0 24px; }
}
@media (max-width: 767px) {
  .ks-world-hero { flex-direction: column; text-align: center; gap: 20px; padding: 28px 24px; }
  .ks-world-hero-arrow { display: none; }
  .ks-world-grid { grid-template-columns: repeat(3, 1fr); }
  .ks-world-stats { padding: 16px 20px; gap: 8px; }
  .ks-world-stat { padding: 8px 16px; }
  .ks-world-stat-sep { display: none; }
}
@media (max-width: 575px) {
  .ks-world-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ks-world-section { padding: 72px 0 64px; }
  .ks-world-stat-num { font-size: 1.5rem; }
  .ks-country-flag { width: 44px; height: 44px; }
  .ks-country-name { font-size: .76rem; }
  .ks-country-cities { display: none; }
}

/* ---- How It Works — Premium redesign (ix-hiw) ---- */
.ix-hiw-section {
  background: linear-gradient(160deg, #0c0101 0%, #2c0808 45%, #1a0404 100%);
  position: relative;
  overflow: hidden;
}
/* Subtle gold dot pattern */
.ix-hiw-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212,175,55,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
/* Gold shimmer top accent */
.ix-hiw-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #c9930a 25%, #f0d060 50%, #c9930a 75%, transparent);
  z-index: 2;
}
/* Section title overrides for dark bg */
.ix-hiw-head .eyebrow.ix-hiw-eyebrow { color: rgba(212,175,55,.75); }
.ix-hiw-head h2.ix-hiw-h2           { color: #fff; }
.ix-hiw-head .ornament.ix-hiw-ornament { color: rgba(212,175,55,.45); border-color: rgba(212,175,55,.18); }
.ix-hiw-head p.ix-hiw-sub           { color: rgba(255,255,255,.58); }

/* Grid: 5 step columns + 4 narrow connector columns */
.ix-hiw-grid {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr 48px 1fr;
  align-items: start;
  gap: 0;
  margin-top: 16px;
}

/* Connector between steps: short lines flanking a double-chevron */
.ix-hiw-conn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 80px; /* aligns midpoint with icon centres */
  color: rgba(212,175,55,.42);
  overflow: hidden;
}
.ix-hiw-conn-line {
  display: block;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212,175,55,.12), rgba(212,175,55,.38));
  min-width: 6px;
}
.ix-hiw-conn-line:last-child {
  background: linear-gradient(90deg, rgba(212,175,55,.38), rgba(212,175,55,.12));
}
.ix-hiw-conn i {
  font-size: .65rem;
  flex-shrink: 0;
  padding: 0 3px;
}

/* Individual step */
.ix-hiw-step {
  padding: 44px 18px 36px;
  text-align: center;
  position: relative;
}

/* Large faded watermark number */
.ix-hiw-bg-num {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 108px;
  font-weight: 900;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
  color: rgba(212,175,55,.04);
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
  white-space: nowrap;
}

/* Icon container */
.ix-hiw-ico-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.ix-hiw-ico {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,.16) 0%, rgba(212,175,55,.06) 100%);
  border: 2px solid rgba(212,175,55,.4);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #d4af37;
  box-shadow: 0 0 0 8px rgba(212,175,55,.04), 0 10px 28px rgba(0,0,0,.5);
  transition: background .4s ease, color .4s ease, transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.ix-hiw-step:hover .ix-hiw-ico {
  background: linear-gradient(135deg, #d4af37 0%, #f0d060 100%);
  color: #2c0808;
  border-color: #f0d060;
  transform: scale(1.12) translateY(-5px);
  box-shadow: 0 0 0 12px rgba(212,175,55,.08), 0 18px 36px rgba(212,175,55,.22);
}

/* Step badge pill */
.ix-hiw-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #d4af37;
  background: rgba(212,175,55,.1);
  border: 1px solid rgba(212,175,55,.22);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* Step heading & description */
.ix-hiw-step h4 {
  font-size: 1.05rem;
  font-family: Georgia, 'Times New Roman', serif;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}
.ix-hiw-step p {
  font-size: .84rem;
  color: rgba(255,255,255,.52);
  margin: 0;
  line-height: 1.75;
}

/* CTA row */
.ix-hiw-cta {
  text-align: center;
  margin-top: 56px;
}

/* Responsive */
@media (max-width: 1199px) {
  .ix-hiw-grid { grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr; }
  .ix-hiw-step { padding: 36px 10px 28px; }
  .ix-hiw-step h4 { font-size: .96rem; }
  .ix-hiw-conn { padding-top: 70px; }
}
@media (max-width: 991px) {
  .ix-hiw-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ix-hiw-conn { display: none; }
  .ix-hiw-step { padding: 32px 16px 26px; }
}
@media (max-width: 575px) {
  .ix-hiw-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ix-hiw-step { padding: 28px 12px 22px; }
  .ix-hiw-bg-num { font-size: 70px; }
  .ix-hiw-ico { width: 60px; height: 60px; font-size: 1.1rem; }
  .ix-hiw-cta .btn { display: block; width: 100%; margin: 0 0 10px !important; }
}

/* ---- How It Works — legacy (ix-step) ---- */
.ix-step-wrap {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  position: relative;
}
.ix-step-wrap::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 15%, var(--gold) 85%, transparent 100%);
  opacity: .3;
}
@media (max-width: 767px) { .ix-step-wrap::before { display: none; } }
.ix-step { flex: 1 1 150px; max-width: 190px; text-align: center; padding: 16px 12px; }
.ix-step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-gold);
  position: relative; z-index: 1;
  transition: transform .35s ease;
}
.ix-step:hover .ix-step-num { transform: scale(1.12) rotate(-5deg); }
.ix-step h5 { font-size: 1.05rem; margin-bottom: 7px; }
.ix-step p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---- Story Cards (ix-) ---- */
.ix-story-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(74,14,31,.07);
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}
.ix-story-card:hover { transform: translateY(-8px); box-shadow: 0 22px 54px rgba(74,14,31,.15); }
.ix-story-photo { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.ix-story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ix-story-card:hover .ix-story-photo img { transform: scale(1.07); }
.ix-story-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(74,14,31,.72) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 16px 18px;
}
.ix-story-date-badge {
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  font-size: .74rem; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
}
.ix-story-body { padding: 20px 22px 24px; }
.ix-story-body h5 { font-size: 1.1rem; margin-bottom: 10px; }
.ix-story-body p {
  color: var(--muted); font-size: .9rem; margin: 0;
  font-style: italic; position: relative; padding-left: 22px;
}
.ix-story-body p::before {
  content: '\201C';
  position: absolute; left: 0; top: -4px;
  font-family: var(--font-head); font-size: 2rem; color: var(--gold); line-height: 1;
}

/* ---- Testimonials (ix-) ---- */
.ix-testimonial {
  background: #fff;
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: 0 4px 24px rgba(74,14,31,.07);
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--gold);
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}
.ix-testimonial:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(74,14,31,.13); }
.ix-testimonial::before {
  content: '\201C';
  position: absolute; top: -14px; right: 16px;
  font-family: var(--font-head); font-size: 7rem; color: rgba(212,175,55,.1); line-height: 1; pointer-events: none;
}
.ix-t-stars { color: var(--gold); margin-bottom: 14px; }
.ix-t-quote { font-style: italic; color: var(--ink); margin-bottom: 20px; font-size: .95rem; line-height: 1.7; }
.ix-t-person { display: flex; align-items: center; gap: 14px; }
.ix-t-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.ix-t-person strong { color: var(--maroon); display: block; font-size: .95rem; margin-bottom: 2px; }
.ix-t-person span { font-size: .8rem; color: var(--muted); }

/* ---- Trust features (ix-) ---- */
.ix-trust-feat { display: flex; gap: 18px; margin-bottom: 22px; align-items: flex-start; }
.ix-trust-ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #fef7dd, #fde9a0);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--maroon); flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(212,175,55,.2);
}
.ix-trust-feat h5 { font-size: 1rem; margin-bottom: 4px; }
.ix-trust-feat p { color: var(--muted); margin: 0; font-size: .88rem; }

/* ---- App badges + promo (ix-) ---- */
.ix-app-promo { background: var(--cream); overflow: hidden; }
.ix-app-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--maroon-dark);
  border: 1.5px solid rgba(212,175,55,.3);
  border-radius: 14px; padding: 12px 22px;
  color: #fff; text-decoration: none;
  transition: all .3s ease;
}
.ix-app-badge:hover { transform: translateY(-4px); color: #fff; background: #3d0b1a; box-shadow: 0 12px 32px rgba(74,14,31,.3); border-color: var(--gold); }
.ix-app-badge i { font-size: 1.8rem; color: var(--gold); }
.ix-app-badge small { display: block; font-size: .68rem; opacity: .7; }
.ix-app-badge strong { font-size: 1rem; display: block; }

/* ---- Cultural matchmaking feature cards (ix-cult) ---- */
.ix-cult-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  height: 100%;
  border: 1.5px solid var(--beige);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ix-cult-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.ix-cult-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(74,14,31,.12); border-color: rgba(212,175,55,.4); }
.ix-cult-card:hover::before { transform: scaleX(1); }
.ix-cult-ico {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212,175,55,.12), rgba(212,175,55,.05));
  border: 1.5px solid rgba(212,175,55,.25);
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-size: 1.35rem;
  color: var(--maroon);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.ix-cult-card:hover .ix-cult-ico { background: var(--gold-gradient); color: var(--maroon-dark); transform: scale(1.08) rotate(-5deg); }
.ix-cult-card h4 { font-size: 1.06rem; margin-bottom: 10px; color: var(--maroon-dark); }
.ix-cult-card p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.65; }

/* ---- Blog cards (ix-) ---- */
.ix-blog-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(74,14,31,.07);
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}
.ix-blog-card:hover { transform: translateY(-8px); box-shadow: 0 22px 54px rgba(74,14,31,.15); }
.ix-blog-photo { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.ix-blog-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ix-blog-card:hover .ix-blog-photo img { transform: scale(1.06); }
.ix-blog-cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--maroon-gradient); color: #fff;
  font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; letter-spacing: .5px;
}
.ix-blog-body { padding: 22px 24px 26px; }
.ix-blog-body h5 { font-size: 1.08rem; margin-bottom: 10px; line-height: 1.4; }
.ix-blog-body p { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.ix-blog-read {
  color: var(--maroon); font-weight: 700; text-decoration: none;
  font-size: .9rem; display: inline-flex; align-items: center; gap: 6px;
  transition: gap .25s, color .25s;
}
.ix-blog-read:hover { color: var(--maroon-dark); gap: 12px; }

/* ---- CTA Band (ix-) ---- */
.ix-cta {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, #7a1228 50%, #4a0e1f 100%);
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
.ix-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(212,175,55,.22), transparent 56%);
  pointer-events: none;
}
.ix-cta-dots {
  position: absolute; border-radius: 50%;
  border: 2px dashed rgba(212,175,55,.2); pointer-events: none;
}
.ix-cta-dots.d1 { width: 320px; height: 320px; top: -100px; left: -80px; }
.ix-cta-dots.d2 { width: 220px; height: 220px; bottom: -90px; right: -50px; }
.ix-cta-inner { position: relative; z-index: 2; text-align: center; }
.ix-cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.ix-cta-inner p { color: rgba(240,226,196,.85); margin-bottom: 34px; font-size: 1.05rem; }
.ix-cta-inner .btn-gold { padding: 16px 48px; font-size: 1.08rem; }

/* ==========================================================================
   ABOUT PAGE — Premium  (ab- namespace)
   ========================================================================== */

/* ---- Page hero ---- */
.ab-hero {
  position: relative;
  padding: 130px 0 80px;
  background: linear-gradient(rgba(46,0,0,.84), rgba(76,0,0,.9)),
    url('../img/about-banner.jpg') center/cover no-repeat;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.ab-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,.2), transparent 55%);
  pointer-events: none;
}
.ab-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,.14);
  border: 1px solid rgba(212,175,55,.38);
  color: var(--gold-light);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.ab-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; margin-bottom: 14px; }
.ab-hero-sub { color: rgba(255,255,255,.65); max-width: 560px; margin: 0 auto 26px; font-size: 1.02rem; }
.ab-hero .breadcrumb { justify-content: center; background: transparent; margin: 0; }
.ab-hero .breadcrumb a { color: var(--gold-light); }
.ab-hero .breadcrumb-item.active { color: rgba(255,255,255,.55); }
.ab-hero .breadcrumb-item + .breadcrumb-item::before { color: var(--gold); }

/* ---- Our Story check items ---- */
.ab-check-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 480px) { .ab-check-list { grid-template-columns: 1fr; } }
.ab-check-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--soft-beige);
  border-radius: 12px; padding: 12px 16px;
  border: 1px solid rgba(212,175,55,.15);
}
.ab-check-ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon-dark); font-size: .9rem; flex-shrink: 0;
}
.ab-check-item span { font-size: .93rem; font-weight: 600; color: var(--ink); }

/* ---- Mission / Vision cards ---- */
.ab-mv-card {
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 4px 28px rgba(74,14,31,.08);
  border: 1.5px solid rgba(212,175,55,.12);
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.ab-mv-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(74,14,31,.15); }
.ab-mv-hd {
  background: var(--maroon-gradient); padding: 28px 30px 22px;
  position: relative; overflow: hidden;
}
.ab-mv-hd::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% -10%, rgba(212,175,55,.22), transparent 55%);
}
.ab-mv-ico {
  width: 60px; height: 60px; border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(212,175,55,.38);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--gold-light);
  position: relative; z-index: 1; margin-bottom: 14px;
}
.ab-mv-hd h3 { color: #fff; font-size: 1.4rem; margin: 0; position: relative; z-index: 1; }
.ab-mv-body { padding: 24px 28px 28px; }
.ab-mv-body p { color: var(--muted); margin: 0; line-height: 1.85; font-size: .96rem; }

/* ===== OUR JOURNEY SECTION ===== */
.ks-journey-section {
  position: relative;
  padding: 110px 0 100px;
  background: linear-gradient(160deg, #0f0101 0%, #1a0404 55%, #0e0203 100%);
  overflow: hidden;
}
.ks-journey-bg { position: absolute; inset: 0; pointer-events: none; }
.ks-journey-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: .5;
}
.ks-journey-orb--1 {
  width: 480px; height: 480px; top: -120px; left: -140px;
  background: radial-gradient(circle, rgba(139,26,26,.55), transparent 70%);
}
.ks-journey-orb--2 {
  width: 360px; height: 360px; bottom: -80px; right: -100px;
  background: radial-gradient(circle, rgba(212,175,55,.14), transparent 70%);
}
.ks-journey-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(212,175,55,.065) 1px, transparent 1px);
  background-size: 28px 28px;
}
.ks-journey-head { text-align: center; margin-bottom: 72px; }
.ks-journey-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: #D4AF37;
  background: rgba(212,175,55,.09); border: 1px solid rgba(212,175,55,.24);
  padding: 6px 18px; border-radius: 100px; margin-bottom: 18px;
}
.ks-journey-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800; color: #fff; margin-bottom: 12px;
}
.ks-journey-sub {
  font-size: 1.02rem; color: rgba(255,255,255,.5);
  max-width: 500px; margin: 0 auto;
}

/* Timeline container */
.ks-journey-tl { position: relative; max-width: 900px; margin: 0 auto; }
.ks-jt-spine {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; transform: translateX(-50%);
  background: linear-gradient(to bottom,
    transparent 0%, rgba(212,175,55,.7) 6%,
    rgba(212,175,55,.45) 94%, transparent 100%);
  z-index: 0;
}

/* Row */
.ks-jt-row {
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  align-items: center;
  margin-bottom: 52px;
  position: relative; z-index: 1;
}
.ks-jt-row:last-child { margin-bottom: 0; }

/* Card */
.ks-jt-card {
  background: linear-gradient(135deg, rgba(38,6,6,.78), rgba(16,2,2,.92));
  border: 1px solid rgba(212,175,55,.18);
  border-radius: 20px; padding: 26px 28px;
  position: relative;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.ks-jt-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.35), transparent);
  border-radius: 20px 20px 0 0;
}
.ks-jt-card:hover {
  border-color: rgba(212,175,55,.42);
  box-shadow: 0 10px 50px rgba(212,175,55,.1), 0 4px 20px rgba(0,0,0,.4);
  transform: translateY(-3px);
}

/* Connector arrows */
.ks-jt-row--l .ks-jt-card::after {
  content: '';
  position: absolute; top: 50%; right: -9px;
  transform: translateY(-50%);
  border: 9px solid transparent;
  border-left-color: rgba(212,175,55,.22);
}
.ks-jt-row--r .ks-jt-card::after {
  content: '';
  position: absolute; top: 50%; left: -9px;
  transform: translateY(-50%);
  border: 9px solid transparent;
  border-right-color: rgba(212,175,55,.22);
}

/* Featured card wrapper */
.ks-jt-card-outer { position: relative; }
.ks-jt-ring--card {
  position: absolute; inset: -2px; border-radius: 22px;
  background: conic-gradient(from 0deg, transparent 55%, rgba(212,175,55,.55) 72%, transparent 88%);
  animation: ks-ring-spin 5s linear infinite;
  z-index: 0;
}
.ks-jt-card--feat {
  background: linear-gradient(135deg, rgba(55,10,10,.82), rgba(22,3,3,.95));
  border-color: rgba(212,175,55,.32); position: relative; z-index: 1;
}
.ks-jt-card--feat::after { display: none; }
.ks-jt-card-outer::after {
  content: '';
  position: absolute; top: 50%; right: -9px;
  transform: translateY(-50%); z-index: 2;
  border: 9px solid transparent;
  border-left-color: rgba(212,175,55,.32);
}

/* Icon badge */
.ks-jt-ico {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.25);
  display: flex; align-items: center; justify-content: center;
  color: #D4AF37; font-size: .95rem; margin-bottom: 14px;
}
.ks-jt-ico--gold {
  background: linear-gradient(135deg, rgba(212,175,55,.28), rgba(212,175,55,.08));
  border-color: rgba(212,175,55,.5);
  box-shadow: 0 0 18px rgba(212,175,55,.2);
}
.ks-jt-h { font-size: 1.02rem; font-weight: 700; color: #fff; margin-bottom: 7px; }
.ks-jt-p { font-size: .865rem; color: rgba(255,255,255,.52); line-height: 1.65; margin: 0; }

/* Mini stats row inside featured card */
.ks-jt-stats {
  display: flex; gap: 18px; margin-top: 18px;
  padding-top: 14px; border-top: 1px solid rgba(212,175,55,.12);
}
.ks-jt-stat {
  display: flex; flex-direction: column; gap: 2px;
  font-size: .65rem; font-weight: 600; letter-spacing: .6px;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
.ks-jt-stat span {
  font-size: 1.2rem; font-weight: 800;
  color: #D4AF37; letter-spacing: 0; text-transform: none; line-height: 1;
}

/* Center node */
.ks-jt-node {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(55,8,8,.92), rgba(18,2,2,.97));
  border: 2px solid rgba(212,175,55,.55);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto; position: relative; z-index: 2;
  box-shadow: 0 0 0 5px rgba(212,175,55,.07), 0 0 28px rgba(212,175,55,.22);
  transition: box-shadow .35s, border-color .35s;
}
.ks-jt-node--cap {
  width: 82px; height: 82px;
  border-color: rgba(212,175,55,.8);
  box-shadow: 0 0 0 8px rgba(212,175,55,.1), 0 0 50px rgba(212,175,55,.4);
}
.ks-jt-year {
  font-size: .77rem; font-weight: 800; color: #D4AF37;
  letter-spacing: .5px; text-align: center; line-height: 1.1;
  position: relative; z-index: 1;
}
.ks-jt-node--cap .ks-jt-year { font-size: .88rem; }
.ks-jt-ring {
  position: absolute; inset: -3px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 45%, rgba(212,175,55,.55) 62%, transparent 78%);
  animation: ks-ring-spin 4s linear infinite;
  z-index: 0;
}

/* Mobile */
@media (max-width: 767px) {
  .ks-journey-section { padding: 70px 0 60px; }
  .ks-jt-spine { left: 27px; transform: none; }
  .ks-jt-row {
    display: flex; align-items: flex-start;
    gap: 16px; margin-bottom: 36px;
  }
  .ks-jt-half--empty { display: none; }
  .ks-jt-node { width: 54px; height: 54px; flex-shrink: 0; }
  .ks-jt-node--cap { width: 60px; height: 60px; }
  .ks-jt-card, .ks-jt-card-outer { flex: 1; }
  .ks-jt-row--l .ks-jt-node { order: -1; }
  .ks-jt-row--l .ks-jt-card::after {
    top: 22px; right: auto; left: -9px; transform: none;
    border-left-color: transparent;
    border-right-color: rgba(212,175,55,.22);
  }
  .ks-jt-card-outer::after {
    top: 22px; right: auto; left: -9px; transform: none;
    border-left-color: transparent;
    border-right-color: rgba(212,175,55,.32);
  }
  .ks-jt-stats { gap: 12px; flex-wrap: wrap; }
}

/* ---- Team cards ---- */
.ab-team-card {
  background: #fff; border-radius: 22px; padding: 32px 24px 26px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(74,14,31,.07);
  border: 1.5px solid rgba(212,175,55,.1);
  position: relative; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}
.ab-team-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.ab-team-card:hover { transform: translateY(-8px); box-shadow: 0 22px 54px rgba(74,14,31,.15); }
.ab-team-card:hover::after { transform: scaleX(1); }
.ab-team-avatar {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px var(--gold), 0 6px 22px rgba(212,175,55,.28);
  margin-bottom: 16px;
}
.ab-team-card h5 { font-size: 1.12rem; margin-bottom: 6px; }
.ab-team-role {
  display: inline-block;
  color: var(--maroon); font-size: .78rem; font-weight: 700;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #fef7dd, #fde9a0);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 16px;
}
.ab-team-socials { display: flex; justify-content: center; gap: 8px; }
.ab-team-socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--soft-beige); border: 1px solid var(--beige);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .8rem; text-decoration: none;
  transition: all .25s ease;
}
.ab-team-socials a:hover { background: var(--maroon-gradient); color: #fff; border-color: var(--maroon); }

/* ==========================================================================
   Dashboard — Premium (db- namespace)
   ========================================================================== */
.db-wrap { background: var(--cream); min-height: 100vh; }

/* Sidebar */
.db-sidebar { background: #fff; border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; position: sticky; top: 90px; }
.db-profile {
  background: var(--maroon-gradient);
  padding: 26px 20px 18px;
  text-align: center;
  position: relative;
}
.db-profile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212,175,55,.22), transparent 62%);
  pointer-events: none;
}
.db-avatar-wrap { position: relative; display: inline-block; margin-bottom: 12px; }
.db-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(212,175,55,.22);
  position: relative; z-index: 1; display: block;
}
.db-online {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 14px; height: 14px;
  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 2;
}
.db-profile-name { color: #fff; font-size: 1.1rem; font-weight: 700; font-family: var(--font-head); margin-bottom: 2px; }
.db-profile-id { color: rgba(255,255,255,.5); font-size: .73rem; }
.db-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  font-size: .71rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 9px;
}

/* Completion bar */
.db-completion { margin: 14px 16px 0; padding-bottom: 12px; border-bottom: 1px solid var(--beige); }
.db-comp-head { display: flex; justify-content: space-between; align-items: center; font-size: .73rem; margin-bottom: 5px; }
.db-comp-head span:first-child { color: var(--muted); font-weight: 600; }
.db-comp-pct { color: var(--maroon); font-weight: 700; }
.db-comp-bar { height: 5px; background: var(--beige); border-radius: 3px; overflow: hidden; }
.db-comp-fill { height: 100%; background: var(--gold-gradient); border-radius: 3px; width: 85%; }

/* Nav */
.db-nav { list-style: none; padding: 8px 8px 12px; margin: 0; }
.db-nav li { margin-bottom: 1px; }
.db-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 11px;
  color: var(--ink); font-size: .86rem; font-weight: 500;
  transition: all .2s ease; text-decoration: none;
}
.db-nav a i {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  font-size: .8rem;
  background: var(--soft-beige);
  color: var(--gold-dark);
  flex-shrink: 0;
  transition: all .2s ease;
}
.db-nav a:hover { background: var(--soft-beige); color: var(--maroon); }
.db-nav a:hover i { background: rgba(128,0,0,.08); color: var(--maroon); }
.db-nav a.active { background: var(--maroon-gradient); color: #fff; }
.db-nav a.active i { background: rgba(255,255,255,.16); color: var(--gold-light); }
.db-nav-div { height: 1px; background: var(--beige); margin: 5px 8px; }

/* Welcome banner */
.db-welcome {
  background: var(--maroon-gradient);
  border-radius: 18px;
  padding: 22px 24px;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.db-welcome::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 88% 12%, rgba(212,175,55,.26) 0%, transparent 45%),
              radial-gradient(ellipse at 12% 88%, rgba(180,30,30,.3) 0%, transparent 40%);
  pointer-events: none;
}
.db-welcome-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.db-welcome h3 { color: #fff; font-size: 1.35rem; margin-bottom: 4px; }
.db-welcome p { color: #f0e2c4; font-size: .88rem; margin: 0; }
.db-complete-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-gradient); color: var(--maroon-dark);
  padding: 10px 22px; border-radius: 50px;
  font-weight: 700; font-size: .86rem; text-decoration: none;
  white-space: nowrap; box-shadow: 0 4px 16px rgba(212,175,55,.4);
  transition: transform .25s, box-shadow .25s;
}
.db-complete-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,175,55,.55); color: var(--maroon-dark); }
.db-progress-row { position: relative; z-index: 1; margin-top: 14px; }
.db-progress-label { display: flex; justify-content: space-between; font-size: .75rem; color: rgba(255,255,255,.65); margin-bottom: 5px; }
.db-progress-label strong { color: var(--gold-light); }
.db-prog-bar { height: 6px; background: rgba(255,255,255,.18); border-radius: 3px; overflow: hidden; }
.db-prog-fill { height: 100%; background: var(--gold-gradient); border-radius: 3px; width: 85%; }

/* Stat tiles */
.db-stat {
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige);
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.db-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.db-stat::after {
  content: "";
  position: absolute; top: 0; right: 0;
  width: 52px; height: 52px;
  border-radius: 0 16px 0 52px;
  background: var(--soft-beige);
}
.db-stat-ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  display: grid; place-items: center;
  font-size: 1rem;
  position: relative; z-index: 1;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(212,175,55,.35);
}
.db-stat .num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--maroon); line-height: 1; margin-bottom: 4px; }
.db-stat .lbl { font-size: .76rem; color: var(--muted); }

/* Content panels */
.db-panel { background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--beige); }
.db-panel-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--beige);
}
.db-panel-hd h4 { margin: 0; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.db-panel-hd h4 i {
  width: 36px; height: 36px;
  background: var(--gold-gradient);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: .88rem;
  color: var(--maroon-dark);
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(212,175,55,.3);
}
.db-panel-hd a { font-size: .8rem; color: var(--maroon); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.db-panel-hd a:hover { color: var(--gold-dark); }

/* Interest Send button for match cards */
.sp-interest-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; background: var(--gold-gradient); color: var(--maroon-dark);
  border: none; border-radius: 10px; font-size: .8rem; font-weight: 700;
  padding: 9px 10px; cursor: pointer; font-family: var(--font-body);
  transition: box-shadow .25s, transform .25s;
}
.sp-interest-btn:hover { box-shadow: 0 6px 20px rgba(212,175,55,.4); transform: translateY(-1px); }

/* Interest list items */
.db-interest-item {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 15px; border-radius: 13px;
  background: var(--soft-beige); border: 1px solid var(--beige);
  margin-bottom: 9px; transition: border-color .2s;
}
.db-interest-item:hover { border-color: var(--gold-light); }
.db-interest-item img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-light); flex-shrink: 0; }
.di-name { font-weight: 700; font-size: .9rem; color: var(--ink); }
.di-sub { font-size: .75rem; color: var(--muted); margin-top: 2px; }
.di-status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 11px; border-radius: 20px; font-size: .72rem; font-weight: 700; white-space: nowrap;
}
.di-status.pending { background: rgba(212,175,55,.14); color: #7a5e00; border: 1px solid rgba(212,175,55,.38); }
.di-status.accepted { background: rgba(0,148,0,.1); color: #005800; border: 1px solid rgba(0,148,0,.3); }
.di-btns { display: flex; gap: 7px; margin-left: auto; flex-shrink: 0; flex-wrap: wrap; }
.di-btn-accept {
  background: var(--gold-gradient); color: var(--maroon-dark); border: none;
  border-radius: 9px; padding: 7px 16px; font-size: .78rem; font-weight: 700;
  cursor: pointer; font-family: var(--font-body); transition: transform .2s, box-shadow .2s;
}
.di-btn-accept:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(212,175,55,.38); }
.di-btn-decline {
  background: rgba(128,0,0,.06); color: var(--maroon); border: 1.5px solid rgba(128,0,0,.18);
  border-radius: 9px; padding: 6px 13px; font-size: .78rem; font-weight: 600;
  cursor: pointer; font-family: var(--font-body); transition: all .2s;
}
.di-btn-decline:hover { background: rgba(128,0,0,.1); }

/* Message list */
.db-msg-item {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 15px; border-radius: 13px;
  background: var(--soft-beige); border: 1px solid var(--beige);
  text-decoration: none; color: var(--ink); margin-bottom: 8px;
  transition: all .2s;
}
.db-msg-item:hover { border-color: var(--gold-light); background: #fff; color: var(--ink); transform: translateX(3px); }
.db-msg-item img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-light); flex-shrink: 0; }
.db-msg-name { font-weight: 700; font-size: .88rem; margin-bottom: 2px; }
.db-msg-preview { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.db-msg-time { font-size: .72rem; color: var(--muted); margin-left: auto; white-space: nowrap; flex-shrink: 0; }

/* Privacy custom switches */
.db-switch-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 15px; border-radius: 13px;
  background: var(--soft-beige); border: 1px solid var(--beige); margin-bottom: 9px;
}
.db-switch-label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.db-switch-sub { font-size: .74rem; color: var(--muted); margin-top: 2px; }
.db-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.db-toggle input { opacity: 0; width: 0; height: 0; }
.db-toggle-slider {
  position: absolute; inset: 0;
  background: #ddd; border-radius: 12px; cursor: pointer; transition: background .3s;
}
.db-toggle-slider::before {
  content: ""; position: absolute;
  width: 18px; height: 18px; border-radius: 50%;
  left: 3px; top: 3px; background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform .3s;
}
.db-toggle input:checked + .db-toggle-slider { background: var(--maroon); }
.db-toggle input:checked + .db-toggle-slider::before { transform: translateX(20px); }

/* Subscription alert */
.db-sub-alert {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, rgba(212,175,55,.12), rgba(212,175,55,.05));
  border: 1px solid rgba(212,175,55,.38); border-radius: 13px;
  padding: 14px 18px; margin-bottom: 20px; font-size: .88rem;
}
.db-sub-alert i { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }
.db-sub-alert strong { color: var(--maroon); }
.db-sub-alert span { color: var(--muted); }

/* Old alias shims for backward compat */
.dash-tab { }

/* Responsive */
@media (max-width: 991px) {
  .db-sidebar { position: static; margin-bottom: 18px; }
}

/* ==========================================================================
   FOOTER — Premium Dark
   ========================================================================== */
.ks-footer {
  position: relative;
  background: linear-gradient(175deg, #0a0101 0%, #110202 60%, #090101 100%);
  color: rgba(255,255,255,.55);
  overflow: hidden;
}

/* Ambient background */
.ks-ft-bg { position: absolute; inset: 0; pointer-events: none; }
.ks-ft-orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .45; }
.ks-ft-orb--1 {
  width: 520px; height: 520px; top: -160px; left: -160px;
  background: radial-gradient(circle, rgba(139,26,26,.5), transparent 70%);
}
.ks-ft-orb--2 {
  width: 380px; height: 380px; bottom: 40px; right: -120px;
  background: radial-gradient(circle, rgba(212,175,55,.12), transparent 70%);
}
.ks-ft-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(212,175,55,.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Top gold divider with ornament */
.ks-ft-topdiv {
  position: relative; height: 4px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,175,55,.85) 30%,
    #D4AF37 50%, rgba(212,175,55,.85) 70%, transparent 100%);
  display: flex; align-items: center; justify-content: center;
}
.ks-ft-topdiv-gem {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #160202, #0b0101);
  border: 2px solid rgba(212,175,55,.65);
  display: flex; align-items: center; justify-content: center;
  color: #D4AF37; font-size: .75rem;
  box-shadow: 0 0 24px rgba(212,175,55,.35);
}

/* Main content area */
.ks-ft-main { padding: 68px 0 0; }

/* Logo */
.ks-ft-logo { height: 100px; width: auto; display: block; margin-bottom: 18px; }

/* Tagline */
.ks-ft-tagline {
  font-size: .875rem; line-height: 1.8;
  color: rgba(255,255,255,.42); margin-bottom: 26px;
}

/* Social icons */
.ks-ft-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.ks-ft-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(212,175,55,.75); font-size: .9rem;
  text-decoration: none;
  transition: background .3s, border-color .3s, color .3s, transform .28s, box-shadow .3s;
}
.ks-ft-socials a:hover {
  background: rgba(212,175,55,.18);
  border-color: rgba(212,175,55,.65);
  color: #D4AF37;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212,175,55,.2);
}

/* Column headings */
.ks-ft-h {
  font-size: .72rem; font-weight: 700; letter-spacing: 2.8px;
  text-transform: uppercase; color: #D4AF37;
  margin-bottom: 22px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(212,175,55,.12);
  position: relative;
}
.ks-ft-h::after {
  content: '';
  position: absolute; left: 0; bottom: -1px;
  width: 28px; height: 1px; background: #D4AF37;
}

/* Link lists */
.ks-ft-list { list-style: none; padding: 0; margin: 0; }
.ks-ft-list li { margin-bottom: 11px; }
.ks-ft-list a {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.48); font-size: .875rem;
  text-decoration: none;
  transition: color .25s, gap .25s;
}
.ks-ft-list a::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(212,175,55,.35); flex-shrink: 0;
  transition: background .25s, transform .25s;
}
.ks-ft-list a:hover { color: #D4AF37; gap: 12px; }
.ks-ft-list a:hover::before { background: #D4AF37; transform: scale(1.4); }

/* Newsletter */
.ks-ft-txt {
  font-size: .875rem; color: rgba(255,255,255,.42);
  margin-bottom: 16px; line-height: 1.7;
}
.ks-ft-nl-wrap {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,175,55,.2);
  border-radius: 50px; overflow: hidden;
  margin-bottom: 24px;
  transition: border-color .3s, box-shadow .3s;
}
.ks-ft-nl-wrap:focus-within {
  border-color: rgba(212,175,55,.55);
  box-shadow: 0 0 0 3px rgba(212,175,55,.07);
}
.ks-ft-nl-input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 13px 20px; font-size: .875rem; color: #fff; min-width: 0;
}
.ks-ft-nl-input::placeholder { color: rgba(255,255,255,.28); }
.ks-ft-nl-btn {
  background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%);
  border: none; padding: 0 22px;
  color: #1a0101; font-size: .9rem; cursor: pointer;
  border-radius: 0 50px 50px 0; flex-shrink: 0;
  transition: filter .25s, transform .2s;
}
.ks-ft-nl-btn:hover { filter: brightness(1.1); transform: scale(1.04); }

/* Contact items */
.ks-ft-contact { display: flex; flex-direction: column; gap: 11px; }
.ks-ft-contact-item {
  display: flex; align-items: center; gap: 12px;
  font-size: .845rem; color: rgba(255,255,255,.45);
}
.ks-ft-contact-item > i {
  width: 32px; height: 32px; border-radius: 9px;
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.18);
  display: flex; align-items: center; justify-content: center;
  color: #D4AF37; font-size: .78rem; flex-shrink: 0;
}

/* Trust stats strip */
.ks-ft-trust {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px; padding: 28px 0;
  border-top: 1px solid rgba(212,175,55,.12);
  border-bottom: 1px solid rgba(212,175,55,.1);
}
.ks-ft-trust-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 0 44px; text-align: center;
}
.ks-ft-trust-item span {
  font-size: 1.5rem; font-weight: 800; color: #D4AF37;
  line-height: 1; letter-spacing: -.5px;
}
.ks-ft-trust-item em {
  font-style: normal; font-size: .68rem; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.ks-ft-trust-sep {
  width: 1px; height: 38px;
  background: rgba(212,175,55,.18); flex-shrink: 0;
}
@media (max-width: 575px) {
  .ks-ft-trust { gap: 4px; }
  .ks-ft-trust-item { padding: 10px 20px; }
  .ks-ft-trust-sep { display: none; }
}

/* Bottom bar */
.ks-ft-bottom { padding: 20px 0; background: rgba(0,0,0,.32); }
.ks-ft-bottom-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px;
  font-size: .82rem; color: rgba(255,255,255,.3);
}
.ks-ft-bottom-links { display: flex; gap: 18px; }
.ks-ft-bottom-links a {
  color: rgba(255,255,255,.38); text-decoration: none; font-size: .82rem;
  transition: color .2s;
}
.ks-ft-bottom-links a:hover { color: #D4AF37; }
.ks-ft-bottom-inner .fa-heart { color: #D4AF37; }
@media (max-width: 767px) {
  .ks-ft-bottom-inner { justify-content: center; text-align: center; }
  .ks-ft-bottom-links { justify-content: center; }
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
#backToTop {
  position: fixed; bottom: 28px; right: 28px; width: 50px; height: 50px; border: none;
  border-radius: 50%; background: var(--gold-gradient); color: var(--maroon-dark); font-size: 1.1rem;
  box-shadow: var(--shadow-gold); cursor: pointer; opacity: 0; visibility: hidden;
  transform: translateY(20px); transition: all .35s ease; z-index: 999;
}
#backToTop.show { opacity: 1; visibility: visible; transform: none; }
#backToTop:hover { transform: translateY(-4px); }

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
[data-animate] { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
[data-animate].in { opacity: 1; transform: none; }
[data-animate][data-delay="1"] { transition-delay: .1s; }
[data-animate][data-delay="2"] { transition-delay: .2s; }
[data-animate][data-delay="3"] { transition-delay: .3s; }
[data-animate][data-delay="4"] { transition-delay: .4s; }

/* ==========================================================================
   TOASTS
   ========================================================================== */
.toast-stack { position: fixed; top: 90px; right: 20px; z-index: 9998; display: flex; flex-direction: column; gap: 10px; }
.toast-msg {
  background: #fff; border-left: 4px solid var(--gold); border-radius: 10px; box-shadow: var(--shadow-md);
  padding: 14px 18px; min-width: 280px; display: flex; align-items: center; gap: 12px;
  animation: slideIn .35s ease; font-weight: 500;
}
.toast-msg.success { border-color: #2e7d32; } .toast-msg.success i { color: #2e7d32; }
.toast-msg.error { border-color: #c62828; } .toast-msg.error i { color: #c62828; }
.toast-msg.info i { color: var(--gold-dark); }
@keyframes slideIn { from { transform: translateX(120%); } to { transform: none; } }

/* ---------- ornamental divider ---------- */
.divider-orn { text-align: center; color: var(--gold); margin: 10px 0; font-size: 1.4rem; }

/* ---------- utility ---------- */
.bg-pattern {
  background-color: var(--cream);
  background-image: radial-gradient(var(--gold-light) .8px, transparent .8px);
  background-size: 22px 22px; background-position: 0 0;
}
.shadow-soft { box-shadow: var(--shadow-sm); }
.rounded-xl { border-radius: var(--radius); }

@media (max-width: 575px){
  .section { padding: 60px 0; }
  .hero { min-height: auto; }
  .price-card.featured { transform: none; }
}

/* ========== Offer Popup ========== */
.offer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  /* NO justify-content/align-items — use margin:auto on child instead.
     flex + overflow-y:auto + justify-content:center is a known centering bug. */
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: opacity .4s ease, visibility .4s ease;
}
.offer-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.offer-modal {
  position: relative;
  /* margin:auto centers in flex even when overlay has overflow-y:auto */
  margin: auto;
  /* min() guarantees modal never exceeds viewport minus overlay padding (16px×2) */
  width: min(440px, calc(100vw - 32px));
  flex-shrink: 0;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(148deg, #5c0000 0%, #800000 30%, #9e6b10 65%, #d4af37 100%);
  box-shadow: 0 28px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(212,175,55,.35), inset 0 1px 0 rgba(255,255,255,.1);
  transform: scale(.86) translateY(30px);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.offer-overlay.show .offer-modal {
  transform: scale(1) translateY(0);
}

/* Close button */
.offer-close {
  position: absolute;
  top: 13px; right: 13px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
  z-index: 5;
  flex-shrink: 0;
}
.offer-close:hover { background: rgba(0,0,0,.5); transform: rotate(90deg); }

/* Top band */
.offer-topband {
  background: rgba(0,0,0,.25);
  text-align: center;
  padding: 9px 40px;
  color: #f3d98a;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-bottom: 1px solid rgba(212,175,55,.2);
}
.offer-topband i { font-size: .65rem; }

/* Body */
.offer-body {
  padding: 26px 34px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.offer-icon-wrap {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(212,175,55,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem; color: #f8dc7a;
  margin: 0 auto 16px;
  box-shadow: 0 0 32px rgba(212,175,55,.28);
  animation: offerPulse 2.4s ease-in-out infinite;
}
@keyframes offerPulse {
  0%, 100% { box-shadow: 0 0 22px rgba(212,175,55,.28); }
  50% { box-shadow: 0 0 42px rgba(212,175,55,.55); }
}

.offer-title {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.offer-subtitle {
  color: #f0d98a;
  font-size: .92rem;
  margin: 0 0 22px;
  opacity: .9;
}

/* Price */
.offer-price-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.offer-original {
  color: rgba(255,255,255,.42);
  text-decoration: line-through;
  font-size: 1.25rem;
  font-weight: 600;
}
.offer-price-box {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.28);
  border-radius: 16px;
  padding: 8px 20px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.offer-currency {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
  margin-top: 6px;
}
.offer-amount {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.offer-tag {
  color: #f0d98a;
  font-size: .85rem;
  font-weight: 600;
  align-self: flex-end;
  margin-bottom: 8px;
}

/* Features */
.offer-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  text-align: left;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.offer-features li {
  color: #fbe9b8;
  font-size: .88rem;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.offer-features li i {
  width: 16px;
  text-align: center;
  font-size: .82rem;
  color: #7de07d;
  flex-shrink: 0;
}

/* Countdown */
.offer-countdown {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  padding: 7px 20px;
  color: #f8dc7a;
  font-size: .82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  letter-spacing: .4px;
}
#offerTimer {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #fff;
  min-width: 38px;
  display: inline-block;
}

/* CTA button */
.offer-cta {
  display: block;
  background: #fff;
  color: var(--maroon-dark);
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 50px;
  padding: .9rem 2rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: transform .25s ease, box-shadow .25s ease, background .2s ease;
  margin-bottom: 14px;
  letter-spacing: .3px;
}
.offer-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(0,0,0,.4);
  color: var(--maroon-dark);
  background: #fff8e8;
}

/* Skip link */
.offer-skip {
  background: none;
  border: none;
  color: rgba(255,255,255,.48);
  font-size: .83rem;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
  transition: color .2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: block;
  margin: 0 auto;
}
.offer-skip:hover { color: rgba(255,255,255,.8); }

/* Ornamental corners */
.offer-corner {
  position: absolute;
  font-size: 1.3rem;
  color: rgba(212,175,55,.18);
  line-height: 1;
  pointer-events: none;
}
.offer-corner.tl { top: 44px; left: 14px; }
.offer-corner.tr { top: 44px; right: 44px; }
.offer-corner.bl { bottom: 14px; left: 14px; }
.offer-corner.br { bottom: 14px; right: 14px; }

/* ── Offer popup responsive ── */

/* Phones ≤ 575px — desktop popup hidden; mobile sheet takes over */
@media (max-width: 575px) {
  .offer-overlay { display: none !important; }
  .offer-modal   { margin: 0 auto; border-radius: 20px; }
  .offer-topband { font-size: .7rem; letter-spacing: 2px; padding: 8px 36px; }
  .offer-body    { padding: 18px 18px 24px; }
  .offer-icon-wrap { width: 60px; height: 60px; font-size: 1.65rem; margin-bottom: 12px; }
  .offer-title   { font-size: 1.38rem; }
  .offer-subtitle{ font-size: .84rem; margin-bottom: 14px; }
  .offer-amount  { font-size: 2.5rem; }
  /* stretch features list to full card width */
  .offer-features { display: flex; width: 100%; }
  .offer-features li { font-size: .82rem; gap: 8px; }
  .offer-countdown { font-size: .78rem; padding: 6px 14px; margin-bottom: 14px; }
  .offer-cta     { font-size: .92rem; padding: .8rem 1.4rem; }
  .offer-corner  { display: none; }
}

/* Small phones ≤ 400px (iPhone SE, Galaxy A series) */
@media (max-width: 400px) {
  .offer-overlay { padding: 10px; }
  .offer-modal   { margin: 0 auto; border-radius: 18px; }
  .offer-topband { font-size: .62rem; letter-spacing: 1.5px; padding: 7px 32px; }
  .offer-body    { padding: 14px 14px 20px; }
  .offer-icon-wrap { width: 50px; height: 50px; font-size: 1.4rem; margin-bottom: 10px; }
  .offer-title   { font-size: 1.18rem; }
  .offer-subtitle{ font-size: .78rem; margin-bottom: 10px; }
  .offer-price-wrap { gap: 8px; margin-bottom: 12px; }
  .offer-price-box  { padding: 6px 12px; }
  .offer-amount  { font-size: 2rem; }
  .offer-features li { font-size: .76rem; padding: 3px 0; gap: 7px; }
  .offer-countdown   { font-size: .72rem; padding: 5px 10px; margin-bottom: 12px; }
  .offer-cta     { font-size: .84rem; padding: .72rem 1rem; margin-bottom: 10px; }
  .offer-skip    { font-size: .76rem; }
}

/* Landscape phones — short viewport */
@media (max-height: 600px) and (orientation: landscape) {
  .offer-overlay   { padding: 6px; }
  .offer-icon-wrap { width: 42px; height: 42px; font-size: 1.2rem; margin-bottom: 6px; }
  .offer-body      { padding: 10px 22px 14px; }
  .offer-title     { font-size: 1.18rem; margin-bottom: 2px; }
  .offer-subtitle  { font-size: .76rem; margin-bottom: 8px; }
  .offer-price-wrap{ margin-bottom: 8px; }
  .offer-features  { margin-bottom: 6px; }
  .offer-features li { padding: 2px 0; font-size: .78rem; }
  .offer-countdown { margin-bottom: 8px; padding: 4px 12px; font-size: .74rem; }
  .offer-cta       { padding: .6rem 1.2rem; font-size: .86rem; margin-bottom: 8px; }
  .offer-skip      { font-size: .74rem; }
  .offer-corner    { display: none; }
}

/* ========== Mobile Offer Bottom Sheet ========== */
/* Shown only on ≤575px; JS gates the .show class to mobile width only */
.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10001;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.mob-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mob-sheet {
  width: 100%;
  background: linear-gradient(170deg, #160202 0%, #350808 25%, #5c1010 55%, #8b5a0a 82%, #c9a227 100%);
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  box-shadow: 0 -6px 32px rgba(0, 0, 0, .55), 0 0 0 1px rgba(212, 175, 55, .2);
  transform: translateY(100%);
  transition: transform .42s cubic-bezier(.32, .72, 0, 1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  position: relative;
}
.mob-overlay.show .mob-sheet {
  transform: translateY(0);
}

/* Drag handle */
.mob-handle {
  width: 38px; height: 4px;
  background: rgba(255, 255, 255, .2);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* Close */
.mob-close {
  position: absolute;
  top: 10px; right: 12px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(0, 0, 0, .3);
  color: rgba(255, 255, 255, .75);
  font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* Badge */
.mob-badge {
  text-align: center;
  margin: 10px 0 0;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #d4af37;
}

/* Body */
.mob-body {
  padding: 8px 18px 0;
  text-align: center;
}

.mob-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(212, 175, 55, .12);
  border: 1.5px solid rgba(212, 175, 55, .3);
  color: #d4af37;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 8px auto 10px;
}

.mob-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.38rem;
  font-weight: 700;
  color: #f5ede0;
  margin: 0 0 4px;
  line-height: 1.2;
}

.mob-sub {
  font-size: .78rem;
  color: rgba(245, 237, 224, .58);
  margin: 0 0 12px;
  line-height: 1.4;
}

/* Price row */
.mob-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, .22);
  border-radius: 10px;
  padding: 8px 16px;
  margin-bottom: 12px;
}
.mob-was {
  font-size: .72rem;
  color: rgba(245, 237, 224, .42);
}
.mob-price {
  font-size: 1.7rem;
  color: #d4af37;
  font-weight: 300;
  line-height: 1;
}
.mob-price strong {
  font-size: 2.1rem;
  font-weight: 800;
}
.mob-save {
  background: #d4af37;
  color: #1a0303;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 5px;
}

/* Features */
.mob-feats {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mob-feats li {
  font-size: .8rem;
  color: rgba(245, 237, 224, .8);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mob-feats li i {
  color: #d4af37;
  font-size: .75rem;
  flex-shrink: 0;
}

/* Timer */
.mob-timer {
  font-size: .74rem;
  color: rgba(245, 237, 224, .5);
  margin-bottom: 12px;
}
.mob-timer span {
  color: #d4af37;
  font-weight: 700;
}

/* CTA */
.mob-cta {
  display: block;
  padding: .88rem 1rem;
  background: linear-gradient(135deg, #c9930a 0%, #f0d060 40%, #d4af37 70%, #c9930a 100%);
  color: #1a0303;
  font-size: .97rem;
  font-weight: 800;
  letter-spacing: .3px;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, .25);
}

/* Skip */
.mob-skip {
  display: block;
  width: 100%;
  padding: 8px 0 12px;
  background: none;
  border: none;
  color: rgba(245, 237, 224, .38);
  font-size: .76rem;
  cursor: pointer;
  text-align: center;
}

/* ========== Messages / Chat Page ========== */

/* Hide header/footer chrome on the dedicated chat page */
body.chat-page .ks-footer,
body.chat-page .wa-widget { display: none !important; }

/* ── Premium gate ── */
.msg-gate-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: radial-gradient(ellipse at 20% 40%, rgba(107,21,21,.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 60%, rgba(212,175,55,.07) 0%, transparent 55%);
}
.msg-gate-card {
  max-width: 520px;
  width: 100%;
  text-align: center;
  padding: 56px 44px;
  background: linear-gradient(148deg, #160202 0%, #2c0808 35%, #4a0f0f 70%, #1a0303 100%);
  border: 1px solid rgba(212,175,55,.2);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(212,175,55,.08);
}
.msg-gate-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(212,175,55,.1);
  border: 2px solid rgba(212,175,55,.25);
  color: #d4af37;
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.msg-gate-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  color: #f5ede0;
  margin: 0 0 12px;
}
.msg-gate-sub {
  font-size: .88rem;
  color: rgba(245,237,224,.55);
  line-height: 1.65;
  margin-bottom: 28px;
}
.msg-gate-feats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(212,175,55,.12);
  text-align: left;
}
.msg-gate-feats div {
  font-size: .82rem;
  color: rgba(245,237,224,.6);
  display: flex;
  align-items: center;
  gap: 10px;
}
.msg-gate-feats div i { color: #d4af37; font-size: .78rem; }

/* ── Two-panel chat wrap ── */
.msg-wrap {
  display: flex;
  height: calc(100vh - 72px);
  overflow: hidden;
  background: #0b0101;
}

/* ── Sidebar ── */
.msg-sidebar {
  width: 320px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(212,175,55,.1);
  background: #0f0101;
}
.msg-sidebar-hd {
  padding: 18px 16px 14px;
  border-bottom: 1px solid rgba(212,175,55,.08);
  flex-shrink: 0;
}
.msg-sidebar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: #d4af37;
  margin: 0;
  display: flex;
  align-items: center;
}
.msg-total-unread {
  background: #d4af37;
  color: #1a0303;
  font-size: .62rem;
  font-weight: 800;
  border-radius: 100px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Search */
.msg-search-wrap { position: relative; }
.msg-search-input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(212,175,55,.14);
  border-radius: 8px;
  color: #f5ede0;
  font-size: .81rem;
  padding: 8px 12px 8px 32px;
  outline: none;
  transition: border-color .2s;
}
.msg-search-input::placeholder { color: rgba(245,237,224,.28); }
.msg-search-input:focus { border-color: rgba(212,175,55,.36); }
.msg-search-ico {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  color: rgba(212,175,55,.35);
  font-size: .72rem;
  pointer-events: none;
}

/* Conversation list */
.msg-conv-list { flex: 1; overflow-y: auto; }
.msg-conv-list::-webkit-scrollbar { width: 3px; }
.msg-conv-list::-webkit-scrollbar-thumb { background: rgba(212,175,55,.15); border-radius: 2px; }

.msg-conv-empty {
  text-align: center;
  padding: 48px 20px;
  color: rgba(245,237,224,.25);
  font-size: .81rem;
}
.msg-conv-empty i { font-size: 2rem; display: block; margin-bottom: 10px; opacity: .4; }

.msg-conv-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(212,175,55,.05);
  text-decoration: none;
  transition: background .13s;
  position: relative;
}
.msg-conv-item:hover { background: rgba(212,175,55,.05); }
.msg-conv-item.active {
  background: rgba(212,175,55,.09);
  border-left: 2.5px solid #d4af37;
}

.msg-conv-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212,175,55,.18);
  flex-shrink: 0;
}
.msg-conv-avatar-ph {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3d0a0a, #6b1515);
  border: 2px solid rgba(212,175,55,.18);
  color: #d4af37;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.msg-conv-body { flex: 1; min-width: 0; }
.msg-conv-name {
  font-size: .86rem;
  font-weight: 600;
  color: #f5ede0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.msg-conv-preview {
  font-size: .74rem;
  color: rgba(245,237,224,.38);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-you-label { color: rgba(212,175,55,.6); }
.msg-conv-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.msg-conv-time { font-size: .65rem; color: rgba(245,237,224,.28); }
.msg-conv-unread {
  background: #d4af37;
  color: #1a0303;
  font-size: .58rem;
  font-weight: 800;
  border-radius: 100px;
  min-width: 18px;
  height: 18px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ── Thread panel ── */
.msg-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0c0101;
  min-width: 0;
}

/* Thread header */
.msg-thread-hd {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(212,175,55,.1);
  background: #0f0101;
  flex-shrink: 0;
}
.msg-back-btn {
  display: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,.2);
  background: rgba(212,175,55,.05);
  color: rgba(245,237,224,.7);
  font-size: .85rem;
  align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
.msg-hd-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212,175,55,.22);
  flex-shrink: 0;
}
.msg-hd-avatar-ph {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3d0a0a, #6b1515);
  border: 2px solid rgba(212,175,55,.22);
  color: #d4af37;
  font-size: .95rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.msg-hd-info { flex: 1; min-width: 0; }
.msg-thread-hd-name {
  font-size: .95rem;
  font-weight: 600;
  color: #f5ede0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-thread-hd-sub { font-size: .68rem; color: rgba(212,175,55,.55); }
.msg-hd-actions { display: flex; gap: 6px; }
.msg-hd-action-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,.18);
  background: rgba(212,175,55,.06);
  color: rgba(245,237,224,.6);
  font-size: .78rem;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
}
.msg-hd-action-btn:hover { color: #d4af37; border-color: rgba(212,175,55,.4); background: rgba(212,175,55,.1); }

/* Thread body */
.msg-thread-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.msg-thread-body::-webkit-scrollbar { width: 3px; }
.msg-thread-body::-webkit-scrollbar-thumb { background: rgba(212,175,55,.12); border-radius: 2px; }

.msg-loading {
  text-align: center;
  padding: 40px 20px;
  color: rgba(245,237,224,.3);
  font-size: .82rem;
}
.msg-thread-empty {
  text-align: center;
  padding: 48px 20px;
  color: rgba(245,237,224,.25);
  font-size: .82rem;
}
.msg-thread-empty i { font-size: 2rem; display: block; margin-bottom: 10px; opacity: .3; }

/* Date separator */
.msg-date-sep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 6px;
  color: rgba(245,237,224,.2);
  font-size: .66rem;
}
.msg-date-sep::before, .msg-date-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(212,175,55,.07);
}

/* Bubbles */
.msg-bubble-wrap { display: flex; margin-bottom: 2px; }
.msg-bubble-wrap.sent { justify-content: flex-end; }
.msg-bubble-wrap.recv { justify-content: flex-start; }

.msg-bubble {
  max-width: 68%;
  padding: 10px 13px 7px;
  border-radius: 16px;
  font-size: .86rem;
  line-height: 1.5;
  word-break: break-word;
}
.msg-bubble.sent {
  background: linear-gradient(135deg, #6b1515 0%, #4a0a0a 100%);
  color: #f5ede0;
  border-bottom-right-radius: 3px;
  border: 1px solid rgba(212,175,55,.12);
}
.msg-bubble.recv {
  background: rgba(255,255,255,.065);
  color: #f5ede0;
  border: 1px solid rgba(212,175,55,.09);
  border-bottom-left-radius: 3px;
}
.msg-bubble-text { display: block; }
.msg-bubble-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 4px;
}
.msg-bubble.recv .msg-bubble-foot { justify-content: flex-start; }
.msg-bubble-time { font-size: .6rem; opacity: .45; }
.msg-tick { font-size: .6rem; opacity: .5; }
.msg-tick.read { opacity: 1; color: #d4af37; }

/* Input area */
.msg-input-area {
  padding: 12px 16px;
  border-top: 1px solid rgba(212,175,55,.08);
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0;
  background: #0f0101;
}
.msg-textarea {
  flex: 1;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(212,175,55,.16);
  border-radius: 12px;
  color: #f5ede0;
  font-size: .86rem;
  padding: 10px 13px;
  resize: none;
  min-height: 42px;
  max-height: 120px;
  outline: none;
  transition: border-color .2s;
  line-height: 1.5;
  overflow-y: auto;
  font-family: inherit;
}
.msg-textarea::placeholder { color: rgba(245,237,224,.28); }
.msg-textarea:focus { border-color: rgba(212,175,55,.38); }
.msg-send-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #c9930a);
  border: none;
  color: #1a0303;
  font-size: .95rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  box-shadow: 0 3px 12px rgba(212,175,55,.22);
}
.msg-send-btn:hover { transform: scale(1.07); box-shadow: 0 5px 18px rgba(212,175,55,.32); }
.msg-send-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* No thread placeholder */
.msg-no-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  color: rgba(245,237,224,.2);
}
.msg-no-thread i { font-size: 3.5rem; margin-bottom: 18px; opacity: .18; }
.msg-no-thread h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; color: rgba(245,237,224,.28); }
.msg-no-thread p { font-size: .82rem; line-height: 1.6; max-width: 340px; }
.msg-no-thread strong { color: rgba(212,175,55,.55); }

/* ── Mobile responsive ── */
@media (max-width: 767px) {
  .msg-wrap { height: calc(100vh - 60px); }
  .msg-sidebar { width: 100%; min-width: unset; border-right: none; }
  .msg-back-btn { display: flex; }
  .msg-thread { display: none; }
  .msg-wrap.thread-open .msg-sidebar { display: none; }
  .msg-wrap.thread-open .msg-thread { display: flex; }
}
@media (max-width: 575px) {
  .msg-sidebar-hd { padding: 14px 12px 10px; }
  .msg-bubble { max-width: 82%; }
  .msg-thread-body { padding: 12px 12px 8px; }
  .msg-input-area { padding: 10px 12px; }
}

/* ══════════ Chat — Enhanced Features ══════════ */

/* Sidebar title row */
.msg-sidebar-title-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}

/* Tabs */
.msg-tabs {
  display: flex; gap: 6px; margin-top: 10px;
}
.msg-tab {
  flex: 1; text-align: center; padding: 6px 0; border-radius: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .3px; cursor: pointer;
  color: rgba(245,237,224,.45); text-decoration: none;
  border: 1px solid rgba(212,175,55,.12); transition: background .18s, color .18s;
}
.msg-tab i { margin-right: 4px; }
.msg-tab.active, .msg-tab:hover {
  background: rgba(212,175,55,.14); color: var(--gold,#d4af37);
  border-color: rgba(212,175,55,.3);
}

/* Online dot on sidebar avatar */
.msg-conv-avatar-wrap { position: relative; flex-shrink: 0; }
.msg-online-dot {
  position: absolute; bottom: 1px; right: 1px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #22c55e; border: 2px solid #1a0a0a;
}

/* Star badge on sidebar item */
.msg-conv-name-row { display: flex; align-items: center; gap: 5px; }
.msg-conv-star-badge { font-size: .65rem; color: var(--gold,#d4af37); opacity: .75; }
.msg-conv-read-tick { font-size: .7rem; color: rgba(212,175,55,.4); }

/* ── Thread header online dot ── */
.msg-hd-avatar-wrap { position: relative; flex-shrink: 0; }
.msg-hd-online-dot {
  position: absolute; bottom: 2px; right: 2px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #555; border: 2px solid #1a0a0a;
  transition: background .3s;
}
.msg-hd-online-dot.online { background: #22c55e; }
.msg-hd-online-label {
  color: #22c55e; font-size: .78rem; font-weight: 600;
}

/* Favourite button active state */
.msg-hd-action-btn.fav-active i { color: var(--gold,#d4af37); }

/* ── ⋮ More dropdown ── */
.msg-hd-more-wrap { position: relative; }
.msg-hd-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #1e0d0d; border: 1px solid rgba(212,175,55,.18);
  border-radius: 12px; padding: 6px; min-width: 180px;
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 100;
}
.msg-hd-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.msg-dd-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 12px; border: none; background: transparent;
  color: rgba(245,237,224,.75); font-size: .87rem; border-radius: 8px;
  cursor: pointer; text-align: left; transition: background .15s, color .15s;
}
.msg-dd-item:hover { background: rgba(212,175,55,.1); color: rgba(245,237,224,1); }
.msg-dd-item.danger:hover { background: rgba(220,38,38,.12); color: #f87171; }
.msg-dd-item i { width: 16px; text-align: center; opacity: .7; }
.msg-dd-divider { border: none; border-top: 1px solid rgba(212,175,55,.1); margin: 4px 0; }

/* Blocked banner */
.msg-blocked-banner {
  background: rgba(220,38,38,.12); border-bottom: 1px solid rgba(220,38,38,.2);
  color: #f87171; font-size: .85rem; text-align: center; padding: 9px 16px;
}
.msg-unblock-link {
  background: none; border: none; color: var(--gold,#d4af37);
  cursor: pointer; font-size: inherit; text-decoration: underline; padding: 0;
}

/* ── Typing indicator ── */
.msg-typing-row {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 16px 8px; min-height: 32px;
}
.msg-typing-bubble {
  display: flex; align-items: center; gap: 4px;
  background: #2a1212; border-radius: 12px; padding: 7px 12px;
}
.msg-typing-bubble span {
  display: block; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(212,175,55,.5);
  animation: typingDot 1.2s infinite ease-in-out;
}
.msg-typing-bubble span:nth-child(2) { animation-delay: .2s; }
.msg-typing-bubble span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%,60%,100% { opacity: .3; transform: translateY(0); }
  30%          { opacity: 1;  transform: translateY(-4px); }
}
.msg-typing-label { font-size: .78rem; color: rgba(245,237,224,.38); font-style: italic; }

/* ── Input tools (photo + template) ── */
.msg-input-area { align-items: flex-end; }
.msg-input-tools {
  display: flex; align-items: center; gap: 2px; flex-shrink: 0;
  padding-bottom: 2px;
}
.msg-tool-btn {
  width: 34px; height: 34px; border-radius: 8px; border: none;
  background: rgba(212,175,55,.08); color: rgba(212,175,55,.6);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: background .15s, color .15s;
}
.msg-tool-btn:hover { background: rgba(212,175,55,.18); color: var(--gold,#d4af37); }

/* Template popup */
.msg-tpl-wrap { position: relative; }
.msg-tpl-menu {
  position: absolute; bottom: calc(100% + 10px); left: 0;
  background: #1e0d0d; border: 1px solid rgba(212,175,55,.18);
  border-radius: 14px; padding: 10px 8px; min-width: 270px;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 200;
}
.msg-tpl-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.msg-tpl-title {
  font-size: .72rem; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--gold,#d4af37); padding: 4px 8px 8px; opacity: .7;
}
.msg-tpl-item {
  display: block; width: 100%; padding: 9px 12px; border: none;
  background: transparent; color: rgba(245,237,224,.78); font-size: .84rem;
  text-align: left; border-radius: 8px; cursor: pointer; transition: background .14s;
}
.msg-tpl-item:hover { background: rgba(212,175,55,.12); color: #f5ede0; }

/* ── Image bubble ── */
.msg-bubble-img {
  max-width: 220px; max-height: 220px; width: auto; height: auto;
  border-radius: 10px; display: block; cursor: pointer;
  transition: opacity .15s;
  object-fit: cover;
}
.msg-bubble-img:hover { opacity: .88; }

/* Template bubble badge */
.msg-bubble-tpl {
  font-size: .85rem; line-height: 1.55;
  border-left: 2px solid rgba(212,175,55,.45);
  padding-left: 8px; font-style: italic; opacity: .9;
}
.msg-bubble-tpl i { color: var(--gold,#d4af37); }

/* ── Image lightbox ── */
.msg-lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center;
  z-index: 20000; backdrop-filter: blur(6px);
}
.msg-lightbox-close {
  position: absolute; top: 18px; right: 22px;
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 40px; height: 40px; border-radius: 50%; font-size: 1.3rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.msg-lightbox-close:hover { background: rgba(255,255,255,.22); }
.msg-lightbox-img {
  max-width: 90vw; max-height: 88vh; border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  object-fit: contain;
}

/* ── Report modal ── */
.msg-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  z-index: 19000; padding: 20px;
}
.msg-modal {
  background: #1e0d0d; border: 1px solid rgba(212,175,55,.2);
  border-radius: 18px; width: 100%; max-width: 420px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
}
.msg-modal-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(212,175,55,.1);
}
.msg-modal-hd h3 { font-size: 1rem; font-weight: 600; color: #f5ede0; margin: 0; }
.msg-modal-close {
  background: none; border: none; color: rgba(245,237,224,.45);
  font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 0; width: 28px;
}
.msg-modal-close:hover { color: #f5ede0; }
.msg-modal-body { padding: 18px 22px; }
.msg-modal-foot {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 14px 22px; border-top: 1px solid rgba(212,175,55,.1);
}
.msg-modal-cancel {
  padding: 9px 18px; border-radius: 8px; border: 1px solid rgba(212,175,55,.22);
  background: transparent; color: rgba(245,237,224,.6); font-size: .88rem;
  cursor: pointer; transition: background .15s;
}
.msg-modal-cancel:hover { background: rgba(212,175,55,.08); }
.msg-modal-submit {
  padding: 9px 20px; border-radius: 8px; border: none;
  background: #dc2626; color: #fff; font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: background .15s, opacity .15s;
}
.msg-modal-submit:hover { background: #b91c1c; }
.msg-modal-submit:disabled { opacity: .5; cursor: not-allowed; }

/* ── Upload toast ── */
.msg-upload-toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%);
  background: #1e0d0d; border: 1px solid rgba(212,175,55,.25);
  color: rgba(245,237,224,.85); font-size: .84rem; padding: 9px 20px;
  border-radius: 30px; z-index: 15000; display: flex; align-items: center; gap: 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
}

/* No thread icon */
.msg-no-thread-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(212,175,55,.08); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px;
}
.msg-no-thread-icon i { font-size: 2.2rem; opacity: .22; color: var(--gold,#d4af37); }

/* ── Mobile responsive additions ── */
@media (max-width: 767px) {
  .msg-tpl-menu { min-width: 250px; }
  .msg-bubble-img { max-width: 180px; max-height: 180px; }
  .msg-hd-dropdown { right: -4px; }
}
@media (max-width: 575px) {
  .msg-input-tools { gap: 0; }
  .msg-tool-btn { width: 30px; height: 30px; font-size: .82rem; }
  .msg-tpl-menu { left: -8px; min-width: 230px; }
}

/* ========== Profile View Page ========== */

/* --- Gallery --- */
.prof-gallery { overflow: visible; }
.prof-main-photo {
  position: relative;
  aspect-ratio: 3/3.5;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.prof-main-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.prof-main-photo:hover img { transform: scale(1.04); }

.prof-thumb-strip {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: var(--soft-beige);
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: 1px solid var(--beige);
}
.prof-thumb {
  width: 62px; height: 62px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  flex-shrink: 0;
}
.prof-thumb:hover { border-color: var(--gold); transform: translateY(-2px); }
.prof-thumb.active { border-color: var(--maroon); box-shadow: 0 4px 12px rgba(128,0,0,.25); }

.prof-thumb-lock {
  width: 62px; height: 62px;
  border-radius: 10px;
  border: 2px dashed var(--gold-light);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--cream); flex-shrink: 0;
  font-size: .6rem; color: var(--muted); text-align: center;
  gap: 3px;
}
.prof-thumb-lock i { color: var(--gold-dark); font-size: .9rem; }

/* --- Profile ID Badge --- */
.prof-id-badge {
  display: inline-block;
  background: var(--soft-beige);
  border: 1px solid var(--gold-light);
  color: var(--maroon);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 50px;
}

/* --- Quick grid (sidebar summary) --- */
.prof-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pq-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .85rem; color: var(--muted);
}
.pq-item i { color: var(--gold-dark); width: 16px; margin-top: 2px; flex-shrink: 0; }
.pq-item span { line-height: 1.4; }

/* --- Contact lock card --- */
.contact-lock-card { border-top: 3px solid var(--gold); }
.contact-lock-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--beige);
}
.contact-lock-row:last-of-type { border-bottom: none; }
.contact-lock-row > i:first-child { width: 18px; flex-shrink: 0; }
.lock-blur {
  flex: 1; font-size: .9rem; font-weight: 500; color: var(--ink);
  filter: blur(5px); user-select: none;
}
.lock-icon { color: var(--muted); font-size: .8rem; flex-shrink: 0; }

/* --- Profile Tabs --- */
.prof-tabs {
  display: flex;
  list-style: none; padding: 0; margin: 0;
  overflow-x: auto; gap: 0;
  border-bottom: 2px solid var(--beige);
  scrollbar-width: none;
}
.prof-tabs::-webkit-scrollbar { display: none; }
.prof-tabs li { flex-shrink: 0; }
.prof-tab {
  background: none; border: none; cursor: pointer;
  padding: 14px 20px; font-size: .9rem; font-weight: 600;
  color: var(--muted); position: relative;
  font-family: var(--font-body);
  transition: color .25s ease;
  white-space: nowrap;
}
.prof-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; background: var(--gold); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transition: transform .25s ease;
}
.prof-tab:hover { color: var(--maroon); }
.prof-tab.active { color: var(--maroon); }
.prof-tab.active::after { transform: scaleX(1); }

/* --- Tab panels --- */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .35s ease; }

/* --- Profile detail grid (label/value) --- */
.prof-detail-grid { display: flex; flex-direction: column; gap: 0; }
.pd-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--beige);
  font-size: .92rem;
}
.pd-row:last-child { border-bottom: none; }
.pd-label {
  flex: 0 0 180px; min-width: 140px;
  font-weight: 600; color: var(--maroon); font-size: .85rem;
}
.pd-value { color: var(--ink); flex: 1; }

/* --- Ornament divider (within content) --- */
.ornament-divider {
  text-align: center; color: var(--gold);
  font-size: 1.4rem; letter-spacing: 6px;
}

/* --- Highlight pills --- */
.highlight-pill {
  background: var(--soft-beige);
  border: 1px solid var(--gold-light);
  border-radius: 50px;
  padding: 7px 14px;
  font-size: .82rem; font-weight: 600;
  color: var(--maroon);
  display: flex; align-items: center; gap: 8px;
}
.highlight-pill i { color: var(--gold-dark); }

/* --- Rasi Chart --- */
.rasi-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 60px);
  border: 2px solid var(--gold-light);
  border-radius: 12px;
  overflow: hidden;
  max-width: 300px;
}
.rasi-cell {
  border: 1px solid var(--beige);
  display: flex; align-items: center; justify-content: center;
  background: var(--soft-beige);
  font-size: .8rem;
}
.rasi-cell.center {
  grid-column: 2 / 4;
  grid-row: 2 / 4;
  background: var(--cream);
  border: 2px solid var(--gold-light);
}
.rasi-center-label {
  text-align: center; font-size: .75rem; color: var(--muted);
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.rasi-planet {
  font-weight: 700; color: var(--maroon); font-size: .78rem;
  text-align: center; line-height: 1.3;
}

/* --- Activity stats --- */
.activity-stat { }
.act-num {
  font-family: var(--font-head); font-size: 1.9rem;
  font-weight: 800; color: var(--maroon);
}
.act-lbl { font-size: .8rem; color: var(--muted); margin-top: 2px; }

/* Responsive adjustments */
@media (max-width: 767px) {
  .pd-label { flex: 0 0 130px; min-width: 110px; }
  .prof-quick-grid { grid-template-columns: 1fr; }
  .rasi-chart { max-width: 100%; }
}
@media (max-width: 575px) {
  .prof-tab { padding: 12px 14px; font-size: .82rem; }
}

/* ========== Custom Pagination ========== */
.custom-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pagination-info {
  font-size: .88rem;
  color: #888;
  margin: 0;
  letter-spacing: .3px;
}
.pagination-info strong { color: var(--maroon); }
.pg-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: .92rem;
  font-weight: 600;
  font-family: var(--font-head);
  border: 2px solid var(--gold-light);
  color: var(--maroon);
  background: #fff;
  text-decoration: none;
  transition: all .25s ease;
  box-shadow: 0 2px 6px rgba(180,140,30,.08);
}
.pg-btn:hover:not(.disabled):not(.active) {
  background: var(--soft-beige);
  border-color: var(--gold);
  color: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212,175,55,.25);
}
.pg-btn.active {
  background: var(--gold-gradient);
  border-color: var(--gold-dark);
  color: var(--maroon-dark);
  box-shadow: 0 6px 18px rgba(212,175,55,.45);
  transform: translateY(-2px);
  pointer-events: none;
}
.pg-btn.pg-nav {
  background: var(--maroon-gradient);
  border-color: var(--maroon);
  color: #fff;
  font-size: .8rem;
}
.pg-btn.pg-nav:hover:not(.disabled) {
  box-shadow: 0 6px 18px rgba(128,0,0,.35);
  transform: translateY(-2px);
  background: var(--maroon-gradient);
  color: #fff;
}
.pg-btn.pg-nav.disabled {
  opacity: .38;
  pointer-events: none;
  box-shadow: none;
}
.pg-dots {
  color: var(--gold-dark);
  font-size: .75rem;
  letter-spacing: 2px;
  padding: 0 4px;
  user-select: none;
}
@media (max-width: 480px) {
  .pg-btn { width: 36px; height: 36px; font-size: .82rem; }
}

/* ==========================================================================
   Mobile Nav Drawer  (active below 1200px — matches navbar-expand-xl)
   Bootstrap collapse is hijacked on mobile: the panel slides in from the
   right instead of expanding vertically. No HTML edits required — the
   overlay, close button, and footer are injected by main.js.
   ========================================================================== */

/* Backdrop overlay
   z-index MUST stay below Bootstrap sticky navbar (1020) so the drawer
   (which lives inside the navbar stacking context) renders above the overlay. */
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 1019;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .32s ease, visibility .32s ease;
}
.nav-drawer-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Prevent body scroll when drawer is open */
body.drawer-open { overflow: hidden; }

@media (max-width: 1199px) {
  /* ---- Slide-out drawer (overrides Bootstrap collapse) ---- */
  .navbar-collapse {
    position: fixed !important;
    top: 0 !important;
    right: -108% !important;
    width: min(320px, 88vw) !important;
    height: 100dvh !important;
    overflow-y: auto !important;
    background: #fff !important;
    z-index: 1050 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    transition: right .38s cubic-bezier(.4, 0, .2, 1) !important;
    box-shadow: -8px 0 48px rgba(92, 0, 0, .2) !important;
    border-left: 3px solid var(--gold) !important;
  }
  .navbar-collapse.show {
    right: 0 !important;
  }
  /* Keep full height during Bootstrap's collapsing transition */
  .navbar-collapse.collapsing {
    height: 100dvh !important;
    overflow-y: auto !important;
    transition: right .38s cubic-bezier(.4, 0, .2, 1) !important;
  }

  /* ---- Drawer header (injected by JS) ---- */
  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--cream);
    border-bottom: 2px solid var(--gold-light);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
  }
  .drawer-header .logo-img { height: 58px; }
  .drawer-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--beige);
    background: #fff;
    color: var(--maroon);
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .25s ease;
  }
  .drawer-close-btn:hover {
    background: var(--maroon);
    border-color: var(--maroon);
    color: #fff;
    transform: rotate(90deg);
  }

  /* ---- Nav links inside drawer ---- */
  .navbar-collapse .navbar-nav {
    flex-direction: column !important;
    margin: 0 !important;
    padding: 6px 0;
    flex: 1;
    width: 100%;
  }
  .navbar-collapse .nav-item {
    border-bottom: 1px solid var(--beige);
  }
  .navbar-collapse .nav-link {
    padding: 14px 22px !important;
    font-size: .97rem !important;
    color: var(--ink) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    transition: padding .2s ease, background .2s ease, color .2s ease !important;
  }
  .navbar-collapse .nav-link::after { display: none !important; }
  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link.active {
    background: var(--soft-beige) !important;
    color: var(--maroon) !important;
    padding-left: 30px !important;
  }
  .navbar-collapse .nav-link.active {
    border-left: 3px solid var(--gold);
  }

  /* ---- Communities accordion (replaces mega-menu on mobile) ---- */
  .navbar-collapse .dropdown-toggle::after { display: none !important; }
  .drawer-chevron {
    margin-left: auto;
    font-size: .72rem;
    color: var(--gold-dark);
    transition: transform .3s ease;
    flex-shrink: 0;
  }
  .navbar-collapse .nav-item.drawer-sub-active .drawer-chevron {
    transform: rotate(180deg);
  }
  .navbar-collapse .mega-menu {
    position: static !important;
    float: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: var(--soft-beige) !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    /* Smooth accordion — hide via height, not display */
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height .35s cubic-bezier(.4, 0, .2, 1) !important;
    border-top: 0 solid var(--beige) !important;
  }
  .navbar-collapse .mega-menu.drawer-sub-open {
    max-height: 700px !important;
    border-top-width: 1px !important;
  }
  .navbar-collapse .mega-menu .row {
    flex-direction: column;
    margin: 0;
  }
  /* Premium mega-menu mobile overrides */
  .navbar-collapse .ks-mm-hd,
  .navbar-collapse .ks-mm-ft { display: none !important; }
  .navbar-collapse .ks-mm-grid {
    grid-template-columns: 1fr !important;
    padding: 0 !important; gap: 0 !important;
    background: transparent !important;
  }
  .navbar-collapse .ks-mm-item {
    border-radius: 0 !important;
    padding: 11px 32px !important;
    font-size: .88rem !important;
  }
  .navbar-collapse .ks-mm-arr { display: none !important; }
  .navbar-collapse .mega-menu .col-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0;
  }
  .navbar-collapse .dropdown-item {
    padding: 11px 32px !important;
    border-bottom: 1px solid rgba(212, 175, 55, .12) !important;
    font-size: .88rem !important;
    color: var(--muted) !important;
    background: transparent !important;
    border-radius: 0 !important;
    transition: padding .18s ease, background .18s ease, color .18s ease !important;
    white-space: normal !important;
  }
  .navbar-collapse .dropdown-item:last-child { border-bottom: none !important; }
  .navbar-collapse .dropdown-item:hover {
    background: var(--beige) !important;
    color: var(--maroon) !important;
    padding-left: 40px !important;
  }

  /* Hide guest login/register row that lives inside the collapse (drawer footer handles guests) */
  .navbar-collapse > .d-flex {
    display: none !important;
  }

  /* Member chip mobile: compact — avatar + bell only, no name/chevron */
  .ks-nav-member .ks-memb-name,
  .ks-nav-member .ks-memb-chev { display: none !important; }
  .ks-nav-member .dropdown > button[data-bs-toggle="dropdown"] {
    padding: 4px !important;
  }

  /* ---- Drawer footer with action buttons (injected by JS) ---- */
  .drawer-footer {
    padding: 16px 20px 22px;
    border-top: 2px solid var(--gold-light);
    background: var(--cream);
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
  }

  /* ---- Toggler button refinement ---- */
  .navbar-toggler {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: var(--soft-beige) !important;
    border: 1.5px solid var(--beige) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: border-color .2s ease, background .2s ease !important;
  }
  .navbar-toggler:hover,
  .navbar-toggler[aria-expanded="true"] {
    border-color: var(--gold) !important;
    background: var(--beige) !important;
  }

  /* ---- Drawer nav link icons ---- */
  .navbar-collapse .nav-link .drawer-icon {
    width: 20px; text-align: center; color: var(--gold); flex-shrink: 0;
    font-size: .85rem;
  }

  /* ---- Drawer member footer (kdf-) ---- */
  .kdf-member {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 14px; margin-bottom: 10px;
    background: var(--soft-beige); border: 1px solid var(--beige);
    border-radius: 12px;
  }
  .kdf-initials {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: var(--maroon-gradient); color: #D4AF37;
    display: grid; place-items: center;
    font-size: .85rem; font-weight: 800;
    border: 2px solid var(--gold);
  }
  .kdf-name  { font-weight: 700; font-size: .88rem; color: var(--maroon-dark); line-height: 1.2; }
  .kdf-email { font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
  .kdf-actions {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px;
  }
  .kdf-btn {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 10px 6px; border-radius: 10px; text-decoration: none;
    background: #fff; border: 1px solid var(--beige);
    font-size: .7rem; font-weight: 600; color: var(--maroon-dark);
    transition: background .2s, border-color .2s;
  }
  .kdf-btn i { color: var(--gold); font-size: .95rem; }
  .kdf-btn:hover { background: var(--soft-beige); border-color: var(--gold-light); color: var(--maroon); }
  .kdf-logout {
    width: 100%; padding: 11px; border-radius: 10px;
    border: 1.5px solid #fecaca; background: #fef2f2; color: #dc2626;
    font-size: .86rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    transition: background .2s;
  }
  .kdf-logout:hover { background: #fee2e2; }

  /* ---- Full user nav list in drawer footer ---- */
  .kdf-nav-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    border: 1px solid var(--beige);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
  }
  .kdf-nav-list li { border-bottom: 1px solid var(--beige); }
  .kdf-nav-list li:last-child { border-bottom: none; }
  .kdf-nav-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--maroon-dark);
    text-decoration: none;
    transition: background .15s ease, padding-left .15s ease;
    touch-action: manipulation;
  }
  .kdf-nav-list a:hover,
  .kdf-nav-list a:active { background: var(--soft-beige); padding-left: 20px; color: var(--maroon); }
  .kdf-nav-list a i { color: var(--gold); font-size: .85rem; width: 18px; text-align: center; flex-shrink: 0; }
  .kdf-nav-list .kdf-nav-premium a {
    background: linear-gradient(90deg, rgba(212,175,55,.08), transparent);
    color: #92400e;
  }
  .kdf-nav-list .kdf-nav-premium a i { color: #d97706; }

  /* Ensure all drawer interactive elements respond immediately on touch */
  .navbar-collapse .nav-link,
  .navbar-collapse .dropdown-item,
  .kdf-btn,
  .kdf-logout {
    touch-action: manipulation;
  }
}

/* ==========================================================================
   Search Page  (sf- filter panel · sp- profile cards)
   ========================================================================== */

/* Page-hero eyebrow badge */
.sp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,.18);
  border: 1px solid rgba(212,175,55,.45);
  color: #f5dfa0;
  padding: 7px 20px;
  border-radius: 50px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 14px;
}
.sp-hero-sub { color: rgba(255,255,255,.65); font-size: .98rem; margin-bottom: 14px; }
.sp-hero-sub strong { color: var(--gold); }

/* ---- Filter panel (sf-) ---- */
.sf-panel {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--beige);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.sf-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--maroon-gradient);
  color: #fff;
  padding: 15px 18px;
}
.sf-header > i { color: var(--gold); font-size: 1rem; flex-shrink: 0; }
.sf-header span { font-weight: 700; font-size: .98rem; flex: 1; font-family: var(--font-head); }
.sf-reset {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.85);
  font-size: .72rem;
  padding: 4px 11px;
  border-radius: 20px;
  cursor: pointer;
  transition: background .2s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.sf-reset:hover { background: rgba(255,255,255,.25); }
.sf-body { padding: 14px 16px 18px; }
.sf-group { margin-bottom: 13px; }
.sf-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}
.sf-select {
  width: 100%;
  background: var(--soft-beige);
  border: 1.5px solid var(--beige);
  border-radius: 10px;
  padding: 8px 32px 8px 11px;
  font-size: .86rem;
  color: var(--ink);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23800000' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color .2s;
  cursor: pointer;
}
.sf-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.14); }
.sf-range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.sf-toggle-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.sf-toggle-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--beige);
  background: var(--soft-beige);
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s ease;
  user-select: none;
}
.sf-toggle-opt input { display: none; }
.sf-toggle-opt:has(input:checked) {
  background: rgba(128,0,0,.07);
  border-color: var(--maroon);
  color: var(--maroon);
}
.sf-check-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--soft-beige);
  border: 1.5px solid var(--beige);
  border-radius: 10px;
  padding: 9px 13px;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .2s;
  user-select: none;
}
.sf-check-wrap:has(input:checked) { border-color: var(--gold); background: rgba(212,175,55,.06); }
.sf-check-wrap input { accent-color: var(--maroon); width: 15px; height: 15px; cursor: pointer; flex-shrink: 0; }
.sf-div { height: 1px; background: var(--beige); margin: 4px 0 14px; }
.sf-apply {
  width: 100%;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  border: none;
  border-radius: 11px;
  padding: 12px;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: var(--shadow-gold);
  transition: transform .25s, box-shadow .25s;
  font-family: var(--font-body);
  margin-top: 2px;
}
.sf-apply:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212,175,55,.5); }

/* ---- Results toolbar ---- */
.sp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--beige);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 13px 18px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.sp-count { font-size: .88rem; color: var(--muted); }
.sp-count strong { color: var(--maroon); font-size: 1.2rem; font-family: var(--font-head); margin-right: 2px; }
.sp-toolbar-right { display: flex; align-items: center; gap: 10px; }
.sp-sort-label { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.sp-sort {
  background: var(--soft-beige);
  border: 1.5px solid var(--beige);
  border-radius: 9px;
  padding: 7px 30px 7px 10px;
  font-size: .83rem;
  color: var(--ink);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23800000' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  cursor: pointer;
  transition: border-color .2s;
}
.sp-sort:focus { border-color: var(--gold); }

/* ---- Premium compact profile cards (sp-card) ---- */
.sp-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--beige);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .32s ease, box-shadow .32s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(128,0,0,.12), 0 0 0 1.5px rgba(212,175,55,.3);
}
.sp-photo {
  position: relative;
  aspect-ratio: 3 / 3.6;
  overflow: hidden;
}
.sp-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.sp-card:hover .sp-photo img { transform: scale(1.06); }
.sp-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(35,0,0,.92) 0%, rgba(35,0,0,.45) 55%, transparent 100%);
  padding: 32px 12px 10px;
}
.sp-name {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}
.sp-age-badge {
  display: inline-block;
  background: rgba(212,175,55,.28);
  border: 1px solid rgba(212,175,55,.55);
  color: #f5dfa0;
  font-size: .68rem;
  padding: 1px 7px;
  border-radius: 20px;
  font-family: var(--font-body);
  margin-left: 4px;
  vertical-align: middle;
  font-weight: 600;
}
.sp-crown-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  font-size: .66rem;
  font-weight: 700;
  padding: 4px 9px 4px 7px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  box-shadow: 0 3px 12px rgba(212,175,55,.5);
  font-family: var(--font-body);
}
.sp-verified {
  position: absolute;
  top: 44px; left: 10px;
  z-index: 2;
  font-size: 1.45rem;
  color: #22c55e;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(255,255,255,.95)) drop-shadow(0 1px 4px rgba(0,0,0,.4));
}
.sp-heart-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  color: #fff;
  display: grid; place-items: center;
  font-size: .84rem;
  cursor: pointer;
  z-index: 2;
  transition: all .22s ease;
}
.sp-heart-btn:hover,
.sp-heart-btn.liked { background: rgba(230,40,60,.85); border-color: transparent; }
.sp-body { padding: 10px 12px 13px; display: flex; flex-direction: column; flex: 1; }
.sp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 7px;
}
.sp-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  color: var(--muted);
  background: var(--soft-beige);
  border: 1px solid var(--beige);
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.sp-tag i { color: var(--gold-dark); font-size: .68rem; }
.sp-edu {
  font-size: .76rem;
  color: var(--muted);
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-edu i { color: var(--gold-dark); flex-shrink: 0; }
.sp-view {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--maroon-gradient);
  color: #fff;
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  padding: 9px 10px;
  transition: box-shadow .25s, transform .25s;
  letter-spacing: .2px;
  margin-top: auto;
}
.sp-view:hover {
  box-shadow: 0 6px 20px rgba(128,0,0,.35);
  transform: translateY(-1px);
  color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
  .sf-panel { position: static; margin-bottom: 20px; }
}

/* ==========================================================================
   Elegant Premium Cards  (ep- namespace — index.php bride/groom sections)
   ========================================================================== */

/* ── Card ── */
.ep-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--beige);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .32s ease, box-shadow .32s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ep-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(128,0,0,.12), 0 0 0 1.5px rgba(212,175,55,.3);
}

/* ── Photo area ── */
.ep-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  flex-shrink: 0;
}
.ep-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.ep-card:hover .ep-photo img { transform: scale(1.06); }

/* Photo gradient overlay — same maroon as sp-card */
.ep-photo-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35,0,0,.92) 0%, rgba(35,0,0,.45) 55%, transparent 100%);
  pointer-events: none;
}

/* ── Floating badges ── */
.ep-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ep-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .66rem;
  font-weight: 700;
  padding: 4px 9px 4px 7px;
  border-radius: 20px;
  line-height: 1.4;
  white-space: nowrap;
  font-family: var(--font-body);
}
.ep-badge-premium {
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  box-shadow: 0 3px 12px rgba(212,175,55,.5);
}
.ep-badge-verified {
  background: rgba(34,197,94,.9);
  color: #fff;
}

/* ── Heart shortlist button ── */
.ep-heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  color: #fff;
  font-size: .84rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .22s ease;
}
.ep-heart-btn:hover,
.ep-heart-btn.active { background: rgba(230,40,60,.85); border-color: transparent; }

/* ── Overlay info at photo bottom ── */
.ep-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 32px 12px 10px;
}
.ep-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.ep-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.ep-age {
  display: inline-block;
  background: rgba(212,175,55,.28);
  border: 1px solid rgba(212,175,55,.55);
  color: #f5dfa0;
  font-size: .68rem;
  padding: 1px 7px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
  vertical-align: middle;
}
.ep-meta-loc {
  font-size: .74rem;
  color: rgba(255,255,255,.78);
  display: flex;
  align-items: center;
  gap: 4px;
}
.ep-meta-loc i { color: #f5dfa0; font-size: .65rem; }

/* ── Card body ── */
.ep-body {
  padding: 10px 12px 13px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Info pills — match sp-tag styling */
.ep-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 7px;
}
.ep-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  color: var(--muted);
  background: var(--soft-beige);
  border: 1px solid var(--beige);
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.ep-pill i { color: var(--gold-dark); font-size: .68rem; flex-shrink: 0; }

/* Education line — match sp-edu */
.ep-edu-line {
  font-size: .76rem;
  color: var(--muted);
  margin: 0 0 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-edu-line i { color: var(--gold-dark); font-size: .68rem; flex-shrink: 0; }

/* ── View Profile button — same maroon gradient as sp-view ── */
.ep-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--maroon-gradient);
  color: #fff;
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  padding: 9px 10px;
  letter-spacing: .2px;
  transition: box-shadow .25s, transform .25s;
  margin-top: auto;
}
.ep-view-btn:hover {
  box-shadow: 0 6px 20px rgba(128,0,0,.35);
  transform: translateY(-1px);
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .ep-photo { aspect-ratio: 3 / 3.5; }
}

/* ==========================================================================
   Premium Login Page  (lp- namespace — login.html only)
   Full-viewport background · Split visual + form panel · Glass card
   ========================================================================== */

/* Full-page wrapper */
.lp-wrap {
  min-height: 100vh;
  display: flex;
  position: relative;
  background:
    linear-gradient(135deg, rgba(58,0,0,.88) 0%, rgba(92,0,0,.72) 45%, rgba(22,6,0,.84) 100%),
    url('../img/login.jpg') center / cover no-repeat fixed;
}
@media (max-width: 991px) {
  .lp-wrap { background-attachment: scroll; }
}

/* ===================== LEFT VISUAL PANEL ===================== */
.lp-visual {
  flex: 0 0 56%;
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 60px 68px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 992px) { .lp-visual { display: flex; } }

/* Vertical gold separator */
.lp-visual::after {
  content: '';
  position: absolute;
  top: 8%;
  right: 0;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(212,175,55,.45) 20%,
    rgba(212,175,55,.45) 80%,
    transparent 100%);
}

/* Oversized decorative Om in background */
.lp-visual::before {
  content: '\f534';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  bottom: -60px;
  right: 50px;
  font-size: 300px;
  color: rgba(212,175,55,.055);
  pointer-events: none;
  line-height: 1;
}

.lp-vi { position: relative; z-index: 1; }

.lp-logo-img { height: 82px; margin-bottom: 44px; }

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,.11);
  border: 1px solid rgba(212,175,55,.32);
  color: var(--gold-light);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.lp-badge i { color: var(--gold); }

.lp-headline {
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
  color: #fff;
  line-height: 1.14;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
}

.lp-subline {
  color: rgba(243,233,211,.82);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 38px;
}

/* Stats row */
.lp-stats-row {
  display: flex;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(212,175,55,.22);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lp-stat {
  flex: 1;
  padding: 20px 10px;
  text-align: center;
}
.lp-sdiv {
  width: 1px;
  background: rgba(212,175,55,.2);
  align-self: stretch;
}
.lp-sn {
  display: block;
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 5px;
}
.lp-sl {
  font-size: .73rem;
  color: rgba(243,233,211,.62);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Trust badges */
.lp-trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.lp-trust-row span {
  color: rgba(243,233,211,.62);
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lp-trust-row i { color: var(--gold); font-size: .78rem; }

/* Quote card */
.lp-quote {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(212,175,55,.18);
  border-left: 3px solid rgba(212,175,55,.5);
  border-radius: 14px;
  padding: 18px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 400px;
}
.lp-quote-ico {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 8px;
  display: block;
  opacity: .7;
}
.lp-quote p {
  color: rgba(243,233,211,.82);
  font-size: .88rem;
  line-height: 1.65;
  margin: 0 0 8px;
  font-style: italic;
}
.lp-quote-by {
  font-size: .78rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* ===================== RIGHT FORM PANEL ===================== */
.lp-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 32px;
  position: relative;
  min-height: 100vh;
}
@media (min-width: 992px) {
  .lp-panel {
    background: rgba(0,0,0,.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

/* Back to home link */
.lp-back {
  position: absolute;
  top: 22px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.68);
  font-size: .84rem;
  font-weight: 600;
  transition: color .2s ease;
  text-decoration: none;
}
.lp-back:hover { color: var(--gold); }
.lp-back i { font-size: .7rem; }

/* ===================== LOGIN CARD ===================== */
.lp-card {
  width: 100%;
  max-width: 464px;
  background: rgba(253,248,238,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 26px;
  padding: 46px 44px 40px;
  box-shadow:
    0 36px 88px rgba(0,0,0,.48),
    0 0 0 1px rgba(212,175,55,.28),
    inset 0 1px 0 rgba(255,255,255,.9);
  position: relative;
  overflow: hidden;
  animation: lpCardIn .52s cubic-bezier(.22,1,.36,1) both;
}

@keyframes lpCardIn {
  from { opacity: 0; transform: translateY(34px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Gold gradient top bar */
.lp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 26px 26px 0 0;
}

/* Radial corner glow */
.lp-card::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(212,175,55,.13) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

/* Mobile logo */
.lp-mob-brand { text-align: center; margin-bottom: 20px; }
.lp-mob-brand img { height: 66px; }

/* Card header section */
.lp-card-top {
  text-align: center;
  margin-bottom: 30px;
}
.lp-orn-icon {
  width: 56px; height: 56px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
  color: var(--maroon-dark);
  box-shadow:
    0 8px 26px rgba(212,175,55,.44),
    0 0 0 7px rgba(212,175,55,.1);
}
.lp-card-top h2 {
  font-size: 1.65rem;
  margin-bottom: 6px;
  color: var(--maroon);
}
.lp-card-top p {
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
}

/* ---- Form fields ---- */
.lp-field { margin-bottom: 18px; }

.lp-lbl {
  display: block;
  font-weight: 600;
  font-size: .86rem;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: .15px;
}

.lp-iw { position: relative; }

.lp-ico {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-size: .9rem;
  pointer-events: none;
  z-index: 2;
}

.lp-inp {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid var(--beige);
  border-radius: 12px;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  transition: border-color .22s ease, box-shadow .22s ease;
  outline: none;
  appearance: none;
  display: block;
}
.lp-inp-pass { padding-right: 46px; }
.lp-inp:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,.15);
}
.lp-inp::placeholder { color: #bfb9b3; font-size: .88rem; }

/* Validation states */
.was-validated .lp-inp:invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,.1);
}
.was-validated .lp-inp:valid { border-color: #27ae60; }

/* Show error text when paired input is invalid */
.lp-err {
  display: none;
  font-size: .78rem;
  color: #c0392b;
  margin-top: 6px;
  padding-left: 2px;
}
.was-validated .lp-field:has(.lp-inp:invalid) .lp-err { display: block; }

/* Password toggle button */
.lp-eye {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s ease, background .2s ease;
  z-index: 2;
  line-height: 1;
  font-size: .88rem;
}
.lp-eye:hover { color: var(--maroon); background: var(--soft-beige); }

/* Remember me + Forgot password row */
.lp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  font-size: .87rem;
}
.lp-chk {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--muted);
  user-select: none;
}
.lp-chk input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 4px;
}
.lp-fgt {
  color: var(--maroon);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
.lp-fgt:hover { color: var(--gold-dark); text-decoration: underline; }

/* Submit button */
.lp-btn {
  width: 100%;
  padding: 15px 20px;
  background: var(--gold-gradient);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon-dark);
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(212,175,55,.42);
  transition: transform .22s ease, box-shadow .22s ease;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  letter-spacing: .2px;
  margin-bottom: 22px;
}
.lp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(212,175,55,.52);
}
.lp-btn:active { transform: translateY(0); }

/* Divider */
.lp-or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .79rem;
  margin-bottom: 16px;
}
.lp-or::before, .lp-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--beige);
}

/* Social login buttons */
.lp-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.lp-soc {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 6px;
  border: 1.5px solid var(--beige);
  border-radius: 10px;
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  font-family: var(--font-body);
}
.lp-soc:hover {
  border-color: var(--gold-light);
  background: var(--soft-beige);
  box-shadow: 0 4px 14px rgba(128,0,0,.07);
}
.lp-soc i { font-size: 1rem; flex-shrink: 0; }
.lp-soc-g { color: #ea4335; }
.lp-soc-f { color: #1877f2; }
.lp-soc-a { color: #111; }

/* Register link */
.lp-join {
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}
.lp-join a {
  color: var(--maroon);
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}
.lp-join a:hover { color: var(--gold-dark); }

/* Privacy note below card */
.lp-prv {
  margin-top: 22px;
  color: rgba(255,255,255,.42);
  font-size: .75rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 0;
}
.lp-prv i { color: rgba(212,175,55,.52); }

/* ---- Mobile tweaks ---- */
@media (max-width: 575px) {
  .lp-card { padding: 32px 22px 26px; border-radius: 20px; }
  .lp-socials { gap: 8px; }
  .lp-soc span { display: none; }
  .lp-soc { padding: 12px 10px; }
}

/* ==========================================================================
   Premium Register Page  (rp- namespace — register.html only)
   Reuses lp-wrap background + lp-visual left panel.
   Adds wider rp-panel, rp-card, premium stepper, form field overrides.
   ========================================================================== */

/* Left visual — narrower on register to give form more room */
.rp-wrap .lp-visual { flex: 0 0 40%; }

/* Benefits list */
.rp-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.rp-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(243,233,211,.82);
  font-size: .9rem;
  line-height: 1.55;
  padding: 7px 0;
  border-bottom: 1px solid rgba(212,175,55,.1);
}
.rp-benefits li:last-child { border-bottom: none; }
.rp-benefits i {
  color: var(--gold);
  font-size: .85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Already registered link on visual panel */
.rp-login-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(243,233,211,.6);
  font-size: .86rem;
}
.rp-login-cta i { color: var(--gold); }
.rp-login-cta a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(212,175,55,.4);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.rp-login-cta a:hover { color: var(--gold); border-color: var(--gold); }

/* ---- Right form panel ---- */
.rp-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 56px 24px 50px;
  position: relative;
  min-height: 100vh;
}
@media (min-width: 992px) {
  .rp-panel {
    background: rgba(0,0,0,.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

/* ---- Register card ---- */
.rp-card {
  width: 100%;
  max-width: 660px;
  background: rgba(253,248,238,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 26px;
  padding: 42px 46px 36px;
  box-shadow:
    0 36px 88px rgba(0,0,0,.46),
    0 0 0 1px rgba(212,175,55,.28),
    inset 0 1px 0 rgba(255,255,255,.9);
  position: relative;
  overflow: hidden;
  animation: lpCardIn .52s cubic-bezier(.22,1,.36,1) both;
}

/* Gold top bar */
.rp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 26px 26px 0 0;
}

/* Corner glow */
.rp-card::after {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,175,55,.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

/* Card header */
.rp-card-top {
  text-align: center;
  margin-bottom: 28px;
}
.rp-card-top h2 {
  font-size: 1.6rem;
  margin-bottom: 5px;
  color: var(--maroon);
}
.rp-card-top p {
  color: var(--muted);
  font-size: .88rem;
  margin: 0;
}

/* ---- Premium stepper (overrides existing .steps-nav / .step-dot) ---- */
.rp-card .steps-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 4px;
}

/* Connector line between circles */
.rp-card .steps-nav::before {
  content: '';
  position: absolute;
  top: 19px;
  left: calc(10% + 18px);
  right: calc(10% + 18px);
  height: 2px;
  background: var(--beige);
  z-index: 0;
}

.rp-card .step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
}

.rp-card .step-dot .circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  background: #fff;
  border: 2px solid var(--beige);
  color: var(--muted);
  transition: all .3s ease;
  position: relative;
}

/* Active step — gold gradient */
.rp-card .step-dot.active .circle {
  background: var(--gold-gradient);
  border-color: transparent;
  color: var(--maroon-dark);
  box-shadow: 0 4px 16px rgba(212,175,55,.4);
}

/* Completed step — maroon with checkmark */
.rp-card .step-dot.done .circle {
  background: var(--maroon-gradient);
  border-color: transparent;
  color: #fff;
}
.rp-card .step-dot.done .circle i { opacity: 0; }
.rp-card .step-dot.done .circle::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  font-size: .78rem;
  color: #fff;
}

.rp-card .step-dot .label {
  font-size: .68rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  line-height: 1.2;
}
.rp-card .step-dot.active .label,
.rp-card .step-dot.done .label { color: var(--maroon); }

/* ---- Step header bar ---- */
.rp-step-hd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--soft-beige), var(--cream));
  border: 1px solid var(--beige);
  border-radius: 14px;
  margin-bottom: 22px;
}
.rp-step-hd > i {
  width: 40px; height: 40px;
  background: var(--gold-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon-dark);
  font-size: .95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(212,175,55,.3);
}
.rp-step-hd h4 {
  font-size: 1.05rem;
  margin: 0 0 2px;
  color: var(--maroon);
  font-family: var(--font-head);
}
.rp-step-hd p {
  font-size: .8rem;
  color: var(--muted);
  margin: 0;
}

/* Required field marker */
.rp-req { color: #c0392b; font-size: .8rem; margin-left: 1px; }

/* ---- Form field overrides (scoped to rp-card) ---- */
.rp-card .form-label {
  font-weight: 600;
  font-size: .86rem;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: .1px;
}

.rp-card .form-control,
.rp-card .form-select {
  padding: 12px 16px;
  border: 1.5px solid var(--beige);
  border-radius: 12px;
  font-size: .93rem;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.rp-card .form-control:focus,
.rp-card .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,.13);
  outline: none;
}
.rp-card .form-control::placeholder { color: #bfb9b3; font-size: .87rem; }

/* Validation states */
.rp-card .form-control:invalid:not(:placeholder-shown),
.rp-card .form-select:invalid:not([value=""]) {
  border-color: var(--beige);
}
.rp-card .was-validated .form-control:invalid,
.rp-card .was-validated .form-select:invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,.09);
}
.rp-card .was-validated .form-control:valid,
.rp-card .was-validated .form-select:valid {
  border-color: #27ae60;
}

/* Input with left icon (account step) */
.rp-input-ico {
  position: relative;
}
.rp-input-ico > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-size: .88rem;
  pointer-events: none;
  z-index: 2;
}
.rp-input-ico .form-control { padding-left: 42px; }
.rp-input-ico .rp-pass-input { padding-right: 50px; }
.rp-input-ico .lp-eye { right: 4px; top: 50%; transform: translateY(-50%); }

/* Photo upload — premium styling */
.rp-card .rp-photo-upload {
  border: 2px dashed var(--gold-light);
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease;
  background: var(--soft-beige);
}
.rp-card .rp-photo-upload:hover {
  border-color: var(--gold);
  background: var(--cream);
}
.rp-card .rp-photo-upload i {
  font-size: 2.2rem;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 4px;
}
.rp-card .rp-photo-upload small { color: var(--muted); font-size: .78rem; }

/* Terms & privacy checkbox row */
.rp-agree-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--soft-beige);
  border: 1px solid var(--beige);
  border-radius: 12px;
}
.rp-agree-check {
  width: 17px; height: 17px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.rp-agree-row label {
  font-size: .87rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.55;
  margin: 0;
}
.rp-link {
  color: var(--maroon);
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}
.rp-link:hover { color: var(--gold-dark); text-decoration: underline; }

/* Navigation buttons */
.rp-nav-row { gap: 10px; }

.rp-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  background: var(--gold-gradient);
  border: none;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--maroon-dark);
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(212,175,55,.38);
  transition: transform .2s ease, box-shadow .2s ease;
  font-family: var(--font-body);
  letter-spacing: .15px;
}
.rp-btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212,175,55,.48);
}
.rp-btn-next:active { transform: translateY(0); }

.rp-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 22px;
  background: #fff;
  border: 1.5px solid var(--beige);
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
  font-family: var(--font-body);
}
.rp-btn-back:hover {
  border-color: var(--gold-light);
  background: var(--soft-beige);
  color: var(--maroon);
}

.rp-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: var(--maroon-gradient);
  border: none;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(128,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
  font-family: var(--font-body);
  letter-spacing: .15px;
}
.rp-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(128,0,0,.45);
}
.rp-btn-submit:active { transform: translateY(0); }

/* Login link at bottom of card */
.rp-card-login {
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--beige);
}
.rp-card-login a {
  color: var(--maroon);
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}
.rp-card-login a:hover { color: var(--gold-dark); }

/* ---- Mobile tweaks ---- */
@media (max-width: 767px) {
  .rp-card { padding: 30px 20px 26px; border-radius: 20px; }
  .rp-card .steps-nav::before { display: none; }
  .rp-card .step-dot .label { font-size: .6rem; }
  .rp-step-hd { padding: 12px 14px; }
  .rp-btn-next, .rp-btn-back, .rp-btn-submit { padding: 12px 18px; font-size: .88rem; }
}
@media (max-width: 575px) {
  .rp-panel { padding: 50px 16px 40px; }
  .rp-card { border-radius: 18px; }
}

/* ==========================================================================
   Premium Payment Page  (pay- namespace — payment.html)
   Full-screen background · Two-column layout · 3D card flip · UPI / PayPal
   ========================================================================== */

/* ---- Page wrapper ---- */
.pay-wrap { align-items: center; justify-content: center; padding: 40px 16px; }

/* ---- Two-column payment container ---- */
.pay-container {
  display: flex;
  width: 100%;
  max-width: 940px;
  background: rgba(253,248,238,.97);
  border-radius: 28px;
  box-shadow:
    0 40px 100px rgba(0,0,0,.5),
    0 0 0 1px rgba(212,175,55,.28),
    inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
  animation: lpCardIn .55s cubic-bezier(.22,1,.36,1) both;
  position: relative;
}
.pay-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

/* ========== LEFT — Order Summary ========== */
.pay-left {
  flex: 0 0 38%;
  background: linear-gradient(160deg, var(--maroon-dark) 0%, var(--maroon) 55%, #5a2800 100%);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.pay-left::before {
  content: '\f534';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  bottom: -60px; right: -40px;
  font-size: 260px;
  color: rgba(212,175,55,.06);
  pointer-events: none;
  line-height: 1;
}

/* Secure badge */
.pay-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  font-size: .75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  width: fit-content;
}
.pay-secure-badge i { color: #2ecc71; font-size: .78rem; }

/* Plan card */
.pay-plan-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  position: relative;
}
.pay-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.pay-plan-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(212,175,55,.4);
}
.pay-plan-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
}
.pay-plan-desc { color: rgba(243,233,211,.7); font-size: .8rem; line-height: 1.5; margin: 0; }

/* Price display */
.pay-price-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.pay-old-price {
  color: rgba(243,233,211,.45);
  font-size: .95rem;
  text-decoration: line-through;
}
.pay-new-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  color: var(--gold);
  line-height: 1;
}
.pay-currency { font-size: 1.2rem; font-weight: 700; margin-top: 4px; }
.pay-amount   { font-size: 2.6rem; font-weight: 800; font-family: var(--font-head); }
.pay-cents    { font-size: 1.2rem; font-weight: 700; margin-top: 4px; }
.pay-savings-badge {
  background: rgba(46,204,113,.2);
  border: 1px solid rgba(46,204,113,.35);
  color: #2ecc71;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

/* Features list */
.pay-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pay-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(243,233,211,.82);
  font-size: .82rem;
  line-height: 1.4;
}
.pay-features i { color: var(--gold); font-size: .78rem; flex-shrink: 0; width: 14px; text-align: center; }

/* Price breakdown */
.pay-breakdown {
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(212,175,55,.15);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pay-brow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(243,233,211,.65);
  font-size: .8rem;
}
.pay-brow-discount { color: #2ecc71; }
.pay-brow-total {
  color: var(--gold);
  font-weight: 700;
  font-size: .92rem;
  padding-top: 8px;
  border-top: 1px solid rgba(212,175,55,.2);
  margin-top: 2px;
}

/* Trust badges */
.pay-trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.pay-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 8px 10px;
  color: rgba(243,233,211,.65);
  font-size: .74rem;
  font-weight: 600;
}
.pay-trust-item i { color: var(--gold); font-size: .78rem; }

/* ========== RIGHT — Payment Form ========== */
.pay-right {
  flex: 1;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 560px;
}

/* Back link inside payment panel */
.pay-back-link {
  position: absolute;
  top: 16px; right: 20px;
  font-size: .8rem;
}

/* Header */
.pay-right-hd {
  margin-bottom: 18px;
}
.pay-right-hd h2 {
  font-size: 1.35rem;
  color: var(--maroon);
  margin-bottom: 10px;
}

/* Accepted card logos */
.pay-card-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pay-card-logos i {
  font-size: 2rem;
  color: var(--muted);
  transition: color .2s ease;
}
.pay-card-logos i:hover { color: var(--maroon); }
.pay-logo-rupay {
  font-size: .72rem;
  font-weight: 800;
  border: 1.5px solid #1a6faf;
  color: #1a6faf;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .5px;
}

/* ---- Payment method tabs ---- */
.pay-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  background: var(--soft-beige);
  border: 1px solid var(--beige);
  border-radius: 14px;
  padding: 5px;
}
.pay-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 4px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .22s ease;
  font-family: var(--font-body);
  white-space: nowrap;
}
.pay-tab i { font-size: .95rem; }
.pay-tab.active {
  background: #fff;
  color: var(--maroon);
  box-shadow: 0 2px 10px rgba(128,0,0,.1);
}
.pay-tab:hover:not(.active) { color: var(--maroon); background: rgba(255,255,255,.6); }

/* PhonePe tab icon */
.pay-tab-phonepe-ico {
  width: 18px; height: 18px;
  background: #5f259f;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem;
  color: #fff;
  font-weight: 900;
  flex-shrink: 0;
}
/* GPay tab icon */
.pay-tab-gpay-ico {
  width: 18px; height: 18px;
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .66rem;
  color: #fff;
  font-weight: 900;
  flex-shrink: 0;
}

/* ---- Form fields (shared) ---- */
.pay-field { margin-bottom: 14px; }
.pay-lbl {
  display: block;
  font-weight: 600;
  font-size: .82rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.pay-input-wrap { position: relative; }
.pay-field-ico {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-size: .85rem;
  pointer-events: none;
  z-index: 2;
}
.pay-inp {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid var(--beige);
  border-radius: 11px;
  font-size: .92rem;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  transition: border-color .22s ease, box-shadow .22s ease;
  outline: none;
}
.pay-inp:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.14);
}
.pay-inp::placeholder { color: #bfb9b3; font-size: .85rem; }

/* ============================================================
   3D CARD PREVIEW
   ============================================================ */
.pay-card-preview {
  width: 100%;
  max-width: 340px;
  height: 192px;
  perspective: 1100px;
  margin: 0 auto 22px;
}
.pay-card-inner {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
}
.pay-card-preview.flipped .pay-card-inner { transform: rotateY(180deg); }
.pay-card-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

/* Card front */
.pay-card-front {
  background: linear-gradient(135deg, #5c0000 0%, #800000 35%, #9e6b10 70%, #d4af37 100%);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.pay-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* EMV Chip */
.pay-chip {
  width: 34px; height: 26px;
  background: linear-gradient(135deg, #d4af37, #f3e87a, #b8941f);
  border-radius: 5px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pay-chip-h {
  position: absolute;
  width: 70%; height: 2px;
  background: rgba(92,0,0,.35);
  border-radius: 1px;
}
.pay-chip-v {
  position: absolute;
  width: 2px; height: 70%;
  background: rgba(92,0,0,.35);
  border-radius: 1px;
}
.pay-card-network { font-size: 2rem; color: rgba(255,255,255,.9); line-height: 1; }

.pay-card-number-row {
  font-size: 1.12rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,.9);
  font-family: 'Courier New', monospace;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.pay-card-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.pay-card-sublabel {
  font-size: .56rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.pay-card-holder { font-size: .82rem; color: #fff; letter-spacing: 1px; text-transform: uppercase; }
.pay-card-expiry { font-size: .82rem; color: #fff; letter-spacing: 1px; }

/* Card back */
.pay-card-back {
  background: linear-gradient(135deg, #4a0000 0%, #700000 50%, #8a5500 100%);
  transform: rotateY(180deg);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.pay-mag-stripe {
  width: 100%; height: 38px;
  background: #111;
  margin-bottom: 4px;
}
.pay-cvv-wrap { padding: 0 24px; }
.pay-cvv-strip {
  background: rgba(255,255,255,.9);
  border-radius: 5px;
  padding: 7px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pay-cvv-label {
  font-size: .65rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 1px;
}
.pay-cvv-val {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: 3px;
}
.pay-card-back-network {
  padding: 0 24px;
  text-align: right;
  font-size: 1.6rem;
  color: rgba(255,255,255,.7);
}
.pay-rupay-badge {
  font-size: .7rem; font-weight: 800; color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.4); padding: 2px 6px; border-radius: 4px;
}

/* ---- Submit button ---- */
.pay-submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--gold-gradient);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon-dark);
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(212,175,55,.42);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  letter-spacing: .2px;
}
.pay-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(212,175,55,.52); }
.pay-submit-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* Stripe note */
.pay-stripe-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--soft-beige);
  border-radius: 10px;
  border: 1px solid var(--beige);
  font-size: .75rem;
  color: var(--muted);
}
.pay-stripe-ico { font-size: 1.4rem; color: #635bff; }

/* ============================================================
   UPI SECTIONS (PhonePe / GPay)
   ============================================================ */
.pay-upi-wrap { display: flex; flex-direction: column; align-items: center; gap: 0; }
.pay-qr-panel { text-align: center; width: 100%; }

/* Brand header */
.pay-qr-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 1.1rem;
  font-weight: 700;
}
.phonepe-brand { color: #5f259f; }
.phonepe-icon {
  width: 30px; height: 30px;
  background: #5f259f;
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .9rem;
}
.gpay-brand { font-size: 1.05rem; }
.gpay-g  { color: #4285f4; }
.gpay-o  { color: #ea4335; }
.gpay-o2 { color: #fbbc05; }
.gpay-g2 { color: #4285f4; }
.gpay-l  { color: #34a853; }
.gpay-e  { color: #ea4335; }
.gpay-pay { color: var(--ink); font-weight: 700; }

/* QR holder */
.pay-qr-holder {
  display: inline-block;
  padding: 12px;
  background: #fff;
  border: 2px solid var(--beige);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  margin-bottom: 8px;
}
.pay-qr-holder svg { display: block; }
.pay-qr-timer {
  margin-top: 8px;
  font-size: .74rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.pay-qr-timer i { color: var(--gold-dark); font-size: .7rem; }
.pay-qr-timer span { font-weight: 700; color: var(--maroon); }
.pay-qr-hint { color: var(--muted); font-size: .8rem; margin: 6px 0 0; }

/* Divider */
.pay-upi-or {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--muted);
  font-size: .78rem;
}
.pay-upi-or::before, .pay-upi-or::after { content: ''; flex: 1; height: 1px; background: var(--beige); }

/* UPI input */
.pay-upi-form { width: 100%; }
.pay-upi-inp { padding-left: 46px; }
.pay-upi-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem;
  font-weight: 900;
  z-index: 2;
}
.phonepe-prefix { background: #5f259f; color: #fff; }
.gpay-prefix    { background: #4285f4; color: #fff; }

/* UPI pay buttons */
.pay-upi-pay-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  margin-top: 4px;
}
.pay-upi-pay-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.phonepe-btn {
  background: #5f259f;
  color: #fff;
  box-shadow: 0 6px 20px rgba(95,37,159,.3);
}
.phonepe-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(95,37,159,.4); }
.phonepe-btn-ico {
  width: 22px; height: 22px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .78rem;
}

.gpay-btn {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--beige);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.gpay-btn:hover { border-color: #4285f4; box-shadow: 0 6px 18px rgba(66,133,244,.2); transform: translateY(-2px); }
.gpay-btn-text { display: flex; gap: 0; }

/* ============================================================
   PAYPAL SECTION
   ============================================================ */
.pay-paypal-wrap { width: 100%; display: flex; flex-direction: column; gap: 16px; }

.pay-paypal-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #003087;
  border-radius: 14px;
  color: #fff;
}
.pay-paypal-ico { font-size: 2.4rem; color: #009cde; flex-shrink: 0; }
.pay-paypal-logo-row strong { font-size: .95rem; display: block; margin-bottom: 4px; }
.pay-paypal-logo-row p { font-size: .78rem; color: rgba(255,255,255,.7); margin: 0; }

.pay-paypal-amount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--soft-beige);
  border: 1px solid var(--beige);
  border-radius: 11px;
  font-size: .88rem;
}
.pay-paypal-total { font-weight: 700; color: var(--maroon); }

.pay-paypal-btn {
  width: 100%;
  padding: 15px;
  background: #009cde;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(0,156,222,.35);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pay-paypal-btn:hover { background: #0086be; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,156,222,.45); }
.pay-paypal-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.pay-paypal-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.pay-paypal-features span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: .76rem;
}
.pay-paypal-features i { color: #009cde; }

/* ============================================================
   SUCCESS STATE
   ============================================================ */
.pay-success {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  gap: 12px;
  flex: 1;
}
.pay-success-icon {
  font-size: 4rem;
  color: #2ecc71;
  text-shadow: 0 0 30px rgba(46,204,113,.35);
  animation: lpCardIn .5s ease both;
}
.pay-success h3 { font-size: 1.5rem; color: var(--maroon); margin: 0; }
.pay-success p  { color: var(--muted); font-size: .92rem; margin: 0; }
.pay-success-ref {
  background: var(--soft-beige);
  border: 1px solid var(--beige);
  border-radius: 10px;
  padding: 8px 20px;
  font-size: .82rem;
  color: var(--muted);
}
.pay-success-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gold-gradient);
  border-radius: 12px;
  color: var(--maroon-dark);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(212,175,55,.38);
  transition: transform .2s ease;
}
.pay-success-btn:hover { transform: translateY(-2px); color: var(--maroon-dark); }
.pay-success-link {
  color: var(--muted);
  font-size: .83rem;
  text-decoration: none;
  transition: color .2s ease;
}
.pay-success-link:hover { color: var(--maroon); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .pay-wrap { padding: 20px 12px 30px; align-items: flex-start; }
  .pay-container { flex-direction: column; border-radius: 22px; }
  .pay-left {
    flex: none;
    padding: 24px 22px;
    border-radius: 22px 22px 0 0;
  }
  .pay-left::before { display: none; }
  .pay-right { padding: 24px 20px 28px; min-height: auto; }
  .pay-card-preview { max-width: 300px; height: 170px; }
  .pay-card-number-row { font-size: .95rem; }
  .pay-plan-card { padding: 16px; }
  .pay-trust-badges { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .pay-tab span { display: none; }
  .pay-tab { padding: 9px 8px; }
}

/* ==========================================================================
   CONTACT PAGE — Premium  (ct- namespace)
   ========================================================================== */

/* ---- Hero ---- */
.ct-hero {
  position: relative;
  padding: 130px 0 110px;
  background: linear-gradient(rgba(46,0,0,.9), rgba(80,0,0,.95)),
    url('../img/about-banner.jpg') center/cover no-repeat;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.ct-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,.22), transparent 55%);
  pointer-events: none;
}
.ct-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,.14); border: 1px solid rgba(212,175,55,.38);
  color: var(--gold-light); font-size: .76rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 6px 20px; border-radius: 30px; margin-bottom: 20px;
}
.ct-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; margin-bottom: 14px; }
.ct-hero h1 span { color: var(--gold); }
.ct-hero-sub {
  color: rgba(255,255,255,.72); max-width: 600px; margin: 0 auto 28px;
  font-size: 1.02rem; line-height: 1.75;
}
.ct-hero-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.ct-hero-pills .pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.82); font-size: .81rem;
  padding: 7px 16px; border-radius: 100px; backdrop-filter: blur(6px);
}
.ct-hero-pills .pill i { color: var(--gold); }
.ct-hero .breadcrumb { justify-content: center; background: transparent; margin: 0; }
.ct-hero .breadcrumb a { color: var(--gold-light); }
.ct-hero .breadcrumb-item.active { color: rgba(255,255,255,.55); }
.ct-hero .breadcrumb-item + .breadcrumb-item::before { color: var(--gold); }

/* ---- Info Cards (float up over hero) ---- */
.ct-cards-section { background: var(--cream); }
.ct-cards-inner { margin-top: -60px; position: relative; z-index: 5; padding-bottom: 64px; }
.ct-info-card {
  background: #fff; border-radius: 20px; padding: 38px 26px 32px; text-align: center;
  box-shadow: 0 12px 44px rgba(74,14,31,.14);
  border: 1px solid rgba(212,175,55,.18); border-top: 3px solid var(--gold);
  transition: transform .35s ease, box-shadow .35s ease; height: 100%;
}
.ct-info-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(74,14,31,.2); }
.ct-info-ico {
  width: 72px; height: 72px; border-radius: 50%; background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 1.6rem; color: var(--maroon-dark);
  box-shadow: 0 8px 24px rgba(212,175,55,.35); transition: transform .35s ease;
}
.ct-info-card:hover .ct-info-ico { transform: scale(1.1) rotate(-5deg); }
.ct-info-card h5 { font-family: var(--font-head); font-size: 1.12rem; color: var(--maroon); margin-bottom: 10px; }
.ct-info-value { font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 5px; display: block; }
.ct-info-note { font-size: .83rem; color: var(--muted); display: block; }

/* ---- Main contact split ---- */
.ct-main-section { background: var(--cream); padding: 0 0 80px; }
.ct-contact-wrap {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(74,14,31,.14); border: 1px solid rgba(212,175,55,.2);
  display: flex; flex-direction: column;
}
@media (min-width: 992px) { .ct-contact-wrap { flex-direction: row; } }

/* Left dark panel */
.ct-panel-left {
  background: linear-gradient(155deg, #3d0b1a 0%, #5c0000 40%, #800000 100%);
  padding: 60px 50px; position: relative; overflow: hidden; color: #fff;
  flex: 0 0 38%; display: flex; flex-direction: column; justify-content: center;
}
.ct-panel-left::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 10% 90%, rgba(212,175,55,.12), transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(255,255,255,.04), transparent 50%);
  pointer-events: none;
}
.ct-pl-deco { position: absolute; border-radius: 50%; border: 2px dashed rgba(212,175,55,.14); pointer-events: none; }
.ct-pl-deco.d1 { width: 300px; height: 300px; bottom: -110px; right: -100px; }
.ct-pl-deco.d2 { width: 160px; height: 160px; top: -60px; left: -60px; }
.ct-pl-inner { position: relative; z-index: 2; }
.ct-pl-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(212,175,55,.18); border: 1px solid rgba(212,175,55,.35);
  color: var(--gold-light); font-size: .73rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 30px; margin-bottom: 18px;
}
.ct-panel-left h3 { color: #fff; font-size: 1.65rem; margin-bottom: 12px; line-height: 1.3; }
.ct-pl-desc { color: rgba(255,255,255,.68); font-size: .93rem; margin-bottom: 34px; line-height: 1.75; }
.ct-pl-divider { height: 1px; background: rgba(212,175,55,.2); margin: 26px 0; }

/* Contact detail list */
.ct-detail-list { list-style: none; padding: 0; margin: 0 0 30px; }
.ct-detail-list li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.ct-detail-ico {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(212,175,55,.15); border: 1px solid rgba(212,175,55,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem; flex-shrink: 0; transition: background .25s;
}
.ct-detail-list li:hover .ct-detail-ico { background: rgba(212,175,55,.28); }
.ct-detail-text strong { display: block; color: rgba(255,255,255,.9); font-size: .78rem; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 3px; }
.ct-detail-text span, .ct-detail-text a { color: rgba(255,255,255,.65); font-size: .9rem; text-decoration: none; display: block; transition: color .2s; }
.ct-detail-text a:hover { color: var(--gold-light); }

/* Social strip */
.ct-pl-social { display: flex; gap: 10px; }
.ct-pl-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75); font-size: .9rem; transition: all .25s;
}
.ct-pl-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--maroon-dark); transform: translateY(-3px); }

/* Right white form panel */
.ct-panel-right { background: #fff; padding: 60px 52px; flex: 1; }
.ct-panel-right h3 { font-size: 1.7rem; margin-bottom: 6px; color: var(--maroon); }
.ct-pr-sub { color: var(--muted); font-size: .95rem; margin-bottom: 34px; }

/* Premium form inputs */
.ct-form .form-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--ink); margin-bottom: 7px; }
.ct-form .ct-req { color: var(--maroon); }
.ct-form .form-control, .ct-form .form-select {
  border: 1.5px solid #e8ddd0; border-radius: 12px; padding: 13px 16px;
  font-size: .94rem; color: var(--ink); background: #fffcf5;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.ct-form .form-control:focus, .ct-form .form-select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.18); background: #fff; outline: none;
}
.ct-form .form-control::placeholder { color: #b8a898; font-size: .9rem; }
.ct-form textarea { resize: vertical; min-height: 128px; }
.ct-form-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold-gradient); color: var(--maroon-dark); border: none;
  padding: 15px 40px; border-radius: 50px; font-weight: 800; font-size: 1rem;
  cursor: pointer; transition: transform .3s, box-shadow .3s;
  box-shadow: 0 8px 28px rgba(212,175,55,.4); letter-spacing: .3px;
}
.ct-form-cta:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(212,175,55,.55); }

/* ---- Country presence strip ---- */
.ct-country-strip { background: var(--maroon-gradient); padding: 18px 0; position: relative; overflow: hidden; }
.ct-country-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,.18), transparent 55%);
  pointer-events: none;
}
.ct-country-list {
  display: flex; align-items: center; gap: 8px 20px;
  flex-wrap: wrap; justify-content: center; position: relative; z-index: 1;
}
.ct-country-item { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.72); font-size: .8rem; font-weight: 500; }
.ct-country-item i { color: var(--gold); font-size: .78rem; }
.ct-country-sep { width: 3px; height: 3px; background: rgba(212,175,55,.45); border-radius: 50%; flex-shrink: 0; }

/* ---- Map ---- */
.ct-map-section { background: var(--cream); padding: 60px 0 80px; }
.ct-map-wrap { border-radius: 22px; overflow: hidden; box-shadow: 0 16px 54px rgba(74,14,31,.12); border: 1px solid rgba(212,175,55,.2); }
.ct-map-hd {
  background: var(--maroon-gradient); padding: 24px 36px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.ct-map-hd-left { display: flex; align-items: center; gap: 14px; }
.ct-map-hd-left i { font-size: 1.5rem; color: var(--gold); flex-shrink: 0; }
.ct-map-hd-left h4 { color: #fff; margin: 0 0 2px; font-size: 1.2rem; }
.ct-map-hd-left p { color: rgba(255,255,255,.65); margin: 0; font-size: .85rem; }
.ct-map-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(212,175,55,.2); border: 1px solid rgba(212,175,55,.4);
  color: var(--gold-light); padding: 7px 16px; border-radius: 100px;
  font-size: .8rem; font-weight: 600; white-space: nowrap;
}
.ct-map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---- FAQ ---- */
.ct-faq-section { padding: 70px 0 80px; }
.ct-faq .accordion-item {
  background: #fff; border: 1px solid rgba(212,175,55,.2) !important;
  border-radius: 14px !important; margin-bottom: 12px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(74,14,31,.04); transition: box-shadow .3s;
}
.ct-faq .accordion-item:hover { box-shadow: 0 8px 28px rgba(74,14,31,.1); }
.ct-faq .accordion-button {
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  color: var(--maroon); background: #fff; padding: 20px 24px; border-radius: 14px !important;
}
.ct-faq .accordion-button:not(.collapsed) { background: #fff8ee; color: var(--maroon-dark); box-shadow: none; }
.ct-faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(212,175,55,.18); }
.ct-faq .accordion-body { color: var(--muted); font-size: .93rem; padding: 4px 24px 22px; line-height: 1.8; background: #fff8ee; }

/* Responsive */
@media (max-width: 991px) {
  .ct-panel-left, .ct-panel-right { padding: 44px 36px; }
}
@media (max-width: 767px) {
  .ct-hero { padding: 90px 0 90px; }
  .ct-cards-inner { margin-top: -36px; padding-bottom: 48px; }
  .ct-panel-left, .ct-panel-right { padding: 36px 24px; }
  .ct-map-hd { padding: 18px 22px; }
  .ct-map-frame iframe { height: 320px; }
}

/* ==========================================================================
   MOBILE — OVERFLOW-X CONTAINMENT
   Patches for specific elements that can extend past the viewport edge.
   ========================================================================== */

/* ── Fixed-position popups / widgets ─────────────────────────── */

/* WhatsApp card & enquiry panel: never wider than viewport minus gutters */
.wa-card  { max-width: calc(100vw - 56px) !important; }
.eq-panel { max-width: calc(100vw - 52px) !important; }

/* Toast stack: clamp width and disable slide-in when viewport is narrow */
@media (max-width: 480px) {
  .toast-stack { right: 12px; left: 12px; }
  .toast-msg   { min-width: 0; width: 100%; box-sizing: border-box; }
}

/* Notification dropdown: override Bootstrap min-width on xs screens */
@media (max-width: 480px) {
  #notifDropdown .dropdown-menu {
    min-width: 0 !important;
    width: calc(100vw - 32px) !important;
    right: 0 !important;
    left: auto !important;
  }
}

/* ── Sections / containers ───────────────────────────────────── */

/* Prevent any direct child of container from overflowing on mobile */
@media (max-width: 575px) {
  .container, .container-fluid { overflow-x: clip; }

  /* Ensure tables scroll horizontally inside their card rather than the page */
  .table-responsive-force { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { max-width: 100%; }

  /* Images and embeds */
  img, video, iframe, embed, object { max-width: 100%; height: auto; }

  /* Prevent long words / URLs / code from blowing out containers */
  p, li, td, th, label, span, a {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Hero adjustments */
  .hero-content { padding: 80px 0 60px; }
  .hero-stats-row { gap: 16px; }
  .hero-stat-card  { padding: 14px 16px; min-width: 0; }

  /* Auth card */
  .auth-card { padding: 28px 20px; }

  /* Back-to-top — move left on very small screens to avoid overlap with enquiry button */
  #backToTop { right: 16px; bottom: 16px; }
}

/* ── Navbar collapse ──────────────────────────────────────────── */
@media (max-width: 991px) {
  /* Collapsed nav should not exceed viewport */
  .navbar-collapse { max-width: 100%; overflow-x: hidden; }
}

/* ── Plan cards ───────────────────────────────────────────────── */
@media (max-width: 575px) {
  .ix-plan-card          { width: 100%; }
  .ix-plan-card.featured { transform: none; } /* already set above — belt-and-braces */
  .fancy-card.price-card { width: 100%; }
}

/* ── Topbar on tablet (768-991px) ─────────────────────────────── */
@media (max-width: 900px) {
  .topbar .container { flex-wrap: wrap; gap: 4px; }
  .topbar .container > div:first-child { font-size: .78rem; }
}

/* ── Crisp chat widget clip ───────────────────────────────────── */
/* Ensure injected third-party iframes don't cause scroll */
#crisp-chatbox, [data-widget-id] { max-width: 100vw !important; }

/* ================================================================
   Launch Mode Promo Band
   ================================================================ */
.lm-promo-band {
  background: linear-gradient(180deg, #0d0205 0%, #150407 100%);
  padding: 60px 0;
  border-top: 1px solid rgba(212,175,55,.15);
}
.lm-section-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 24px;
  font-weight: 700;
}

/* Progress bar */
.lm-progress-wrap { max-width: 560px; margin: 0 auto 52px; }
.lm-progress-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.lm-progress-title { color:rgba(245,230,200,.85); font-size:.9rem; font-weight:600; }
.lm-progress-count { color:var(--gold); font-size:.9rem; }
.lm-progress-bar-bg { height:10px; background:rgba(212,175,55,.15); border-radius:99px; overflow:hidden; }
.lm-progress-bar-fill { height:100%; background:linear-gradient(90deg,#b8962e,#d4af37,#f0d060); border-radius:99px; transition:width .6s ease; }
.lm-progress-note { text-align:center; font-size:.78rem; color:rgba(245,230,200,.5); margin-top:10px; }

/* ── Founding Member Spots — Premium Redesign ─────────────────
   Elegant card with ornamental header, dual-stat panels,
   milestone progress bar, perks grid, and prominent CTA.
   ──────────────────────────────────────────────────────────── */
.lm-spots-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto 64px;
  padding: 0 0 40px;
  background: linear-gradient(160deg,
    rgba(40,6,6,.97) 0%,
    rgba(6,1,1,.99) 48%,
    rgba(35,5,5,.95) 100%);
  border: 1px solid rgba(212,175,55,.2);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(212,175,55,.06),
    0 8px 52px rgba(0,0,0,.72),
    inset 0 1px 0 rgba(212,175,55,.32);
}
/* Top shimmer line */
.lm-spots-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212,175,55,.2) 15%,
    #d4af37 50%,
    rgba(212,175,55,.2) 85%,
    transparent 100%);
}
/* Ambient radial glow */
.lm-spots-card::after {
  content: '';
  position: absolute;
  top: -110px; left: 50%;
  width: 560px; height: 340px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(212,175,55,.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Ornamental header bar ── */
.lm-spots-orn-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 40px 0;
  margin-bottom: 26px;
}
.lm-spots-orn-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.32), transparent);
}
.lm-spots-orn-text {
  font-size: .62rem;
  color: rgba(212,175,55,.5);
  letter-spacing: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 600;
}

/* ── Badge + Title ── */
.lm-spots-header {
  text-align: center;
  padding: 0 36px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.lm-spots-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.28);
  border-radius: 50px;
  padding: 5px 18px;
  font-size: .67rem;
  font-weight: 700;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}
.lm-spots-pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.65);
  animation: lm-spots-pulse 1.7s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes lm-spots-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(74,222,128,.65); }
  70%  { box-shadow: 0 0 0 9px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0   rgba(74,222,128,0); }
}
.lm-spots-title {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: rgba(245,228,196,.97);
  letter-spacing: .7px;
  margin: 0 0 10px;
  line-height: 1.2;
}
.lm-spots-title i {
  background: linear-gradient(135deg, #f8e98a 0%, #d4af37 50%, #b8962e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 10px;
}
.lm-spots-subtitle {
  font-size: .83rem;
  color: rgba(212,175,55,.48);
  letter-spacing: .35px;
  margin: 0;
  line-height: 1.55;
}
.lm-spots-subtitle strong { color: rgba(212,175,55,.72); font-weight: 600; }

/* ── Dual stat panels ── */
.lm-spots-stats {
  display: flex;
  align-items: stretch;
  margin: 0 32px 32px;
  background: rgba(212,175,55,.03);
  border: 1px solid rgba(212,175,55,.12);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.lm-spots-stat {
  flex: 1;
  padding: 26px 18px;
  text-align: center;
}
.lm-spots-stat-div {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(212,175,55,.17), transparent);
  flex-shrink: 0;
  margin: 16px 0;
}
.lm-spots-stat-n {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.lm-spots-stat-claimed .lm-spots-stat-n {
  font-size: 3.8rem;
  background: linear-gradient(135deg, #fdf3a0 0%, #d4af37 42%, #b8962e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 20px rgba(212,175,55,.42));
}
.lm-spots-stat-avail .lm-spots-stat-n {
  font-size: 2.3rem;
  color: rgba(245,228,196,.85);
}
.lm-spots-stat-lbl {
  display: block;
  font-size: .62rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(212,175,55,.4);
}
.lm-spots-stat-claimed .lm-spots-stat-lbl { color: rgba(212,175,55,.52); }

/* ── Progress bar with milestones ── */
.lm-spots-progress {
  padding: 0 32px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.lm-spots-bar-track {
  position: relative;
  height: 14px;
  background: rgba(212,175,55,.07);
  border: 1px solid rgba(212,175,55,.13);
  border-radius: 99px;
  overflow: visible;
  margin-bottom: 10px;
}
.lm-spots-bar-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, #7a4e0a, #c9930a, #f0d060, #d4af37);
  border-radius: 99px;
  min-width: 6px;
  box-shadow: 0 0 28px rgba(212,175,55,.62), 0 0 8px rgba(240,208,96,.85);
  transition: width 1.3s cubic-bezier(.22,.8,.25,1);
  overflow: hidden;
}
.lm-spots-bar-shine {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,.28) 42%,
    rgba(255,255,255,.08) 58%,
    transparent 100%);
  animation: lm-spots-shine 2.6s ease-in-out infinite;
}
@keyframes lm-spots-shine {
  0%   { transform: translateX(-220%); }
  100% { transform: translateX(420%); }
}
.lm-spots-milestones {
  position: relative;
  height: 22px;
}
.lm-spots-milestones span {
  position: absolute;
  transform: translateX(-50%);
  font-size: .59rem;
  color: rgba(212,175,55,.26);
  letter-spacing: .5px;
}
.lm-spots-milestones span::before {
  content: '';
  display: block;
  width: 1px;
  height: 7px;
  background: rgba(212,175,55,.18);
  margin: 0 auto 3px;
}
.lm-spots-bar-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.lm-spots-pct {
  font-size: .75rem;
  color: rgba(212,175,55,.52);
  font-weight: 600;
}
.lm-spots-bar-alert {
  font-size: .75rem;
  color: rgba(212,175,55,.65);
  font-weight: 700;
}
.lm-spots-bar-alert i { color: #f0a020; margin-right: 4px; }

/* ── Crown divider ── */
.lm-spots-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.lm-spots-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.14), transparent);
}
.lm-spots-divider i {
  color: rgba(212,175,55,.32);
  font-size: .8rem;
}

/* ── Perks grid ── */
.lm-spots-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 32px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.lm-spots-perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 8px;
  background: rgba(212,175,55,.04);
  border: 1px solid rgba(212,175,55,.1);
  border-radius: 13px;
  font-size: .71rem;
  color: rgba(245,228,196,.62);
  text-align: center;
  line-height: 1.3;
  transition: background .2s, border-color .2s;
}
.lm-spots-perk:hover {
  background: rgba(212,175,55,.07);
  border-color: rgba(212,175,55,.18);
}
.lm-spots-perk i {
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.2);
  border-radius: 50%;
  color: #d4af37;
  font-size: .66rem;
  flex-shrink: 0;
}

/* ── CTA section ── */
.lm-spots-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.lm-spots-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 44px;
  background: linear-gradient(135deg, #9b1d1d 0%, #4e0c0c 100%);
  color: #f5e080;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid rgba(212,175,55,.42);
  box-shadow:
    0 4px 30px rgba(139,26,26,.52),
    inset 0 1px 0 rgba(212,175,55,.16);
  transition: all .3s cubic-bezier(.22,.8,.25,1);
  white-space: nowrap;
}
.lm-spots-btn:hover {
  background: linear-gradient(135deg, #b52222 0%, #6b1515 100%);
  color: #fffbe6;
  border-color: rgba(212,175,55,.68);
  box-shadow:
    0 8px 36px rgba(139,26,26,.62),
    0 0 30px rgba(212,175,55,.15),
    inset 0 1px 0 rgba(212,175,55,.22);
  transform: translateY(-3px);
}
.lm-spots-btn:active { transform: translateY(0); }
.lm-spots-btn i { font-size: .9rem; }
.lm-spots-lock-note {
  margin: 0;
  font-size: .73rem;
  color: rgba(212,175,55,.34);
  letter-spacing: .3px;
}
.lm-spots-lock-note i { margin-right: 4px; }

/* ── Responsive ── */
@media (max-width: 767px) {
  .lm-spots-stats     { margin: 0 20px 28px; }
  .lm-spots-progress,
  .lm-spots-perks,
  .lm-spots-cta,
  .lm-spots-divider   { padding: 0 20px; }
  .lm-spots-orn-bar   { padding: 18px 20px 0; }
  .lm-spots-header    { padding: 0 20px; }
  .lm-spots-perks     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .lm-spots-card                          { margin-bottom: 44px; }
  .lm-spots-title                         { font-size: 1.3rem; }
  .lm-spots-stat-claimed .lm-spots-stat-n { font-size: 2.9rem; }
  .lm-spots-stat-avail .lm-spots-stat-n  { font-size: 1.85rem; }
  .lm-spots-btn                           { padding: 14px 28px; font-size: .84rem; }
  .lm-spots-milestones span:nth-child(2) { display: none; }
}

/* Country grid */
.lm-country-grid { margin-bottom: 52px; }
.lm-country-items { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.lm-country-chip { display:flex; align-items:center; gap:8px; background:rgba(212,175,55,.08); border:1px solid rgba(212,175,55,.2); border-radius:50px; padding:6px 16px; }
.lm-country-name { font-size:.82rem; color:rgba(245,230,200,.8); }
.lm-country-cnt { font-size:.82rem; font-weight:700; color:var(--gold); background:rgba(212,175,55,.15); border-radius:50px; padding:1px 8px; }

/* Countdown */
.lm-countdown-wrap { margin-bottom: 52px; }
.lm-countdown { display:flex; align-items:center; justify-content:center; gap:8px; }
.lm-cd-unit { text-align:center; background:rgba(212,175,55,.08); border:1px solid rgba(212,175,55,.2); border-radius:12px; padding:16px 20px; min-width:80px; }
.lm-cd-n { display:block; font-family:var(--font-head); font-size:2.4rem; font-weight:800; color:var(--gold); line-height:1; }
.lm-cd-l { display:block; font-size:.65rem; letter-spacing:1.5px; text-transform:uppercase; color:rgba(245,230,200,.5); margin-top:4px; }
.lm-cd-sep { font-size:2rem; font-weight:700; color:rgba(212,175,55,.4); margin-bottom:20px; }

/* WhatsApp share */
.lm-wa-share { 
  max-width: 900px; 
  margin: 40px auto 0; 
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.02) 0%, rgba(128, 0, 0, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.lm-wa-share::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Header ornament */
.lm-wa-header-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.6rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.lm-wa-share:hover .lm-wa-header-icon {
  transform: scale(1.05);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

.lm-wa-share .lm-section-title {
  position: relative;
  z-index: 2;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--gold);
}

.lm-wa-sub {
  position: relative;
  z-index: 2;
  text-align: center;
  color: rgba(245, 230, 200, 0.65);
  font-size: 0.9rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Templates grid */
.lm-wa-templates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
}

@media(max-width: 768px) {
  .lm-wa-share {
    padding: 30px 20px;
    margin-top: 30px;
  }
  .lm-wa-templates {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Chat-style Preview Cards */
.lm-wa-card {
  background: rgba(20, 10, 12, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.lm-wa-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.08);
  background: rgba(20, 10, 12, 0.85);
}

/* Header bar inside the card */
.lm-wa-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

.lm-wa-card-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.lm-wa-card-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
}

.lm-wa-card-status {
  font-size: 0.75rem;
  color: rgba(245, 230, 200, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lm-wa-card-status i {
  color: rgba(212, 175, 55, 0.6);
}

/* Bubble Text area */
.lm-wa-card-text {
  font-size: 0.82rem;
  color: rgba(245, 230, 200, 0.75);
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 90px;
  background: rgba(37, 211, 102, 0.03);
  border: 1px dashed rgba(37, 211, 102, 0.15);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.lm-wa-card:hover .lm-wa-card-text {
  background: rgba(37, 211, 102, 0.06);
  border-color: rgba(37, 211, 102, 0.25);
  color: rgba(245, 230, 200, 0.95);
}

/* Card Actions */
.lm-wa-card-actions {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 12px;
  margin-top: auto;
}

@media(max-width: 480px) {
  .lm-wa-card-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Action Buttons */
.lm-wa-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lm-wa-copy-btn:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.lm-wa-copy-btn:active {
  transform: translateY(0);
}

.lm-wa-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff !important;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.lm-wa-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  filter: brightness(1.05);
  color: #fff !important;
}

.lm-wa-send-btn:active {
  transform: translateY(0);
}

/* Custom Success style for Copy */
.lm-wa-copy-btn.copied {
  background: rgba(40, 167, 69, 0.15) !important;
  border-color: #28a745 !important;
  color: #28a745 !important;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.1);
}

/* ── Founding member badge — profile view ── */
.pv-fm-badge {
  display:inline-flex; align-items:center; gap:6px;
  background:linear-gradient(135deg,rgba(212,175,55,.15),rgba(212,175,55,.05));
  border:1px solid rgba(212,175,55,.4); border-radius:50px;
  padding:4px 14px; font-size:.78rem; font-weight:700;
  color:var(--gold); margin-bottom:10px;
}

/* ── Dashboard — founding member badge ── */
.db-fm-badge {
  display:inline-flex; align-items:center; gap:8px; flex-wrap:wrap;
  background:linear-gradient(135deg,rgba(212,175,55,.12),rgba(212,175,55,.04));
  border:1px solid rgba(212,175,55,.35); border-radius:12px;
  padding:10px 18px; margin-bottom:18px; font-weight:700;
  color:var(--gold); font-size:.9rem;
}
.db-fm-badge i { color:var(--gold); }
.db-fm-sub { font-size:.75rem; color:rgba(212,175,55,.6); font-weight:400; }

/* ── Dashboard — referral card ── */
.db-referral-card {
  background:#fff; border:1px solid var(--border,#e8d9c0); border-radius:16px;
  padding:22px; margin-bottom:20px;
  box-shadow:0 2px 12px rgba(74,14,31,.05);
}
.db-referral-header {
  display:flex; align-items:center; gap:10px;
  font-weight:700; font-size:.95rem; color:var(--maroon); margin-bottom:10px;
}
.db-referral-header i { color:var(--gold); font-size:1.1rem; }
.db-ref-badge { background:var(--gold); color:#fff; border-radius:50px; padding:2px 10px; font-size:.72rem; font-weight:700; margin-left:auto; }
.db-referral-sub { font-size:.82rem; color:var(--muted); margin-bottom:14px; line-height:1.5; }
.db-ref-link-wrap { display:flex; gap:8px; margin-bottom:12px; }
.db-ref-link-input { flex:1; border:1px solid var(--border,#e8d9c0); border-radius:8px; padding:8px 12px; font-size:.8rem; color:var(--ink); background:var(--soft-beige); min-width:0; }
.db-ref-copy-btn { background:var(--gold); color:#3d0a0a; border:none; border-radius:8px; padding:8px 16px; font-size:.8rem; font-weight:700; cursor:pointer; white-space:nowrap; transition:opacity .2s; }
.db-ref-copy-btn:hover { opacity:.85; }
.db-ref-wa-btns { display:flex; gap:8px; flex-wrap:wrap; }
.db-ref-wa-btn { display:inline-flex; align-items:center; gap:6px; background:#25d366; color:#fff; border-radius:8px; padding:8px 14px; font-size:.78rem; font-weight:600; text-decoration:none; transition:opacity .2s; }
.db-ref-wa-btn:hover { opacity:.88; color:#fff; }
.db-ref-wa-btn--ta { background:#128C7E; }

/* ── Profile detail section for diaspora fields ── */
.pv-detail-section { margin-top:24px; }
.pv-section-hd { font-size:1rem; font-weight:700; color:var(--maroon); margin-bottom:14px; padding-bottom:8px; border-bottom:1px solid var(--beige); }

/* ── Section divider for edit form ── */
.db-section-divider { position:relative; text-align:center; margin:20px 0 10px; }
.db-section-divider::before { content:''; position:absolute; top:50%; left:0; right:0; height:1px; background:var(--beige); }
.db-section-divider span { position:relative; background:#fff; padding:0 12px; font-size:.78rem; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:1px; }

/* ================================================================
   Country Landing Pages  (cp2-*)   — premium redesign
   Uses site's existing .ix-feat-card, .ix-stats-band, .ix-hiw-section
   ================================================================ */

/* ── Hero ── */
.cp2-hero {
  position: relative;
  padding: 148px 0 100px;
  background: linear-gradient(155deg, #150205 0%, #3a000e 38%, #560010 64%, #3a000e 100%);
  text-align: center;
  overflow: hidden;
}
.cp2-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 480px at 50% -60px, rgba(212,175,55,.24) 0%, transparent 68%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.3' fill='rgba(212,175,55,0.075)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
/* Top gold shimmer line */
.cp2-hero::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,175,55,.55) 30%, rgba(212,175,55,.55) 70%, transparent 100%);
}
/* Floating colour orbs */
.cp2-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(80px);
}
.cp2-orb--l {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(100,0,0,.6) 0%, transparent 70%);
  top: -150px; left: -220px;
}
.cp2-orb--r {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(212,175,55,.11) 0%, transparent 70%);
  bottom: -100px; right: -140px;
}
/* Inner wrapper */
.cp2-hero-inner { position: relative; z-index: 2; max-width: 740px; margin: 0 auto; }
/* Country flag */
.cp2-flag {
  font-size: 5.2rem; line-height: 1;
  display: block; margin-bottom: 24px;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.5));
  animation: cp2FlagIn .55s cubic-bezier(.22,1,.36,1) both;
}
@keyframes cp2FlagIn {
  from { opacity: 0; transform: translateY(-18px) scale(.88); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
/* Eyebrow badge */
.cp2-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.3);
  color: rgba(212,175,55,.9); border-radius: 40px;
  font-size: .7rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; padding: 6px 22px; margin-bottom: 24px;
}
.cp2-eyebrow i { font-size: .62rem; }
/* H1 — white with gold country name on second line */
.cp2-hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800; line-height: 1.12;
  color: #fff; margin-bottom: 22px;
}
.cp2-hero-h1 em {
  font-style: normal; color: var(--gold);
  display: block;
}
/* Subtitle */
.cp2-hero-sub {
  color: rgba(245,230,200,.68);
  font-size: clamp(.92rem, 2vw, 1.06rem);
  line-height: 1.74; max-width: 590px;
  margin: 0 auto 38px;
}
/* Button row */
.cp2-btn-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center; margin-bottom: 32px;
}
/* Trust proof line */
.cp2-proof {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 6px 18px;
  color: rgba(245,230,200,.48); font-size: .79rem;
  margin-bottom: 30px;
}
.cp2-proof i { color: rgba(212,175,55,.62); margin-right: 5px; }
.cp2-proof-sep { color: rgba(212,175,55,.22); }
/* Breadcrumb */
.cp2-bc.breadcrumb { justify-content: center; background: transparent; margin: 0; }
.cp2-bc .breadcrumb-item a { color: rgba(212,175,55,.48); font-size: .77rem; }
.cp2-bc .breadcrumb-item.active { color: rgba(245,230,200,.35); font-size: .77rem; }
.cp2-bc .breadcrumb-item + .breadcrumb-item::before { color: rgba(212,175,55,.22); }

/* ── Cities section ── */
.cp2-cities {
  background: var(--cream);
  padding: 84px 0;
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
}
.cp2-city-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin: 28px 0 36px;
}
.cp2-city-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1.5px solid rgba(212,175,55,.25);
  border-radius: 50px; padding: 9px 20px;
  font-size: .84rem; font-weight: 600; color: var(--maroon);
  text-decoration: none;
  transition: background .22s, border-color .22s, color .22s, transform .22s, box-shadow .22s;
}
.cp2-city-pill:hover {
  background: var(--maroon); border-color: var(--maroon);
  color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(128,0,0,.22);
}
.cp2-city-pill i { color: var(--gold-dark); font-size: .74rem; transition: color .22s; }
.cp2-city-pill:hover i { color: rgba(212,175,55,.7); }
.cp2-city-pill--more {
  background: transparent; border-style: dashed;
  color: var(--muted); font-weight: 400; cursor: default;
}
.cp2-city-pill--more:hover {
  background: transparent; border-color: rgba(212,175,55,.25);
  color: var(--muted); transform: none; box-shadow: none;
}

/* ── 3-step grid (country page variant of ix-hiw-grid) ── */
.cp2-hiw-grid {
  display: grid;
  grid-template-columns: 1fr 52px 1fr 52px 1fr;
  align-items: start; gap: 0; margin-top: 16px;
}
@media (max-width: 991px) {
  .cp2-hiw-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cp2-hiw-grid .ix-hiw-conn { display: none; }
}
@media (max-width: 575px) {
  .cp2-hiw-grid { grid-template-columns: 1fr; }
}

/* ── Final CTA banner ── */
.cp2-cta {
  position: relative; overflow: hidden;
  padding: 108px 0;
  background: linear-gradient(155deg, #150205 0%, #3a000e 38%, #560010 64%, #3a000e 100%);
  text-align: center;
}
.cp2-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 420px at 50% 130%, rgba(212,175,55,.17), transparent 65%);
  pointer-events: none;
}
.cp2-cta::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,175,55,.5) 30%, rgba(212,175,55,.5) 70%, transparent 100%);
}
.cp2-cta-inner { position: relative; z-index: 2; max-width: 660px; margin: 0 auto; }
.cp2-cta-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.28);
  color: rgba(212,175,55,.88); border-radius: 40px;
  font-size: .7rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; padding: 6px 22px; margin-bottom: 24px;
}
.cp2-cta-h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: var(--gold); margin-bottom: 18px; line-height: 1.18;
}
.cp2-cta-sub {
  color: rgba(245,230,200,.64); font-size: 1.01rem;
  max-width: 510px; margin: 0 auto 40px; line-height: 1.72;
}
