/* QaelNorin Collectible Cards Official CSS */
:root {
  --bg-primary: #0a0d14;
  --bg-secondary: #111827;
  --bg-card: #1e293b;
  --accent: #38bdf8;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: #334155;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
}
.header-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.brand span { color: var(--accent); }
.badge-sole {
  background: #1e3a8a;
  color: #93c5fd;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}
.hero {
  padding: 50px 40px;
  background: linear-gradient(180deg, #111827 0%, #0a0d14 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid #059669;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hero p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 860px;
  margin: 0 auto 30px;
}
.kpi-strip {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}
.kpi-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 28px;
  min-width: 170px;
}
.kpi-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
  font-family: monospace;
}
.kpi-lbl {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}
.section-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-thumb {
  background: #0f172a;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-thumb img {
  max-height: 90%;
  max-width: 80%;
  object-fit: contain;
  transition: transform 0.3s;
}
.grade-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
}
.card-details {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-name {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.4;
  margin-bottom: 8px;
}
.cert-id {
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
  margin-bottom: 12px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 10px;
}
.price {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent-gold);
  font-family: monospace;
}
.btn-buy {
  background: #0284c7;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px;
  color: var(--text-muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}
.legal-box {
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}
