/* ==========================================================================
   SHUKRAN DUBAI — ULTRA-LUXURY DESIGN SYSTEM & STYLES
   Colors: Obsidian Black (#050608, #0B0C10, #121318), 24K Dubai Gold (#D4AF37, #F3E5AB, #996515)
   Haute-Horlogerie & Royal Architectural Minimalist Experience
   ========================================================================== */

:root {
  --bg-deep: #050608;
  --bg-surface: #0b0d13;
  --bg-card: #0f121a;
  --bg-card-hover: #151823;
  --bg-glass: rgba(11, 13, 19, 0.65);
  
  --gold-300: #f7e8b5;
  --gold-400: #e5c158;
  --gold-500: #d4af37; /* Standard 24K Dubai Gold */
  --gold-600: #b58d22;
  --gold-700: #8c6a14;
  --gold-gradient: linear-gradient(135deg, #fff7d6 0%, #d4af37 50%, #996515 100%);
  --gold-metallic: linear-gradient(110deg, #e3c46e 0%, #fff4cf 25%, #cfa436 50%, #8f6812 75%, #f7e096 100%);
  
  --border-gold-hairline: rgba(212, 175, 55, 0.18);
  --border-gold-glow: rgba(212, 175, 55, 0.45);
  
  --text-main: #f5f5f7;
  --text-muted: #8e95a5;
  --text-gold: #d4af37;
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-display: 'Cormorant Garamond', serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --shadow-gold: 0 10px 35px -5px rgba(212, 175, 55, 0.12);
  --shadow-gold-lg: 0 25px 60px -10px rgba(212, 175, 55, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
}

/* Golden Mesh Gradient Background */
.gold-mesh-bg {
  background-color: #050608;
  background-image: 
    radial-gradient(at 20% 15%, rgba(212, 175, 55, 0.22) 0px, transparent 55%),
    radial-gradient(at 80% 25%, rgba(255, 215, 0, 0.16) 0px, transparent 50%),
    radial-gradient(at 50% 65%, rgba(180, 130, 20, 0.20) 0px, transparent 60%),
    radial-gradient(at 15% 85%, rgba(245, 200, 80, 0.14) 0px, transparent 55%),
    radial-gradient(at 85% 90%, rgba(212, 175, 55, 0.18) 0px, transparent 50%);
}

/* Luxury Typography */
.font-luxury-serif {
  font-family: var(--font-serif);
}

.font-cinzel {
  font-family: var(--font-display);
}

.tracking-extreme {
  letter-spacing: 0.35em;
}

.tracking-monumental {
  letter-spacing: 0.25em;
}

.text-gold-gradient {
  background: linear-gradient(180deg, #fff7d6 0%, #f7e8b5 25%, #d4af37 65%, #8c6a14 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  padding-bottom: 0.15em;
}

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

/* Ambient Subtle Lighting */
.bg-ambient-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
}
.bg-glow-1 {
  top: -120px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #d4af37 0%, transparent 70%);
}
.bg-glow-2 {
  top: 50%;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #b58d22 0%, transparent 70%);
}
.bg-glow-3 {
  bottom: 5%;
  right: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #8c6a14 0%, transparent 70%);
}

/* ==========================================================================
   BURJ KHALIFA 3D DEPTH HERO SECTION (PARALLAX LAYERS)
   ========================================================================== */

.hero-depth-container {
  position: relative;
  height: 100vh;
  min-height: 750px;
  max-height: 1100px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #0d111a 0%, #050608 80%);
}

/* Layer 0: Standalone Panoramic Dubai Landscape Background */
.hero-layer-landscape {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

.hero-landscape-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: brightness(0.85) contrast(1.08);
  transform: scale(1.05);
}

.hero-landscape-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(5, 6, 8, 0.05) 0%, rgba(5, 6, 8, 0.55) 75%, #050608 100%);
  pointer-events: none;
}

/* Layer 1: Giant Background Typography Sitting Behind the Tower */
.hero-layer-back {
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.hero-giant-text {
  font-family: var(--font-display);
  font-size: 15vw;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.1em;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(247, 232, 181, 0.5) 0%, rgba(212, 175, 55, 0.18) 55%, rgba(5, 6, 8, 0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.9;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.15));
  transition: opacity 1.2s ease-in-out;
}

/* Layer 2: The Burj Khalifa Tower (Middle Ground Standing in Front of Landscape & Text) */
.hero-layer-middle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
}

.hero-burj-img {
  height: 94%;
  max-height: 940px;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: brightness(1.1);
  mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
  transition: filter 0.5s ease-in-out, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease-in-out;
}

.hero-burj-img.harvest-glow {
  transform: scale(1.06);
  filter: brightness(1.65) contrast(1.2) saturate(1.35);
}

/* Subtle image switch animation states */
.hero-burj-img.burj-switch-animating {
  opacity: 0.15;
  transform: scale(0.96) translateY(8px);
  filter: brightness(1.8) drop-shadow(0 0 25px rgba(212, 175, 55, 0.85)) blur(2px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out, filter 0.18s ease-out;
}

.hero-burj-img.burj-switch-enter {
  opacity: 1;
  transform: scale(1.02) translateY(-2px);
  filter: brightness(1.3) drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
  transition: opacity 0.35s ease-out, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease-out;
}

/* Layer 3: Foreground Elements (Written Above and Across the Tower) */
.hero-layer-front {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 24px 60px 24px;
  pointer-events: none;
  will-change: transform;
}

.hero-layer-front a,
.hero-layer-front button {
  pointer-events: auto;
}

/* Top Crown Text */
.hero-crown {
  text-align: center;
  margin-top: 20px;
}

/* Bottom Anchor Statement (written in front of the base) */
.hero-base-anchor {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

/* ==========================================================================
   MINIMAL LUXURY BUTTONS & CARDS
   ========================================================================== */

.btn-haute {
  background: transparent;
  color: #fff6d6;
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 16px 42px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.btn-haute::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-haute:hover {
  color: #07080b;
  border-color: var(--gold-400);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.btn-haute:hover::before {
  opacity: 1;
}

.btn-haute-outline {
  background: transparent;
  color: #8e95a5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 15px 36px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-haute-outline:hover {
  color: #ffffff;
  border-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.05);
}

/* Editorial Split-Layout Cards */
.editorial-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-gold-hairline);
  background: #090a10;
  border-radius: 6px;
  transition: border-color 0.5s ease;
}

.editorial-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.editorial-img-wrap {
  position: relative;
  overflow: hidden;
  height: 420px;
}

@media (min-width: 1024px) {
  .editorial-img-wrap {
    height: 520px;
  }
}

.editorial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.85);
}

.editorial-card:hover .editorial-img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

/* Scroll-Driven Fade & Rise Elements */
.scroll-reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hairline dividers */
.hairline-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.35) 50%, transparent 100%);
  width: 100%;
}

/* Standard Navbar for Luxury */
.luxury-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  transition: all 0.35s ease;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #0a0c12;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.15);
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content.max-w-2xl,
.modal-content.modal-wide {
  max-width: 680px;
}

@media (max-width: 640px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal-content {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    max-height: 88vh;
    transform: translateY(20px);
  }
  .modal-overlay.active .modal-content {
    transform: translateY(0);
  }
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}
@media (max-width: 640px) {
  .modal-overlay.active .modal-content {
    transform: translateY(0);
  }
}

.luxury-input {
  width: 100%;
  background: #06070a;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
  padding: 14px 16px;
  color: #f5f5f7;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.25s ease;
}

.luxury-input:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
  background: #0a0c12;
}

.luxury-input::placeholder {
  color: #555b6a;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  max-width: 90vw;
  box-sizing: border-box;
  overflow: hidden;
  animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.toast-exit {
  animation: toastSlideOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideIn {
  0% {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: -10px;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    max-height: 100px;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-bottom: 0;
  }
}

@keyframes toastSlideOut {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
    max-height: 100px;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-bottom: 0;
  }
  100% {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: -10px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #050608;
}
::-webkit-scrollbar-thumb {
  background: #1c202c;
  border-radius: 3px;
  border: 1px solid var(--border-gold-hairline);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-600);
}

/* 3D Medallion for Dashboard & Showcase */
.medallion-container {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
  user-select: none;
}

@media (min-width: 768px) {
  .medallion-container {
    width: 320px;
    height: 320px;
  }
}

.medallion-outer-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(212, 175, 55, 0.4);
  animation: rotateRing 35s linear infinite;
}

.medallion-pulse-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite alternate;
  pointer-events: none;
}

.medallion-coin {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff7d6 0%, #d4af37 40%, #8a6417 85%, #4a3406 100%);
  border: 4px solid #fce8a6;
  box-shadow: 
    inset 0 4px 15px rgba(255, 255, 255, 0.7),
    inset 0 -8px 20px rgba(0, 0, 0, 0.7),
    0 15px 35px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(212, 175, 55, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.1, 1, 0.2, 1), box-shadow 0.15s ease;
}

.medallion-coin:active {
  transform: scale(0.94);
  box-shadow: 
    inset 0 2px 10px rgba(255, 255, 255, 0.5),
    inset 0 -4px 15px rgba(0, 0, 0, 0.8),
    0 5px 15px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(212, 175, 55, 0.7);
}

.medallion-coin.mining-active {
  animation: coinVibe 1.2s ease-in-out infinite alternate;
}

.mining-spark {
  position: absolute;
  pointer-events: none;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff9d6;
  text-shadow: 0 0 10px #d4af37, 0 0 20px #e5c158;
  animation: floatUpFade 0.85s ease-out forwards;
  z-index: 100;
}

@keyframes floatUpFade {
  0% { opacity: 1; transform: translate(-50%, 0) scale(0.8); }
  50% { transform: translate(-50%, -45px) scale(1.2); }
  100% { opacity: 0; transform: translate(-50%, -85px) scale(1); }
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.3; }
  100% { transform: scale(1.08); opacity: 0.65; }
}

@keyframes coinVibe {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); }
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(5, 6, 8, 0.1); /* 90% transparent */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.15); /* Subtle gold top border */
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 90;
  padding-bottom: env(safe-area-inset-bottom);
}



.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold-400); /* Gold default for icons and labels */
  font-size: 0.68rem;
  font-weight: 500;
  text-decoration: none;
  gap: 4px;
  transition: all 0.2s ease;
  padding: 8px 10px;
}

.mobile-nav-item svg {
  fill: var(--gold-400);
  color: var(--gold-400);
  transition: all 0.2s ease;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: #fff7d6;
}

.mobile-nav-item.active svg,
.mobile-nav-item:hover svg {
  fill: var(--gold-400);
  color: var(--gold-400);
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

.gold-progress-bar {
  background: #141721;
  border: 1px solid var(--border-gold-hairline);
  border-radius: 9999px;
  overflow: hidden;
  height: 10px;
}

.gold-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #b58d22 0%, #d4af37 50%, #fff7d6 100%);
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-hairline);
  border-radius: 8px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.luxury-card:hover {
  border-color: var(--border-gold-glow);
  box-shadow: var(--shadow-gold);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0c0e12;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 12px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold-400);
  border: 1px solid var(--border-gold-glow);
  padding: 11px 26px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.btn-gold-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #ffffff;
}

/* Seamless Infinite Marquee Animation */
.marquee-container {
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.marquee-content {
  display: flex;
  width: max-content;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  padding-right: 4.5rem;
  flex-shrink: 0;
  will-change: transform;
  animation: marquee_infinite 35s linear infinite;
}

@keyframes marquee_infinite {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Refined Partner Marquee Logos */
.marquee-logo {
  filter: grayscale(1) invert(1) brightness(1.7) contrast(1.1);
  opacity: 0.55;
  transition: all 0.35s ease;
  object-fit: contain;
}

.marquee-logo.bright-logo {
  filter: brightness(0) invert(1);
  opacity: 0.55;
}

.marquee-logo:hover,
.marquee-logo.bright-logo:hover {
  filter: grayscale(0) invert(0) brightness(1) contrast(1);
  opacity: 1;
}

/* ==========================================================================
   HAUTE LUXURY MOBILE-FIRST DASHBOARD SYSTEM
   ========================================================================== */

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Dual Balance Header Capsules */
.header-balance-capsule {
  background: rgba(14, 18, 27, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.header-balance-capsule:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(18, 23, 34, 0.95);
}

.header-balance-capsule.wallet-glow {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.header-balance-capsule.shukran-glow {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.18);
}

/* Real-Time Live Yield Ticker Banner */
.live-yield-banner {
  background: linear-gradient(135deg, rgba(17, 21, 32, 0.95) 0%, rgba(10, 12, 18, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.08);
}

.live-yield-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.6) 50%, transparent 100%);
}

.live-ticker-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: tickerScroll 28s linear infinite;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.live-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #c4c8d4;
}

.ticker-shimmer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
  animation: shimmerSweep 3s ease-in-out infinite;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(50%); }
}

.pulse-emerald-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 10px #d4af37;
  animation: pulseDot 1.8s infinite ease-in-out;
}

.pulse-gold-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 10px #d4af37;
  animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Industry Asset Cards */
.industry-asset-card {
  background: rgba(12, 15, 22, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.industry-asset-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.15);
}

.industry-card-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #08090d;
}

.industry-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-asset-card:hover .industry-card-img {
  transform: scale(1.06);
}

.industry-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.1) 0%, rgba(5, 6, 8, 0.85) 100%);
}

.industry-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(8, 10, 15, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(8px);
  color: var(--gold-300);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.apy-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-400);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Category Filter Chips */
.industry-chip {
  background: rgba(15, 18, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #8e95a5;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: pointer;
}

.industry-chip:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: #ffffff;
}

.industry-chip.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(140, 106, 20, 0.35) 100%);
  border-color: var(--gold-500);
  color: var(--gold-300);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Luxury Unit Selection Cards inside Modal */
.unit-select-card {
  background: rgba(13, 16, 24, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.unit-select-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(19, 24, 36, 0.95);
}

.unit-select-card.selected {
  border-color: var(--gold-400);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(15, 18, 27, 0.95) 100%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.unit-select-card.selected::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-500);
  color: #000;
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Crypto Token Selectors in Modal */
.crypto-pill-btn {
  background: rgba(10, 13, 19, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #8c93a0;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.crypto-pill-btn:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: #fff;
}

.crypto-pill-btn.active {
  border-color: var(--gold-400);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-300);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

/* Bottom Safe Area Padding for Mobile */
.pb-mobile-nav {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 16px));
}

/* Active Rented Badge */
.active-rented-pill {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-300);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 6px;
}


/* ==========================================================================
   HAUTE LUXURY INVESTMENT OPTIONS SLIDER
   ========================================================================== */
.luxury-slider-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.luxury-slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 6px 4px 18px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.luxury-slider-container::-webkit-scrollbar {
  display: none;
}

.luxury-slider-card {
  scroll-snap-align: start;
  flex: 0 0 88%;
  min-height: 320px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65);
  background: #06080d;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 640px) {
  .luxury-slider-card {
    flex: 0 0 65%;
    min-height: 350px;
  }
}

@media (min-width: 1024px) {
  .luxury-slider-card {
    flex: 0 0 46%;
    min-height: 380px;
  }
}

@media (min-width: 1280px) {
  .luxury-slider-card {
    flex: 0 0 38%;
    min-height: 400px;
  }
}

.luxury-slider-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.2);
}

.luxury-slider-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  z-index: 0;
}

.luxury-slider-card:hover .luxury-slider-card-bg {
  transform: scale(1.06);
}

.luxury-slider-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.15) 0%, rgba(6, 8, 13, 0.65) 45%, rgba(5, 6, 8, 0.98) 100%);
  z-index: 1;
}

.luxury-slider-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
}

@media (min-width: 768px) {
  .luxury-slider-card-content {
    padding: 30px;
  }
}

.slider-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 13, 20, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(12px);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.slider-nav-btn:hover {
  border-color: var(--gold-400);
  color: #fff;
  background: rgba(22, 28, 42, 0.95);
  transform: scale(1.08);
}

/* ==========================================================================
   START MINING SHUKRAN DEDICATED BANNER
   Image on the right, text on the left
   ========================================================================== */
.mining-dedicated-banner {
  background: linear-gradient(135deg, #090c13 0%, #07080c 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(212, 175, 55, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .mining-dedicated-banner {
    flex-direction: row;
    align-items: stretch;
    min-height: 240px;
  }
}

.mining-dedicated-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, #fff, #d4af37, transparent);
  animation: shimmerSweep 7s linear infinite;
  z-index: 10;
}

.mining-dedicated-banner:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.75), 0 0 45px rgba(212, 175, 55, 0.25);
}

.mining-banner-content {
  flex: 1;
  padding: 28px 24px;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .mining-banner-content {
    padding: 36px 44px;
    max-width: 58%;
  }
}

.mining-banner-image-wrap {
  position: relative;
  min-height: 180px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .mining-banner-image-wrap {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 48%;
    min-height: 100%;
  }
}

.mining-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mining-dedicated-banner:hover .mining-banner-img {
  transform: scale(1.05);
}

.mining-banner-img-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #090c13 0%, rgba(9, 12, 19, 0.85) 25%, transparent 100%);
  pointer-events: none;
}

@media (max-width: 767px) {
  .mining-banner-img-fade {
    background: linear-gradient(180deg, #090c13 0%, rgba(9, 12, 19, 0.6) 30%, transparent 100%);
  }
}

/* ==========================================================================
   THE 4 CORE ELEMENTS (DEPOSIT, INVEST, AVAILABLE BALANCE, NETWORK REFERS)
   ========================================================================== */
.luxury-feature-card {
  background: linear-gradient(145deg, rgba(14, 18, 27, 0.85) 0%, rgba(8, 10, 16, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.luxury-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.12);
}

.luxury-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

/* ==========================================================================
   SOVEREIGN ULTRA-LUXURY DESIGN SYSTEM ENHANCEMENTS (DE-CLUTTERED TIER)
   ========================================================================== */

/* Hero Private Wealth Summary Card */
.sovereign-hero-summary {
  background: radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              linear-gradient(145deg, #0d1017 0%, #06070a 100%);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sovereign-hero-summary:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.1);
}

/* Action Pills (Deposit, Harvest, Invest) */
.sovereign-action-pill {
  background: rgba(18, 22, 32, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: #f5f5f7;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sovereign-action-pill:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.55);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.18);
}

/* Consolidated Header Balance Pill */
.sovereign-header-balance {
  background: rgba(14, 18, 27, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 9999px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.sovereign-header-balance:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Mining Sanctuary Frosted Dock */
.mining-dock {
  background: rgba(8, 10, 15, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.08);
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
