/* =========================================
   LRS Collectibles LLC — Gold & Black Theme
   ========================================= */

:root {
  --bg-main: #0b0b0d;
  --bg-surface: #141418;
  --bg-card: #1a1a20;
  --bg-card-hover: #22222a;
  --gold: #d4af37;
  --gold-bright: #f0cc5b;
  --gold-dim: rgba(212, 175, 55, 0.18);
  --text-main: #f5f5f7;
  --text-muted: #a6a6b2;
  --border: #2a2a33;
  --radius: 12px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Trust Bar */
.trust-bar {
  background: var(--gold);
  color: #0b0b0d;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  text-align: center;
}

.trust-bar a {
  text-decoration: underline;
  font-weight: 800;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
}

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

.brand-mark {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #0b0b0d;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--gold-bright);
}

/* Buttons */
.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #0b0b0d;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: var(--gold);
  color: #0b0b0d;
}

/* Hero */
.hero {
  background: radial-gradient(circle at top center, rgba(212, 175, 55, 0.14), transparent 60%);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 56px;
  text-align: center;
}

.hero-inner {
  max-width: 780px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  line-height: 1.12;
  font-weight: 900;
  margin-bottom: 18px;
}

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

.hero-copy {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 28px;
}

/* Search Bar */
.search-bar {
  display: flex;
  gap: 10px;
  max-width: 580px;
  margin: 0 auto;
}

.search-bar input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.98rem;
  padding: 13px 16px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease;
}

.search-bar input:focus {
  border-color: var(--gold);
}

.search-bar input::placeholder {
  color: #777785;
}

/* Sections */
.vaults-section,
.inventory-section {
  padding: 56px 0 20px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 8 Vault Cards */
.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.vault-card {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.vault-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.vault-card.active {
  background: #211d12;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 1px var(--gold-bright), 0 8px 24px rgba(212, 175, 55, 0.16);
}

.vault-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold-dim);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}

.vault-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
}

.vault-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Inventory Controls & Grid */
.inventory-controls select {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  cursor: pointer;
}

.inventory-controls select:focus {
  outline: none;
  border-color: var(--gold);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.item-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.2s ease;
}

.item-card:hover {
  border-color: var(--gold);
}

.item-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 6px;
}

.item-title {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.item-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.item-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gold-bright);
}

.item-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  background: #262630;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.item-link:hover {
  background: var(--gold);
  color: #0b0b0d;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}

/* Weekly Drops Banner */
.drops-banner {
  margin: 56px 0 64px;
  background: linear-gradient(135deg, #1a170e, #141418);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.drops-content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drops-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
}

.drops-content p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.drops-actions {
  margin-top: 6px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 32px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner strong {
  color: var(--gold-bright);
  font-size: 1rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.copyright {
  width: 100%;
  font-size: 0.82rem;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Mobile Layout */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-link {
    display: none;
  }

  .search-bar {
    flex-direction: column;
  }

  .hero {
    padding: 44px 0 40px;
  }
}