/* ==========================================================================
   Sierra Nexus Solutions Limited - Master Luxury Design System
   Conflict-Free Gold & Diamonds from Sierra Leone
   Ultra-Premium Obsidian & 24K Royal Gold Theme
   ========================================================================== */

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

/* --- Root Design Variables --- */
:root {
  /* Brand Typography */
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Royal 24K Gold Palette */
  --gold-primary: #d4af37;
  --gold-light: #f7e7b4;
  --gold-secondary: #e5b842;
  --gold-dark: #9a7b2c;
  --gold-accent: #c59a3f;
  --gold-subtle: rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.25);
  --gold-border-hover: rgba(212, 175, 55, 0.65);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);

  /* Metallic Gradients */
  --gold-gradient: linear-gradient(135deg, #f7e7b4 0%, #d4af37 50%, #9a7b2c 100%);
  --gold-gradient-metallic: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(154, 123, 44, 0.05) 100%);

  /* Obsidian Dark Surfaces */
  --bg-dark-base: #080a0f;
  --bg-dark-surface: #0e121a;
  --bg-dark-elevated: #141924;
  --bg-glass-card: rgba(16, 21, 31, 0.75);
  --bg-glass-card-hover: rgba(22, 28, 42, 0.88);
  --bg-glass-nav: rgba(9, 12, 18, 0.88);

  /* Status Colors with Luxury Tints */
  --bs-primary: #d4af37;
  --bs-primary-rgb: 212, 175, 55;
  --bs-success: #10b981;
  --bs-success-rgb: 16, 185, 129;
  --bs-danger: #ef4444;
  --bs-warning: #f59e0b;
  --bs-info: #06b6d4;
  --bs-light: #f8fafc;
  --bs-dark: #080a0f;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.22);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Base Styling --- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark-base) !important;
  color: #e2e8f0 !important;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
.h1,
.h2,
.h3,
.brand-font {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark-base);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #9a7b2c, #d4af37);
  border-radius: 6px;
  border: 2px solid var(--bg-dark-base);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #ffffff;
}

/* --- Utility Classes for Colors & Backgrounds --- */
.bg-gold {
  background: var(--gold-gradient) !important;
  color: #080a0f !important;
}

.bg-gold-light {
  background-color: rgba(212, 175, 55, 0.12) !important;
}

.bg-gold-dark {
  background-color: var(--gold-dark) !important;
}

.bg-dark-surface {
  background-color: var(--bg-dark-surface) !important;
}

.bg-dark-elevated {
  background-color: var(--bg-dark-elevated) !important;
}

.bg-glass {
  background: var(--bg-glass-card) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

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

.text-gold-dark {
  color: var(--gold-secondary) !important;
}

.text-gold-gradient {
  background: var(--gold-gradient-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.border-gold {
  border-color: var(--gold-border) !important;
}

.border-gold-dark {
  border-color: rgba(154, 123, 44, 0.4) !important;
}

/* --- Buttons --- */
.btn-gold {
  background: var(--gold-gradient-metallic) !important;
  border: 1px solid var(--gold-light) !important;
  color: #080a0f !important;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.65rem 1.6rem;
  border-radius: 9999px;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.32);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s ease;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  background: var(--gold-gradient) !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
}

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

.btn-gold:focus {
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
  color: var(--gold-light) !important;
  border: 1.5px solid var(--gold-primary) !important;
  background: rgba(212, 175, 55, 0.04) !important;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.6rem;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-gold:hover {
  background: var(--gold-gradient-metallic) !important;
  border-color: var(--gold-light) !important;
  color: #080a0f !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-outline-gold:focus {
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.35);
}

/* --- Navigation Enhancements (Luxury Onyx & Gold Glass) --- */
.navbar-gold {
  background: var(--bg-glass-nav) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--gold-border) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  transition: var(--transition-smooth);
  z-index: 1050;
}

.navbar-gold .navbar-brand {
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.navbar-gold .navbar-brand:hover {
  transform: translateY(-1px);
}

.navbar-gold .navbar-brand .bg-gold {
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.45);
}

.navbar-gold .navbar-brand span.text-dark {
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.navbar-gold .navbar-brand span.text-gold-dark {
  background: var(--gold-gradient-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 0.35rem;
}

.navbar-gold .nav-link {
  color: #cbd5e1 !important;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 1.1rem !important;
  margin: 0 0.25rem;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  position: relative;
}

.navbar-gold .nav-link:hover {
  color: var(--gold-light) !important;
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-1px);
}

.navbar-gold .nav-link.active {
  background: transparent !important;
  color: #ffffff !important;
  font-weight: 600;
  border: none !important;
  box-shadow: none !important;
}

.navbar-gold .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff !important;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

/* Navbar Toggler */
.navbar-gold .navbar-toggler {
  border: 1px solid var(--gold-border) !important;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.08);
  transition: var(--transition-smooth);
}

.navbar-gold .navbar-toggler:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-light) !important;
}

.navbar-gold .navbar-toggler i {
  color: var(--gold-light) !important;
}

/* Mobile Menu Spacing */
@media (max-width: 991.98px) {
  .navbar-gold .navbar-collapse.show {
    background: rgba(14, 18, 27, 0.98);
    backdrop-filter: blur(25px);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid var(--gold-border);
    box-shadow: var(--shadow-lg);
  }

  .navbar-gold .nav-link {
    padding: 0.85rem 1.25rem !important;
    margin: 0.3rem 0;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .navbar-gold .nav-link:hover {
    transform: translateX(6px);
  }
}

/* Live Gold Ticker Pill */
.live-gold-ticker {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 9999px;
  padding: 0.25rem 0.65rem;
  transition: var(--transition-smooth);
}

/* Dynamic User Dropdown */
.dropdown-menu-dark {
  background: rgba(14, 18, 26, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--gold-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75), var(--gold-glow) !important;
  padding: 0.75rem 0.5rem;
}

.dropdown-menu-dark .dropdown-header {
  color: var(--gold-light) !important;
  font-family: var(--font-body);
  padding: 0.5rem 1rem;
}

.dropdown-menu-dark .dropdown-item {
  color: #cbd5e1 !important;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.dropdown-menu-dark .dropdown-item i {
  color: var(--gold-primary);
  margin-right: 0.75rem;
  transition: var(--transition-smooth);
}

.dropdown-menu-dark .dropdown-item:hover {
  background: rgba(212, 175, 55, 0.16) !important;
  color: #ffffff !important;
  transform: translateX(4px);
}

.dropdown-menu-dark .dropdown-item:hover i {
  color: var(--gold-light);
  transform: scale(1.15);
}

.dropdown-menu-dark .dropdown-divider {
  border-color: rgba(212, 175, 55, 0.15) !important;
  margin: 0.5rem 0;
}

/* --- Cards (Luxury Glassmorphism) --- */
.card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.card-gold {
  border: 1px solid var(--gold-border) !important;
  box-shadow: var(--shadow-md);
  background: var(--bg-glass-card) !important;
}

.card-gold:hover,
.card-hover:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border-hover) !important;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(212, 175, 55, 0.18);
}

.card-header-gold {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(154, 123, 44, 0.1) 100%) !important;
  border-bottom: 1px solid var(--gold-border) !important;
  color: var(--gold-light) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 1.25rem 1.5rem;
}

/* --- Hero Section --- */
.hero-section {
  background: radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.14) 0%, rgba(8, 10, 15, 0.98) 70%) !important;
  padding: 6rem 0 5rem 0;
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(154, 123, 44, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-title span.text-gold {
  background: var(--gold-gradient-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-subtitle {
  color: #cbd5e1;
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 720px;
  line-height: 1.7;
}

/* Pre-title Badge */
.luxury-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 9999px;
  padding: 0.4rem 1.1rem;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

/* --- Stats Cards --- */
.stats-card {
  background: rgba(16, 21, 31, 0.7) !important;
  backdrop-filter: blur(14px);
  border: 1px solid var(--gold-border) !important;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  transition: var(--transition-smooth);
}

.stats-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border-hover) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
  background: rgba(22, 28, 42, 0.85) !important;
}

/* --- Product Grid & Cards --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

.product-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--gold-border);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-border-hover);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(212, 175, 55, 0.2);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(10, 13, 20, 0.9) 80%);
  padding: 1.5rem;
  text-align: center;
}

.product-image-wrapper img {
  max-height: 220px;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold-gradient-metallic);
  color: #080a0f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* --- Form Controls --- */
.form-control-gold,
.form-control {
  background: rgba(14, 18, 27, 0.85) !important;
  border: 1.5px solid var(--gold-border) !important;
  color: #ffffff !important;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: var(--transition-smooth);
}

.form-control-gold:focus,
.form-control:focus {
  background: rgba(18, 24, 36, 0.95) !important;
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !important;
  color: #ffffff !important;
}

.form-control-gold::placeholder,
.form-control::placeholder {
  color: rgba(203, 213, 225, 0.5) !important;
}

.form-label-gold,
.form-label {
  color: var(--gold-light) !important;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.form-select {
  background-color: rgba(14, 18, 27, 0.85) !important;
  border: 1.5px solid var(--gold-border) !important;
  color: #ffffff !important;
  border-radius: 10px;
  padding: 0.65rem 1rem;
}

.form-select:focus {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !important;
}

.form-check-input {
  background-color: rgba(14, 18, 27, 0.85);
  border: 1.5px solid var(--gold-border);
}

.form-check-input:checked {
  background-color: var(--gold-primary);
  border-color: var(--gold-primary);
}

/* --- Tables --- */
.table-gold {
  border: 1px solid var(--gold-border) !important;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-glass-card);
}

.table-gold thead th {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(154, 123, 44, 0.15)) !important;
  border-bottom: 1px solid var(--gold-border) !important;
  color: var(--gold-light) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 1rem 1.25rem;
}

.table-gold tbody td {
  padding: 1rem 1.25rem;
  border-color: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

.table-gold tbody tr:hover {
  background-color: rgba(212, 175, 55, 0.08) !important;
}

/* --- Badges --- */
.badge-gold {
  background: var(--gold-gradient-metallic) !important;
  color: #080a0f !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
}

/* Cart Counter */
.cart-counter,
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: #ffffff !important;
  border-radius: 9999px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0 4px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
  border: 1.5px solid var(--bg-dark-base);
}

/* --- Modals --- */
.modal-content {
  background: rgba(14, 18, 27, 0.98) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border: 1px solid var(--gold-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--gold-glow) !important;
  color: #e2e8f0;
}

.modal-header {
  border-bottom: 1px solid var(--gold-border) !important;
  padding: 1.5rem;
}

.modal-header-gold {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(154, 123, 44, 0.1) 100%) !important;
  border-bottom: 1px solid var(--gold-border) !important;
}

.modal-header-gold .modal-title {
  color: var(--gold-light) !important;
  font-family: var(--font-heading);
  font-weight: 700;
}

.modal-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.15) !important;
  padding: 1.25rem 1.5rem;
}

.modal-backdrop.show {
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.75);
}

/* --- Alerts --- */
.alert-gold {
  background: rgba(212, 175, 55, 0.12) !important;
  border: 1px solid var(--gold-border) !important;
  color: var(--gold-light) !important;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

/* --- Footer --- */
.footer-dark,
.footer-gold {
  background: linear-gradient(180deg, #0e121a 0%, #06080c 100%) !important;
  border-top: 1px solid var(--gold-border) !important;
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  position: relative;
}

.footer-dark::before,
.footer-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.footer-link {
  color: #94a3b8 !important;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
  padding: 0.35rem 0;
}

.footer-link:hover,
.hover-gold:hover {
  color: var(--gold-light) !important;
  transform: translateX(5px);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--gold-light) !important;
  transition: var(--transition-smooth);
  margin-right: 0.5rem;
}

.social-links a:hover {
  background: var(--gold-gradient-metallic);
  color: #080a0f !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

/* --- Specific Section Enhancements --- */
/* Order Cards (orders.php) */
.order-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.order-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-border-hover);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Profile Elements (profile.php) */
.profile-header {
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.15) 0%, rgba(14, 18, 26, 0.98) 75%);
  border-bottom: 1px solid var(--gold-border);
}

.profile-avatar {
  width: 120px;
  height: 120px;
  background: var(--gold-gradient-metallic);
  border: 3px solid #ffffff;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.45);
}

.stat-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border-hover);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Settings Nav (settings.php) */
.settings-nav {
  background: var(--bg-glass-card);
  border-right: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 1.25rem;
}

.settings-nav .nav-link {
  color: #cbd5e1;
  border-radius: 10px;
  margin-bottom: 8px;
  padding: 0.75rem 1rem;
  transition: var(--transition-smooth);
}

.settings-nav .nav-link:hover {
  background-color: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  transform: translateX(4px);
}

.settings-nav .nav-link.active {
  background: var(--gold-gradient-metallic);
  color: #080a0f !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.danger-zone {
  border: 1.5px solid rgba(239, 68, 68, 0.4);
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.08);
}

/* Pulse & Fade Animations */
@keyframes pulseGlow {

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

  50% {
    transform: scale(1.2);
    opacity: 0.75;
  }
}

.pulse-animation {
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.fade-in-up {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Trust Indicators */
.trust-indicator,
.trust-badge {
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.trust-indicator:hover,
.trust-badge:hover {
  transform: translateY(-3px);
  border-color: var(--gold-border-hover) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.15) !important;
}

/* --- Homepage Luxury Showcase & Interactive Elements --- */
.hero-lux-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.2);
  background: #0d111a;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-lux-container:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(212, 175, 55, 0.35);
  border-color: rgba(212, 175, 55, 0.6);
}

.hero-lux-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-lux-container:hover .hero-lux-img {
  transform: scale(1.05);
}

.hero-lux-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.2) 0%, rgba(8, 10, 15, 0.85) 100%);
  pointer-events: none;
}

.floating-glass-badge {
  position: absolute;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(16, 21, 31, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 9999px;
  padding: 8px 18px;
  color: #f7e7b4;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.2);
  z-index: 3;
}

.floating-glass-badge.top-badge {
  top: 20px;
  left: 20px;
}

.floating-glass-badge.bottom-badge {
  bottom: 20px;
  right: 20px;
}

.market-ticker-banner {
  background: rgba(16, 21, 31, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.op-step-card {
  position: relative;
  background: rgba(16, 21, 31, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  height: 100%;
}

.op-step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.2);
  background: rgba(20, 26, 38, 0.85);
}

.op-step-number {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.18);
  transition: all 0.3s ease;
  line-height: 1;
}

.op-step-card:hover .op-step-number {
  color: rgba(212, 175, 55, 0.45);
  transform: scale(1.1);
}

.op-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.op-step-card:hover .op-step-icon {
  background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 50%, #b38728 100%);
  color: #080a0f;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  transform: rotate(5deg) scale(1.05);
}

.calc-widget {
  background: linear-gradient(145deg, rgba(16, 21, 31, 0.95), rgba(10, 13, 20, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.15);
}

.gallery-photo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: all 0.4s ease;
}

.gallery-photo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.25);
}

.gallery-photo-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-photo-card:hover img {
  transform: scale(1.08);
}

.gallery-tag-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(8, 10, 15, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #f7e7b4;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 9999px;
  z-index: 2;
}

.gallery-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 15, 0.95) 70%, #080a0f 100%);
  z-index: 2;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero-section {
    padding: 4.5rem 0 3rem 0;
    min-height: 55vh;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .footer-dark,
  .footer-gold {
    padding: 3rem 0 1.5rem 0;
  }
}

/* ============================================================
   CINEMATIC PREMIUM UPGRADE — Gold Particle + Animation Layer
   ============================================================ */

/* --- Particle Canvas Background --- */
#goldParticleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* --- Hero Cinematic Overrides --- */
.hero-section {
  min-height: 100vh !important;
  padding-top: 120px !important;
  padding-bottom: 80px !important;
  background: #080a0f !important;
}

.hero-section .container {
  z-index: 3;
  position: relative;
}

/* --- Ambient Gold Light Orbs --- */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.ambient-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.ambient-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(154, 123, 44, 0.08) 0%, transparent 70%);
  bottom: 0;
  left: -80px;
  animation-delay: 3s;
}

.ambient-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(247, 231, 180, 0.07) 0%, transparent 70%);
  top: 40%;
  left: 45%;
  animation-delay: 5s;
}

@keyframes orbFloat {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, -20px) scale(1.08);
  }
}

/* --- Hero Title Cinematic Reveal --- */
@keyframes cinemaReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) skewY(2deg);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) skewY(0);
    filter: blur(0);
  }
}

@keyframes goldShimmerIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
    letter-spacing: 0.15em;
  }

  100% {
    opacity: 1;
    transform: translateX(0);
    letter-spacing: -0.02em;
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-cinema-reveal {
  opacity: 0;
  animation: cinemaReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-gold-shimmer {
  opacity: 0;
  animation: goldShimmerIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-up {
  opacity: 0;
  animation: fadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animation delays */
.anim-d1 {
  animation-delay: 0.2s;
}

.anim-d2 {
  animation-delay: 0.45s;
}

.anim-d3 {
  animation-delay: 0.65s;
}

.anim-d4 {
  animation-delay: 0.85s;
}

.anim-d5 {
  animation-delay: 1.05s;
}

.anim-d6 {
  animation-delay: 1.25s;
}

.anim-d7 {
  animation-delay: 1.45s;
}

/* --- Credential Ticker Strip --- */
.credential-ticker-wrap {
  overflow: hidden;
  background: rgba(10, 13, 20, 0.92);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 10px 0;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.credential-ticker-wrap::before,
.credential-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.credential-ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(10, 13, 20, 0.95), transparent);
}

.credential-ticker-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(10, 13, 20, 0.95), transparent);
}

.credential-ticker-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  will-change: transform;
  animation: tickerScroll 36s linear infinite;
}

.credential-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0 24px;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-item i {
  color: var(--gold-primary);
  margin-right: 8px;
  font-size: 0.85rem;
}

.ticker-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-primary);
  margin: 0 16px;
  box-shadow: 0 0 8px var(--gold-primary);
}

/* --- Scroll Reveal (Intersection Observer) --- */
.sr-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.sr-hidden.sr-visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-hidden-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sr-hidden-left.sr-visible {
  opacity: 1;
  transform: translateX(0);
}

.sr-hidden-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sr-hidden-right.sr-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for children inside sr containers */
.sr-stagger>*:nth-child(1) {
  transition-delay: 0s;
}

.sr-stagger>*:nth-child(2) {
  transition-delay: 0.12s;
}

.sr-stagger>*:nth-child(3) {
  transition-delay: 0.24s;
}

.sr-stagger>*:nth-child(4) {
  transition-delay: 0.36s;
}

.sr-stagger>*:nth-child(5) {
  transition-delay: 0.48s;
}

.sr-stagger>*:nth-child(6) {
  transition-delay: 0.60s;
}

/* --- Gold Count-Up Stats Enhancement --- */
.stats-card .display-5 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-shadow: 0 0 20px currentColor;
  transition: text-shadow 0.4s ease;
}

.stats-card:hover .display-5 {
  text-shadow: 0 0 35px currentColor, 0 0 70px currentColor;
}

/* --- Premium Section Ambient Divider --- */
.ambient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.5) 30%, #d4af37 50%, rgba(212, 175, 55, 0.5) 70%, transparent 100%);
  position: relative;
  margin: 3rem auto;
  max-width: 800px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.ambient-divider::before {
  content: '◆';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold-primary);
  font-size: 0.7rem;
  background: var(--bg-dark-base);
  padding: 0 10px;
  text-shadow: 0 0 12px var(--gold-primary);
}

/* --- Hero Floating Certification Frame --- */
.hero-cert-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.1),
    0 25px 60px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(212, 175, 55, 0.18);
  background: #0d111a;
  animation: heroFrameFloat 6s ease-in-out infinite alternate;
}

@keyframes heroFrameFloat {
  from {
    transform: translateY(0) rotate(0deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 60px rgba(212, 175, 55, 0.18);
  }

  to {
    transform: translateY(-14px) rotate(0.5deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 80px rgba(212, 175, 55, 0.28);
  }
}

.hero-cert-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), transparent 50%, rgba(212, 175, 55, 0.15)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 4;
}

/* --- Horizontal Scroll Shimmer Scan Line on Hero Image --- */
.hero-cert-frame::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.06), transparent);
  animation: scanLine 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

@keyframes scanLine {
  0% {
    top: -60%;
  }

  100% {
    top: 110%;
  }
}

/* --- Golden Corner Accents --- */
.corner-accent {
  position: absolute;
  width: 24px;
  height: 24px;
  z-index: 5;
  pointer-events: none;
}

.corner-accent.tl {
  top: 12px;
  left: 12px;
  border-top: 2px solid var(--gold-primary);
  border-left: 2px solid var(--gold-primary);
}

.corner-accent.tr {
  top: 12px;
  right: 12px;
  border-top: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
}

.corner-accent.bl {
  bottom: 12px;
  left: 12px;
  border-bottom: 2px solid var(--gold-primary);
  border-left: 2px solid var(--gold-primary);
}

.corner-accent.br {
  bottom: 12px;
  right: 12px;
  border-bottom: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
}

/* --- Gold Glow Hover on Benefit Pillar Icons --- */
.card-gold .rounded-circle i {
  transition: var(--transition-smooth);
}

.card-gold:hover .rounded-circle {
  background: rgba(212, 175, 55, 0.25) !important;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.card-gold:hover .rounded-circle i {
  transform: scale(1.15);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

/* --- Premium CTA Section Glow --- */
.cta-glow-section {
  position: relative;
  overflow: hidden;
}

.cta-glow-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
  pointer-events: none;
  animation: ctaGlowPulse 5s ease-in-out infinite alternate;
}

@keyframes ctaGlowPulse {
  from {
    opacity: 0.6;
    transform: translateX(-50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

/* ============================================================
   MOBILE & PHONE OPTIMIZATION (iOS / Android Viewports)
   ============================================================ */
@media (max-width: 991.98px) {

  /* Prevent horizontal drag on mobile */
  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Compact Navbar & Mobile Drawer */
  .navbar-gold {
    padding: 0.65rem 0;
  }

  .navbar-gold .navbar-collapse.show {
    max-height: 80vh;
    overflow-y: auto;
  }

  /* Credential Ticker Strip on tablet/mobile */
  .credential-ticker-wrap {
    margin-top: 0 !important;
    padding: 9px 0 !important;
  }

  .credential-ticker-wrap::before,
  .credential-ticker-wrap::after {
    width: 32px !important;
  }
}

@media (max-width: 768px) {

  /* Mobile Hero Section */
  .hero-section {
    min-height: auto !important;
    padding-top: 28px !important;
    padding-bottom: 45px !important;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem) !important;
    line-height: 1.2 !important;
  }

  .hero-subtitle {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
  }

  /* Luxury badge on small screens */
  .luxury-badge {
    font-size: 0.68rem !important;
    padding: 5px 12px !important;
    letter-spacing: 0.06em !important;
  }

  /* Trading Desk Banner */
  .market-ticker-banner {
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
  }

  /* Credential Marquee Strip — Fully visible, never hidden behind navbar, clean edge masks */
  .credential-ticker-wrap {
    margin-top: 0 !important;
    padding: 8px 0 !important;
    background: rgba(10, 13, 20, 0.96) !important;
  }

  .credential-ticker-wrap::before,
  .credential-ticker-wrap::after {
    width: 22px !important;
  }

  .ticker-item {
    font-size: 0.74rem !important;
    padding: 0 12px !important;
    letter-spacing: 0.05em !important;
  }

  .ticker-dot {
    margin: 0 8px !important;
    width: 4px !important;
    height: 4px !important;
  }

  /* Hero floating frame on mobile */
  .hero-cert-frame {
    margin-top: 1.5rem !important;
    border-radius: 18px !important;
  }

  /* Floating badges over hero preview */
  .floating-glass-badge {
    font-size: 0.72rem !important;
    padding: 5px 12px !important;
  }

  /* Ambient orbs softened for mobile performance & no overflow */
  .ambient-orb-1 {
    width: 320px !important;
    height: 320px !important;
    right: -50px !important;
    filter: blur(60px) !important;
  }

  .ambient-orb-2 {
    width: 280px !important;
    height: 280px !important;
    left: -40px !important;
    filter: blur(50px) !important;
  }

  .ambient-orb-3 {
    display: none !important;
  }

  /* Stats cards */
  .stats-card {
    padding: 16px 10px !important;
  }

  .stats-card .display-5 {
    font-size: 1.75rem !important;
  }

  /* Calculator widget */
  .calc-widget {
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }

  .calc-widget h3 {
    font-size: 1.35rem !important;
  }

  /* Operational step cards */
  .op-step-card {
    padding: 24px 18px !important;
    border-radius: 16px !important;
  }

  /* Section Headings */
  h2.display-3,
  .display-4,
  .display-5 {
    font-size: clamp(1.75rem, 5.5vw, 2.3rem) !important;
  }

  /* Ambient divider */
  .ambient-divider {
    margin: 2rem auto !important;
  }
}

@media (max-width: 480px) {

  /* Extra small phone screens (320px - 480px) */
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-section {
    padding-top: 20px !important;
  }

  .hero-title {
    font-size: 1.75rem !important;
  }

  .hero-section .btn-lg {
    font-size: 0.92rem !important;
    padding: 0.75rem 1.25rem !important;
  }

  .credential-ticker-wrap {
    margin-top: 0 !important;
    padding: 7px 0 !important;
  }

  .credential-ticker-wrap::before,
  .credential-ticker-wrap::after {
    width: 14px !important;
  }

  .ticker-item {
    font-size: 0.70rem !important;
    padding: 0 10px !important;
  }

  .ticker-dot {
    margin: 0 6px !important;
  }
}

.cinematic-wide-banner-content {
  position: relative;
  z-index: 2;
  padding: 64px 56px;
  max-width: 720px;
}

@media (max-width: 991.98px) {
  .cinematic-wide-banner {
    min-height: 440px;
  }

  .cinematic-wide-banner-content {
    padding: 40px 32px;
  }

  .cinematic-wide-banner-overlay {
    background: linear-gradient(180deg, rgba(8, 10, 15, 0.7) 0%, rgba(8, 10, 15, 0.95) 85%);
  }
}

@media (max-width: 768px) {
  .cinematic-wide-banner {
    min-height: auto;
    border-radius: 20px;
  }

  .cinematic-wide-banner-overlay {
    background: linear-gradient(180deg, rgba(8, 10, 15, 0.55) 0%, rgba(8, 10, 15, 0.96) 65%);
  }

  .cinematic-wide-banner-content {
    padding: 30px 18px;
    max-width: 100%;
  }

  .cinematic-wide-banner-content h2 {
    font-size: 1.85rem !important;
  }
}

/* ============================================================
   HERO BANNER CAROUSEL (Overall Gold Bullion & Village Mining)
   ============================================================ */
.hero-carousel {
  position: relative;
  width: 100%;
}

.hero-slide {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #080a0f;
  padding-top: 50px;
  padding-bottom: 70px;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.01);
  transition: transform 9s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.carousel-item.active .hero-slide-bg {
  transform: scale(1.06);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 72% 35%, rgba(8, 10, 15, 0.35) 0%, rgba(8, 10, 15, 0.94) 82%),
    linear-gradient(90deg, rgba(8, 10, 15, 0.97) 0%, rgba(8, 10, 15, 0.86) 48%, rgba(8, 10, 15, 0.5) 100%),
    linear-gradient(180deg, rgba(8, 10, 15, 0.6) 0%, transparent 20%, transparent 80%, #080a0f 100%);
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 3;
}

/* Luxury Carousel Indicators */
.hero-carousel-indicators {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  margin: 0;
  padding: 0;
}

.hero-carousel-indicators button {
  width: 44px;
  height: 4px;
  border: none;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
  padding: 0;
  cursor: pointer;
}

.hero-carousel-indicators button.active {
  width: 72px;
  background: var(--gold-gradient);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.85);
}

/* Luxury Carousel Arrows */
.hero-carousel-nav {
  position: absolute;
  bottom: 22px;
  right: 48px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.hero-carousel-btn:hover {
  background: var(--gold-gradient);
  color: #080a0f;
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.55);
  transform: scale(1.08);
}

@media (max-width: 991.98px) {
  .hero-slide {
    min-height: auto;
    padding-top: 35px;
    padding-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    min-height: auto;
    padding-top: 25px;
    padding-bottom: 55px;
  }
  .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(8, 10, 15, 0.65) 0%, rgba(8, 10, 15, 0.96) 65%);
  }
  .hero-carousel-nav {
    display: none;
  }
}

/* ============================================================
   USER'S EXACT HERO WEB BANNER DESIGN (from Reference Mockup)
   ============================================================ */
.hero-exact-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: #080a0f;
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 80px;
}

.hero-exact-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 30%, rgba(8, 10, 15, 0.3) 0%, rgba(8, 10, 15, 0.88) 75%),
    linear-gradient(90deg, rgba(8, 10, 15, 0.94) 0%, rgba(8, 10, 15, 0.82) 48%, rgba(8, 10, 15, 0.45) 100%),
    linear-gradient(180deg, rgba(8, 10, 15, 0.7) 0%, transparent 20%, transparent 80%, #080a0f 100%);
  z-index: 1;
}

.hero-exact-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-exact-eyebrow {
  color: #e5b842;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.hero-exact-title {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: clamp(2.5rem, 5.8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.6rem;
}

.hero-exact-title .highlight-gold {
  color: #e5b842;
}

.hero-exact-subtitle {
  color: #cbd5e1 !important;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.7;
  font-weight: 300;
  max-width: 660px;
  margin-bottom: 2.2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-exact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 2.2rem;
}

.hero-btn-gold {
  background: #e5b842;
  color: #080a0f !important;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid #e5b842;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(229, 184, 66, 0.3);
}

.hero-btn-gold:hover {
  background: #f7e7b4;
  color: #080a0f !important;
  border-color: #f7e7b4;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(229, 184, 66, 0.45);
}

.hero-btn-ghost {
  background: rgba(14, 18, 26, 0.4);
  color: #ffffff !important;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.38);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.hero-exact-trust {
  display: flex;
  align-items: center;
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 400;
}

.hero-exact-trust i {
  color: #e5b842;
  margin-right: 10px;
}

/* Floating Action Pills from Mockup */
.floating-share-pill {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e5b842;
  color: #080a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(229, 184, 66, 0.45);
  cursor: pointer;
  z-index: 1040;
  transition: all 0.3s ease;
}

.floating-share-pill:hover {
  transform: scale(1.12);
  background: #f7e7b4;
}

.floating-support-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(16, 185, 129, 0.45);
  cursor: pointer;
  z-index: 1040;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-support-pill:hover {
  transform: scale(1.12);
  background: #059669;
  color: #ffffff;
}

/* Navbar active dot */
.navbar-gold .nav-link {
  position: relative;
}

.navbar-gold .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #e5b842 !important;
  box-shadow: 0 0 8px #e5b842;
}

/* Buyer Enquiries Pill in Nav */
.buyer-enquiry-pill {
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.buyer-enquiry-pill i {
  color: #e5b842;
  margin-right: 6px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .hero-exact-section {
    min-height: auto;
    padding-top: 85px;
    padding-bottom: 50px;
  }
  .hero-exact-overlay {
    background: linear-gradient(180deg, rgba(8, 10, 15, 0.55) 0%, rgba(8, 10, 15, 0.95) 70%);
  }
  .hero-exact-title {
    font-size: 2.2rem;
  }
  .hero-exact-buttons {
    flex-direction: column;
  }
  .hero-exact-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}