/* ============================================================
   Phat Nappy Connect — Enterprise Community Portal Design System
   Theme: Luxury Obsidian & Polished Gold with Regal Purple Accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700;1,800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Metallic Gold Palette */
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-bright: #FFDF78;
  --gold-dim: #8A6E2F;
  --gold-dark: #634C18;
  --gold-gradient: linear-gradient(135deg, #FFDF78 0%, #C9A84C 50%, #8A6E2F 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(201, 168, 76, 0.25) 0%, rgba(201, 168, 76, 0.05) 100%);
  --gold-glow: rgba(201, 168, 76, 0.22);
  --gold-border: rgba(201, 168, 76, 0.26);

  /* Regal Purple Heritage Palette */
  --purple-deep: #10061e;
  --purple-dark: #220b4d;
  --purple-royal: #4c1775;
  --purple-vivid: #7c3aed;
  --purple-light: #a855f7;
  --purple-glow: rgba(124, 58, 237, 0.22);
  --purple-gradient: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #4c1d95 100%);
  --purple-badge-bg: rgba(124, 58, 237, 0.12);
  --purple-border: rgba(168, 85, 247, 0.26);

  /* Flatter 3D Obsidian & Surface Palette */
  --black: #040406;
  --black-card: #09090D;
  --black-raised: #0F0F16;
  --black-border: rgba(201, 168, 76, 0.18);
  --white: #FBF9F5;
  --white-dim: rgba(251, 249, 245, 0.65);
  --white-faint: rgba(251, 249, 245, 0.10);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Geometry & Shadows (Flatter Yet Crisp 3D) */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-gold: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 25px rgba(201, 168, 76, 0.15);
  --shadow-purple: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 25px rgba(124, 58, 237, 0.18);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(201, 168, 76, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.9);
  --shadow-modal: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(201, 168, 76, 0.15);

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --black: #F4F1EA;
  --black-card: #FFFFFF;
  --black-raised: #F8F6F0;
  --black-border: rgba(0, 0, 0, 0.08);
  --white: #121218;
  --white-dim: rgba(18, 18, 24, 0.7);
  --white-faint: rgba(18, 18, 24, 0.08);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.45) rgba(8, 8, 12, 0.85);
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.45) rgba(8, 8, 12, 0.85);
}

/* ── Refined Floating Shortened Scrollbar System ── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
  margin-block: 28px;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FFDF78 0%, #C9A84C 50%, #8A6E2F 100%);
  border-radius: var(--radius-full);
  min-height: 48px;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.35);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFDF78 40%, #C9A84C 100%);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.7);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Light Theme Scrollbar Adaptation */
[data-theme="light"] {
  scrollbar-color: rgba(201, 168, 76, 0.6) rgba(244, 241, 234, 0.9);
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: transparent;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #E8C96A 0%, #C9A84C 60%, #8A6E2F 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

/* ── Ambient Radial Glow Mesh with Dynamic Theme Transition ── */
.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  transition: background 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, transform 0.8s ease;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 25%, rgba(124, 58, 237, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(168, 85, 247, 0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(201, 168, 76, 0.06) 0%, transparent 55%),
    #040406;
}

[data-theme="light"] .bg-mesh {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.18) 0%, transparent 65%),
    radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 15% 70%, rgba(201, 168, 76, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(201, 168, 76, 0.10) 0%, transparent 60%),
    #F4F1EA;
}

.bg-mesh.theme-pulsing {
  animation: bgMeshShift 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bgMeshShift {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.025);
    filter: brightness(1.3) saturate(1.2);
  }

  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ── Nationwide Sub-Banner ── */
.nationwide-banner {
  background: linear-gradient(90deg, #160728 0%, #2e1065 25%, #581c87 50%, #2e1065 75%, #160728 100%);
  border-bottom: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 100;
}

.nationwide-banner .star {
  color: var(--gold-bright);
  font-size: 0.95rem;
  animation: starPulse 2.5s infinite ease-in-out;
}

@keyframes starPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
    filter: drop-shadow(0 0 6px var(--gold-bright));
  }
}

/* ── Top Navigation Bar ── */
header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8, 8, 12, 0.85);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  transition: var(--transition);
}

header.nav-guest-hidden {
  display: none !important;
}

.guest-theme-toggle-wrap {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 95;
  transition: var(--transition);
}

.guest-theme-toggle-wrap.hidden {
  display: none !important;
}

.theme-toggle-floating {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(18, 14, 28, 0.88);
  border: 1.5px solid var(--gold-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(201, 168, 76, 0.2);
  color: var(--gold-bright);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.theme-toggle-floating:hover {
  transform: scale(1.08);
  border-color: var(--gold-bright);
  box-shadow: 0 0 25px rgba(201, 168, 76, 0.45);
}

[data-theme="light"] .theme-toggle-floating {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] header {
  background: rgba(244, 241, 234, 0.88);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.nav-brand img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(201, 168, 76, 0.3));
  transition: transform 0.3s ease;
}

.nav-brand:hover img {
  transform: scale(1.05);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 30%, var(--gold-light) 75%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white-dim);
  transition: color 0.25s ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--black-border);
  color: var(--gold-light);
  border-radius: var(--radius-full);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold-border);
  transform: rotate(20deg);
}

.btn-nav-portal {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15) 0%, rgba(124, 58, 237, 0.25) 100%);
  border: 1px solid var(--gold-border);
  color: var(--white);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-nav-portal:hover {
  background: var(--gold-gradient);
  color: var(--black);
  border-color: var(--gold-bright);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
  transform: translateY(-1px);
}

/* ── Hero & Orbital Brand Stage ── */
.hero-stage {
  padding: 3.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.brand-hero {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-logo-container {
  position: relative;
  width: 250px;
  height: 250px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.brand-logo-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.4) 0%, rgba(124, 58, 237, 0.25) 45%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

.hero__logo-ring-1 {
  position: absolute;
  width: 215px;
  height: 215px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 168, 76, 0.45);
  animation: spinSlow 24s linear infinite;
}

.hero__logo-ring-1::before {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--gold-bright);
  border-radius: 50%;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(201, 168, 76, 1);
}

.hero__logo-ring-2 {
  position: absolute;
  width: 248px;
  height: 248px;
  border-radius: 50%;
  border: 1.5px dashed rgba(168, 85, 247, 0.4);
  animation: spinSlow 36s linear infinite reverse;
}

.hero__logo-ring-2::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--purple-light);
  border-radius: 50%;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(168, 85, 247, 1);
}

.brand-logo-img {
  position: relative;
  z-index: 3;
  width: 175px;
  height: 175px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.8));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo-img-title {
  position: relative;
  z-index: 3;
  width: 400px;
  height: 175px;
  margin-top: -55px;
  margin-bottom: -55px;
  margin-left: 20px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.8));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.brand-logo-container:hover .brand-logo-img {
  transform: scale(1.06);
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #ffffff 25%, var(--gold-light) 75%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline-trio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.hero-tagline-trio span {
  color: var(--white-dim);
}

.hero-tagline-trio span.gold {
  color: var(--gold-bright);
  font-weight: 700;
  text-shadow: 0 0 15px rgba(201, 168, 76, 0.4);
}

.hero-tagline-trio span.purple {
  color: var(--purple-light);
  font-weight: 700;
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.hero-description {
  max-width: 680px;
  margin: 0 auto 2.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white-dim);
}

.hero-network-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--white-dim);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.55;
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.92);
    opacity: 0.45;
  }

  100% {
    transform: scale(1.15);
    opacity: 0.85;
  }
}

/* ── Action Portal Gateway 3D Flip Card Form (Desktop Widescreen & Mobile) ── */
.gateway-flip-wrapper {
  max-width: 980px;
  width: 100%;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.gateway-flip-control {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(12, 12, 18, 0.95);
  border: 1px solid rgba(201, 168, 76, 0.32);
  padding: 0.32rem;
  border-radius: var(--radius-full);
  gap: 0.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  margin: 0 auto 1.5rem;
  max-width: 440px;
  width: 100%;
}

.gateway-flip-tab-btn {
  flex: 1;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--white-dim);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.gateway-flip-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.gateway-flip-tab-btn.active {
  background: var(--gold-gradient);
  color: #040406;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.45);
}

.gateway-form-flip-stage {
  perspective: 1400px;
  width: 100%;
  min-height: 480px;
  position: relative;
}

.gateway-form-flip-inner {
  position: relative;
  width: 100%;
  min-height: 480px;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.gateway-form-flip-stage.flipped .gateway-form-flip-inner {
  transform: rotateY(180deg);
}

.gateway-form-face {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: linear-gradient(180deg, #09090E 0%, #040406 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(201, 168, 76, 0.16);
  text-align: left;
  overflow-y: auto;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gateway-form-face::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #C9A84C 35%, #FFDF78 50%, #C9A84C 65%, transparent 100%);
}

.gateway-form-front {
  z-index: 2;
  transform: rotateY(0deg);
}

.gateway-form-back {
  transform: rotateY(180deg);
  z-index: 1;
}

.gateway-form-flip-stage.flipped .gateway-form-front {
  pointer-events: none;
}

.gateway-form-flip-stage:not(.flipped) .gateway-form-back {
  pointer-events: none;
}

/* Multi-Column Form Layouts for Widescreen Desktop */
.gateway-form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 0.75rem;
}

.gateway-form-grid-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 0.85rem;
}

@media (max-width: 768px) {
  .gateway-flip-wrapper {
    padding: 0 0.5rem;
  }

  .gateway-form-face {
    padding: 1.5rem 1.25rem;
  }

  .gateway-form-grid-row,
  .gateway-form-grid-row-3 {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

.btn-flip-prompt {
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.28);
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.btn-flip-prompt:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold-bright);
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.35);
  transform: translateY(-1px);
}

/* Backward compatibility classes */
.portal-gateway-grid {
  display: block;
  max-width: 580px;
  margin: 0 auto 3.5rem;
  width: 100%;
}

.action-card {
  background: linear-gradient(180deg, rgba(16, 15, 23, 0.96) 0%, rgba(8, 8, 12, 0.98) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(201, 168, 76, 0.15);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #C9A84C 35%, #FFDF78 50%, #C9A84C 65%, transparent 100%);
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.card-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.card-tag-badge {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

.card-tag-badge.purple-badge,
.card-tag-badge.purple-subtle-badge {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c4b5fd;
}

.card-subtext {
  font-size: 0.825rem;
  color: var(--white-dim);
  margin-bottom: 1.25rem;
}

/* Demo Switcher Pills */
.demo-switcher {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.demo-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  color: var(--white-dim);
  cursor: pointer;
  transition: var(--transition);
}

.demo-pill:hover,
.demo-pill.active {
  background: var(--purple-royal);
  border-color: var(--purple-light);
  color: var(--white);
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(10, 10, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.btn-gold-solid {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--gold-gradient);
  color: #08080C;
  font-weight: 800;
  font-size: 0.925rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(201, 168, 76, 0.3);
}

.btn-gold-solid:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.45);
}

.btn-gold-outline {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: rgba(201, 168, 76, 0.06);
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.925rem;
  border: 1.5px solid rgba(201, 168, 76, 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  text-decoration: none;
}

.btn-gold-outline:hover {
  background: rgba(201, 168, 76, 0.18);
  border-color: var(--gold-bright);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
  transform: translateY(-2px);
}

.btn-purple-outline {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple-light);
  font-weight: 700;
  font-size: 0.925rem;
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-purple-outline:hover {
  background: var(--purple-royal);
  color: var(--white);
  border-color: var(--purple-light);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.card-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--white-dim);
}

.card-footer-actions a {
  color: var(--gold-light);
  transition: color 0.2s ease;
  font-weight: 600;
}

.card-footer-actions a:hover {
  color: var(--white);
  text-decoration: underline;
}

.status-msg {
  margin-top: 0.75rem;
  font-size: 0.825rem;
  text-align: center;
  min-height: 1.2rem;
  font-weight: 600;
}

.status-msg.success {
  color: #4ade80;
}

.status-msg.error {
  color: #f87171;
}

/* ── 3D Interactive Digital Business Card Showcase ── */
.digital-pass-section {
  padding: 3rem 0;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-light);
  background: var(--purple-badge-bg);
  border: 1px solid var(--purple-border);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--white-dim);
  max-width: 600px;
  margin: 0 auto 2.25rem;
}

.card-flip-stage {
  perspective: 1200px;
  width: 100%;
  max-width: 480px;
  height: 270px;
  margin: 0 auto 1.5rem;
  cursor: pointer;
}

.card-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.card-flip-stage.flipped .card-flip-inner {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  background: linear-gradient(145deg, rgba(26, 12, 44, 0.95), rgba(10, 10, 15, 0.98));
  border: 1.5px solid var(--gold-border);
  box-shadow: var(--shadow-purple), inset 0 1px 0 rgba(201, 168, 76, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  overflow: hidden;
}

.card-face::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.card-face-back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, rgba(15, 14, 25, 0.98), rgba(30, 10, 50, 0.95));
}

.card-face-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.card-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.card-network-logo {
  height: 28px;
  width: auto;
}

.card-face-body {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.card-avatar-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-royal), var(--gold-dark));
  border: 2px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.card-identity h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.card-identity p {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
}

.card-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--white-dim);
  margin-top: 0.25rem;
}

.card-face-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
}

.card-mic-token {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--gold-dim);
  letter-spacing: 0.08em;
}

.card-flip-prompt {
  font-size: 0.75rem;
  color: var(--purple-light);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.card-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-card-ctrl {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--black-border);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-ctrl:hover {
  background: rgba(201, 168, 76, 0.2);
  border-color: var(--gold-border);
  color: var(--gold-bright);
}

/* ── Live Directory Explorer ── */
.directory-explorer-section {
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.search-filter-bar {
  background: var(--black-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 1.25rem;
}

.search-input-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--gold-light);
}

.search-main-input {
  width: 100%;
  padding: 0.9rem 1.1rem 0.9rem 2.8rem;
  background: rgba(10, 10, 15, 0.8);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-main-input:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
}

.category-pills-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}

.cat-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--black-border);
  color: var(--white-dim);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.cat-pill-btn:hover {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-light);
  border-color: var(--gold-border);
}

.cat-pill-btn.active {
  background: var(--purple-gradient);
  color: #fff;
  border-color: var(--purple-light);
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.4);
}

/* Directory Grid */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.biz-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.biz-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--purple-vivid));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.biz-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.biz-card:hover::before {
  opacity: 1;
}

.biz-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.biz-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.biz-card-meta h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.biz-card-type {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple-light);
}

.biz-card-details {
  font-size: 0.825rem;
  color: var(--white-dim);
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.biz-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.85rem;
}

.biz-rating-stars {
  color: var(--gold-bright);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.btn-biz-view {
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-biz-view:hover {
  background: var(--gold-gradient);
  color: var(--black);
  border-color: var(--gold-bright);
}

/* ── Directory Load More Controls ── */
.load-more-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  gap: 0.75rem;
}

.directory-count-label {
  font-size: 0.825rem;
  color: var(--white-dim);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 2.25rem;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-full);
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(201, 168, 76, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-load-more:hover {
  background: var(--gold-gradient);
  color: #08080C;
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}

/* ── Four Pillars of Economic Empowerment ── */
.pillars-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(22, 7, 40, 0.5) 50%, transparent 100%);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--black-card);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pillar-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-purple);
  transform: translateY(-5px);
}

.pillar-icon-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pillar-icon-box img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(201, 168, 76, 0.4));
  transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon-box img {
  transform: scale(1.1);
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ── Our Mission Banner & Solidarity Fist ── */
.mission-showcase-section {
  padding: 3rem 0;
}

.mission-box {
  background: linear-gradient(135deg, rgba(30, 10, 60, 0.95), rgba(10, 10, 18, 0.98));
  border: 2px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.mission-emblem-wrapper {
  flex-shrink: 0;
}

.mission-emblem-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.5));
}

.mission-content h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
}

.mission-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 1.25rem;
}

/* ── Live Community Impact Metrics ── */
.metrics-section {
  padding: 3rem 0;
}

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

.metric-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.metric-card:hover {
  border-color: var(--purple-border);
  transform: translateY(-2px);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white-dim);
}

/* ── Extracted Assets Catalog Hub ── */
.assets-gallery-section {
  padding: 4rem 0;
}

.assets-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.asset-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.asset-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.asset-preview {
  height: 150px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  cursor: pointer;
}

.asset-preview img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.asset-card:hover .asset-preview img {
  transform: scale(1.08);
}

.asset-badge-type {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--black-border);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: var(--gold-light);
}

.asset-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.asset-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.asset-desc {
  font-size: 0.75rem;
  color: var(--white-dim);
  margin-bottom: 0.85rem;
}

.asset-actions {
  display: flex;
  gap: 0.4rem;
}

.btn-asset-action {
  flex: 1;
  padding: 0.35rem 0;
  font-size: 0.725rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--black-border);
  color: var(--white);
  transition: var(--transition);
}

.btn-asset-action:hover {
  background: var(--purple-royal);
  border-color: var(--purple-light);
}

/* ── Modals & Dialogs ── */
.modal-overlay,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.open,
.modal-overlay.active,
.modal-backdrop.open,
.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-window {
  background: var(--black-raised);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-modal);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-window,
.modal-overlay.active .modal-window,
.modal-backdrop.open .modal-window,
.modal-backdrop.active .modal-window {
  transform: scale(1) translateY(0);
}

@keyframes modalStaticShake {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  20%, 60% {
    transform: scale(1.02) translateY(-2px);
  }
  40%, 80% {
    transform: scale(0.99) translateY(1px);
  }
}

.modal-window.modal-shake {
  animation: modalStaticShake 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--black-border);
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.08);
}

/* ============================================================================
   HIGH-END LUXURY STYLIZED MEMBER LOGIN MODAL UI & HERO TRIGGER
   ============================================================================ */

.btn-hero-login {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  background: linear-gradient(135deg, rgba(20, 18, 30, 0.95), rgba(8, 8, 12, 0.98));
  border: 1.5px solid rgba(201, 168, 76, 0.45);
  border-radius: var(--radius-full);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 223, 120, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-hero-login:hover {
  border-color: var(--gold-bright);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75), 0 0 25px rgba(201, 168, 76, 0.35);
}

.btn-hero-login-icon {
  font-size: 1rem;
}

.btn-hero-login-arrow {
  color: var(--gold-bright);
  transition: transform 0.25s ease;
}

.btn-hero-login:hover .btn-hero-login-arrow {
  transform: translateX(3px);
}

.login-modal-overlay {
  background: rgba(4, 4, 6, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.login-modal-window {
  max-width: 450px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.5) transparent;
  background: linear-gradient(165deg, rgba(14, 13, 20, 0.98) 0%, rgba(5, 5, 8, 0.99) 100%);
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  border-radius: 20px;
  padding: 1.65rem 1.85rem 1.5rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(201, 168, 76, 0.16), inset 0 1px 0 rgba(255, 223, 120, 0.28);
  position: relative;
  text-align: center;
}

/* Stylized Form Scrollbar */
.login-modal-window::-webkit-scrollbar {
  width: 5px;
}

.login-modal-window::-webkit-scrollbar-track {
  background: transparent;
  margin: 12px 0;
}

.login-modal-window::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FFDF78 0%, #C9A84C 50%, #8A6E2F 100%);
  border-radius: var(--radius-full);
}

.login-modal-window::-webkit-scrollbar-thumb:hover {
  background: #FFDF78;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.8);
}

.login-modal-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #C9A84C 25%, #FFDF78 50%, #C9A84C 75%, transparent 100%);
}

.login-modal-window::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 140px;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.22) 0%, rgba(124, 58, 237, 0.12) 50%, transparent 75%);
  pointer-events: none;
}

.login-modal-header {
  position: relative;
  z-index: 2;
  margin-bottom: 0.85rem;
}

.login-emblem-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-emblem-halo {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.35) 0%, transparent 70%);
  animation: pulseGlow 3.5s ease-in-out infinite alternate;
}

.login-emblem-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 76, 0.5);
  animation: spinSlow 20s linear infinite;
}

.login-emblem-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
}

.login-access-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(201, 168, 76, 0.14);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.35rem;
}

.login-modal-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
  background: linear-gradient(135deg, #ffffff 30%, #FFDF78 80%, #C9A84C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-modal-subtitle {
  font-size: 0.78rem;
  color: var(--white-dim);
  line-height: 1.4;
  max-width: 340px;
  margin: 0 auto;
}

/* 1-Click Quick Credentials */
.login-quick-row {
  margin: 0.65rem 0 0.85rem;
  padding: 0.5rem 0.65rem;
  background: rgba(18, 17, 26, 0.8);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-md);
  text-align: left;
}

.login-quick-header {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.login-quick-chips {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.login-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--white-dim);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.login-chip-btn:hover {
  background: rgba(201, 168, 76, 0.18);
  border-color: var(--gold-bright);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
}

/* Stylized Form Inputs with Icon Wrappers */
.login-input-group {
  position: relative;
  margin-bottom: 0.7rem;
  text-align: left;
}

.login-input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--gold-light);
  pointer-events: none;
  z-index: 2;
}

.login-input-field {
  width: 100%;
  background: #06060A;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem 0.75rem 2.4rem;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.login-input-field:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.8);
  background: #09090E;
}

.login-input-toggle-pass {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--white-dim);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.login-input-toggle-pass:hover {
  color: var(--gold-bright);
}

/* Options Row */
.login-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--white-dim);
  margin-bottom: 0.95rem;
}

.login-remember-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  user-select: none;
}

.login-remember-label input[type="checkbox"] {
  accent-color: var(--gold);
  cursor: pointer;
}

.login-forgot-link {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.login-forgot-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* High-Gloss Submit Button */
.login-submit-btn {
  width: 100%;
  padding: 0.82rem 1.25rem;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.login-submit-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(25deg);
  transition: all 0.6s ease;
}

.login-submit-btn:hover::after {
  left: 130%;
}

/* Modal Footer Switch */
.login-modal-footer {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  color: var(--white-dim);
}

.login-modal-footer a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.25rem;
}

.login-modal-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ============================================================
   AUTH 3D FLIP MODAL (SIGN IN <-> REGISTRATION)
   ============================================================ */
.auth-flip-viewport {
  perspective: 1400px;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
}

.auth-flip-card {
  position: relative;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.34, 1.25, 0.64, 1);
  transform-style: preserve-3d;
}

.auth-flip-card.flipped {
  transform: rotateY(180deg);
}

.auth-card-face {
  width: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 22px;
}

.auth-card-front {
  position: relative;
  z-index: 2;
  transform: rotateY(0deg);
}

.auth-card-back {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotateY(180deg);
  z-index: 1;
  pointer-events: none;
}

.auth-flip-card.flipped .auth-card-front {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.auth-flip-card.flipped .auth-card-back {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

/* Auth Modal Panes */
.auth-modal-pane {
  width: 100%;
  animation: authPaneFadeIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes authPaneFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Auth Mode Toggle Pill Switch */
.auth-mode-switch {
  display: flex;
  background: rgba(8, 8, 14, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius-full);
  padding: 0.28rem;
  margin-bottom: 1.2rem;
  gap: 0.35rem;
}

.auth-mode-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white-dim);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.auth-mode-btn:hover {
  color: var(--gold-bright);
}

.auth-mode-btn.active {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.28) 0%, rgba(201, 168, 76, 0.12) 100%);
  color: var(--gold-bright);
  border: 1px solid rgba(201, 168, 76, 0.45);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.18);
}

/* Registration Role Toggle */
.register-role-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.register-role-option {
  flex: 1;
  cursor: pointer;
  margin: 0;
}

.register-role-option input[type="radio"] {
  display: none;
}

.register-role-option .role-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white-dim);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.register-role-option input[type="radio"]:checked+.role-pill {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.24) 0%, rgba(124, 58, 237, 0.16) 100%);
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.22);
}

.login-select-field {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.login-select-field option {
  background: #0b0b14;
  color: #f1f5f9;
  padding: 0.6rem;
}

.auth-flip-action-btn {
  background: transparent;
  border: none;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  margin-left: 0.25rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.auth-flip-action-btn:hover {
  color: #ffffff;
}

/* Embedded Auth Mode Switch CTA (Button Inside Login / Register) */
.auth-footer-register-block {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 168, 76, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.auth-footer-prompt {
  font-size: 0.8rem;
  color: var(--white-dim);
  font-weight: 500;
}

.btn-auth-switch-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2) 0%, rgba(124, 58, 237, 0.22) 100%);
  border: 1.5px solid rgba(201, 168, 76, 0.45);
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.72rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 223, 120, 0.2);
}

.btn-auth-switch-cta:hover {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.32) 0%, rgba(124, 58, 237, 0.32) 100%);
  border-color: var(--gold-bright);
  color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.28), inset 0 1px 0 rgba(255, 223, 120, 0.4);
}

.btn-auth-switch-cta:active {
  transform: translateY(0);
}

.btn-auth-switch-cta .btn-auth-switch-arrow {
  color: var(--gold-bright);
  transition: transform 0.25s ease;
}

.btn-auth-switch-cta:hover .btn-auth-switch-arrow {
  transform: translateX(3px);
  color: #ffffff;
}

.btn-auth-switch-subtle {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white-dim);
  box-shadow: none;
}

.btn-auth-switch-subtle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-border);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   SKIPPABLE GUEST ANIMATION OVERLAY (LOGO.MP4 & MONTHLY COOKIE)
   ============================================================ */
.guest-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 2, 4, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.3, 1), visibility 0.5s ease;
  padding: 1.25rem;
}

.guest-intro-overlay.active {
  opacity: 1;
  visibility: visible;
}

.guest-intro-overlay.dismissing {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
}

.guest-intro-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(124, 58, 237, 0.16) 0%, rgba(201, 168, 76, 0.12) 35%, transparent 70%);
  pointer-events: none;
}

.guest-intro-container {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: linear-gradient(165deg, rgba(16, 14, 24, 0.98) 0%, rgba(5, 5, 8, 0.99) 100%);
  border: 1.5px solid rgba(201, 168, 76, 0.45);
  border-radius: 24px;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.98), 0 0 70px rgba(201, 168, 76, 0.22), inset 0 1px 0 rgba(255, 223, 120, 0.35);
  overflow: hidden;
  animation: introPopIn 0.6s cubic-bezier(0.34, 1.35, 0.64, 1) both;
}

@keyframes introPopIn {
  from {
    transform: translateY(25px) scale(0.94);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.guest-intro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.4rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  background: rgba(10, 9, 16, 0.85);
}

.guest-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.btn-skip-intro {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-skip-intro:hover {
  background: rgba(201, 168, 76, 0.28);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.25);
}

.skip-intro-icon {
  font-size: 0.72rem;
  opacity: 0.8;
}

.guest-intro-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 60vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.guest-intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.guest-intro-sound-toggle {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(8, 8, 12, 0.82);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  z-index: 5;
}

.guest-intro-sound-toggle:hover {
  background: rgba(201, 168, 76, 0.25);
  border-color: #FFDF78;
}

.guest-intro-footer {
  padding: 0.85rem 1.4rem;
  background: rgba(10, 9, 16, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.guest-intro-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.guest-intro-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
  transition: width 0.15s linear;
}

.guest-intro-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.guest-intro-status {
  font-size: 0.76rem;
  color: var(--white-dim);
}

.guest-intro-enter-btn {
  background: linear-gradient(135deg, #FFDF78 0%, #C9A84C 50%, #8A6E2F 100%);
  color: #08080C;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
  transition: all 0.25s ease;
}

.guest-intro-enter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(201, 168, 76, 0.55);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-item {
  background: rgba(15, 14, 25, 0.95);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
  animation: slideInToast 0.3s ease-out;
}

@keyframes slideInToast {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ── Footer ── */
footer.portal-footer {
  border-top: 1px solid var(--black-border);
  background: rgba(8, 8, 12, 0.95);
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--white-dim);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--white-dim);
}

/* ── Account Dropdown, Back to Home & Settings Suite ── */
.nav-back-home-btn {
  background: rgba(201, 168, 76, 0.14);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.nav-back-home-btn:hover {
  background: var(--gold-gradient);
  color: #000000;
  border-color: var(--gold-bright);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.4);
  transform: translateX(-2px);
}

.nav-account-wrapper {
  position: relative;
  display: inline-block;
}

.account-pill-btn {
  background: rgba(15, 14, 25, 0.9);
  border: 1px solid var(--gold-border);
  color: var(--white);
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.account-pill-btn:hover {
  border-color: var(--gold);
  background: rgba(24, 22, 38, 0.98);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.25);
}

.account-pill-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  object-fit: cover;
}

.account-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: rgba(10, 8, 16, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9), 0 0 30px rgba(124, 58, 237, 0.2);
  padding: 0.65rem;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  animation: fadeInMenu 0.2s ease-out;
}

.account-dropdown-menu.active {
  display: flex;
}

@keyframes fadeInMenu {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-user-header {
  padding: 0.5rem 0.65rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.35rem;
}

.dropdown-user-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.dropdown-user-role {
  font-size: 0.72rem;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
}

.account-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--white-dim);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.account-dropdown-item:hover {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-bright);
}

.account-dropdown-item.danger {
  color: #ff6b64;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.25rem;
  padding-top: 0.65rem;
}

.account-dropdown-item.danger:hover {
  background: rgba(255, 69, 58, 0.15);
  color: #ffffff;
}

/* ── Settings Suite Section ── */
.settings-suite-section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.settings-suite-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.settings-sidebar-nav {
  background: var(--black-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: 90px;
}

.settings-nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--white-dim);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: var(--transition);
  text-align: left;
}

.settings-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.settings-nav-btn.active {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
  border-color: var(--gold-border);
  color: var(--gold-bright);
}

.settings-panel-card {
  background: var(--black-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.settings-panel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}

.settings-card-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.settings-card-subtitle {
  font-size: 0.85rem;
  color: var(--white-dim);
}

.settings-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.settings-form-full {
  grid-column: 1 / -1;
}

.settings-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.settings-toggle-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 80%;
}

.settings-toggle-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}

.settings-toggle-desc {
  font-size: 0.8rem;
  color: var(--white-dim);
}

/* Custom Toggle Switch */
.switch-control {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: .3s;
  border-radius: 50%;
}

.switch-control input:checked+.switch-slider {
  background: var(--gold-gradient);
  border-color: var(--gold-bright);
}

.switch-control input:checked+.switch-slider:before {
  transform: translateX(22px);
  background-color: #08080C;
}

/* Color Swatches */
.color-swatches-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.color-swatch-opt {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.color-swatch-opt.active {
  border-color: #ffffff;
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

/* ── Responsive Adaptations ── */
@media (max-width: 860px) {
  .settings-suite-container {
    grid-template-columns: 1fr;
  }

  .settings-sidebar-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
  }

  .settings-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-main-title {
    font-size: 2.4rem;
  }

  .brand-logo-container {
    width: 200px;
    height: 200px;
  }

  .hero__logo-ring-1 {
    width: 175px;
    height: 175px;
  }

  .hero__logo-ring-2 {
    width: 200px;
    height: 200px;
  }

  .brand-logo-img {
    width: 140px;
    height: 140px;
  }

  .mission-box {
    flex-direction: column;
    text-align: center;
  }

  .card-flip-stage {
    height: 290px;
  }
}

/* ============================================================
   SUBSCRIBER TIER & SEPARATE BUSINESS REGISTRATION STYLES
   ============================================================ */

/* Dual-Track Hero Gateway Badges & Cards */
.badge-subscriber {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid var(--purple-border);
  color: var(--purple-light);
}

.badge-enterprise {
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
}

.tier-perks-list {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tier-perks-list li {
  font-size: 0.82rem;
  color: var(--white-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tier-perks-list li span.check-gold {
  color: var(--gold-bright);
  font-weight: bold;
}

.tier-perks-list li span.check-purple {
  color: var(--purple-light);
  font-weight: bold;
}

/* Card Tier Switcher Buttons */
.card-tier-segmented-control {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.3rem;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.card-tier-btn {
  background: transparent;
  border: none;
  color: var(--white-dim);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-tier-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.card-tier-btn.active {
  background: var(--gold-gradient);
  color: #08080C;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
}

.card-tier-btn.active.purple-active {
  background: var(--purple-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

/* Subscriber Card Theme */
.card-face.theme-subscriber {
  background: linear-gradient(145deg, #120422 0%, #1a0833 50%, #0d0417 100%);
  border-color: var(--purple-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(124, 58, 237, 0.2);
}

.card-face.theme-subscriber::before {
  background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.25), transparent 60%);
}

/* Multi-Step Business Registration Wizard */
.modal-window-wide {
  max-width: 680px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
}

.wizard-steps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.wizard-step-tab {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--white-dim);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: left;
}

.wizard-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.wizard-step-tab.active {
  color: var(--gold-bright);
  background: rgba(201, 168, 76, 0.1);
}

.wizard-step-tab.active .wizard-step-num {
  background: var(--gold-gradient);
  color: #08080C;
}

.wizard-step-tab.completed {
  color: #4ade80;
}

.wizard-step-tab.completed .wizard-step-num {
  background: #4ade80;
  color: #08080C;
}

.wizard-step-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.wizard-step-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-link-badge-box {
  background: rgba(201, 168, 76, 0.08);
  border: 1px dashed var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.account-link-badge-box.linked {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.35);
}

.wizard-nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-wizard-prev {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-wizard-prev:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Topic Checklist for Subscribers */
.topic-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (max-width: 540px) {
  .topic-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .wizard-steps-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.topic-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.topic-checkbox-item:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: var(--purple-border);
}

.topic-checkbox-item input[type="checkbox"] {
  accent-color: var(--purple-vivid);
  margin-top: 0.2rem;
  cursor: pointer;
}

.topic-checkbox-text {
  display: flex;
  flex-direction: column;
}

.topic-checkbox-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
}

.topic-checkbox-desc {
  font-size: 0.72rem;
  color: var(--white-dim);
}

/* ============================================================
   SIMPLIFIED GATEWAY CONTAINER & RESPONSIVE SUITE
   Theme: Luxury Obsidian & Polished Gold
   ============================================================ */

.gateway-stage {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2.5rem;
  position: relative;
  z-index: 2;
}

.gateway-card {
  width: 100%;
  max-width: 1120px;
  background: linear-gradient(145deg, rgba(22, 14, 38, 0.88), rgba(12, 11, 20, 0.94));
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 45px rgba(124, 58, 237, 0.15), inset 0 1px 0 rgba(201, 168, 76, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  position: relative;
}

.gateway-card::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.gateway-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.gateway-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 580px;
  position: relative;
  z-index: 2;
}

/* Left Brand Showcase Column */
.gateway-brand-col {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.gateway-brand-header {
  text-align: center;
}

.gateway-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.gateway-logo-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.45));
  animation: floatRotary 6s ease-in-out infinite;
}

@keyframes floatRotary {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-6px) rotate(2deg);
  }
}

.gateway-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.gateway-tagline {
  display: inline-flex;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white-dim);
  margin-bottom: 0.6rem;
}

.gateway-tagline .gold {
  color: var(--gold-bright);
}

.gateway-tagline .purple {
  color: var(--purple-light);
}

.gateway-desc {
  font-size: 0.825rem;
  color: var(--white-dim);
  line-height: 1.5;
  max-width: 380px;
  margin: 0 auto 1.25rem;
}

/* Compact 3D Pass in Gateway */
.gateway-pass-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 380px;
}

.gateway-pass-wrapper .card-flip-stage {
  max-width: 100%;
  height: 220px;
  margin-bottom: 0.75rem;
}

.gateway-pass-wrapper .card-face {
  padding: 1.15rem 1.35rem;
}

.gateway-pass-wrapper .card-avatar-icon {
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
}

.gateway-pass-wrapper .card-identity h3 {
  font-size: 1.05rem;
}

.gateway-pass-wrapper .card-identity p {
  font-size: 0.75rem;
}

.gateway-pass-wrapper .card-location-chip {
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
}

.gateway-pass-wrapper .card-mic-token {
  font-size: 0.68rem;
}

.gateway-pass-hint {
  text-align: center;
  font-size: 0.72rem;
  color: var(--gold-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.gateway-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
}

.gateway-perks-list li {
  font-size: 0.76rem;
  color: var(--white-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gateway-perks-list li strong {
  color: var(--white);
}

/* Right Form Column */
.gateway-form-col {
  padding: 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Segmented Tab Bar */
.gateway-tabs-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(10, 8, 18, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 0.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.gateway-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--white-dim);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.gateway-tab-btn:hover {
  color: var(--white);
}

.gateway-tab-btn.active {
  color: #08080C;
  background: var(--gold-gradient);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
}

.gateway-tab-btn.purple-active.active {
  color: #FFFFFF;
  background: var(--purple-gradient);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

/* Tab Panels */
.gateway-panel {
  display: none;
  animation: fadeInPanel 0.3s ease-out;
}

.gateway-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gateway-panel-heading {
  margin-bottom: 1.25rem;
}

.gateway-panel-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.gateway-panel-desc {
  font-size: 0.825rem;
  color: var(--white-dim);
  line-height: 1.45;
}

/* Form Controls with Refined Spacing */
.gateway-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.gateway-form-full {
  grid-column: 1 / -1;
}

.gateway-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.gateway-input-wrap label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gateway-input-wrap .form-input {
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 10, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: var(--transition);
}

.gateway-input-wrap .form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
  background: rgba(16, 14, 24, 0.95);
}

/* Quick Region Chips */
.region-chips-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.4rem;
  scrollbar-width: none;
}

.region-chips-row::-webkit-scrollbar {
  display: none;
}

.region-chip {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white-dim);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.region-chip:hover,
.region-chip.active {
  background: rgba(201, 168, 76, 0.2);
  border-color: var(--gold-border);
  color: var(--gold-bright);
}

/* Role Selector Toggle */
.role-segmented-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.role-radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white-dim);
  transition: var(--transition);
  user-select: none;
}

.role-radio-label input[type="radio"] {
  display: none;
}

.role-radio-label:hover {
  background: rgba(255, 255, 255, 0.06);
}

.role-radio-label.active {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold-border);
  color: var(--gold-bright);
}

/* Guaranteed Footer Bar in Form */
.gateway-form-footer {
  margin-top: 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--white-dim);
}

.gateway-form-footer a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
}

.gateway-form-footer a:hover {
  text-decoration: underline;
}

/* Success Modal with 3D Pass Glow */
.pass-reveal-modal-window {
  text-align: center;
  max-width: 520px;
}

.pass-reveal-celebration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pass-reveal-icon {
  font-size: 2.5rem;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================================================
   RESPONSIVE MATRIX: TABLET, MOBILE PORTRAIT, MOBILE LANDSCAPE
   ============================================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .gateway-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
  }

  .gateway-brand-col {
    padding: 1.75rem 1.5rem;
  }

  .gateway-form-col {
    padding: 1.75rem 1.5rem;
  }

  .gateway-title {
    font-size: 1.6rem;
  }
}

/* Stacked Layout on Medium & Small Tablets / Large Phones */
@media (max-width: 860px) {
  .gateway-stage {
    padding: 1rem 0.75rem 2rem;
  }

  .gateway-grid {
    grid-template-columns: 1fr;
  }

  .gateway-brand-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem 1.25rem;
  }

  .gateway-pass-wrapper {
    max-width: 360px;
  }

  .gateway-form-col {
    padding: 1.75rem 1.25rem;
  }
}

/* Mobile Portrait (<540px) */
@media (max-width: 540px) {
  .gateway-stage {
    padding: 0.75rem 0.5rem 1.5rem;
  }

  .gateway-card {
    border-radius: var(--radius-lg);
  }

  .gateway-brand-col {
    padding: 1.25rem 1rem;
  }

  .gateway-logo-img {
    width: 68px;
    height: 68px;
  }

  .gateway-title {
    font-size: 1.45rem;
  }

  .gateway-tagline {
    font-size: 0.75rem;
    gap: 0.25rem;
  }

  .gateway-desc {
    font-size: 0.78rem;
    margin-bottom: 0.85rem;
  }

  .gateway-pass-wrapper .card-flip-stage {
    height: 200px;
  }

  .gateway-pass-wrapper .card-face {
    padding: 1rem;
  }

  .gateway-form-col {
    padding: 1.25rem 1rem;
  }

  .gateway-tabs-bar {
    padding: 0.25rem;
    margin-bottom: 1rem;
  }

  .gateway-tab-btn {
    padding: 0.6rem 0.6rem;
    font-size: 0.78rem;
    gap: 0.35rem;
  }

  .gateway-form-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .gateway-input-wrap .form-input {
    font-size: 16px;
    /* Prevents auto-zoom on iOS */
    padding: 0.75rem 0.85rem;
    min-height: 46px;
  }

  .role-segmented-box {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MOBILE LANDSCAPE SPECIALIZED RESPONSIVENESS
   (Width 568px - 920px, Height <= 550px)
   Prevents infinite scrolling & vertical trapped views
   ============================================================ */
@media (orientation: landscape) and (max-height: 550px) {
  .gateway-stage {
    min-height: auto;
    padding: 0.5rem 0.5rem 1rem;
    align-items: flex-start;
  }

  .nationwide-banner {
    display: none;
  }

  header {
    padding: 0.35rem 0;
  }

  .nav-brand img {
    width: 32px;
    height: 32px;
  }

  .nav-brand-text .brand-title {
    font-size: 1rem;
  }

  .gateway-card {
    border-radius: var(--radius-md);
  }

  .gateway-grid {
    grid-template-columns: 0.85fr 1.15fr;
    min-height: auto;
  }

  .gateway-brand-col {
    padding: 1rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    justify-content: flex-start;
  }

  .gateway-logo-img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.2rem;
  }

  .gateway-title {
    font-size: 1.2rem;
    margin-bottom: 0.15rem;
  }

  .gateway-tagline {
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
  }

  .gateway-desc {
    display: none;
    /* Hidden in tight landscape to save vertical space */
  }

  .gateway-pass-wrapper .card-flip-stage {
    height: 165px;
    margin-bottom: 0.35rem;
  }

  .gateway-pass-wrapper .card-face {
    padding: 0.75rem 0.9rem;
  }

  .gateway-pass-wrapper .card-avatar-icon {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }

  .gateway-pass-wrapper .card-identity h3 {
    font-size: 0.9rem;
  }

  .gateway-pass-wrapper .card-identity p {
    font-size: 0.68rem;
  }

  .gateway-perks-list {
    display: none;
    /* Hidden in tight landscape */
  }

  .gateway-form-col {
    padding: 1rem 1.15rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .gateway-tabs-bar {
    margin-bottom: 0.75rem;
  }

  .gateway-tab-btn {
    padding: 0.45rem 0.6rem;
    font-size: 0.76rem;
  }

  .gateway-panel-heading {
    margin-bottom: 0.65rem;
  }

  .gateway-panel-title {
    font-size: 1.05rem;
  }

  .gateway-panel-desc {
    font-size: 0.72rem;
    margin-bottom: 0.4rem;
  }

  .gateway-form-grid {
    gap: 0.5rem;
    margin-bottom: 0.6rem;
  }

  .gateway-input-wrap .form-input {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
  }

  .gateway-form-footer {
    margin-top: 0.65rem;
    padding-top: 0.5rem;
  }

  .hero-stage {
    padding-top: 1rem;
  }

  .brand-hero {
    margin-bottom: 1rem !important;
  }

  .brand-logo-img {
    width: 65px !important;
    height: 65px !important;
  }

  .hero-main-title {
    font-size: 1.45rem !important;
    margin: 0.3rem 0 0.2rem !important;
  }

  .hero-tagline-trio {
    font-size: 0.75rem !important;
    margin-bottom: 0.4rem !important;
  }

  .hero-description {
    display: none;
  }

  .portal-gateway-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
  }

  .action-card {
    padding: 1.25rem 1.15rem;
  }

  .tier-perks-list {
    margin: 0.5rem 0;
    gap: 0.25rem;
  }

  .tier-perks-list li {
    font-size: 0.75rem;
  }

  .card-flip-stage {
    height: 200px;
  }
}

/* ============================================================================
   MINIMAL ELEGANT SEARCH PORTAL SUITE (White Input & Single 3D Business Card)
   ============================================================================ */

.portal-minimal-stage {
  min-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 1.25rem 3.5rem;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.portal-minimal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.portal-minimal-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.5rem;
  line-height: 1.15;
}

.portal-minimal-subtitle {
  font-size: 0.98rem;
  color: var(--white-dim);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.55;
}

.minimal-search-box-wrap {
  width: 100%;
  max-width: 680px;
  margin-bottom: 2.25rem;
}

.minimal-search-form {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* White background search input */
.minimal-search-input {
  width: 100%;
  background: #FFFFFF !important;
  color: #0F0F14 !important;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.15rem 3.4rem 1.15rem 3.4rem;
  border-radius: 9999px;
  border: 2px solid rgba(201, 168, 76, 0.45);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(201, 168, 76, 0.2);
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.minimal-search-input::placeholder {
  color: #6B7280 !important;
  font-weight: 400;
  font-size: 0.95rem;
}

.minimal-search-input:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(201, 168, 76, 0.4);
  transform: translateY(-1px);
}

.minimal-search-icon {
  position: absolute;
  left: 1.25rem;
  font-size: 1.25rem;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.minimal-search-clear-btn {
  position: absolute;
  right: 1.15rem;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4B5563;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 2;
}

.minimal-search-clear-btn:hover {
  background: rgba(0, 0, 0, 0.18);
  color: #111827;
}

.minimal-category-pills {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.minimal-card-container {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.search-matches-indicator {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-bright);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold-border);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

@media (max-width: 640px) {
  .portal-minimal-stage {
    padding: 1.75rem 1rem 2.5rem;
  }

  .minimal-search-input {
    font-size: 0.9rem;
    padding: 0.95rem 2.8rem 0.95rem 2.8rem;
  }

  .minimal-search-icon {
    left: 0.95rem;
    font-size: 1.1rem;
  }

  .minimal-search-clear-btn {
    right: 0.9rem;
  }
}

/* ============================================================================
   SETTINGS PAGE SUITE (Person vs Business Card Configuration)
   ============================================================================ */

.settings-page-stage {
  padding: 2.5rem 1.25rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.settings-page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.settings-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.settings-segmented-control {
  display: inline-flex;
  background: rgba(18, 18, 28, 0.85);
  border: 1.5px solid var(--gold-border);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  gap: 0.4rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.settings-tab-btn {
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--white-dim);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.settings-tab-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.settings-tab-btn.active {
  background: var(--gold-gradient);
  color: #0A0A10;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.settings-tab-btn.purple-tab.active {
  background: var(--purple-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.45);
}

.settings-layout-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.25rem;
  align-items: flex-start;
}

.settings-form-panel {
  background: var(--black-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-card);
}

.settings-preview-sticky {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.settings-preview-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.toggle-switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.toggle-switch-label {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
}

.toggle-switch-subtext {
  font-size: 0.75rem;
  color: var(--white-dim);
  margin-top: 0.15rem;
}

@media (max-width: 900px) {
  .settings-layout-grid {
    grid-template-columns: 1fr;
  }

  .settings-preview-sticky {
    position: static;
    margin-top: 2rem;
  }

  .settings-form-panel {
    padding: 1.5rem 1.25rem;
  }
}

/* ============================================================================
   GRANULAR DATA POINT PRIVACY & SECURITY BADGES
   ============================================================================ */

.privacy-tag-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.privacy-tag-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.privacy-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.privacy-tag-toggle input:checked+.privacy-badge {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.45);
  color: #34D399;
}

.privacy-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.data-point-security-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.public-immutable-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ============================================================================
   MOBILE GATEWAY TABS & RESPONSIVE FIT ENHANCEMENT (Clean, Compact, Not Too Scrolly)
   ============================================================================ */

.gateway-mobile-tabs {
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(18, 18, 28, 0.9);
  border: 1.5px solid var(--gold-border);
  padding: 0.28rem;
  border-radius: var(--radius-full);
  gap: 0.35rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  margin: 0 auto 1.25rem;
  max-width: 360px;
  width: 100%;
}

.gateway-m-tab-btn {
  flex: 1;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--white-dim);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.gateway-m-tab-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.gateway-m-tab-btn.active {
  background: var(--gold-gradient);
  color: #0A0A10;
  box-shadow: 0 3px 12px rgba(201, 168, 76, 0.4);
}

.gateway-m-tab-btn.purple-active.active {
  background: var(--purple-gradient);
  color: #FFFFFF;
  box-shadow: 0 3px 12px rgba(124, 58, 237, 0.45);
}

@media (max-width: 860px) {
  .gateway-mobile-tabs {
    display: flex !important;
  }

  .portal-gateway-grid {
    display: block !important;
    max-width: 480px !important;
    margin: 0 auto 1.5rem !important;
  }

  .action-card.m-hidden {
    display: none !important;
  }

  .action-card {
    padding: 1.2rem 1.05rem !important;
    margin-bottom: 0 !important;
    border-radius: var(--radius-md) !important;
  }

  .hero-stage {
    padding-top: 1.25rem !important;
    padding-bottom: 1rem !important;
  }

  .hero-main-title {
    font-size: clamp(1.75rem, 6vw, 2.3rem) !important;
    margin: 0.2rem 0 0.35rem !important;
  }

  .digital-pass-section {
    padding: 1rem 0 1.5rem !important;
  }

  .digital-pass-section .card-flip-stage {
    height: 200px !important;
    max-width: 380px !important;
  }

  .digital-pass-section .card-face {
    padding: 0.85rem 1rem !important;
  }

  .region-chips-row {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.35rem !important;
    padding-bottom: 0.25rem !important;
    scrollbar-width: none;
  }

  .region-chips-row::-webkit-scrollbar {
    display: none;
  }

  .demo-switcher {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.35rem !important;
    padding-bottom: 0.2rem !important;
    scrollbar-width: none;
  }

  .demo-switcher::-webkit-scrollbar {
    display: none;
  }

  .form-group {
    margin-bottom: 0.55rem !important;
  }

  .form-input {
    min-height: 42px !important;
    padding: 0.6rem 0.8rem !important;
    font-size: 15px !important;
  }

  .role-segmented-box {
    margin-bottom: 0.55rem !important;
  }

  .role-radio-label {
    padding: 0.35rem 0.5rem !important;
    font-size: 0.78rem !important;
  }
}

@media (max-width: 480px) {
  .hero-stage {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .action-card {
    padding: 1rem 0.85rem !important;
  }

  .digital-pass-section .card-flip-stage {
    height: 190px !important;
    max-width: 340px !important;
  }

  .card-face-top {
    margin-bottom: 0.4rem !important;
  }

  .card-identity h3 {
    font-size: 0.95rem !important;
  }

  .card-identity p {
    font-size: 0.74rem !important;
  }

  .card-avatar-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.15rem !important;
  }

  .card-mic-token {
    font-size: 0.68rem !important;
  }

  .modal-window {
    padding: 1.25rem 1rem !important;
    width: 94% !important;
    max-height: 88vh !important;
    border-radius: var(--radius-md) !important;
  }

  .modal-close-btn {
    top: 0.85rem !important;
    right: 0.85rem !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 0.95rem !important;
  }

  .portal-footer {
    padding: 1.25rem 0.75rem !important;
  }

  .footer-content {
    flex-direction: column !important;
    gap: 0.75rem !important;
    text-align: center !important;
  }
}

/* ============================================================
   STREAMLINED 5-PAGE APP & BOTTOM NAVIGATION DESIGN SYSTEM (ui.png)
   ============================================================ */

/* ── App Shell & Viewport ── */
.app-viewport {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 1.25rem 1.15rem calc(95px + env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

.app-page {
  display: none;
  animation: pageFadeIn 0.28s ease-out forwards;
}

.app-page.active {
  display: block;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Home Page Hero & Branding Lockup ── */
.home-brand-hero {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.home-logo-container {
  display: inline-block;
  margin: 0 auto 0.75rem;
  max-width: 280px;
}

.home-logo-img {
  width: 100%;
  max-height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(201, 168, 76, 0.2));
}

.home-slogan-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.home-slogan-line {
  flex: 1;
  max-width: 45px;
  height: 1.5px;
  background: var(--gold-border);
  border-radius: 9999px;
}

.home-slogan-text {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  text-transform: uppercase;
}

/* ── Home Search Pill Bar ── */
.home-search-wrap {
  margin-bottom: 1.75rem;
}

.home-search-pill {
  background: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 0.35rem 0.5rem 0.35rem 1.15rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-search-pill:focus-within {
  transform: scale(1.01);
  box-shadow: 0 10px 35px rgba(201, 168, 76, 0.35);
}

.home-search-icon {
  font-size: 1.1rem;
  color: #71717A;
  margin-right: 0.65rem;
  flex-shrink: 0;
}

.home-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #18181B;
  font-weight: 500;
}

.home-search-input::placeholder {
  color: #71717A;
  font-weight: 400;
}

.home-near-me-btn {
  background: #F4F4F5;
  border: 1px solid #E4E4E7;
  border-radius: var(--radius-full);
  padding: 0.4rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #18181B;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.home-near-me-btn:hover {
  background: #E4E4E7;
  transform: translateY(-1px);
}

/* ── Section Headers ── */
.home-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.home-section-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--white);
}

.home-section-link {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.home-section-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

/* ── Browse by Category Circular Grid (ui.png) ── */
.categories-circles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem 0.6rem;
  margin-bottom: 2rem;
  transition: all 0.35s ease;
}

.categories-circles-grid .cat-extra-item {
  display: none;
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.categories-circles-grid.expanded .cat-extra-item {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: catFadeSlideIn 0.35s forwards;
}

@keyframes catFadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.category-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: center;
  text-decoration: none;
}

.cat-circle-ring {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: radial-gradient(circle at 35% 35%, rgba(46, 26, 71, 0.6) 0%, rgba(12, 10, 20, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 0 12px rgba(201, 168, 76, 0.15);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-circle-item:hover .cat-circle-ring,
.category-circle-item.active .cat-circle-ring {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--gold-bright);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4), inset 0 0 16px rgba(201, 168, 76, 0.3);
}

.cat-circle-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

/* ── Featured Business Cards (ui.png) ── */
.featured-biz-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.featured-biz-card {
  background: rgba(16, 14, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.15rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.featured-biz-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-border);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 168, 76, 0.15);
}

.featured-biz-thumb {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  border: 1.5px solid var(--gold-border);
  background: #0A0A10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  overflow: hidden;
}

.btn-dir-back-home {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.btn-dir-back-home:hover {
  background: rgba(201, 168, 76, 0.2);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: scale(1.12);
}

.featured-biz-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2.2rem;
}

.featured-biz-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.featured-biz-category {
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.featured-biz-location {
  color: var(--white-dim);
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.featured-biz-stars {
  color: #FBBF24;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

/* ================================================================
   LIGHT THEME ADAPTATION: PRESERVE WHITE TEXT ON DARK BACKGROUND ELEMENTS
   ================================================================ */

/* 1. Scope theme color variables so any children referencing var(--white) stay white */
[data-theme="light"] .featured-biz-card,
[data-theme="light"] #directoryList > div,
[data-theme="light"] #homeFeaturedList > div,
[data-theme="light"] #favoritesList > div,
[data-theme="light"] .card-face,
[data-theme="light"] .card-face-front,
[data-theme="light"] .card-face-back,
[data-theme="light"] .profile-hybrid-card,
[data-theme="light"] .login-modal-window,
[data-theme="light"] .chat-thread-card,
[data-theme="light"] .active-chat-view,
[data-theme="light"] .active-chat-header,
[data-theme="light"] .chat-composer-bar,
[data-theme="light"] .chat-msg-row.received .chat-bubble,
[data-theme="light"] .account-dropdown-menu,
[data-theme="light"] .account-pill-btn,
[data-theme="light"] .app-bottom-nav,
[data-theme="light"] .nationwide-banner,
[data-theme="light"] footer.portal-footer,
[data-theme="light"] .btn-hero-login,
[data-theme="light"] .pillar-pro-card,
[data-theme="light"] .favorites-empty-state,
[data-theme="light"] .guest-intro-container,
[data-theme="light"] .pass-reveal-modal-window {
  --white: #FFFFFF;
  --white-dim: rgba(255, 255, 255, 0.75);
  --white-faint: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

/* 2. Featured Business Cards (All cards in Directory, Home, Favorites) */
[data-theme="light"] .featured-biz-card,
[data-theme="light"] .featured-biz-card .featured-biz-name,
[data-theme="light"] #directoryList > div,
[data-theme="light"] #directoryList > div .featured-biz-name,
[data-theme="light"] #homeFeaturedList > div .featured-biz-name,
[data-theme="light"] #favoritesList > div .featured-biz-name {
  color: #FFFFFF !important;
}

[data-theme="light"] .featured-biz-card .featured-biz-location,
[data-theme="light"] #directoryList > div .featured-biz-location,
[data-theme="light"] #homeFeaturedList > div .featured-biz-location,
[data-theme="light"] #favoritesList > div .featured-biz-location,
[data-theme="light"] .featured-biz-card .featured-biz-stars span,
[data-theme="light"] #directoryList > div .featured-biz-stars span {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="light"] .featured-biz-card .btn-card-action:not(.primary):not(.purple),
[data-theme="light"] #directoryList > div .btn-card-action:not(.primary):not(.purple) {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="light"] .featured-biz-card .btn-card-action:not(.primary):not(.purple):hover,
[data-theme="light"] #directoryList > div .btn-card-action:not(.primary):not(.purple):hover {
  color: var(--gold-bright) !important;
  border-color: var(--gold-border) !important;
}

[data-theme="light"] .featured-biz-card .featured-biz-category,
[data-theme="light"] #directoryList > div .featured-biz-category {
  color: var(--gold-bright) !important;
}

/* 3. 3D Digital Pass Cards (Front & Back Faces) */
[data-theme="light"] .card-face,
[data-theme="light"] .card-face .card-identity h3,
[data-theme="light"] .card-face #cardBizName,
[data-theme="light"] .card-face #profBizName,
[data-theme="light"] .card-face #cardBackName,
[data-theme="light"] .card-face #profBackBizName {
  color: #FFFFFF !important;
}

[data-theme="light"] .card-face #cardBackDesc,
[data-theme="light"] .card-face #profBackBizDesc,
[data-theme="light"] .card-face .card-location-chip,
[data-theme="light"] .card-face .card-mic-token,
[data-theme="light"] .card-face .card-flip-prompt {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="light"] .card-face .btn-biz-view:not(#cardBackWeb) {
  color: #FFFFFF !important;
}

/* 4. Profile Hybrid Cards (Profile Header & Listing Manager) */
[data-theme="light"] .profile-hybrid-card,
[data-theme="light"] .profile-hybrid-card .profile-name-title,
[data-theme="light"] .profile-hybrid-card h2,
[data-theme="light"] .profile-hybrid-card h3 {
  color: #FFFFFF !important;
}

[data-theme="light"] .profile-hybrid-card #profileUserHandle,
[data-theme="light"] .profile-hybrid-card .profile-stat-label,
[data-theme="light"] .profile-hybrid-card .form-label,
[data-theme="light"] .profile-hybrid-card form div {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .profile-hybrid-card select#profSelectCategory {
  color: #FFFFFF !important;
  background: #0A0A10 !important;
}

/* 5. Messages & Chat System */
[data-theme="light"] .chat-thread-card,
[data-theme="light"] .chat-thread-card .thread-name,
[data-theme="light"] .active-chat-header #activeChatPartnerName,
[data-theme="light"] .chat-msg-row.received .chat-bubble,
[data-theme="light"] .chat-composer-bar .chat-input-field {
  color: #FFFFFF !important;
}

[data-theme="light"] .chat-thread-card .thread-time,
[data-theme="light"] .chat-thread-card .thread-snippet {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* 6. Universal Auth / Login Modal Window */
[data-theme="light"] .login-modal-window,
[data-theme="light"] .login-modal-window .login-quick-row,
[data-theme="light"] .login-modal-window .login-input-field {
  color: #FFFFFF !important;
}

[data-theme="light"] .login-modal-window .login-modal-subtitle,
[data-theme="light"] .login-modal-window .login-chip-btn,
[data-theme="light"] .login-modal-window .login-options-row,
[data-theme="light"] .login-modal-window .login-remember-label,
[data-theme="light"] .login-modal-window .auth-footer-prompt,
[data-theme="light"] .login-modal-window .role-pill {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* 7. Header Account Pill & Dropdown Menu */
[data-theme="light"] .account-pill-btn,
[data-theme="light"] .account-pill-btn span:not([style*="gold"]),
[data-theme="light"] .account-dropdown-menu .dropdown-user-name {
  color: #FFFFFF !important;
}

[data-theme="light"] .account-dropdown-menu .account-dropdown-item:not(.danger) {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="light"] .account-dropdown-menu .account-dropdown-item:not(.danger):hover {
  color: var(--gold-bright) !important;
}

/* 8. Bottom Navigation Bar */
[data-theme="light"] .app-bottom-nav .bottom-nav-item {
  color: rgba(255, 255, 255, 0.75) !important;
}

[data-theme="light"] .app-bottom-nav .bottom-nav-item.active {
  color: var(--gold-bright) !important;
}

[data-theme="light"] .app-bottom-nav .bottom-nav-item:hover {
  color: var(--gold-light) !important;
}

/* 9. Nationwide Banner & Footer */
[data-theme="light"] .nationwide-banner,
[data-theme="light"] .nationwide-banner span,
[data-theme="light"] footer.portal-footer span {
  color: #FFFFFF !important;
}

[data-theme="light"] footer.portal-footer .footer-links a,
[data-theme="light"] footer.portal-footer .footer-copy {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* 10. Pillar Pro Cards, Hero Login Button, Pass Reveal Card, Empty State */
[data-theme="light"] .btn-hero-login,
[data-theme="light"] .btn-hero-login .btn-hero-login-text,
[data-theme="light"] .btn-hero-login .btn-hero-login-arrow,
[data-theme="light"] .pass-reveal-modal-window #revealPassHolderName,
[data-theme="light"] .favorites-empty-state h3 {
  color: #FFFFFF !important;
}

[data-theme="light"] .pillar-pro-card .pillar-pro-desc,
[data-theme="light"] .favorites-empty-state p {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ── Interactive Favorite Star Button ── */
.star-favorite-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
}

.star-favorite-btn:hover {
  transform: scale(1.15);
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-light);
  border-color: var(--gold-border);
}

.star-favorite-btn.favorited {
  background: rgba(201, 168, 76, 0.22);
  border-color: var(--gold-bright);
  color: #FBBF24;
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.4);
}

.star-favorite-btn.favorited:hover {
  transform: scale(1.2);
}

/* ── Directory Page Specific Styles ── */
.directory-search-header {
  margin-bottom: 1.25rem;
}

/* ── Overhauled Directory Live Search (On-Keydown & Smooth UI) ── */
.directory-search-bar-wrap {
  margin-bottom: 0.85rem;
  position: relative;
}

.directory-search-pill {
  background: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 0.35rem 0.6rem 0.35rem 1.15rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.directory-search-pill:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 10px 35px rgba(201, 168, 76, 0.35), 0 0 0 2px rgba(201, 168, 76, 0.45);
  border-color: var(--gold);
}

.directory-search-icon {
  font-size: 1.15rem;
  color: #71717A;
  margin-right: 0.65rem;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
  user-select: none;
}

.directory-search-pill:focus-within .directory-search-icon {
  transform: scale(1.1);
  color: #18181B;
}

.directory-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: #18181B;
  font-weight: 500;
  padding: 0.35rem 0;
}

.directory-search-input::placeholder {
  color: #71717A;
  font-weight: 400;
}

.search-live-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(201, 168, 76, 0.25);
  border-top: 2px solid var(--gold);
  border-radius: 50%;
  animation: searchSpin 0.65s linear infinite;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

@keyframes searchSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.search-esc-hint {
  background: rgba(24, 24, 27, 0.08);
  border: 1px solid rgba(24, 24, 27, 0.16);
  color: #71717A;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.42rem;
  border-radius: 5px;
  letter-spacing: 0.5px;
  user-select: none;
  margin-right: 0.4rem;
  transition: all 0.2s ease;
}

.directory-search-clear-btn {
  background: rgba(24, 24, 27, 0.08);
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #52525B;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.directory-search-clear-btn:hover {
  background: var(--gold);
  color: #120E05;
  transform: scale(1.12);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.4);
}

.directory-search-clear-btn:active {
  transform: scale(0.95);
}

.directory-search-suggestions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  overflow-x: auto;
  padding: 0.45rem 0.15rem 0.15rem;
  scrollbar-width: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.directory-search-suggestions::-webkit-scrollbar {
  display: none;
}

.suggestion-label {
  font-size: 0.72rem;
  color: var(--gold-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 0.2rem;
  flex-shrink: 0;
}

.search-suggestion-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white-dim);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-suggestion-chip:hover {
  background: rgba(201, 168, 76, 0.18);
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.2);
}

/* ── Live Highlight Marks ── */
.search-highlight {
  background: rgba(201, 168, 76, 0.32);
  color: var(--gold-bright);
  font-weight: 700;
  padding: 0.05rem 0.2rem;
  border-radius: 3px;
  box-shadow: 0 0 6px rgba(201, 168, 76, 0.25);
}

/* ── Smooth Staggered Entrance Animation ── */
@keyframes searchCardEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.featured-biz-card.search-card-enter {
  animation: searchCardEnter 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--enter-delay, 0ms);
}

/* ── Smooth Empty State ── */
.search-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: rgba(16, 14, 24, 0.6);
  border: 1px dashed rgba(201, 168, 76, 0.25);
  border-radius: 20px;
  animation: searchCardEnter 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.search-empty-icon {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  animation: floatEmptyIcon 3s ease-in-out infinite;
}

@keyframes floatEmptyIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.search-empty-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.search-empty-desc {
  font-size: 0.86rem;
  color: var(--white-dim);
  max-width: 360px;
  margin: 0 auto 1.25rem;
  line-height: 1.45;
}

.search-empty-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.search-empty-clear-btn {
  background: var(--gold-gradient);
  color: #120E05;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-empty-clear-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
}

.directory-category-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-top: 0.75rem;
  scrollbar-width: none;
}

.directory-category-chips::-webkit-scrollbar {
  display: none;
}

.dir-chip-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--white-dim);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dir-chip-btn:hover,
.dir-chip-btn.active {
  background: var(--gold-gradient-soft);
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.25);
}

.dir-chip-extra {
  display: none;
}

.directory-category-chips.expanded .dir-chip-extra,
.dir-chip-extra.active {
  display: inline-flex;
  animation: dirChipFadeIn 0.25s ease forwards;
}

@keyframes dirChipFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dir-chip-more-toggle {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.3);
  color: var(--gold-light);
}

.dir-chip-more-toggle:hover {
  background: rgba(201, 168, 76, 0.22);
  border-color: var(--gold-bright);
}

.dir-actions-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.btn-card-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-action:hover {
  background: rgba(201, 168, 76, 0.2);
  border-color: var(--gold-border);
  color: var(--gold-bright);
}

.btn-card-action.primary {
  background: var(--gold-gradient);
  color: #120E05;
  border: none;
  font-weight: 700;
}

.btn-card-action.primary:hover {
  filter: brightness(1.15);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
}

.btn-card-action.purple {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--purple-border);
  color: var(--purple-light);
}

.btn-card-action.purple:hover {
  background: rgba(124, 58, 237, 0.35);
  color: #FFFFFF;
}

/* ── Favorites Page Styles ── */
.favorites-empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: rgba(18, 14, 28, 0.5);
  border: 1px dashed rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
}

.fav-empty-icon {
  font-size: 3.5rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.3));
}

/* ── Messages Page Styles ── */
.messages-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: calc(75vh - 80px);
}

.threads-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chat-thread-card {
  background: rgba(18, 16, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.95rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.chat-thread-card:hover,
.chat-thread-card.active {
  background: rgba(30, 24, 46, 0.95);
  border-color: var(--purple-border);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.2);
}

.thread-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.thread-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-border);
  background: #08080C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.thread-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #08080C;
}

.thread-info {
  flex: 1;
  min-width: 0;
}

.thread-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.2rem;
}

.thread-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-time {
  font-size: 0.72rem;
  color: var(--white-dim);
}

.thread-snippet {
  font-size: 0.82rem;
  color: var(--white-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-unread-badge {
  background: var(--purple-vivid);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* ── Active Conversation Stream ── */
.active-chat-view {
  background: rgba(14, 12, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 520px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.active-chat-header {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 18, 30, 0.9);
}

.chat-back-btn {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  margin-right: 0.5rem;
}

.chat-stream-box {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chat-msg-row {
  display: flex;
  flex-direction: column;
  max-width: 82%;
}

.chat-msg-row.sent {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-msg-row.received {
  align-self: flex-start;
  align-items: flex-start;
}

.chat-bubble {
  padding: 0.75rem 1.05rem;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}

.chat-msg-row.sent .chat-bubble {
  background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.chat-msg-row.received .chat-bubble {
  background: rgba(30, 28, 44, 0.95);
  color: var(--white);
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-msg-meta {
  font-size: 0.68rem;
  color: var(--white-dim);
  margin-top: 0.25rem;
  padding: 0 0.35rem;
}

.chat-composer-bar {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.6rem;
  align-items: center;
  background: rgba(18, 16, 26, 0.95);
}

.chat-input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.15rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
}

.chat-input-field:focus {
  border-color: var(--gold);
}

.chat-send-btn {
  background: var(--gold-gradient);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #120E05;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.chat-send-btn:hover {
  transform: scale(1.08);
  filter: brightness(1.15);
}

/* ── Profile Hybrid Page Styles ── */
.profile-hybrid-card {
  background: rgba(16, 14, 24, 0.95);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.profile-user-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.profile-avatar-large {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #08080C;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.35);
  flex-shrink: 0;
}

.profile-name-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.profile-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.profile-stat-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.65rem 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-stat-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.profile-stat-label {
  font-size: 0.7rem;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

/* ── Persistent Bottom Navigation Bar (ui.png) ── */
.app-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 680px;
  background: rgba(10, 9, 15, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 24px 24px 0 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 100;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.75), 0 -1px 0 rgba(201, 168, 76, 0.15) inset;
}

.bottom-nav-item {
  background: none;
  border: none;
  padding: 0.35rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 12px;
}

.bottom-nav-item:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

.bottom-nav-item .nav-icon {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.22s ease;
}

.bottom-nav-item.active {
  color: var(--gold-bright);
}

.bottom-nav-item.active .nav-icon {
  transform: translateY(-3px) scale(1.12);
  filter: drop-shadow(0 0 10px rgba(255, 223, 120, 0.8));
}

.bottom-nav-item .nav-badge {
  position: absolute;
  top: 1px;
  right: 14px;
  background: var(--purple-vivid);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1.5px solid #08080C;
}

/* ── Responsive Refinements ── */
@media (max-width: 480px) {
  .categories-circles-grid {
    gap: 0.95rem 0.35rem;
  }

  .cat-circle-ring,
  .cat-circle-img {
    width: 58px;
    height: 58px;
  }

  .cat-circle-title {
    font-size: 0.75rem;
  }

  .featured-biz-card {
    padding: 0.95rem;
    gap: 0.85rem;
  }

  .featured-biz-thumb {
    width: 66px;
    height: 66px;
    font-size: 1.75rem;
  }

  .featured-biz-name {
    font-size: 1.05rem;
  }

  .app-bottom-nav {
    border-radius: 18px 18px 0 0;
  }

  .bottom-nav-item {
    padding: 0.3rem 0.5rem;
    font-size: 0.68rem;
  }

  .bottom-nav-item .nav-icon {
    font-size: 1.25rem;
  }
}

/* ── Sliced Assets & Pitch-Black Luxury UI (ui.png & 3D Pro Icons) ── */
.app-viewport {
  background: transparent !important;
}

.home-logo-sliced {
  max-width: 320px;
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 20px rgba(255, 223, 120, 0.25));
}

/* Category Circular Icons with 3D Depth */
.cat-circle-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  display: block;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.category-circle-item:hover .cat-circle-img,
.category-circle-item.active .cat-circle-img {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 6px 18px rgba(255, 223, 120, 0.55));
  box-shadow: none;
}

.category-circle-item:active .cat-circle-img {
  transform: translateY(0) scale(0.96);
}

/* Bottom Navigation 3D Pro Icon Assets */
.nav-img-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease, opacity 0.25s ease;
  opacity: 0.7;
}

.bottom-nav-item:hover .nav-img-icon {
  opacity: 0.95;
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 0 6px rgba(255, 223, 120, 0.5));
}

.bottom-nav-item.active .nav-img-icon {
  opacity: 1;
  transform: translateY(-3px) scale(1.18);
  filter: drop-shadow(0 0 12px rgba(255, 223, 120, 0.9));
}

.bottom-nav-item.active .nav-label {
  color: var(--gold-bright);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 223, 120, 0.5);
}

/* Featured Business Thumbnails with 3D Pro Icons */
.featured-biz-thumb {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  border: 1.5px solid var(--gold-border);
  background: radial-gradient(circle at 35% 35%, rgba(26, 18, 40, 0.9) 0%, #08080C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(201, 168, 76, 0.1);
  padding: 6px;
}

.featured-biz-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s ease;
}

.featured-biz-card:hover .featured-biz-thumb img {
  transform: scale(1.06);
}

/* Four Pillars 3D Pro Modal Grid */
.pillar-pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.pillar-pro-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(20, 10, 35, 0.6) 100%);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pillar-pro-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-bright);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.2);
}

.pillar-pro-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 0 10px rgba(255, 223, 120, 0.5));
  transition: transform 0.25s ease;
}

.pillar-pro-card:hover .pillar-pro-icon {
  transform: scale(1.12);
}

.pillar-pro-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-bright);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.pillar-pro-desc {
  font-size: 0.74rem;
  color: var(--white-dim);
  line-height: 1.4;
}

/* Star Bookmark Sparkle Animation */
@keyframes starSparkle {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 223, 120, 0));
  }

  50% {
    transform: scale(1.35) rotate(15deg);
    filter: drop-shadow(0 0 16px rgba(255, 223, 120, 1));
  }

  100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 6px rgba(255, 223, 120, 0.6));
  }
}

.featured-biz-star-btn.active {
  animation: starSparkle 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Chat Stream Polish */
.chat-stream-box {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.4) transparent;
}

.chat-stream-box::-webkit-scrollbar {
  width: 6px;
}

.chat-stream-box::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.35);
  border-radius: 9999px;
}

/* ============================================================================
   ADMIN ACCOUNT MANAGEMENT CONTROL CENTER DESIGN SYSTEM
   Obsidian Glassmorphism, 24K Gold Trim & Multi-Column Management Suite
   ============================================================================ */

.admin-viewport {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--black-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.admin-brand-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(201, 168, 76, 0.35));
}

.admin-title-wrap h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  margin: 0;
}

.admin-access-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  margin-top: 0.2rem;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* Stats Metrics Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.admin-stat-card {
  background: var(--black-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.admin-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
  box-shadow: var(--shadow-gold);
}

.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.admin-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.admin-stat-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white-dim);
}

.admin-stat-icon {
  font-size: 1.15rem;
}

.admin-stat-counter {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 40%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.admin-stat-sub {
  font-size: 0.72rem;
  color: var(--gold-light);
  margin-top: 0.35rem;
}

/* Control & Filter Toolbar */
.admin-control-bar {
  background: var(--black-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-card);
}

.admin-control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.admin-search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--gold-light);
  pointer-events: none;
}

.admin-search-input {
  width: 100%;
  background: #06060A;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  color: var(--white);
  font-size: 0.88rem;
  font-family: var(--font-sans);
  transition: all 0.25s ease;
}

.admin-search-input:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.35);
  background: #09090E;
}

.admin-filters-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-filter-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.2rem 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-filter-chip {
  background: transparent;
  border: 1px solid transparent;
  color: var(--white-dim);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-filter-chip:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.admin-filter-chip.active {
  background: var(--gold-gradient);
  border-color: var(--gold-bright);
  color: #08080C;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
}

/* Table Container & Table */
.admin-table-container {
  background: var(--black-card);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-modal);
  overflow-x: auto;
  margin-bottom: 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.45) transparent;
}

.admin-table-container::-webkit-scrollbar {
  height: 6px;
}

.admin-table-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #FFDF78, #C9A84C);
  border-radius: 9999px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
  min-width: 860px;
}

.admin-table thead tr {
  background: rgba(18, 17, 26, 0.95);
  border-bottom: 1.5px solid var(--gold-border);
}

.admin-table th {
  padding: 0.95rem 1rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-bright);
  white-space: nowrap;
}

.admin-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.04);
}

.admin-table td {
  padding: 0.85rem 1rem;
  color: var(--white);
  vertical-align: middle;
}

/* Table Cell Formats */
.admin-user-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  object-fit: cover;
  background: #09090E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.admin-user-info {
  display: flex;
  flex-direction: column;
}

.admin-user-name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.88rem;
}

.admin-user-email {
  font-size: 0.74rem;
  color: var(--white-dim);
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.admin-badge.role-admin {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.admin-badge.role-business {
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold-bright);
}

.admin-badge.role-subscriber {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: var(--purple-light);
}

.admin-badge.status-active {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.admin-badge.status-suspended {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.admin-actions-cell {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.btn-admin-action {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--black-border);
  color: var(--white-dim);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-admin-action:hover {
  background: rgba(201, 168, 76, 0.18);
  border-color: var(--gold-bright);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-admin-action.delete:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.btn-admin-action.suspend:hover {
  background: rgba(234, 179, 8, 0.2);
  border-color: #eab308;
  color: #eab308;
}

/* Widescreen Admin Modal Window */
.admin-modal-window {
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(165deg, rgba(16, 15, 24, 0.99) 0%, rgba(6, 6, 10, 0.99) 100%);
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  border-radius: 24px;
  padding: 2rem 2.25rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(201, 168, 76, 0.16);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.45) transparent;
}

.admin-modal-window::-webkit-scrollbar {
  width: 6px;
}

.admin-modal-window::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FFDF78, #C9A84C);
  border-radius: 9999px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.admin-form-full {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-control-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================================================
   OFFICIAL 24K GOLDEN TICKMARK VERIFICATION SYSTEM
   Precision badge styling for user profiles, chat streams, directory & admin
   ============================================================================ */

.gold-tickmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  min-width: 17px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE895 0%, #C9A84C 50%, #8A6D2B 100%);
  color: #06060A;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.55), inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
  margin-left: 0.35rem;
  vertical-align: middle;
  cursor: default;
  user-select: none;
  position: relative;
  top: -1px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gold-tickmark:hover {
  transform: scale(1.18);
  box-shadow: 0 0 14px rgba(201, 168, 76, 0.85);
}

.gold-tickmark-lg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  font-size: 13px;
  top: -2px;
  margin-left: 0.45rem;
  box-shadow: 0 0 14px rgba(201, 168, 76, 0.65), inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
}

.gold-tickmark-sm {
  width: 14px;
  height: 14px;
  min-width: 14px;
  font-size: 8px;
  margin-left: 0.25rem;
}

.verified-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.45);
  color: var(--gold-bright);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.verified-badge-pill.unverified {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white-dim);
}

.btn-admin-action.verify-btn {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.35);
  color: var(--gold-bright);
}

.btn-admin-action.verify-btn:hover {
  background: rgba(201, 168, 76, 0.25);
  border-color: var(--gold-bright);
}

.btn-admin-action.verify-btn.is-verified {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.25), rgba(138, 109, 43, 0.25));
  border-color: var(--gold-bright);
  color: #fff;
  font-weight: 700;
}

/* ============================================================
   PUBLIC MEMBER & ENTERPRISE PROFILE PAGE + ADMIN AD SPOTS
   ============================================================ */
.public-profile-viewport {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 5rem;
  width: 100%;
}

/* 1. Admin Sponsored Ad Slots */
.admin-ad-slot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  margin-bottom: 1.5rem;
}

.admin-ad-slot:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.admin-ad-top {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12) 0%, rgba(10, 8, 18, 0.9) 60%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.admin-ad-mid {
  background: linear-gradient(135deg, rgba(26, 21, 38, 0.9) 0%, rgba(12, 10, 20, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-ad-bottom {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(10, 8, 18, 0.9) 70%);
  border: 1px dashed rgba(168, 85, 247, 0.35);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.ad-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.45);
  color: var(--gold-bright);
  margin-bottom: 0.45rem;
}

.ad-badge-pill.blue {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38BDF8;
}

.ad-badge-pill.purple {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  color: #C084FC;
}

.ad-content-wrap {
  flex: 1;
  min-width: 260px;
}

.ad-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.ad-desc {
  font-size: 0.8rem;
  color: var(--white-dim);
  line-height: 1.45;
}

.ad-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--gold-gradient);
  color: #0A0A10;
  border: 1px solid var(--gold-light);
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.35);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.ad-cta-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 18px rgba(201, 168, 76, 0.5);
  color: #000;
}

/* 2. Hero Profile Card */
.profile-showcase-card {
  background: rgba(15, 12, 24, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  position: relative;
}

.profile-cover-banner {
  height: 140px;
  background: radial-gradient(circle at 75% 25%, rgba(201, 168, 76, 0.3) 0%, rgba(168, 85, 247, 0.2) 50%, rgba(8, 6, 14, 0.95) 100%), #0A0812;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-cover-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201, 168, 76, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.4;
}

.profile-header-body {
  padding: 0 1.5rem 1.5rem;
  position: relative;
  margin-top: -55px;
}

.profile-avatar-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.profile-avatar-master {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  border: 3.5px solid var(--gold-bright);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.45), 0 8px 16px rgba(0, 0, 0, 0.8);
  background: #12101E;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.profile-title-block {
  margin-bottom: 1rem;
}

.profile-title-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.profile-full-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.profile-handle-sub {
  font-size: 0.85rem;
  color: var(--white-dim);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.profile-bio-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--gold-bright);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.profile-actions-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn-profile-act {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.btn-profile-act:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-profile-act.primary-gold {
  background: var(--gold-gradient);
  border-color: var(--gold-light);
  color: #0A0A10;
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.3);
}

.btn-profile-act.primary-gold:hover {
  box-shadow: 0 6px 18px rgba(201, 168, 76, 0.5);
  color: #000;
}

.btn-profile-act.purple-act {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  color: #C084FC;
}

.btn-profile-act.purple-act:hover {
  background: rgba(168, 85, 247, 0.25);
  border-color: #C084FC;
}

/* 3. Profile Stats Grid */
.profile-data-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.profile-stat-card {
  background: rgba(15, 12, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--transition-base);
}

.profile-stat-card:hover {
  border-color: var(--gold-border);
  background: rgba(20, 16, 32, 0.85);
}

.profile-stat-card-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.profile-stat-card-val.gold {
  color: var(--gold-bright);
}

.profile-stat-card-lbl {
  font-size: 0.75rem;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* 4. Profile Main Details Layout */
.profile-details-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .profile-details-layout {
    grid-template-columns: 1fr;
  }
}

.profile-card-section {
  background: rgba(15, 12, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.5rem;
}

.profile-section-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.profile-detail-row:last-child {
  border-bottom: none;
}

.profile-detail-icon {
  font-size: 1rem;
  color: var(--gold-bright);
  min-width: 20px;
}

.profile-detail-info {
  flex: 1;
}

.profile-detail-label {
  font-size: 0.72rem;
  color: var(--white-dim);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.profile-detail-value {
  color: var(--white);
  font-weight: 600;
}

.profile-detail-value a {
  color: var(--gold-light);
  text-decoration: none;
}

.profile-detail-value a:hover {
  text-decoration: underline;
  color: var(--gold-bright);
}

.profile-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-perk-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

.profile-perk-bullet {
  color: var(--gold-bright);
  color: var(--gold-bright);
  font-weight: 800;
}

/* ============================================================================
   ADMIN JSON SAVE & LOAD (IMPORT/EXPORT) & BATCH OPERATIONS
   ============================================================================ */

/* Batch Actions Floating Bar */
.admin-batch-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: rgba(14, 13, 20, 0.96);
  border: 1.5px solid rgba(201, 168, 76, 0.5);
  border-radius: 9999px;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(201, 168, 76, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.admin-batch-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.admin-batch-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Custom Checkboxes */
.admin-checkbox-th,
.admin-checkbox-td {
  width: 40px;
  text-align: center;
  padding-left: 1rem !important;
  padding-right: 0.5rem !important;
}

.admin-custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border: 1.5px solid rgba(201, 168, 76, 0.45);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  position: relative;
  transition: all 0.2s ease;
}

.admin-custom-checkbox:hover {
  border-color: var(--gold-bright);
  background: rgba(201, 168, 76, 0.12);
}

.admin-custom-checkbox:checked {
  background: linear-gradient(135deg, #FFE895 0%, #C9A84C 100%);
  border-color: var(--gold-bright);
}

.admin-custom-checkbox:checked::after {
  content: '✓';
  color: #06060A;
  font-size: 11px;
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.admin-custom-checkbox:indeterminate {
  background: rgba(201, 168, 76, 0.3);
  border-color: var(--gold-bright);
}

.admin-custom-checkbox:indeterminate::after {
  content: '−';
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Modal Tab Bar */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-tab-btn {
  flex: 1;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--white-dim);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.admin-tab-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.admin-tab-btn.active {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(138, 109, 43, 0.2));
  color: var(--gold-bright);
  border: 1px solid rgba(201, 168, 76, 0.4);
}

/* Dropzone */
.admin-dropzone {
  border: 2px dashed rgba(201, 168, 76, 0.35);
  border-radius: 16px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  background: rgba(201, 168, 76, 0.03);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.admin-dropzone:hover,
.admin-dropzone.dragover {
  border-color: var(--gold-bright);
  background: rgba(201, 168, 76, 0.08);
  box-shadow: 0 0 25px rgba(201, 168, 76, 0.2);
  transform: scale(1.008);
}

.admin-dropzone-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  animation: floatBounce 3s ease-in-out infinite;
}

@keyframes floatBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.admin-dropzone-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.admin-dropzone-sub {
  font-size: 0.78rem;
  color: var(--white-dim);
}

/* File Loaded Banner */
.admin-file-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.admin-file-badge-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--white);
}

.admin-file-badge-size {
  font-size: 0.74rem;
  color: var(--gold-light);
  font-family: monospace;
}

/* JSON Textarea */
.admin-json-textarea {
  width: 100%;
  min-height: 180px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  background: rgba(6, 6, 10, 0.85);
  border: 1.5px solid rgba(201, 168, 76, 0.25);
  border-radius: 12px;
  color: #e2e8f0;
  padding: 0.85rem;
  resize: vertical;
  box-sizing: border-box;
}

.admin-json-textarea:focus {
  border-color: var(--gold-bright);
  outline: none;
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.25);
}

/* Import Preview Card List */
.import-preview-wrap {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.import-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.import-preview-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.import-preview-list {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-right: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.4) transparent;
}

.import-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.import-preview-item:hover {
  background: rgba(201, 168, 76, 0.06);
  border-color: rgba(201, 168, 76, 0.25);
}

.import-preview-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

.import-preview-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.import-preview-email {
  font-size: 0.74rem;
  color: var(--white-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.import-badge-mode {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.import-badge-new {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.import-badge-update {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.import-badge-invalid {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* Mode radio selection cards */
.admin-mode-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .admin-mode-selector {
    grid-template-columns: 1fr;
  }
}

.admin-mode-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.admin-mode-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.04);
}

.admin-mode-card.selected {
  border-color: var(--gold-bright);
  background: rgba(201, 168, 76, 0.12);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.15);
}

.admin-mode-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.admin-mode-desc {
  font-size: 0.68rem;
  color: var(--white-dim);
  line-height: 1.25;
}

/* ============================================================================
   BUSINESS CARD AI CAMERA SCANNER & SETTINGS PROPAGATION STUDIO
   ============================================================================ */

.card-scanner-studio {
  background: linear-gradient(135deg, rgba(24, 20, 36, 0.95), rgba(14, 12, 22, 0.98));
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(201, 168, 76, 0.08);
  position: relative;
  overflow: hidden;
}

.card-scanner-studio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), var(--purple-light), transparent);
}

.card-scanner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.card-scanner-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.card-scanner-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.card-scanner-actions-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-scanner-camera {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #C9A84C, #A8862A);
  color: #0A0A10;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
  transition: all 0.25s ease;
}

.btn-scanner-camera:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.5);
  background: linear-gradient(135deg, #FFDF78, #C9A84C);
}

.btn-scanner-upload {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--purple-border);
  color: var(--purple-light);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-scanner-upload:hover {
  background: rgba(124, 58, 237, 0.28);
  border-color: var(--purple-light);
  color: #FFFFFF;
}

/* Card Review & OCR Extract Drawer */
.scanned-review-box {
  background: rgba(10, 10, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  margin-top: 1rem;
  display: none;
}

.scanned-review-box.active {
  display: block;
  animation: fadeInReview 0.35s ease-out;
}

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

.scanned-review-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 680px) {
  .scanned-review-grid {
    grid-template-columns: 1fr;
  }
}

.scanned-img-preview-wrapper {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--gold-border);
  background: #000;
  aspect-ratio: 3.5 / 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.scanned-img-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scanner-laser-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFDF78, #34D399, transparent);
  box-shadow: 0 0 10px #FFDF78, 0 0 20px #34D399;
  animation: laserSweep 1.8s infinite ease-in-out;
  display: none;
}

.scanner-laser-bar.active {
  display: block;
}

@keyframes laserSweep {
  0% { top: 0%; opacity: 0.2; }
  50% { top: 96%; opacity: 1; }
  100% { top: 0%; opacity: 0.2; }
}

.scanned-field-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
}

.scanned-field-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scanned-field-val {
  font-size: 0.82rem;
  color: var(--white);
  font-family: var(--font-sans);
  background: transparent;
  border: none;
  width: 100%;
  outline: none;
}

.scanned-field-val:focus {
  border-bottom: 1px solid var(--gold-bright);
}

/* Modal Viewfinder */
.card-camera-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.card-camera-modal-backdrop.open {
  display: flex;
  animation: fadeInReview 0.25s ease-out;
}

.card-camera-modal-container {
  background: #0D0D14;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(201, 168, 76, 0.15);
  display: flex;
  flex-direction: column;
}

.camera-viewfinder-stage {
  position: relative;
  width: 100%;
  height: 340px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-video-stream {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card Aspect Ratio Frame (3.5" x 2") */
.camera-card-guide-frame {
  position: absolute;
  width: 82%;
  aspect-ratio: 3.5 / 2;
  border: 2px dashed rgba(201, 168, 76, 0.6);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-reticle {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--gold-bright);
  border-style: solid;
}

.reticle-tl { top: -2px; left: -2px; border-width: 3px 0 0 3px; }
.reticle-tr { top: -2px; right: -2px; border-width: 3px 3px 0 0; }
.reticle-bl { bottom: -2px; left: -2px; border-width: 0 0 3px 3px; }
.reticle-br { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; }

.camera-modal-footer {
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0A0A10;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.camera-shutter-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 4px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.15s ease;
}

.camera-shutter-btn:active {
  transform: scale(0.92);
}

/* Auto-fill field pulse animation */
.field-pulse-gold {
  animation: goldPulse 1.2s ease-out;
}

@keyframes goldPulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.7); background: rgba(201, 168, 76, 0.2); }
  100% { box-shadow: 0 0 0 10px rgba(201, 168, 76, 0); background: transparent; }
}

/* Digital pass custom card image preview badge */
.card-photo-overlay-badge {
  position: absolute;
  bottom: 0.65rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-bright);
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  z-index: 5;
}

/* ============================================================================
   ADMIN MONTHLY MEDIA & ASSET STUDIO STYLES
   ============================================================================ */

/* Month Timeline Pill Bar */
.month-timeline-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.65rem 0 0.25rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.month-timeline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white-dim);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.month-timeline-pill:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--white);
  transform: translateY(-1px);
}

.month-timeline-pill.active {
  background: var(--gold-gradient);
  color: #0A0A10;
  border-color: var(--gold-bright);
  box-shadow: 0 2px 10px rgba(201, 168, 76, 0.35);
}

.month-pill-count {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.month-timeline-pill.active .month-pill-count {
  background: rgba(10, 10, 18, 0.75);
  color: var(--gold-bright);
}

/* Batch Multi-File Upload Dropzone */
.batch-upload-dropzone {
  border: 2px dashed rgba(201, 168, 76, 0.45);
  background: linear-gradient(145deg, rgba(16, 16, 26, 0.7), rgba(10, 10, 18, 0.85));
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.batch-upload-dropzone:hover,
.batch-upload-dropzone.dragover {
  border-color: var(--gold-bright);
  background: linear-gradient(145deg, rgba(26, 26, 42, 0.9), rgba(15, 15, 26, 0.95));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

.dropzone-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  animation: floatBounce 3s ease-in-out infinite;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Batch Staging Drawer */
.batch-staging-drawer {
  background: rgba(14, 14, 22, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 0.3s ease-out;
}

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

.batch-staging-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.staging-item-card {
  display: flex;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem;
  position: relative;
  transition: border-color 0.2s ease;
}

.staging-item-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
}

.staging-item-thumb {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  flex-shrink: 0;
}

.staging-item-inputs {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.staging-item-remove {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: all 0.15s ease;
}

.staging-item-remove:hover {
  background: #EF4444;
  color: #fff;
}

/* Monthly Asset Cards Grid */
.admin-assets-gallery-section {
  margin-top: 1.5rem;
}

.admin-assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.asset-card {
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.asset-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 168, 76, 0.15);
}

.asset-card.featured-card {
  border-color: var(--gold-bright);
  box-shadow: 0 6px 25px rgba(201, 168, 76, 0.25);
}

.asset-card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.asset-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.asset-card:hover .asset-card-thumb {
  transform: scale(1.05);
}

.asset-card-featured-ribbon {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--gold-gradient);
  color: #0A0A10;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.asset-card-type-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(10, 10, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  z-index: 2;
  backdrop-filter: blur(8px);
}

.asset-card-checkbox {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  z-index: 3;
  width: 18px;
  height: 18px;
  accent-color: var(--gold-bright);
  cursor: pointer;
}

.asset-card-body {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.asset-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
  cursor: pointer;
  transition: color 0.15s ease;
}

.asset-card-title:hover {
  color: var(--gold-bright);
}

.asset-card-caption {
  font-size: 0.78rem;
  color: var(--white-dim);
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.asset-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--gold-light);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.6rem;
  margin-top: auto;
}

.asset-card-actions {
  display: flex;
  gap: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.65rem 1.15rem;
  background: rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: space-between;
}

.asset-action-btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white-dim);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.asset-action-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.asset-action-btn.danger:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #EF4444;
  color: #F87171;
}

/* Lightbox Modal Window */
.asset-lightbox-window {
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 10001;
}

.lightbox-preview-img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gold-bright);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(201, 168, 76, 0.25);
}

/* ============================================================================
   AI BUSINESS CARD SCANNER & SETTINGS CAPTURE MODE CONTROLS
   ============================================================================ */

.btn-open-dedicated-scanner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.65rem 1.05rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-open-dedicated-scanner:hover {
  background: rgba(201, 168, 76, 0.22);
  border-color: var(--gold-bright);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.25);
}

/* In-Page Scanner Mode Selector */
.settings-scanner-mode-bar {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.scanner-mode-selector {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 0.2rem;
  gap: 0.2rem;
}

.scanner-mode-pill {
  background: transparent;
  border: none;
  color: var(--white-dim);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.scanner-mode-pill:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.scanner-mode-pill.active {
  background: var(--gold-gradient);
  color: #0A0A10;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.4);
}

.scanner-mode-hint-text {
  font-size: 0.74rem;
  color: var(--gold-light);
  flex: 1;
  min-width: 240px;
}

/* ============================================================================
   DEDICATED BUSINESS CARD SCANNER PAGE STYLES (business-card-scanner.html)
   ============================================================================ */

.dedicated-scanner-stage {
  padding: 2.5rem 0 4rem;
}

.scanner-breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--white-dim);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.scanner-breadcrumb-link:hover {
  color: var(--gold-bright);
  border-color: var(--gold-border);
  background: rgba(201, 168, 76, 0.08);
}

.dedicated-scanner-hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.25rem;
}

.scanner-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.85rem;
}

.scanner-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin: 0.25rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.scanner-hero-desc {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.6;
  max-width: 660px;
  margin: 0 auto;
}

/* Dedicated Mode Selection Card */
.scanner-mode-card {
  background: linear-gradient(135deg, rgba(24, 20, 36, 0.92), rgba(14, 12, 22, 0.95));
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.scanner-mode-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.scanner-mode-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
}

.scanner-mode-explanation {
  font-size: 0.78rem;
  color: var(--white-dim);
  font-style: italic;
}

.scanner-mode-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 820px) {
  .scanner-mode-options {
    grid-template-columns: 1fr;
  }
}

.scanner-mode-card-btn {
  background: rgba(10, 10, 16, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  position: relative;
}

.scanner-mode-card-btn:hover {
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(20, 18, 30, 0.85);
  transform: translateY(-2px);
}

.scanner-mode-card-btn.active {
  border-color: var(--gold-bright);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.16), rgba(124, 58, 237, 0.1));
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.2);
}

.mode-btn-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.mode-btn-body {
  flex: 1;
}

.mode-btn-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.scanner-mode-card-btn.active .mode-btn-title {
  color: var(--gold-bright);
}

.mode-btn-sub {
  font-size: 0.72rem;
  color: var(--white-dim);
  line-height: 1.35;
}

.mode-btn-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: transparent;
  transition: all 0.2s ease;
}

.scanner-mode-card-btn.active .mode-btn-indicator {
  background: var(--gold-gradient);
  border-color: var(--gold-bright);
  color: #0A0A10;
  font-weight: 900;
}

/* Scanner Capture Panel & Dropzone */
.scanner-capture-panel {
  margin-bottom: 2rem;
}

.scanner-dropzone {
  border: 2px dashed rgba(201, 168, 76, 0.45);
  background: linear-gradient(180deg, rgba(20, 17, 30, 0.6), rgba(10, 10, 16, 0.8));
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.scanner-dropzone:hover,
.scanner-dropzone.dragover {
  border-color: var(--gold-bright);
  background: linear-gradient(180deg, rgba(30, 25, 45, 0.75), rgba(15, 13, 24, 0.9));
  box-shadow: 0 10px 40px rgba(201, 168, 76, 0.15);
  transform: translateY(-2px);
}

.dropzone-icon-orbit {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 25px rgba(201, 168, 76, 0.2);
}

.dropzone-icon {
  font-size: 2.2rem;
}

.dropzone-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.dropzone-desc {
  font-size: 0.9rem;
  color: var(--white-dim);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.dropzone-action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.dropzone-formats {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Dedicated Split Grid Layout */
.dedicated-scanner-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1040px) {
  .dedicated-scanner-grid {
    grid-template-columns: 1fr;
  }
}

.scanner-review-card {
  background: linear-gradient(135deg, rgba(20, 17, 30, 0.95), rgba(12, 10, 18, 0.98));
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.scanner-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 0.65rem;
}

.scanner-status-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(52, 211, 153, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dedicated-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
  .dedicated-fields-grid {
    grid-template-columns: 1fr;
  }
}

.scanner-mode-notice {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

.scanner-save-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.scanner-save-btn {
  width: 100%;
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   4 LUXURY BUSINESS CARD TYPES & STYLES (Admin Studio Engine)
   ========================================================================== */

/* 1. Executive Obsidian Black */
.card-face.theme-executive-black,
.card-face.card-type-executive_black {
  background: linear-gradient(135deg, #09090D 0%, #15141D 45%, #0B0A10 100%);
  border: 1.5px solid rgba(201, 168, 76, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(201, 168, 76, 0.2), inset 0 1px 1px rgba(255, 230, 128, 0.4);
}

.card-face.theme-executive-black::before,
.card-face.card-type-executive_black::before {
  background: radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 10% 90%, rgba(120, 95, 35, 0.15) 0%, transparent 50%);
}

.card-face.theme-executive-black .card-verified-badge,
.card-face.card-type-executive_black .card-verified-badge {
  background: rgba(201, 168, 76, 0.18);
  border-color: #C9A84C;
  color: #FFE680;
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.3);
}

.card-face.theme-executive-black .card-identity h3,
.card-face.card-type-executive_black .card-identity h3 {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.card-face.theme-executive-black .card-identity p,
.card-face.card-type-executive_black .card-identity p {
  color: #D4AF37;
}

/* 2. Gold Patron Sovereign */
.card-face.theme-gold-patron,
.card-face.card-type-gold_patron {
  background: linear-gradient(135deg, #241A05 0%, #47350F 35%, #181103 70%, #35260A 100%);
  border: 1.5px solid #D4AF37;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.card-face.theme-gold-patron::before,
.card-face.card-type-gold_patron::before {
  background: radial-gradient(circle at 20% 20%, rgba(255, 235, 150, 0.4) 0%, transparent 55%),
              linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.25) 45%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.2) 55%, transparent 65%);
}

.card-face.theme-gold-patron .card-verified-badge,
.card-face.card-type-gold_patron .card-verified-badge {
  background: rgba(255, 230, 128, 0.22);
  border-color: #FFE680;
  color: #FFF2B2;
  box-shadow: 0 0 14px rgba(255, 230, 128, 0.4);
}

.card-face.theme-gold-patron .card-identity h3,
.card-face.card-type-gold_patron .card-identity h3 {
  color: #FFFDF5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.card-face.theme-gold-patron .card-identity p,
.card-face.card-type-gold_patron .card-identity p {
  color: #FFE680;
}

/* 3. Regal Purple VIP */
.card-face.theme-regal-purple,
.card-face.card-type-regal_purple {
  background: linear-gradient(135deg, #18072B 0%, #2E0E52 40%, #120322 80%, #20083B 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.7);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(168, 85, 247, 0.35), inset 0 1px 1px rgba(233, 213, 255, 0.5);
}

.card-face.theme-regal-purple::before,
.card-face.card-type-regal_purple::before {
  background: radial-gradient(circle at 85% 15%, rgba(192, 132, 252, 0.35) 0%, transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(124, 58, 237, 0.3) 0%, transparent 60%);
}

.card-face.theme-regal-purple .card-verified-badge,
.card-face.card-type-regal_purple .card-verified-badge {
  background: rgba(168, 85, 247, 0.22);
  border-color: #C084FC;
  color: #E9D5FF;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
}

.card-face.theme-regal-purple .card-identity h3,
.card-face.card-type-regal_purple .card-identity h3 {
  color: #FAF5FF;
}

.card-face.theme-regal-purple .card-identity p,
.card-face.card-type-regal_purple .card-identity p {
  color: #D8B4FE;
}

/* 4. Platinum Pass Aurora */
.card-face.theme-platinum-pass,
.card-face.card-type-platinum_pass {
  background: linear-gradient(135deg, #141721 0%, #1E2433 35%, #0F121A 70%, #252D3D 100%);
  border: 1.5px solid rgba(226, 232, 240, 0.65);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(226, 232, 240, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

.card-face.theme-platinum-pass::before,
.card-face.card-type-platinum_pass::before {
  background: linear-gradient(125deg, rgba(255,255,255,0.15) 0%, rgba(186,230,253,0.12) 25%, rgba(244,114,182,0.1) 50%, rgba(167,243,208,0.1) 75%, transparent 100%);
}

.card-face.theme-platinum-pass .card-verified-badge,
.card-face.card-type-platinum_pass .card-verified-badge {
  background: rgba(226, 232, 240, 0.2);
  border-color: #E2E8F0;
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(226, 232, 240, 0.4);
}

.card-face.theme-platinum-pass .card-identity h3,
.card-face.card-type-platinum_pass .card-identity h3 {
  color: #FFFFFF;
}

.card-face.theme-platinum-pass .card-identity p,
.card-face.card-type-platinum_pass .card-identity p {
  color: #BAE6FD;
}

/* ── Admin Business Card Studio Layout ── */
.admin-card-studio-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

@media (max-width: 980px) {
  .admin-card-studio-grid {
    grid-template-columns: 1fr;
  }
}

.admin-studio-card-panel {
  background: rgba(16, 14, 24, 0.85);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.studio-card-stage-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.studio-card-stage-wrap .card-flip-stage {
  width: 100%;
  max-width: 480px;
  height: 275px;
  margin: 0 auto;
}

.studio-type-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.studio-type-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.studio-type-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-2px);
}

.studio-type-btn.active {
  background: linear-gradient(145deg, rgba(201, 168, 76, 0.18), rgba(40, 30, 10, 0.8));
  border-color: var(--gold-bright);
  box-shadow: 0 0 18px rgba(201, 168, 76, 0.35);
}

.studio-type-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.studio-type-text h4 {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--white);
}

.studio-type-text span {
  font-size: 0.7rem;
  color: var(--white-dim);
}

.studio-swatches-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.studio-swatch-chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.studio-swatch-chip:hover,
.studio-swatch-chip.active {
  transform: scale(1.18);
  border-color: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.studio-perks-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.studio-perk-tag {
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.studio-perk-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0;
}

/* ── Admin Cards Registry Table ── */
.admin-card-registry-section {
  background: rgba(16, 14, 24, 0.85);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.card-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-type-badge.executive_black {
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid #C9A84C;
  color: #FFE680;
}

.card-type-badge.gold_patron {
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid #D4AF37;
  color: #FFF2B2;
}

.card-type-badge.regal_purple {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid #A855F7;
  color: #E9D5FF;
}

.card-type-badge.platinum_pass {
  background: rgba(226, 232, 240, 0.2);
  border: 1px solid #E2E8F0;
  color: #FFFFFF;
}