/* =====================================================
   Gold Association Portal — Design System
   Style Guide: Professional Gold + Navy System
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ─── Design Tokens ─────────────────────────────── */
:root {
  /* Brand Colors */
  --gold: #D4AF37;
  --gold-dark: #B88A1E;
  --navy: #0B1220;
  --navy-hover: #111827;
  --cream: #FFF9EC;

  /* Neutral System */
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --border-light: #E5E7EB;
  --bg-section: #F4F6F8;
  --bg-white: #FFFFFF;

  /* Status Colors */
  --green: #16A34A;
  --red: #DC2626;
  --blue: #2563EB;
  --green-bg: rgba(22, 163, 74, 0.10);
  --red-bg: rgba(220, 38, 38, 0.10);
  --blue-bg: rgba(37, 99, 235, 0.10);

  /* Derived Surface Colors */
  --bg-hero-overlay: rgba(11, 18, 32, 0.65);
  --gold-light: rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.30);
  --navy-light: rgba(11, 18, 32, 0.06);

  /* Shape */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* Shadow */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.14);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.25);

  /* Motion */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  border: none;
  background: none;
}

/* ─── Scrollbar ─────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-section);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 99px;
}

/* ─── Typography ────────────────────────────────── */
h1,
h2 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h3,
h4,
h5,
h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

/* H1 */
h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: #FFFFFF;
}

/* H2 */
h2 {
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 600;
  color: var(--text-primary);
}

/* H3 */
h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* Gold gradient text — use sparingly */
.gradient-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout ─────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 90px 0;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin: 0 auto;
}

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

/* Primary — Deep Navy */
.btn-primary {
  background: var(--navy);
  color: #FFFFFF;
  border: 1.5px solid var(--navy);
}

.btn-primary:hover {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Secondary — White with border */
.btn-secondary {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--text-secondary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Gold Accent — limited use */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 1.5px solid var(--gold);
  font-weight: 600;
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Outline — navy border */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Outline white — for dark/hero backgrounds */
.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 13px;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 15px;
}

/* ─── Navigation ────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

/* On hero — start transparent */
.nav.hero-top {
  background: transparent;
  border-color: transparent;
}

.nav.hero-top .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.nav.hero-top .nav-link:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.nav.hero-top .nav-logo-text strong {
  color: var(--gold);
}

.nav.hero-top .nav-logo-text span {
  color: rgba(255, 255, 255, 0.55);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nav-logo-text {
  line-height: 1.1;
}

.nav-logo-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}

.nav-logo-text span {
  font-size: 0.68rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-section);
}

.nav-link.active {
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav.hero-top .nav-hamburger span {
  background: #FFFFFF;
}

/* ─── Mobile Nav ────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(11, 18, 32, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.mobile-nav-link:hover {
  color: var(--gold);
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.mobile-nav-close:hover {
  color: #FFFFFF;
}

/* ─── Price Ticker Bar ──────────────────────────── */
.ticker-bar {
  background: var(--navy);
  padding: 0.45rem 0;
  font-size: 0.78rem;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll 32s linear infinite;
  white-space: nowrap;
}

.ticker-bar:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ticker-name {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.ticker-price {
  font-weight: 600;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
}

.ticker-change {
  font-weight: 600;
  padding: 0.12rem 0.45rem;
  border-radius: 99px;
  font-size: 0.72rem;
}

.ticker-change.up {
  color: var(--green);
  background: var(--green-bg);
}

.ticker-change.down {
  color: var(--red);
  background: var(--red-bg);
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ─── Hero Section ──────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 80px;
  overflow: hidden;
  /* Hero background: dark navy with a subtle pattern */
  background: var(--navy);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(var(--bg-hero-overlay), var(--bg-hero-overlay)),
    radial-gradient(ellipse 80% 80% at 60% 40%, rgba(212, 175, 55, 0.18) 0%, transparent 65%),
    linear-gradient(160deg, #0B1220 0%, #1a2644 50%, #0B1220 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.25rem;
  max-width: 520px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.1rem;
  font-weight: 400;
}

/* Floating Gold Price Card */
.hero-float-card {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  padding: 1.5rem;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
}

.hero-float-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0.4rem 0;
}

.hero-float-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(-50%) translateY(0);
  }

  50% {
    transform: translateY(-50%) translateY(-10px);
  }
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

/* ─── Trust / Banner Bar ────────────────────────── */
.trust-bar {
  background: var(--cream);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-item-icon {
  font-size: 1.2rem;
}

/* ─── Section Backgrounds ───────────────────────── */
.bg-white {
  background: var(--bg-white);
}

.bg-section {
  background: var(--bg-section);
}

.bg-cream {
  background: var(--cream);
}

.bg-navy {
  background: var(--navy);
}

/* ─── Card ──────────────────────────────────────── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ─── Features ──────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 1.75rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── Membership Cards ──────────────────────────── */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
  align-items: start;
}

.membership-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.membership-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold), var(--shadow-md);
}

.membership-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold));
}

.membership-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: 99px;
}

.membership-tier {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.membership-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.membership-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.15rem;
}

.membership-price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.membership-price-currency {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.membership-price-period {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

.membership-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.membership-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 1.25rem 0;
}

.membership-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.membership-feature {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 14px;
  color: var(--text-secondary);
}

.membership-feature .check {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.membership-feature .cross {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  background: var(--bg-section);
  color: var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.membership-card .btn {
  width: 100%;
  justify-content: center;
}

/* ─── Market Preview ────────────────────────────── */
.market-preview {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
}

.market-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.market-preview-prices {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.market-price-name {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  font-weight: 500;
}

.market-price-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
}

.market-price-change {
  font-size: 13px;
  font-weight: 600;
}

.market-price-change.up {
  color: var(--green);
}

.market-price-change.down {
  color: var(--red);
}

#homeChart {
  width: 100% !important;
  max-height: 180px;
}

/* ─── CTA Section ───────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 90px 0;
  text-align: center;
}

.cta-section h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.25rem;
  font-size: 15px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ────────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  margin-top: 0.85rem;
  max-width: 250px;
  line-height: 1.7;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
  transition: var(--transition);
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

/* Logo in footer / on dark bg */
.footer .nav-logo-text strong {
  color: var(--gold);
}

.footer .nav-logo-text span {
  color: rgba(255, 255, 255, 0.4);
}

/* ─── Live Badge ─────────────────────────────────── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  background: rgba(22, 163, 74, 0.12);
  color: var(--green);
  border-radius: 99px;
  border: 1px solid rgba(22, 163, 74, 0.30);
}

.live-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

/* =====================================================
   CHART PAGE
   ===================================================== */
.chart-page-header {
  padding: 100px 0 0;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-light);
}

.chart-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.chart-page-title .gradient-text {
  /* gold accent for chart title */
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.chart-page-subtitle {
  color: var(--text-secondary);
  font-size: 13px;
}

/* Spot Price Selector */
.price-header {
  padding: 1.75rem 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.price-header-left {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.spot-prices {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.spot-item {
  cursor: pointer;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: var(--bg-white);
  transition: var(--transition);
}

.spot-item:hover {
  border-color: var(--gold-border);
  background: var(--cream);
}

.spot-item.active {
  border-color: var(--gold);
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.spot-item.active .spot-name {
  color: var(--gold-dark);
}

.spot-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.spot-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.spot-change {
  font-size: 12px;
  font-weight: 600;
}

.spot-change.up {
  color: var(--green);
}

.spot-change.down {
  color: var(--red);
}

/* Currency Selector */
.currency-selector {
  display: flex;
  gap: 0.3rem;
}

.currency-btn {
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-white);
  transition: var(--transition);
}

.currency-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.currency-btn.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #FFFFFF;
}

/* Chart Layout */
.chart-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 1.25rem;
  padding: 1.5rem 0 60px;
  align-items: start;
}

.chart-main {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chart-toolbar-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

/* Timeframe Buttons */
.timeframe-selector {
  display: flex;
  gap: 0.25rem;
}

.tf-btn {
  padding: 0.35rem 0.75rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-white);
  transition: var(--transition);
}

.tf-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.tf-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
  font-weight: 600;
}

#priceChart {
  width: 100% !important;
}

/* Stats Sidebar */
.stats-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stats-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.stats-card-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 0.15rem;
  font-weight: 500;
}

.stat-value {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}

.stat-value.up {
  color: var(--green);
}

.stat-value.down {
  color: var(--red);
}

/* News / Sidebar Card */
.news-ticker {}

.news-ticker-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.news-item {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-light);
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-item-time {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 0.15rem;
  opacity: 0.7;
}

/* Conversion Items */
.conversion-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.conversion-row-label {
  color: var(--text-secondary);
}

.conversion-row-val {
  font-weight: 600;
  color: var(--text-primary);
}

/* Price pulse */
@keyframes price-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }
}

.price-updating {
  animation: price-pulse 0.55s ease;
}

/* ─── Entrance Animations ───────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 0.10s;
}

.fade-up-delay-2 {
  transition-delay: 0.20s;
}

.fade-up-delay-3 {
  transition-delay: 0.30s;
}

.fade-up-delay-4 {
  transition-delay: 0.40s;
}

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 1100px) {
  .chart-layout {
    grid-template-columns: 1fr;
  }

  .stats-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-float-card {
    display: none;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .membership-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav-links,
  .nav-actions .btn-secondary {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .spot-prices {
    gap: 0.5rem;
  }

  .stats-sidebar {
    grid-template-columns: 1fr;
  }

  .price-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 1.25rem;
  }

  .trust-items {
    gap: 1.25rem;
  }

  .timeframe-selector {
    flex-wrap: wrap;
  }

  .market-preview-prices {
    gap: 1.25rem;
  }
}