/* ── HERO SECTION ── */
.hero {
  min-height: 380px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-200);
  /* Rich gradient background that always shows, even without the image file */
  background:
    linear-gradient(135deg, rgba(10,10,10,0.98) 0%, rgba(20,5,12,0.95) 40%, rgba(80,10,35,0.80) 70%, rgba(10,10,10,0.97) 100%),
    url('images/hero-bg.jpg') center/cover no-repeat,
    url('/images/hero-bg.jpg') center/cover no-repeat;
}
/* Always-visible ambient glow overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 8% 60%, rgba(30,58,95,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 15%, rgba(30,58,95,0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(100,10,40,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner { max-width: 1320px; margin: 0 auto; padding: 64px var(--sp-6); display: grid; grid-template-columns: 55% 45%; gap: var(--sp-12); align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: var(--sp-2); background: rgba(30,58,95,0.07); border: 1px solid rgba(30,58,95,0.18); border-radius: 4px; padding: 5px 14px; font-size: 12px; font-weight: 700; color: var(--brand-300); margin-bottom: var(--sp-5); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-badge span { width: 6px; height: 6px; background: var(--brand-400); border-radius: 50%; display: inline-block; }
.hero-h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; color: var(--text-100); margin-bottom: var(--sp-6); letter-spacing: -0.02em; }
.hero-h1 em { font-style: normal; color: var(--brand-300); }

/* Trust pills row */
.hero-trust-pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-8); }
.trust-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 4px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--text-300); }
.trust-dot { width: 6px; height: 6px; background: var(--brand-400); border-radius: 50%; flex-shrink: 0; }
.hero-sub { font-size: 15px; color: var(--text-300); line-height: 1.7; margin-bottom: var(--sp-6); max-width: 520px; }
.hero-bg-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-left { position: relative; z-index: 1; }
.hero-ctas { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* Hero mosaic */
.hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--sp-3); aspect-ratio: 0.9; max-width: 440px; margin-left: auto; position: relative; }
.hero-mosaic::before { content: ''; position: absolute; inset: -20px; background: radial-gradient(ellipse at center, rgba(30,58,95,0.05) 0%, transparent 70%); pointer-events: none; }
.mosaic-card { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-elevated); border: 1px solid var(--border-200); box-shadow: 0 8px 32px rgba(0,0,0,0.70); transition: var(--t-3); cursor: pointer; }
.mosaic-card:nth-child(1) { transform: rotate(-2deg); }
.mosaic-card:nth-child(2) { transform: rotate(1.5deg); }
.mosaic-card:nth-child(3) { transform: rotate(1deg); }
.mosaic-card:nth-child(4) { transform: rotate(-1.5deg); }
.mosaic-card:hover { transform: rotate(0deg) scale(1.04); box-shadow: 0 16px 48px rgba(0,0,0,0.80), 0 0 0 2px rgba(30,58,95,0.20); z-index: 2; }
.mosaic-card img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.mosaic-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: white; font-size: 10px; font-weight: 700; padding: 16px 8px 6px; text-align: center; }

/* QUICK ORDER SECTION */
.quick-order { padding: var(--sp-12) 0; }
.quick-order-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--sp-6); }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-200), transparent); margin: var(--sp-10) 0; }

/* QO header */
.qo-header { margin-bottom: var(--sp-6); }
.qo-title { font-size: 28px; font-weight: 800; color: var(--text-100); position: relative; display: inline-block; letter-spacing: -0.01em; }
.qo-title::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 40px; height: 3px; background: var(--brand-400); border-radius: 2px; }

/* QO tabs */
.qo-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border-200); margin-bottom: var(--sp-5); }
.qo-tab { background: none; border: none; border-bottom: 2px solid transparent; color: var(--text-400); font-size: 14px; font-weight: 600; padding: 10px 20px; cursor: pointer; transition: var(--t-2); margin-bottom: -1px; }
.qo-tab:hover { color: var(--text-200); }
.qo-tab.active { color: var(--text-100); border-bottom-color: var(--brand-400); }

/* QO filter bar */
.qo-filter-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-6); flex-wrap: wrap; gap: var(--sp-3); }
.qo-count { font-size: 13px; color: var(--text-400); font-weight: 500; }
.qo-filters { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }

/* Stock toggle */
.stock-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text-300); }
.stock-toggle input { display: none; }
.stock-toggle-track { width: 34px; height: 18px; background: var(--border-200); border-radius: 9px; position: relative; transition: var(--t-2); flex-shrink: 0; }
.stock-toggle-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: white; border-radius: 50%; transition: var(--t-2); }
.stock-toggle input:checked + .stock-toggle-track { background: var(--brand-500); }
.stock-toggle input:checked + .stock-toggle-track::after { transform: translateX(16px); }

/* QO search */
.qo-search-wrap { position: relative; }
.qo-search-wrap svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-400); pointer-events: none; }
.qo-search { background: var(--bg-elevated); border: 1px solid var(--border-200); border-radius: var(--r-md); color: var(--text-100); font-size: 13px; padding: 8px 12px 8px 32px; width: 200px; outline: none; transition: var(--t-1); }
.qo-search:focus { border-color: var(--border-focus); width: 240px; }
.qo-search::placeholder { color: var(--text-400); }

.qo-select { background: var(--bg-elevated); border: 1px solid var(--border-200); border-radius: var(--r-md); color: var(--text-200); font-size: 13px; padding: 8px 12px; outline: none; cursor: pointer; transition: var(--t-1); }
.qo-select:focus { border-color: var(--border-focus); }

/* View toggle */
.view-toggle { display: flex; background: var(--bg-elevated); border: 1px solid var(--border-200); border-radius: var(--r-md); overflow: hidden; }
.view-btn { background: none; border: none; color: var(--text-400); font-size: 12px; font-weight: 600; padding: 7px 12px; cursor: pointer; display: flex; align-items: center; gap: 5px; transition: var(--t-1); }
.view-btn.active { background: var(--brand-600); color: white; }

/* ── PRODUCT IMAGE GRID ── */
.product-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--sp-4); }
@media (max-width: 768px) { .product-image-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--sp-3); } }
@media (max-width: 480px) { .product-image-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); } }

/* ── PIMG CARD (image grid view) ── matches reference hover style ── */
.pimg-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--t-2);
  cursor: pointer;
}
.pimg-card:hover {
  border-color: rgba(30,58,95,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.70);
  transform: translateY(-3px);
}

.pimg-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-elevated);
  position: relative;
}
.pimg-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  padding: 8px;
}
.pimg-card:hover .pimg-card-img img { transform: scale(1.05); }

.pimg-status-badge { position: absolute; top: 8px; left: 8px; z-index: 2; }

/* HOVER OVERLAY — shows prominently like reference image 2 */
.pimg-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 10;
  padding: var(--sp-4);
  text-align: center;
  pointer-events: none;
}
.pimg-card:hover .pimg-hover-overlay {
  opacity: 1;
  pointer-events: all;
}
.pimg-overlay-name {
  font-size: 14px;
  font-weight: 700;
  color: white;
  line-height: 1.4;
}
.pimg-overlay-price {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-300);
}
.pimg-overlay-add-btn {
  background: var(--brand-600);
  color: white;
  border: none;
  border-radius: var(--r-md);
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--t-2);
  width: 100%;
  justify-content: center;
}
.pimg-overlay-add-btn:hover { background: var(--brand-500); transform: translateY(-1px); }

.pimg-card-body {
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pimg-name { font-size: 12px; font-weight: 600; color: var(--text-200); line-height: 1.4; }
.pimg-sku { font-family: var(--font-mono); font-size: 10px; color: var(--text-400); }
.pimg-stock-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.pimg-lowest { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--text-100); }
.pimg-total-stock { font-size: 11px; color: var(--text-400); }
.pimg-total-stock strong { color: var(--text-300); }

.pimg-variants { display: flex; flex-direction: column; gap: 4px; margin-top: var(--sp-2); border-top: 1px solid var(--border-100); padding-top: var(--sp-2); }
.pimg-variant { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.pimg-variant-left { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.pv-type { font-size: 10px; font-weight: 700; color: var(--text-400); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.pv-price { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--text-200); }
.pv-stock { font-size: 10px; font-weight: 600; }
.pv-stock.in { color: var(--green-500); }
.pv-stock.out { color: var(--red-500); }

/* Qty controls */
.pimg-qty-ctrl { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.qty-btn { background: var(--bg-elevated); border: 1px solid var(--border-200); color: var(--text-200); width: 22px; height: 22px; border-radius: 4px; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--t-1); padding: 0; }
.qty-btn:hover:not(:disabled) { background: var(--brand-faint); border-color: var(--brand-border); color: var(--brand-300); }
.qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.qty-val { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--text-100); min-width: 20px; text-align: center; }

/* Fallback img */
.pimg-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--text-400); background: var(--bg-elevated); }

/* ── PRODUCT LIST VIEW ── */
.product-list-view { display: flex; flex-direction: column; gap: var(--sp-2); }
.plist-card { display: flex; align-items: stretch; background: var(--bg-surface); border: 1px solid var(--border-200); border-radius: var(--r-md); overflow: hidden; transition: var(--t-2); }
.plist-card:hover { border-color: rgba(30,58,95,0.20); transform: translateX(3px); }
.plist-img-col { width: 80px; flex-shrink: 0; background: var(--bg-elevated); }
.plist-img-col img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.plist-fallback { width: 100%; height: 80px; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.plist-body { flex: 1; display: flex; align-items: center; padding: var(--sp-3) var(--sp-4); gap: var(--sp-6); flex-wrap: wrap; }
.plist-top { flex: 1; min-width: 180px; }
.plist-name { font-size: 14px; font-weight: 600; color: var(--text-200); line-height: 1.4; margin-bottom: 4px; }
.plist-sku { font-family: var(--font-mono); font-size: 11px; color: var(--text-400); }
.plist-meta { font-size: 12px; color: var(--text-400); margin-top: 4px; display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.plist-meta-sep { color: var(--border-300); }
.plist-variants { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.plist-variant { display: flex; align-items: center; gap: var(--sp-2); }
.pv-price-big { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--text-100); }

/* ── SHIPPING STRIP ── */
.ship-strip { background: var(--bg-surface); border-top: 1px solid var(--border-200); border-bottom: 1px solid var(--border-200); padding: var(--sp-6) 0; }
.ship-strip-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-8); justify-content: center; align-items: center; }
.ship-item { display: flex; align-items: center; gap: var(--sp-3); font-size: 13px; color: var(--text-300); line-height: 1.5; }
.ship-item svg { color: var(--brand-400); flex-shrink: 0; }
.ship-item strong { color: var(--text-100); display: block; font-size: 14px; }

/* CATEGORY PAGE */
.category-page { padding: var(--sp-10) 0; }
.category-page-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--sp-6); }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; font-size: 13px; color: var(--text-400); }
.breadcrumb a { color: var(--text-400); cursor: pointer; transition: var(--t-1); }
.breadcrumb a:hover { color: var(--text-200); }
.breadcrumb-sep { margin: 0 8px; color: var(--text-500); }
.category-hero { background: var(--bg-surface); border: 1px solid var(--border-200); border-radius: var(--r-xl); padding: var(--sp-10) var(--sp-8); margin-bottom: var(--sp-8); position: relative; overflow: hidden; }
.category-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 50%, rgba(30,58,95,0.04) 0%, transparent 60%); pointer-events: none; }
.category-hero-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; color: var(--text-100); margin-bottom: var(--sp-3); position: relative; z-index: 1; }
.category-hero-sub { font-size: 16px; color: var(--text-300); max-width: 600px; line-height: 1.7; position: relative; z-index: 1; }
.category-hero-badge { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); font-size: 6rem; opacity: 0.05; pointer-events: none; }

/* NEWS PAGE */
.news-page { padding: var(--sp-10) 0; }
.news-page-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--sp-6); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--sp-6); }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

/* ARTICLE PAGE */
.article-page { padding: var(--sp-10) 0; max-width: 780px; margin: 0 auto; padding-left: var(--sp-6); padding-right: var(--sp-6); }
.article-hero { background: var(--bg-elevated); border-radius: var(--r-xl); overflow: hidden; margin-bottom: var(--sp-8); }
.article-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-meta { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.article-meta-cat { font-size: 12px; font-weight: 700; color: var(--brand-400); text-transform: uppercase; letter-spacing: 0.08em; }
.article-meta-date { font-size: 13px; color: var(--text-400); }
.article-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: var(--text-100); margin-bottom: var(--sp-6); }
.article-body { font-size: 15px; color: var(--text-200); line-height: 1.85; }
.article-body h2 { font-size: 1.4rem; color: var(--brand-300); margin: var(--sp-8) 0 var(--sp-4); }
.article-body p { margin-bottom: var(--sp-4); }

/* ABOUT PAGE */
.about-page { padding: var(--sp-10) 0; }
.about-page-inner { max-width: 1100px; margin: 0 auto; padding: 0 var(--sp-6); }
.about-hero { background: var(--bg-surface); border: 1px solid var(--border-200); border-radius: var(--r-xl); padding: var(--sp-16) var(--sp-10); text-align: center; margin-bottom: var(--sp-12); position: relative; overflow: hidden; }
.about-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(140, 144, 150, 0.05) 0%, transparent 65%); pointer-events: none; }
.about-hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: var(--text-100); margin-bottom: var(--sp-4); position: relative; }
.about-hero-sub { font-size: 18px; color: var(--text-300); max-width: 600px; margin: 0 auto; line-height: 1.7; position: relative; }
.value-card { background: var(--bg-surface); border: 1px solid var(--border-200); border-radius: var(--r-lg); padding: var(--sp-6); transition: var(--t-2); }
.value-card:hover { border-color: rgba(30,58,95,0.20); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-card-icon { font-size: 2rem; margin-bottom: var(--sp-4); }
.value-card-title { font-size: 16px; font-weight: 700; color: var(--text-100); margin-bottom: var(--sp-3); }
.value-card-text { font-size: 14px; color: var(--text-300); line-height: 1.7; }

/* CONTACT PAGE */
.contact-page { padding: var(--sp-10) 0; }
.contact-page-inner { max-width: 1100px; margin: 0 auto; padding: 0 var(--sp-6); }
.contact-page-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--text-100); margin-bottom: var(--sp-3); }
.contact-page-sub { font-size: 16px; color: var(--text-300); line-height: 1.7; margin-bottom: var(--sp-8); }

.page-bg-section { position: relative; }

/* MOBILE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mosaic { display: none; }
  .qo-filter-bar { flex-direction: column; align-items: flex-start; }
  .qo-filters { width: 100%; gap: var(--sp-2); }
  .qo-search { width: 100%; }
  .qo-search:focus { width: 100%; }
}

/* ── LEGAL PAGES ─────────────────────────────── */
.legal-page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--sp-10) var(--sp-6);
}
.legal-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-300);
  margin: var(--sp-8) 0 var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border-100);
}
.legal-section-body {
  color: var(--text-300);
  line-height: 1.8;
  font-size: 14px;
}

/* ── CONTACT PAGE (improved) ─────────────────── */
.contact-page { display: grid; grid-template-columns: 380px 1fr; gap: var(--sp-8); max-width: 1100px; margin: 0 auto; padding: var(--sp-10) var(--sp-6); }
.contact-info-panel { background: var(--bg-surface); border: 1px solid var(--border-200); border-radius: var(--r-xl); padding: var(--sp-8); height: fit-content; position: sticky; top: 100px; }
.contact-form-panel { background: var(--bg-surface); border: 1px solid var(--border-200); border-radius: var(--r-xl); padding: var(--sp-8); }
.contact-info-item { display: flex; align-items: flex-start; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--border-100); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-faint); border: 1px solid var(--brand-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand-300); }
.contact-info-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-500); margin-bottom: 3px; }
.contact-info-val { font-size: 14px; color: var(--text-200); font-weight: 500; }
.contact-social-btns { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-6); }
.contact-success { text-align: center; padding: var(--sp-10) var(--sp-6); }
.contact-success svg { margin: 0 auto var(--sp-4); display: block; }
.contact-success h3 { font-size: 1.4rem; margin-bottom: var(--sp-3); color: var(--text-100); }
.contact-success p { color: var(--text-300); line-height: 1.7; }
.btn-telegram { background: #0088CC; color: #fff; border: none; }
.btn-telegram:hover { background: #006fa8; color: #fff; }

@media (max-width: 900px) {
  .contact-page { grid-template-columns: 1fr; }
  .contact-info-panel { position: static; }
}

/* ── SOCIAL PROOF ────────────────────────────── */
@media (max-width: 480px) {
  #social-proof-container { left: 10px; right: 10px; bottom: 80px; }
  #social-proof-container > div { max-width: 100%; }
}

/* ══════════════════════════════════════════════
   BACKGROUND IMAGE SYSTEM — All pages
   ══════════════════════════════════════════════ */

/* Page-level background wrapper */
.page-bg-hero {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-bg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  z-index: 0;
  transition: opacity 0.5s;
}
.page-bg-hero > * { position: relative; z-index: 1; }

/* ── ABOUT PAGE BACKGROUND ── */
.about-page {
  background:
    linear-gradient(180deg, rgba(185, 190, 182, 0) 0%, var(--bg-base) 50%),
    url('/images/bg-charizard-display.png') center top / cover no-repeat fixed;
  background-attachment: fixed;
}
.about-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    url('/images/bg-charizard-display.png') center / cover no-repeat;
  opacity: 0.07;
  z-index: -1;
  pointer-events: none;

}

/* ── CARD LIST PAGE BACKGROUND ── */
.cardlist-page {
  background:
    url('/images/bg-mewtw-display.png') center top / cover no-repeat;
  background-attachment: scroll;
}

/* ── CATEGORY PAGES (pokemon / onepiece / yugioh) BACKGROUND ── */
.category-page {
  background:
    url('/images/bg-pikachu-machines.png') center top / cover no-repeat;
  background-attachment: scroll;
}

/* ── HOME hero use the pikachu image ── */
.hero {
  background:
    linear-gradient(135deg, rgba(215, 208, 208, 0.97) 0%, rgba(228, 225, 227, 0.93) 40%, rgba(216, 210, 212, 0.78) 70%, rgba(10,10,10,0.97) 100%),
    url('/images/bg-pikachu-machines.png') center/cover no-repeat !important;
}

/* ══════════════════════════════════════════════
   ABOUT PAGE — Improved Styling
   ══════════════════════════════════════════════ */

.about-page {
  padding: 0;
  min-height: 100vh;
}

/* Full-bleed about hero */
.about-hero-fullbleed {
  position: relative;
  padding: 80px var(--sp-6) 60px;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(10,10,10,0.92) 100%),
    url('/images/bg-charizard-slab.png') center / cover no-repeat;
  border-bottom: 1px solid var(--border-200);
  margin-bottom: 0;
}
.about-hero-fullbleed::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(30,58,95,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(30,58,95,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.about-hero-fullbleed > * { position: relative; z-index: 1; }

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30,58,95,0.07);
  border: 1px solid rgba(30,58,95,0.20);
  border-radius: 4px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-300);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-content-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--sp-10) var(--sp-6);
}

/* Feature cards grid */
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-5);
  margin-bottom: var(--sp-12);
}
.about-feature {
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-200);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  transition: var(--t-2);
}
.about-feature:hover {
  border-color: rgba(30,58,95,0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.60), 0 0 0 1px rgba(30,58,95,0.09);
}
.about-feature h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: var(--sp-3);
}
.about-feature p {
  font-size: 13px;
  color: var(--text-400);
  line-height: 1.7;
}

/* About table */
.about-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(17,17,17,0.80);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--sp-12);
}
.about-table tr {
  border-bottom: 1px solid var(--border-100);
  transition: background 0.15s;
}
.about-table tr:last-child { border-bottom: none; }
.about-table tr:hover { background: rgba(30,58,95,0.03); }
.about-table td {
  padding: 14px 20px;
  font-size: 14px;
}
.about-table td:first-child {
  color: var(--text-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  width: 180px;
}
.about-table td:last-child { color: var(--text-200); }
.about-table a { color: var(--brand-300); }
.about-table a:hover { color: var(--brand-200); }

/* ══════════════════════════════════════════════
   CARD LIST PAGE — Improved Styling
   ══════════════════════════════════════════════ */

.cardlist-page {
  padding: 0;
  min-height: 100vh;
}

.cardlist-hero {
  position: relative;
  padding: 70px var(--sp-6) 50px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.70) 0%, rgba(10,10,10,0.95) 100%),
    url('/images/bg-mewtwo-display.png') center / cover no-repeat;
  border-bottom: 1px solid var(--border-200);
  overflow: hidden;
}
.cardlist-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(167,139,250,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cardlist-hero > * { position: relative; z-index: 1; }
.cardlist-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-100);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cardlist-hero p {
  font-size: 16px;
  color: var(--text-300);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.cardlist-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--sp-10) var(--sp-6);
}

.cardlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}

.cardlist-card {
  background: rgba(17,17,17,0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-200);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  cursor: pointer;
  transition: var(--t-3);
  position: relative;
  overflow: hidden;
}
.cardlist-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(ellipse at 50% 0%, rgba(30,58,95,0.07) 0%, transparent 60%);
}
.cardlist-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 60px rgba(0,0,0,0.70);
}
.cardlist-card:hover::before { opacity: 1; }
.cardlist-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-500);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.cardlist-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}
.cardlist-card p {
  font-size: 13px;
  color: var(--text-400);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

/* ══════════════════════════════════════════════
   CATEGORY PAGE BACKGROUND IMAGES (quick links)
   ══════════════════════════════════════════════ */

/* Pikachu bg for Pokemon category */
.category-pokemon-bg {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(10,10,10,0.95) 100%),
    url('/images/bg-pikachu-machines.png') center top / cover no-repeat;
}
/* Pikachu card bg for One Piece category */
.category-onepiece-bg {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(10,10,10,0.95) 100%),
    url('/images/bg-pikachu-card.png') center top / cover no-repeat;
}
/* Charizard slab bg for Yu-Gi-Oh */
.category-yugioh-bg {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(10,10,10,0.95) 100%),
    url('/images/bg-charizard-slab.png') center top / cover no-repeat;
}

.category-page-header {
  position: relative;
  padding: 60px var(--sp-6) 44px;
  border-bottom: 1px solid var(--border-200);
  overflow: hidden;
}
.category-page-header > * { position: relative; z-index: 1; }


/* ══════════════════════════════════════════════
   ADDITIONAL PAGE BACKGROUNDS
   ══════════════════════════════════════════════ */

/* News page background */
.news-page,
.news-grid-wrap {
  background:
    url('/images/bg-pikachu-card.png') center top / cover no-repeat fixed;
  background-attachment: fixed;
}

/* Contact page background */
.contact-page {
  background:
    url('/images/bg-charizard-slab.png') center top / cover no-repeat fixed;
  background-attachment: fixed;
}

/* Legal pages background */
.legal-page-wrap {
  background:
    url('/images/bg-mewtwo-display.png') center top / cover no-repeat fixed;
  background-attachment: fixed;
}

/* Overlay to ensure all paged content is readable */
.news-page > *,
.contact-page > *,
.legal-page-wrap > * {
  position: relative;
  z-index: 1;
}

/* Subtle global page background */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    url('/images/bg-pikachu-machines.png') center / cover no-repeat;
  opacity: 0.025;
  z-index: -2;
  pointer-events: none;
}
