/* ==========================================================================
   SugarMummySingles.com - Production CSS Design System
   Theme: Midnight Noir & Champagne Gold (Ultra-Luxury Dark Palette)
   Aesthetic: Velvet Obsidian, Luminous Champagne Accents, Discreet Glow
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Variables
   -------------------------------------------------------------------------- */
:root,
[data-theme="noir"] {
  /* Midnight Noir & Champagne Gold Luxury Theme */
  --color-bg-main: #0E0B0D;          /* Deep Obsidian Noir */
  --color-bg-surface: #171316;       /* Elevated Velvet Card */
  --color-bg-subtle: #211B1F;        /* Sub-surface / Input field */
  --color-bg-card-alt: #1D171B;      /* Card secondary */
  --color-bg-dark: #070506;          /* Deepest Shadow / Footer */
  
  --color-text-main: #FBF9F6;        /* Crisp Silk White */
  --color-text-muted: #B8B0B4;       /* Soft Silver Cashmere */
  --color-text-light: #7E7579;       /* Muted Charcoal / Ash */
  --color-text-inverse: #0E0B0D;     /* Dark on light/gold */
  
  --color-primary: #C59B4D;         /* Luminous Champagne Gold */
  --color-primary-hover: #D8AF5F;   /* High Luster Gold */
  --color-primary-light: rgba(197, 155, 77, 0.12); /* Subtle Gold Halo */
  
  --color-gold: #DDB86C;            /* Radiant Gold */
  --color-gold-hover: #F2D087;      /* Warm Bright Gold */
  --color-gold-light: rgba(221, 184, 108, 0.12); /* Gold wash */
  
  --color-wine: #7A1C30;            /* Velvet Cabernet Accent */
  --color-wine-glow: rgba(122, 28, 48, 0.25);
  
  --color-border: #2D242B;          /* Discreet Bronze / Onyx Border */
  --color-border-dark: #1F181D;     /* Subtle border */
  --color-border-highlight: rgba(221, 184, 108, 0.35); /* Gold outline */
  
  --color-success: #34D399;         /* Glowing Emerald */
  --color-success-bg: rgba(52, 211, 153, 0.12);
  --color-online: #34D399;          /* Active Emerald Dot */

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Shadows with Dark Luxury Depth */
  --shadow-xs: 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 35px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 8px 25px rgba(197, 155, 77, 0.28);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-base: 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --container-max: 1240px;
  --container-pad: 1.5rem;
}

/* Optional Alternate: Warm Ivory Mode */
[data-theme="ivory"] {
  --color-bg-main: #FAF8F5;
  --color-bg-surface: #FFFFFF;
  --color-bg-subtle: #F3EFEA;
  --color-bg-card-alt: #F8F4EC;
  --color-bg-dark: #191416;
  
  --color-text-main: #1C191A;
  --color-text-muted: #5E585B;
  --color-text-light: #9B9397;
  --color-text-inverse: #FFFFFF;
  
  --color-primary: #5A1626;
  --color-primary-hover: #450F1C;
  --color-primary-light: #FBEFF2;
  
  --color-gold: #C2964C;
  --color-gold-hover: #A87F3B;
  --color-gold-light: #F8F4EC;
  
  --color-wine: #5A1626;
  --color-wine-glow: rgba(90, 22, 38, 0.15);
  
  --color-border: #E8E2D9;
  --color-border-dark: #2F272A;
  --color-border-highlight: rgba(194, 150, 76, 0.35);
  
  --color-success: #287448;
  --color-success-bg: #EAF5EE;
  --color-online: #22C55E;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Accessible Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-gold);
  color: var(--color-text-inverse);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 1rem;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-main);
  letter-spacing: -0.015em;
}

.text-gold {
  color: var(--color-gold);
}

.text-burgundy {
  color: var(--color-primary);
}

.lead-p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-gold);
  background: var(--color-gold-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  border: 1px solid var(--color-border-highlight);
}

.section-header h2 {
  font-size: 2.35rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-full);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #A87F3B 100%);
  color: var(--color-text-inverse);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
  box-shadow: 0 10px 30px rgba(197, 155, 77, 0.45);
  color: var(--color-text-inverse);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, #B88B35 100%);
  color: #0E0B0D;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-gold-hover) 0%, var(--color-gold) 100%);
  box-shadow: 0 12px 35px rgba(221, 184, 108, 0.5);
  color: #0E0B0D;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-main);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(221, 184, 108, 0.08);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: #0E0B0D;
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* Theme Switcher Button */
.theme-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  color: var(--color-gold);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-switch-btn:hover {
  border-color: var(--color-gold);
  background: var(--color-primary-light);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   3. Header & Sticky Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(14, 11, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.site-header.is-scrolled {
  background: rgba(14, 11, 13, 0.98);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(221, 184, 108, 0.2);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-main-logo,
.site-footer-logo {
  height: 40px;
  width: auto;
  max-width: 240px;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .site-main-logo,
.brand-logo:hover .site-footer-logo {
  transform: scale(1.02);
}

.logo-monogram {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #1F171D 0%, #0E0B0D 100%);
  color: var(--color-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  border: 1px solid var(--color-border-highlight);
  box-shadow: 0 0 15px rgba(221, 184, 108, 0.2);
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFF;
  letter-spacing: -0.02em;
}

.brand-text span {
  color: var(--color-gold);
  font-weight: 500;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-gold);
}

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

.nav-link.active {
  color: var(--color-gold);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.85rem;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  gap: 5px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-subtle);
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 74px;
  left: 0;
  width: 100%;
  height: calc(100vh - 74px);
  background: var(--color-bg-main);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  overflow-y: auto;
  z-index: 999;
  border-top: 1px solid var(--color-border);
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text-main);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-links a:hover {
  color: var(--color-gold);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   4. Immersive Luxury Hero Banner (like MillionaireMatchUK)
   -------------------------------------------------------------------------- */
.hero-section.hero-banner-immersive {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  background-color: var(--color-bg-main);
}

@media (min-width: 992px) {
  .hero-section.hero-banner-immersive {
    min-height: 680px;
    padding: 5rem 0 3.75rem;
  }
}

.hero-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: right 14% center;
  background-repeat: no-repeat;
  z-index: 1;
  filter: contrast(1.05) brightness(1.1) saturate(1.1);
  transform: scale(1);
}

@media (max-width: 991px) {
  .hero-banner-bg {
    background-position: 72% center;
  }
}

@media (max-width: 768px) {
  .hero-banner-bg {
    background-position: 65% center;
    opacity: 0.38;
  }
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, 
      rgba(14, 11, 13, 0.98) 0%, 
      rgba(14, 11, 13, 0.93) 34%, 
      rgba(14, 11, 13, 0.62) 50%, 
      rgba(14, 11, 13, 0.15) 68%, 
      rgba(14, 11, 13, 0.0) 82%
    ),
    linear-gradient(0deg, 
      rgba(14, 11, 13, 0.96) 0%, 
      rgba(14, 11, 13, 0.05) 20%, 
      transparent 55%, 
      rgba(14, 11, 13, 0.35) 100%
    );
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-overlay-gradient {
    background: 
      linear-gradient(180deg, rgba(14, 11, 13, 0.75) 0%, rgba(14, 11, 13, 0.92) 50%, rgba(14, 11, 13, 0.99) 100%);
  }
}

.hero-banner-container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-banner-content {
  max-width: 580px;
}

.hero-banner-content .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1.15rem;
  background: linear-gradient(135deg, rgba(221, 184, 108, 0.22) 0%, rgba(29, 21, 27, 0.85) 100%);
  border: 1px solid var(--color-border-highlight);
  border-radius: var(--radius-full);
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  box-shadow: 0 0 20px rgba(221, 184, 108, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-banner-content .hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.3vw, 3.65rem);
  font-weight: 700;
  line-height: 1.14;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF3D6 20%, #F5D77F 48%, #DDB86C 75%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.8));
}

.hero-banner-content .hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.hero-banner-content .hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: rgba(245, 238, 230, 0.9);
  line-height: 1.7;
  margin-bottom: 1.85rem;
  max-width: 530px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.hero-banner-content .hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.hero-banner-content .hero-cta-group .btn-primary {
  background: linear-gradient(135deg, #E2C076 0%, #C4983D 100%);
  color: #130E11;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(221, 184, 108, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-fast);
}

.hero-banner-content .hero-cta-group .btn-primary:hover {
  background: linear-gradient(135deg, #ECC87E 0%, #D4A84D 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(221, 184, 108, 0.6);
}

.hero-banner-content .hero-cta-group .btn-outline {
  background: rgba(22, 17, 21, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(221, 184, 108, 0.4);
  color: #FFFFFF;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.hero-banner-content .hero-cta-group .btn-outline:hover {
  background: rgba(221, 184, 108, 0.18);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(221, 184, 108, 0.25);
}

.hero-trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(245, 238, 230, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.hero-trust-badge-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* VIP Live Ticker Bar */
.vip-ticker-bar {
  background: linear-gradient(90deg, #130E11 0%, #1E161C 50%, #130E11 100%);
  border-top: 1px solid rgba(221, 184, 108, 0.25);
  border-bottom: 1px solid rgba(221, 184, 108, 0.25);
  padding: 0.85rem 0;
  position: relative;
  z-index: 4;
}

.vip-ticker-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  text-align: center;
}

.vip-ticker-content span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ticker-divider {
  color: rgba(221, 184, 108, 0.4);
  font-size: 0.75rem;
}

.pulse-dot-gold {
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--color-gold);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(221, 184, 108, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(221, 184, 108, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(221, 184, 108, 0); }
}

/* Floating discreet badge */
.hero-floating-card {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  background: rgba(23, 19, 22, 0.94);
  backdrop-filter: blur(10px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-highlight);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

@keyframes floatSubtle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-text strong {
  display: block;
  font-size: 0.825rem;
  color: var(--color-text-main);
}

.floating-text span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   5. Hero Search / Discovery Module
   -------------------------------------------------------------------------- */
.search-module-section {
  position: relative;
  margin-top: -2.5rem;
  z-index: 10;
  padding-bottom: 4rem;
}

.search-card-container {
  background: var(--color-bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-md), 0 0 25px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border);
}

.search-module-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.search-module-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gold);
}

.search-module-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.search-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .search-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .search-form-grid {
    grid-template-columns: 1fr 1fr 1.2fr 1.6fr auto;
    align-items: flex-end;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-select, .form-input {
  width: 100%;
  height: 48px;
  padding: 0 0.95rem;
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-main);
  font-size: 0.925rem;
  font-weight: 500;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23DDB86C' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px;
}

.form-input {
  background-image: none;
}

.form-select:focus, .form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(221, 184, 108, 0.2);
  background-color: var(--color-bg-card-alt);
}

.age-range-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.age-range-inputs .form-select {
  flex: 1;
}

.age-range-separator {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.location-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.search-submit-btn {
  height: 48px;
  width: 100%;
}

@media (min-width: 1024px) {
  .search-submit-btn {
    width: auto;
    padding: 0 2rem;
  }
}

/* Dynamic Live Filter Feedback Banner */
.search-feedback-bar {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--color-primary-light);
  border: 1px solid var(--color-border-highlight);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   6. Trust & Privacy Section
   -------------------------------------------------------------------------- */
.trust-section {
  padding: 5.5rem 0;
  background-color: #120F11;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(221, 184, 108, 0.1);
  border-color: var(--color-border-highlight);
}

.trust-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.trust-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

.trust-card p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   7. Featured Singles (Profiles)
   -------------------------------------------------------------------------- */
.profiles-section {
  padding: 5.5rem 0;
  background-color: var(--color-bg-main);
}

.profiles-filter-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-pill {
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.filter-pill.is-active {
  background: linear-gradient(135deg, var(--color-gold) 0%, #A87F3B 100%);
  color: #0E0B0D;
  border-color: var(--color-gold);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(221, 184, 108, 0.3);
}

.profiles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .profiles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.profile-card {
  background: var(--color-bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), 0 0 25px rgba(221, 184, 108, 0.12);
  border-color: var(--color-border-highlight);
}

.profile-media {
  position: relative;
  width: 100%;
  height: 290px;
  background-color: #171316;
  overflow: hidden;
}

.profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.profile-card:hover .profile-media img {
  transform: scale(1.04);
}

/* Badges on profile card */
.profile-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.badge-verified {
  background: rgba(14, 11, 13, 0.85);
  backdrop-filter: blur(6px);
  color: var(--color-success);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.badge-status-online {
  background: rgba(14, 11, 13, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-online);
  box-shadow: 0 0 8px var(--color-online);
}

.profile-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.profile-header-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.profile-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.profile-location {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.profile-bio {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.profile-tag {
  background: var(--color-bg-subtle);
  color: var(--color-gold);
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.profile-action-btn {
  width: 100%;
}

.profiles-cta-wrapper {
  text-align: center;
  margin-top: 3.5rem;
}



/* --------------------------------------------------------------------------
   10. How It Works
   -------------------------------------------------------------------------- */
.how-it-works-section {
  padding: 6rem 0;
  background-color: #120F11;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-card {
  position: relative;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.process-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-highlight);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.process-cta-box {
  text-align: center;
}

/* --------------------------------------------------------------------------
   11. Why SugarMummySingles? (Editorial Section)
   -------------------------------------------------------------------------- */
.editorial-why-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 20%, #1A1318 0%, #0E0B0D 100%);
}

.editorial-layout {
  max-width: 860px;
  margin: 0 auto;
}

.editorial-content h2 {
  font-size: 2.35rem;
  margin-bottom: 1.25rem;
}

.editorial-content p {
  font-size: 1.025rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.editorial-values-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .editorial-values-list {
    grid-template-columns: 1fr 1fr;
  }
}

.editorial-value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.val-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
  border: 1px solid var(--color-border-highlight);
}

.val-text strong {
  display: block;
  font-size: 0.925rem;
  color: var(--color-text-main);
}

.val-text span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.editorial-callout-box {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-highlight);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md), 0 0 30px rgba(221, 184, 108, 0.12);
  position: relative;
}

.callout-quote-icon {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.callout-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.callout-author {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-gold);
}

.callout-role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}


/* --------------------------------------------------------------------------
   13. Dating Advice / Content Hub (SEO & AEO)
   -------------------------------------------------------------------------- */
.advice-section {
  padding: 6rem 0;
  background-color: var(--color-bg-main);
}

.advice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .advice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-highlight);
  box-shadow: var(--shadow-sm), 0 0 20px rgba(221, 184, 108, 0.1);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
}

.article-cat {
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.article-card h3 a:hover {
  color: var(--color-gold);
}

.article-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.article-read-more {
  font-weight: 600;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.article-read-more:hover {
  color: #FFF;
}

/* --------------------------------------------------------------------------
   14. AEO Structured Answer Spotlight Box
   -------------------------------------------------------------------------- */
.aeo-answer-block {
  margin: 3.5rem auto 0 auto;
  max-width: 900px;
  background: var(--color-bg-surface);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 2.25rem;
  box-shadow: var(--shadow-sm), 0 0 25px rgba(0,0,0,0.5);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.aeo-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.aeo-answer-block h3 {
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  color: var(--color-text-main);
}

.aeo-concise-definition {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text-main);
  margin-bottom: 1rem;
  background: var(--color-bg-subtle);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-gold);
}

.aeo-extended-explanation {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   15. FAQ Section (Accordion)
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 6rem 0;
  background-color: #120F11;
  border-top: 1px solid var(--color-border);
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  overflow: hidden;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.faq-item.is-open {
  border-color: var(--color-border-highlight);
  background: var(--color-bg-card-alt);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 1.5rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-main);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--color-gold);
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
}

.faq-chevron {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base), background-color var(--transition-fast);
  color: var(--color-gold);
  border: 1px solid var(--color-border);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background: var(--color-gold);
  color: #0E0B0D;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}

.faq-content-inner {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   16. Bottom Conversion CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 50%, #2A131D 0%, #0E0B0D 100%);
  color: #FFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-border-highlight);
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(221, 184, 108, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.cta-banner-content h2 {
  color: #FFF;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.cta-banner-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.cta-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-bg-dark);
  color: #DDD6CF;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-col .brand-text {
  color: #FFF;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 320px;
}

.footer-col h3 {
  font-size: 0.95rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

/* Disclaimer & Adult Age Notice */
.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .footer-disclaimer-box {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.disclaimer-badge {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.disclaimer-text {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: #8C8488;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

/* --------------------------------------------------------------------------
   18. Interactive Modals (Profile View & Safety Report)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 4, 5, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--color-bg-surface);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(221, 184, 108, 0.15);
  border: 1px solid var(--color-border-highlight);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.modal-overlay.is-visible .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: var(--color-bg-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.modal-close-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Profile Modal Content */
.modal-profile-header {
  height: 240px;
  position: relative;
  background: #171316;
}

.modal-profile-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-profile-body {
  padding: 2rem;
}

.modal-profile-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.modal-profile-title h3 {
  font-size: 1.75rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   19. Accessibility & Reduced Motion
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   20. Editorial Article Pages & Long-form Content
   -------------------------------------------------------------------------- */
.article-page {
  padding: 4rem 0 6rem 0;
  background-color: var(--color-bg-main);
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.breadcrumb-nav {
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.breadcrumb-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--color-gold);
}

.breadcrumb-nav span.sep {
  margin: 0 0.5rem;
  color: var(--color-gold);
}

.article-header {
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2.25rem;
}

.article-header .article-cat-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(221, 184, 108, 0.12);
  color: var(--color-gold);
  border: 1px solid rgba(221, 184, 108, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.article-header h1 {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: var(--color-text-main);
}

@media (min-width: 768px) {
  .article-header h1 {
    font-size: 3rem;
  }
}

.article-header .lead-p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.article-author-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.article-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border-highlight);
  object-fit: cover;
}

.article-featured-img-wrap {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
  border: 1px solid var(--color-border);
  position: relative;
}

.article-featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  color: var(--color-text-main);
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-content p {
  margin-bottom: 1.6rem;
  color: var(--color-text-muted);
}

.article-content h2 {
  font-size: 1.75rem;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  color: var(--color-text-main);
  border-left: 3px solid var(--color-gold);
  padding-left: 0.85rem;
}

.article-content h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-gold);
}

.article-content ul, .article-content ol {
  margin: 1.25rem 0 1.75rem 1.5rem;
  color: var(--color-text-muted);
}

.article-content li {
  margin-bottom: 0.65rem;
  line-height: 1.7;
}

.article-content strong {
  color: var(--color-text-main);
}

.article-content a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.article-content a:hover {
  color: #FFF;
}

.article-callout {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-highlight);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 2.25rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
}

.article-callout-title {
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-callout p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.article-geo-tip {
  background: rgba(221, 184, 108, 0.05);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.article-geo-tip strong {
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.35rem;
}

.article-geo-tip p {
  margin-bottom: 0;
  font-size: 0.925rem;
}

.article-faq-accordion {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.article-faq-accordion h2 {
  border-left: none;
  padding-left: 0;
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(23,19,22,1) 0%, rgba(35,28,33,1) 100%);
  border: 1px solid var(--color-border-highlight);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  text-align: center;
  margin: 4rem 0 2rem 0;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(221, 184, 108, 0.1);
}

.article-cta-box h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

.article-cta-box p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 1.75rem auto;
  font-size: 1rem;
}

.related-articles-section {
  padding: 4.5rem 0;
  background-color: #120F11;
  border-top: 1px solid var(--color-border);
}

.related-articles-section h2 {
  font-size: 1.85rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   21. Dynamic Toast Notification & Session State UI
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  color: var(--color-text-main);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(221, 184, 108, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 380px;
  font-size: 0.9rem;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
}

.toast-notification.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-notification.success {
  border-color: #4caf50;
}

.toast-notification.error {
  border-color: #ff5252;
}

.user-session-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--color-text-main);
  font-weight: 500;
}

.user-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4caf50;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
}

.form-error {
  display: block;
  color: #ff6b6b;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  font-weight: 500;
}


