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

:root {
  --primary-blue: #3b82f6;
  --primary-purple: #a855f7;
  --accent-amber: #fbbf24;
  --accent-green: #4ade80;
  --dark-bg: #0f172a;
  --dark-card: #1e293b;
  --dark-card2: #162032;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--body-bg, linear-gradient(to bottom right, #0f172a, #1e1b4b, #581c87));
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background grid */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, rgba(59,130,246,0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59,130,246,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.2;
  animation: grid-flow 20s linear infinite;
  pointer-events: none; z-index: 0;
}
@keyframes grid-flow { 0%{transform:translateY(0)} 100%{transform:translateY(60px)} }

.orb { position: fixed; border-radius: 50%; filter: blur(60px); opacity: 0.25; pointer-events: none; z-index: 0; }
.orb-1 { top:10%; left:10%; width:400px; height:400px; background:var(--primary-blue); animation:float 8s ease-in-out infinite; }
.orb-2 { bottom:10%; right:10%; width:350px; height:350px; background:var(--primary-purple); animation:float 10s ease-in-out infinite 2s; }
.orb-3 { top:50%; right:25%; width:250px; height:250px; background:var(--accent-amber); animation:float 12s ease-in-out infinite 4s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-30px)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ===== JP PREVIEW BANNER ===== */
.jp-banner {
  background: linear-gradient(90deg, rgba(234,179,8,0.15), rgba(234,179,8,0.05));
  border: 1px solid rgba(234,179,8,0.4);
  border-radius: 10px;
  padding: 12px 18px;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #fde68a;
  position: relative;
  z-index: 1;
}
.jp-banner strong { color: #fbbf24; }
.jp-banner a { color: #fbbf24; text-decoration: underline; }
.jp-banner-dismiss {
  margin-left: auto;
  background: none;
  border: none;
  color: #fbbf24;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0.7;
  padding: 0 4px;
}
.jp-banner-dismiss:hover { opacity: 1; }
nav.container {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}
.logo { 
  display:flex; 
  align-items:center; 
  gap:12px; 
  text-decoration:none; 
  padding: 8px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(59,130,246,0.4);
}
.logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168,85,247,0.5);
}
.logo-icon {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon img {
  height: 55px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}
@media (max-width: 768px) {
  .logo {
    padding: 6px 10px;
  }
  .logo-icon img {
    height: 45px;
  }
}
.logo-text {
  font-family: 'Space Mono', monospace;
  font-size: 1.5rem; font-weight: bold;
  background: linear-gradient(90deg, #93c5fd, #c4b5fd, #fda4af);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-logo img { width:32px; height:32px; border-radius:8px; object-fit:cover; }
.nav-logo span { font-family:'Bebas Neue',sans-serif; font-size:1.2rem; color:#f1f5f9; letter-spacing:0.05em; }
.nav-links { display:flex; gap:32px; align-items:center; }
.nav-links a { color:var(--text-light); text-decoration:none; font-weight:500; transition:color 0.3s; }
.nav-links a:hover { color:white; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color:white; padding:12px 24px; border-radius:8px; text-decoration:none;
  font-weight:bold; display:inline-flex; align-items:center; gap:8px;
  transition:transform 0.3s,box-shadow 0.3s; border:none; cursor:pointer;
  box-shadow: 0 4px 20px rgba(59,130,246,0.4);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(168,85,247,0.5); }
.btn-secondary {
  background: rgba(255,255,255,0.1); backdrop-filter:blur(10px);
  border: 2px solid rgba(255,255,255,0.2); color:white;
  padding:12px 24px; border-radius:8px; text-decoration:none;
  font-weight:bold; display:inline-flex; align-items:center; gap:8px;
  transition:all 0.3s; cursor:pointer;
}
.btn-secondary:hover { background:rgba(255,255,255,0.2); border-color:rgba(255,255,255,0.4); transform:translateY(-2px); }

/* ===== HERO ===== */
.set-hero {
  padding: 60px 0 80px;
  position: relative;
  scroll-margin-top: 60px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; color: var(--text-muted);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text-light); }
.breadcrumb span { color: var(--text-muted); }

.hero-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 16px;
  background:linear-gradient(135deg,rgba(59,130,246,0.2),rgba(168,85,247,0.2));
  border:1px solid rgba(59,130,246,0.3); border-radius:999px;
  font-size:0.875rem; margin-bottom:24px;
  animation: fadeInUp 0.8s ease-out backwards;
}
.set-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem; line-height: 1.05; margin-bottom: 16px;
  animation: fadeInUp 0.8s ease-out 0.15s backwards;
}
.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  background-size:200% 100%; animation:gradient-shift 3s ease infinite;
}
@keyframes gradient-shift { 0%,100%{opacity:1} 50%{opacity:0.85} }

.set-desc {
  font-size:1.1rem; color:rgba(226,232,240,0.85); margin-bottom:32px;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}
.set-stats {
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
  animation: fadeInUp 0.8s ease-out 0.45s backwards;
}
.stat-card {
  background:rgba(30,41,59,0.7); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.08); border-radius:12px;
  padding:16px; text-align:center;
}
.stat-card-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.stat-card-logo img {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.stat-value { font-family:'Space Mono',monospace; font-size:1.5rem; font-weight:bold; color:white; }
.stat-label { font-size:0.75rem; color:var(--text-muted); margin-top:4px; text-transform:uppercase; letter-spacing:0.05em; }

/* Hero image card stack */
.hero-visual { position:relative; display:flex; justify-content:center; align-items:center; min-height:400px; }
.card-stack { position:relative; width:260px; height:360px; }
.card-stack img {
  position:absolute; width:180px; height:auto; border-radius:12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transition: transform 0.3s;
  object-fit: contain;
}
.card-stack img:nth-child(1) { left:80px; top:20px; z-index:3; transform:rotate(3deg); }
.card-stack img:nth-child(2) { left:40px; top:40px; z-index:2; transform:rotate(-4deg); }
.card-stack img:nth-child(3) { left:10px; top:60px; z-index:1; transform:rotate(-10deg); }
.card-stack img:hover { transform:rotate(0) scale(1.05) !important; z-index:10; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; scroll-margin-top: 60px; }
.section-header { text-align:center; margin-bottom:48px; }
.section-title { font-family:'Bebas Neue',sans-serif; font-size:2.5rem; margin-bottom:12px; }
.section-sub { color:var(--text-muted); font-size:1rem; }

.section-divider {
  height:1px; background:linear-gradient(90deg,transparent,rgba(59,130,246,0.4),rgba(168,85,247,0.4),transparent);
  margin:0;
}

/* ===== CHASE CARDS ===== */
.chase-slider {
  display:flex; gap:20px;
  overflow-x:auto; padding:8px 4px 20px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(168,85,247,0.8) rgba(255,255,255,0.08);
}
.chase-slider::-webkit-scrollbar { height:6px; }
.chase-slider::-webkit-scrollbar-track { background:rgba(255,255,255,0.08); border-radius:3px; }
.chase-slider::-webkit-scrollbar-thumb { background:rgba(168,85,247,0.8); border-radius:3px; }
.chase-slider::-webkit-scrollbar-thumb:hover { background:rgba(168,85,247,1); }
.chase-card {
  flex:0 0 200px; scroll-snap-align:start;
  background:rgba(30,41,59,0.7); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.08); border-radius:16px;
  overflow:hidden; transition:transform 0.3s,box-shadow 0.3s;
  cursor:pointer;
  display:flex; flex-direction:column;
  height:520px;
}
.chase-card:hover { transform:translateY(-6px); box-shadow:0 20px 50px rgba(168,85,247,0.3); }
.chase-card-img {
  width:100%; aspect-ratio:245/337; object-fit:contain;
  background:rgba(15,23,42,0.5);
  display:block; flex-shrink:0;
}
.chase-card-info { padding:16px; display:flex; flex-direction:column; flex:1; }
.chase-card-name { font-weight:700; font-size:1rem; margin-bottom:4px; height:2.6rem; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.chase-card-number-wrap { min-height:1.4rem; margin-bottom:8px; }
.chase-card-rarity-wrap { min-height:2rem; display:flex; align-items:center; margin-bottom:4px; }
.chase-card-price-wrap { min-height:2.5rem; display:flex; align-items:center; justify-content:center; border-top:1px solid rgba(255,255,255,0.07); margin-top:8px; padding-top:8px; }
.chase-card-number { font-size:0.8rem; color:var(--text-muted); margin-bottom:8px; font-family:'Space Mono',monospace; min-height:1.4rem; }
.chase-card-price {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 8px;
  padding-top: 8px;
  text-align: center;
  min-height: 40px;
}
.price-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #22c55e;
  font-family: 'Space Mono', monospace;
}
.price-count {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-style: italic;
  display: block;
  margin-top: 2px;
}
.chase-card-price-loading {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 8px 0;
  min-height: 40px;
}
.rarity-badge {
  display:inline-flex; align-items:center; gap:4px;
  padding:3px 10px; border-radius:999px; font-size:0.72rem; font-weight:700;
  text-transform:uppercase; letter-spacing:0.05em;
}
.rarity-sir { background:linear-gradient(135deg,rgba(251,191,36,0.2),rgba(168,85,247,0.2)); border:1px solid rgba(251,191,36,0.4); color:#fbbf24; }
.rarity-hr { background:linear-gradient(135deg,rgba(251,191,36,0.2),rgba(239,68,68,0.2)); border:1px solid rgba(251,191,36,0.4); color:#fbbf24; }
.rarity-sar { background:linear-gradient(135deg,rgba(168,85,247,0.2),rgba(59,130,246,0.2)); border:1px solid rgba(168,85,247,0.4); color:#c084fc; }
.rarity-ur { background:linear-gradient(135deg,rgba(239,68,68,0.2),rgba(251,191,36,0.2)); border:1px solid rgba(239,68,68,0.4); color:#f87171; }
.buy-links { display:flex; gap:6px; margin-top:auto; padding-top:12px; flex-wrap:wrap; justify-content:center; }
.buy-links .buy-link { flex:1; text-align:center; justify-content:center; min-width:0; }
.buy-link {
  padding:4px 7px; border-radius:6px; font-size:0.68rem; font-weight:700;
  text-decoration:none; transition:all 0.2s; display:inline-flex; align-items:center; gap:4px;
}
.buy-amazon { background:rgba(251,191,36,0.15); border:1px solid rgba(251,191,36,0.3); color:var(--accent-amber); }
.buy-amazon:hover { background:rgba(251,191,36,0.25); }
.buy-ebay { background:rgba(59,130,246,0.15); border:1px solid rgba(59,130,246,0.3); color:#93c5fd; }
.buy-ebay:hover { background:rgba(59,130,246,0.25); }
.buy-ebay-featured {
  background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(168,85,247,0.25));
  border: 1px solid rgba(59,130,246,0.5);
  font-weight: 800;
}
.buy-ebay-featured:hover { background: linear-gradient(135deg, rgba(59,130,246,0.35), rgba(168,85,247,0.35)); }
.buy-tcgp { background:rgba(74,222,128,0.15); border:1px solid rgba(74,222,128,0.3); color:var(--accent-green); }
.buy-tcgp:hover { background:rgba(74,222,128,0.25); }

/* ===== PRODUCTS ===== */
.product-filter-bar { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; }
.filter-btn {
  padding:7px 16px; background:rgba(30,41,59,0.8);
  border:1px solid rgba(255,255,255,0.12); border-radius:999px;
  color:var(--text-muted); font-family:'DM Sans',sans-serif;
  font-size:0.82rem; font-weight:600; cursor:pointer; transition:all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background:linear-gradient(135deg,rgba(59,130,246,0.3),rgba(168,85,247,0.3));
  border-color:rgba(168,85,247,0.5); color:white;
}
.products-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:24px; }
.product-card[data-hidden="true"] { display:none; }
.product-card {
  background:rgba(30,41,59,0.7); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.08); border-radius:16px;
  overflow:hidden; transition:transform 0.3s,box-shadow 0.3s;
}
.product-card:hover { transform:translateY(-4px); box-shadow:0 16px 40px rgba(59,130,246,0.2); }
.product-img-wrap {
  width:100%; aspect-ratio:1; background:rgba(15,23,42,0.6);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.product-img-wrap img { width:90%; height:90%; object-fit:contain; transition:transform 0.3s; }
.product-card:hover .product-img-wrap img { transform:scale(1.05); }
.product-info { padding:20px; }
.product-type {
  font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.08em;
  color:var(--primary-purple); margin-bottom:6px;
}
.product-name { font-size:1rem; font-weight:700; margin-bottom:12px; line-height:1.3; }
.product-links { display:flex; flex-direction:column; gap:8px; }
.product-link-row {
  display:flex; align-items:center; justify-content:space-between;
  padding:8px 12px; border-radius:8px; text-decoration:none;
  font-size:0.85rem; font-weight:600; transition:all 0.2s;
}
.pl-amazon { background:rgba(251,191,36,0.12); border:1px solid rgba(251,191,36,0.25); color:var(--accent-amber); }
.pl-amazon:hover { background:rgba(251,191,36,0.22); }
.pl-ebay { background:rgba(59,130,246,0.12); border:1px solid rgba(59,130,246,0.25); color:#93c5fd; }
.pl-ebay:hover { background:rgba(59,130,246,0.22); }
.pl-tcgp { background:rgba(74,222,128,0.12); border:1px solid rgba(74,222,128,0.25); color:var(--accent-green); }
.pl-tcgp:hover { background:rgba(74,222,128,0.22); }

/* ===== CARD LIST ===== */
.filter-bar {
  display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:28px;
}
.filter-input {
  flex:1; min-width:200px; background:rgba(30,41,59,0.8);
  border:1px solid rgba(255,255,255,0.12); border-radius:10px;
  padding:10px 16px; color:white; font-size:0.9rem; font-family:'DM Sans',sans-serif;
  outline:none; transition:border-color 0.2s;
}
.filter-input:focus { border-color:rgba(59,130,246,0.5); }
.filter-input::placeholder { color:var(--text-muted); }
.filter-select {
  background:rgba(30,41,59,0.8); border:1px solid rgba(255,255,255,0.12);
  border-radius:10px; padding:10px 16px; color:white;
  font-size:0.9rem; font-family:'DM Sans',sans-serif; outline:none; cursor:pointer;
  transition:border-color 0.2s;
}
.filter-select:focus { border-color:rgba(59,130,246,0.5); }
.filter-select option { background:#1e293b; }

.card-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px;
}
.card-item {
  background:rgba(15,23,42,0.85); border:1px solid rgba(255,255,255,0.07);
  border-radius:12px; overflow:hidden; cursor:pointer;
  transition:transform 0.2s,box-shadow 0.2s,border-color 0.2s;
}
.card-item:hover { transform:translateY(-3px); box-shadow:0 12px 35px rgba(0,0,0,0.5); border-color:rgba(59,130,246,0.3); }
.card-item img { width:100%; aspect-ratio:245/337; display:block; object-fit:contain; background:rgba(15,23,42,0.85); }
.card-item-info { padding:8px; }
.card-item-name { font-size:0.75rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.card-item-num { font-size:0.65rem; color:var(--text-muted); font-family:'Space Mono',monospace; }
.card-item-price { font-size:0.7rem; font-weight:700; color:#22c55e; font-family:'Space Mono',monospace; margin-top:2px; }
.card-item-price.loading { color:var(--text-muted); font-weight:400; font-style:italic; }
.card-count { color:var(--text-muted); font-size:0.9rem; margin-bottom:16px; }
#load-more-btn {
  display:block; margin:32px auto 0;
  background:rgba(59,130,246,0.15); border:1px solid rgba(59,130,246,0.3);
  color:#93c5fd; padding:12px 32px; border-radius:10px;
  font-family:'DM Sans',sans-serif; font-weight:700; font-size:0.95rem;
  cursor:pointer; transition:all 0.2s;
}
#load-more-btn:hover { background:rgba(59,130,246,0.25); }

/* ===== MODAL ===== */
.modal-overlay {
  display:none; position:fixed; inset:0; z-index:1000;
  background:rgba(0,0,0,0.75); backdrop-filter:blur(6px);
  align-items:center; justify-content:center; padding:20px;
}
.modal-overlay.open { display:flex; }
.modal {
  background:linear-gradient(135deg,#1e293b,#162032); border:1px solid rgba(255,255,255,0.12);
  border-radius:20px; max-width:820px; width:100%; max-height:90vh; overflow-y:auto;
  position:relative; animation:fadeInUp 0.3s ease-out;
}
.modal-close {
  position:absolute; top:16px; right:16px; background:rgba(255,255,255,0.08);
  border:none; border-radius:8px; color:white; width:32px; height:32px;
  cursor:pointer; font-size:1.2rem; display:flex; align-items:center; justify-content:center;
  transition:background 0.2s; z-index:10;
}
.modal-close:hover { background:rgba(255,255,255,0.15); }
.modal-inner { display:grid; grid-template-columns:380px 1fr; gap:32px; padding:36px; align-items:start; }
.modal-img { width:100%; aspect-ratio:2.5/3.5; object-fit:contain; border-radius:16px; box-shadow:0 20px 60px rgba(0,0,0,0.7); }
.modal-name { font-size:1.3rem; font-weight:700; margin-bottom:6px; }
.modal-meta { font-size:0.85rem; color:var(--text-muted); margin-bottom:4px; font-family:'Space Mono',monospace; }
.modal-links { margin-top:16px; display:flex; flex-direction:column; gap:10px; }
.modal-buy-link {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px; border-radius:10px; text-decoration:none; font-weight:700;
  font-size:0.9rem; transition:all 0.2s;
}

/* type badges */
.badge-box { background:rgba(107,33,168,0.25); color:#c084fc; border:1px solid rgba(107,33,168,0.4); }
.badge-etb { background:rgba(59,130,246,0.25); color:#93c5fd; border:1px solid rgba(59,130,246,0.4); }
.badge-bundle { background:rgba(22,163,74,0.25); color:#86efac; border:1px solid rgba(22,163,74,0.4); }
.badge-collection { background:rgba(220,38,38,0.25); color:#fca5a5; border:1px solid rgba(220,38,38,0.4); }
.badge-case { background:rgba(120,53,15,0.25); color:#fcd34d; border:1px solid rgba(120,53,15,0.4); }
.badge-battle { background:rgba(14,165,233,0.25); color:#7dd3fc; border:1px solid rgba(14,165,233,0.4); }

/* ===== FOOTER ===== */
footer {
  background:rgba(15,23,42,0.8); backdrop-filter:blur(10px);
  border-top:1px solid rgba(255,255,255,0.1); padding:64px 0 32px;
}
.footer-content { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:48px; margin-bottom:48px; }
.footer-section h3 { font-size:1.25rem; margin-bottom:16px; }
.footer-links { list-style:none; }
.footer-links li { margin-bottom:12px; }
.footer-links a { color:var(--text-muted); text-decoration:none; transition:color 0.3s; }
.footer-links a:hover { color:var(--text-light); }
.footer-disclaimer { border-top:1px solid rgba(255,255,255,0.06); margin-top:32px; padding-top:24px; margin-bottom:24px; }
.footer-disclaimer p { color:rgba(148,163,184,0.6); font-size:0.75rem; line-height:1.6; margin-bottom:10px; }
.footer-disclaimer p:last-child { margin-bottom:0; }
.footer-bottom { text-align:center; padding-top:16px; border-top:1px solid rgba(255,255,255,0.1); color:var(--text-muted); }

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  transition: all 0.3s;
}
.hamburger:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2147483646;
  animation: fadeIn 0.2s;
}
.hamburger-overlay.open { display: block; }

.hamburger-menu {
  display: none;
  flex-direction: column;
  background: #1a1040;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px;
  position: fixed;
  top: 80px;
  left: auto;
  right: 24px;
  width: 200px;
  max-width: 400px;
  z-index: 2147483647;
  box-shadow: 0 16px 48px rgba(0,0,0,0.9);
  animation: slideDown 0.3s ease-out;
}
.hamburger-menu.open { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hamburger-menu-item {
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.15s;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hamburger-menu-item:hover { 
  background: rgba(59,130,246,0.15); 
  color: white;
}
.hamburger-menu-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 8px 0;
}

/* Pokemon Sets Grid View */
.pokemon-sets-view {
  display: none;
  flex-direction: column;
  background: #1a1040;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px;
  position: fixed;
  top: 80px;
  left: 16px;
  right: 16px;
  bottom: 80px;
  z-index: 2147483647;
  box-shadow: 0 16px 48px rgba(0,0,0,0.9);
  animation: slideDown 0.3s ease-out;
  overflow-y: auto;
}
.pokemon-sets-view.open { display: flex; }

.pokemon-sets-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.back-button {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  font-weight: 500;
}
.back-button:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

.pokemon-sets-title {
  font-family: 'Space Mono', monospace;
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(90deg, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sets-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}
.filter-tab.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  border-color: transparent;
  color: white;
}

.sets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.set-card {
  background: linear-gradient(135deg, rgba(30,41,59,0.8), rgba(15,23,42,0.8));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.set-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}
.set-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.set-card.disabled:hover {
  transform: none;
  box-shadow: none;
}

.set-card-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.set-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.set-card-content {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.set-card-name {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 4px;
  line-height: 1.3;
}

.set-card-info {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-top: auto;
}

.set-card-soon {
  display: inline-block;
  font-size: 0.65rem;
  background: rgba(255,255,255,0.08);
  padding: 3px 8px;
  border-radius: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.series-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 16px 0 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.series-label:first-child {
  margin-top: 0;
  border-top: none;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {
  .hero-grid { grid-template-columns:1fr; }
  .hero-visual { display:none; }
  .set-title { font-size:2.5rem; }
  .section-title { font-size:2rem; }
  .set-stats { grid-template-columns:repeat(2,1fr); }
  .modal-inner { grid-template-columns:1fr; }
  .modal-img { max-width:380px; margin:0 auto; display:block; aspect-ratio:2.5/3.5; object-fit:contain; }
  .card-grid { grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); }
  .sets-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-links a:not(.btn-primary) {
    display: none;
  }
  .hamburger-menu {
    right: 16px;
  }
}

@media (min-width: 769px) {
  .sets-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  
  .pokemon-sets-view {
    left: 50%;
    transform: translateX(-50%);
    max-width: 800px;
    right: auto;
  }
}

/* ===== SECTION NAV BAR ===== */
.section-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,15,30,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0;
}
.section-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}
.section-nav-inner::-webkit-scrollbar { display: none; }
.nav-short { display: none; }
@media (max-width: 640px) {
  .section-nav-inner { padding: 0 4px; gap: 0; flex-wrap: nowrap; justify-content: space-between; width: 100%; }
  .section-nav-btn { padding: 10px 4px; font-size: 0.65rem; letter-spacing: 0; flex: 1; text-align: center; white-space: nowrap; }
  .nav-full { display: none; }
  .nav-short { display: inline; }
  .nav-home-btn { display: none; }
}
.section-nav-btn {
  flex-shrink: 0;
  padding: 14px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.section-nav-btn:hover { color: var(--text-primary); }
.section-nav-btn.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

/* ===== CHASE SLIDER ARROWS ===== */
.chase-slider-wrap { position:relative; }
.chase-arrow {
  position:absolute; top:50%; transform:translateY(-60%);
  width:44px; height:44px; border-radius:50%;
  background:rgba(15,23,42,0.85); backdrop-filter:blur(8px);
  border:1px solid rgba(168,85,247,0.5);
  color:#c084fc; font-size:1.2rem;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; z-index:10;
  transition:background 0.2s, border-color 0.2s, opacity 0.2s;
  opacity:0.85;
}
.chase-arrow:hover { background:rgba(168,85,247,0.2); border-color:rgba(168,85,247,0.9); opacity:1; }
.chase-arrow.hidden { opacity:0; pointer-events:none; }
.chase-arrow-left  { left:-22px; }
.chase-arrow-right { right:-22px; }

/* ===== SETS DROPDOWN IN SECTION NAV ===== */
.section-nav-sets { position: relative; flex-shrink: 0; }
.section-nav-sets-btn {
  padding: 14px 20px; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted);
  background: none; border: none; border-bottom: 2px solid transparent;
  cursor: pointer; transition: color 0.2s; white-space: nowrap; font-family: inherit;
  display: flex; align-items: center; gap: 6px;
}
.section-nav-sets-btn:hover { color: var(--text-primary); }
.section-nav-sets-btn.open { color: var(--primary-blue); border-bottom-color: var(--primary-blue); }
.section-nav-dropdown {
  display: none; position: absolute; right: 0; top: 100%;
  width: 260px; background: rgba(10,15,30,0.98); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 8px;
  z-index: 500; max-height: 400px; overflow-y: auto; box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  margin-top: 4px;
}
.section-nav-dropdown.open { display: block; }
.nav-dropdown-set {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 8px; text-decoration: none; color: var(--text-primary);
  font-size: 0.85rem; transition: background 0.15s;
}
.nav-dropdown-set:hover { background: rgba(255,255,255,0.06); }
.nav-dropdown-set.current { background: rgba(59,130,246,0.15); color: var(--primary-blue); }
.nav-dropdown-set.disabled { color: var(--text-muted); pointer-events: none; }
.nav-dropdown-set img { width:32px; height:20px; object-fit:contain; }
.nav-dropdown-series { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); padding: 8px 12px 4px; }
button,a,[onclick]{touch-action:manipulation}
