/* HERITAGE CARDS UK - Luxury Auction & Vault TCG Gallery Style */
:root {
  --bg-primary: #0a0d14;
  --bg-secondary: #121722;
  --bg-card: rgba(22, 29, 44, 0.7);
  --bg-card-hover: rgba(28, 38, 58, 0.85);
  --border-color: rgba(212, 175, 55, 0.2);
  --border-highlight: rgba(212, 175, 55, 0.6);
  --gold-primary: #d4af37;
  --gold-light: #eed59b;
  --gold-dark: #997a15;
  --gold-gradient: linear-gradient(135deg, #eed59b 0%, #d4af37 50%, #997a15 100%);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-emerald: #10b981;
  --accent-red: #ef4444;
  --font-serif: "Cinzel", "Playfair Display", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(212, 175, 55, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    linear-gradient(to bottom, #0a0d14, #0e121b);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Top Announcement Banner */
.top-bar {
  background: linear-gradient(90deg, #111726, #1c2333, #111726);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 24px;
  font-size: 13px;
  color: var(--gold-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .info-tags span {
  margin-right: 18px;
}

.top-bar .vault-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-emerald);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-crest {
  width: 42px;
  height: 42px;
  background: var(--gold-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0d14;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.brand-text h1 {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-text p {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.25s;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-vault {
  background: var(--gold-gradient);
  color: #0b0e14;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 6px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-vault:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Hero Section */
.hero {
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-highlight);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

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

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 36px;
  backdrop-filter: blur(10px);
}

.metric-item .val {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold-light);
}

.metric-item .lbl {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.btn-outline {
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-main);
  transition: all 0.25s;
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
}

/* Featured Slab Showcase (Right side of Hero) */
.hero-slab-showcase {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.12), transparent 70%), var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.slab-badge-top {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.8px;
}

.slab-cert-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.slab-img-wrap {
  width: 100%;
  max-width: 320px;
  margin: 10px auto 20px auto;
  position: relative;
}

.slab-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s ease;
}

.slab-img-wrap:hover img {
  transform: translateY(-6px) scale(1.02);
}

.slab-details h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.slab-details p {
  font-size: 13px;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.slab-price-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.slab-price {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
}

.slab-price-sub {
  font-size: 12px;
  color: var(--accent-emerald);
  font-weight: 600;
}

/* Sections Common */
.section {
  padding: 80px 48px;
  max-width: 1440px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .sub {
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  letter-spacing: 1px;
}

/* Card Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.tcg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
}

.tcg-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-light);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
  background: var(--bg-card-hover);
}

.card-img-container {
  padding: 20px;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 70%);
  position: relative;
}

.card-img-container img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.3s;
}

.tcg-card:hover .card-img-container img {
  transform: scale(1.04);
}

.badge-grade {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #dc2626;
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.badge-cert {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.card-meta {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-price {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
}

/* Trust & Security Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px 24px;
  border-radius: 12px;
  text-align: center;
}

.trust-icon {
  font-size: 32px;
  margin-bottom: 14px;
  color: var(--gold-light);
}

.trust-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.trust-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Physical Facility Showcase */
.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.facility-img-wrap img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.facility-content h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.facility-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.facility-points li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e2e8f0;
  margin-bottom: 12px;
}

.facility-points li::before {
  content: '✓';
  color: var(--accent-emerald);
  font-weight: 800;
}

/* Tables for Sales Ledger & Reviews */
.table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}

table.luxury-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

table.luxury-table th {
  background: #111726;
  color: var(--gold-light);
  font-family: var(--font-serif);
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  letter-spacing: 0.5px;
}

table.luxury-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

table.luxury-table tr:hover {
  background: rgba(212, 175, 55, 0.04);
}

.badge-status-completed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.review-stars {
  color: #10b981;
  font-size: 16px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 16px;
  line-height: 1.6;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.review-author .name {
  color: #ffffff;
  font-weight: 600;
}

/* Footer */
footer {
  background: #07090e;
  border-top: 1px solid var(--border-color);
  padding: 60px 48px 30px 48px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto 40px auto;
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.footer-col p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */
@media (max-width: 992px) {
  .hero, .facility-grid, .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .navbar {
    padding: 16px 24px;
  }
  .section {
    padding: 50px 24px;
  }
}
