/* Gold & Silver Rates – Bootstrap theme (current design) */
:root {
  --background: #0f0f0f;
  --background-elevated: #1a1a1a;
  --foreground: #fafafa;
  --foreground-muted: #a1a1aa;
  --gold: #f5c842;
  --gold-dim: #d4a83b;
  --silver: #94a3b8;
  --card-bg: #171717;
  --border: #262626;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}
.w-60{
  width: 60%;
}


/* Bootstrap overrides for dark theme */
.bg-dark { background-color: var(--background) !important; }
.bg-secondary { background-color: var(--card-bg) !important; }
.border-secondary { border-color: var(--border) !important; }
.text-muted { color: var(--foreground-muted) !important; }
.text-right{ text-align: right; }

/* Header */
.site-header {
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.gradient-gold {
  background: linear-gradient(135deg, #f5c842 0%, #d4a83b 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cards – premium style */
.card-premium {
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -8px rgba(0,0,0,0.5);
}
.card-gold:hover {
  border-color: rgba(245, 200, 66, 0.3);
  box-shadow: 0 12px 40px -8px rgba(245, 200, 66, 0.15);
}
.card-silver:hover {
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 12px 40px -8px rgba(148, 163, 184, 0.1);
}

/* Hero */
.hero-block {
  background: linear-gradient(to bottom right, var(--card-bg), var(--background-elevated), var(--card-bg));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-block .badge-gold { color: var(--gold); letter-spacing: 0.2em; }

/* Price cards */
.gold-price, .silver-price { color: #ffffff }
.price-card .icon-gold { background: rgba(245, 200, 66, 0.2); color: var(--gold); }
.price-card .icon-silver { background: rgba(148, 163, 184, 0.2); color: var(--silver); }
.label-gold { color: var(--gold); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.label-silver { color: var(--silver); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* Country links */
.country-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.country-link:hover {
  border-color: rgba(245, 200, 66, 0.4);
  background: var(--background-elevated);
  color: inherit;
}
.country-link:hover .arrow { color: var(--gold); }

/* Tables */
.rates-table {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.4);
}
.rates-table thead {
  background: var(--background-elevated);
  border-bottom: 1px solid var(--border);
}
.rates-table th {
  color: var(--foreground-muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 1.5rem;
}
.rates-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
}
.rates-table tbody tr:last-child td { border-bottom: 0; }
.rates-table tbody tr:hover { background: rgba(26, 26, 26, 0.5); }
.rates-table tbody tr:nth-child(even) { background: rgba(15, 15, 15, 0.3); }
.rates-table tbody tr:nth-child(even):hover { background: rgba(26, 26, 26, 0.5); }

/* Metal tabs (static: two sections) */
.metal-section { margin-bottom: 2rem; }
.metal-section .section-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
.metal-section .section-date { color: var(--foreground-muted); font-size: 0.875rem; }

/* FAQ */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq-item dt { font-weight: 600; color: var(--foreground); margin-bottom: 0.25rem; }
.faq-item dd { color: var(--foreground-muted); margin: 0; font-size: 0.95rem; }

/* Raw prices note */
.raw-note {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

/* RTL support (for Arabic pages) */
[dir="rtl"] .text-start { text-align: right !important; }
[dir="rtl"] .text-end { text-align: left !important; }

footer{
  background-color: #1a1a1a;
  border: 1px solid #262626;
  padding: 15px 0px;
}

@media screen and (max-width: 500px) {
    .w-60{
        width: 100%;
    }
    
}
@media screen and (max-width: 384px) {
    .price-card{
        max-width: 150px;
    }
}