/* ============================================================
   SATOSHI REALM TCG v2 — ASSET-LED STYLESHEET
   ============================================================ */

:root {
  --gold: #c9a227;
  --gold-light: #f0c040;
  --gold-dim: #7a5e10;
  --green: #00ff88;
  --green-dim: #00cc66;
  --green-glow: rgba(0,255,136,0.35);
  --green-glow-sm: rgba(0,255,136,0.15);
  --bg: #040404;
  --panel: rgba(4,8,4,0.85);
  --text: #e8e0cc;
  --text-muted: #8a8070;
  --font-display: 'Cinzel', serif;
  --font-ui: 'Rajdhani', sans-serif;
  --font-tech: 'Orbitron', sans-serif;
  --header-h: 80px;
  --t: 0.25s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: 16px; line-height: 1.6; overflow-x: hidden; min-height: 100vh; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ── SITE BACKGROUND ── */
.site-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.site-bg-img {
  position: absolute; inset: 0;
  background-image: url('/images/bg-circuit.png');
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.site-bg-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(0,40,15,0.6) 0%, rgba(4,4,4,0.95) 70%);
}
main { position: relative; z-index: 1; }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h); z-index: 1000;
}
.header-frame {
  position: relative; height: 100%;
  background: rgba(2,5,2,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,162,39,0.3);
  overflow: hidden;
}
.header-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  opacity: 0.35; pointer-events: none;
}
.header-inner {
  position: relative; z-index: 2;
  max-width: 1400px; margin: 0 auto;
  padding: 0 2rem; height: 100%;
  display: flex; align-items: center; gap: 2rem;
}
.header-logo {
  display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
  transition: opacity var(--t);
}
.header-logo:hover { opacity: 0.85; }
.header-logo-img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(201,162,39,0.6)); }
.header-logo-text {
  display: flex; flex-direction: column;
  font-family: var(--font-display); font-weight: 900;
  font-size: 0.7rem; letter-spacing: 0.12em; line-height: 1.2;
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(201,162,39,0.5);
}
.header-logo-text .tcg { color: var(--green); font-size: 0.65rem; letter-spacing: 0.25em; text-shadow: 0 0 8px var(--green); }

.main-nav { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
.nav-link {
  position: relative;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); padding: 0.5rem 0.85rem;
  border: 1px solid transparent; border-radius: 4px;
  transition: all var(--t);
}
.nav-link:hover { color: var(--gold-light); border-color: rgba(201,162,39,0.3); background: rgba(201,162,39,0.05); }
.nav-link.active {
  color: var(--green); border-color: rgba(0,255,136,0.3);
  background: rgba(0,255,136,0.06);
  text-shadow: 0 0 8px var(--green);
}
.nav-link.active::after {
  content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 50%; height: 1px; background: var(--green); box-shadow: 0 0 6px var(--green);
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: 1rem; }
.header-cart {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid rgba(201,162,39,0.35); border-radius: 4px;
  color: var(--text-muted); transition: all var(--t);
}
.header-cart svg { width: 18px; height: 18px; }
.header-cart:hover { color: var(--gold-light); border-color: var(--gold); background: rgba(201,162,39,0.08); }
.cart-count {
  position: absolute; top: -5px; right: -5px;
  width: 18px; height: 18px; background: var(--green); color: #000;
  font-size: 10px; font-weight: 700; font-family: var(--font-tech);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 1px solid rgba(201,162,39,0.35); border-radius: 4px;
  padding: 8px 10px; cursor: pointer; width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--gold); transition: all var(--t); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0 2rem; height: 48px; border-radius: 4px;
  border: none; cursor: pointer; transition: all var(--t);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-green {
  background: linear-gradient(135deg, #0f3d1f, #062010);
  color: var(--green); border: 1px solid var(--green-dim);
  box-shadow: 0 0 20px rgba(0,255,136,0.15), inset 0 0 20px rgba(0,255,136,0.04);
  text-shadow: 0 0 8px rgba(0,255,136,0.4);
}
.btn-green:hover {
  background: linear-gradient(135deg, #145228, #0a2a14);
  box-shadow: 0 0 35px rgba(0,255,136,0.3), inset 0 0 30px rgba(0,255,136,0.08);
  transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(135deg, #3a2800, #1a1200);
  color: var(--gold-light); border: 1px solid var(--gold-dim);
  box-shadow: 0 0 20px rgba(201,162,39,0.12);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #4d3600, #261a00);
  box-shadow: 0 0 35px rgba(201,162,39,0.25); transform: translateY(-2px);
}
.btn-sm { height: 40px; padding: 0 1.4rem; font-size: 0.7rem; }

/* ── LAYOUT ── */
.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; position: relative; }
.section-label {
  display: block; font-family: var(--font-tech); font-size: 0.6rem;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--green);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--gold-light); letter-spacing: 0.06em;
  text-shadow: 0 0 30px rgba(201,162,39,0.4);
  margin-bottom: 1rem;
}
.section-subtitle { color: var(--text-muted); font-size: 0.95rem; max-width: 580px; }

/* ── DIVIDER ── */
.img-divider { width: 100%; max-height: 40px; object-fit: cover; opacity: 0.6; margin: 1rem 0; }

/* ── CYBER FRAME WRAPPER ──
   Used to place the gold/green frame images behind content */
.cyber-frame {
  position: relative;
  padding: 3rem 3.5rem;
}
.cyber-frame-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: fill; pointer-events: none; z-index: 0;
}
.cyber-frame-content { position: relative; z-index: 1; }

/* ── CORNER OVERLAYS ── */
.with-corners { position: relative; }
.with-corners::before {
  content: ''; position: absolute; inset: -4px;
  background: url('/images/ui-corners.png') no-repeat center center;
  background-size: 100% 100%; pointer-events: none; z-index: 2;
}

/* ── HOME PAGE ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2rem) 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.45; z-index: 0;
}
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(4,4,4,0.3) 0%, rgba(4,4,4,0.7) 70%, rgba(4,4,4,1) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1300px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr auto;
  gap: 4rem; align-items: center;
}
.hero-title-stack {
  display: flex; flex-direction: column;
  font-family: var(--font-display); font-weight: 900;
  line-height: 0.88; margin-bottom: 1.5rem;
}
.hero-title-line {
  font-size: clamp(4rem, 9vw, 9rem);
  color: transparent;
  background: linear-gradient(180deg, #f5d060 0%, #c9a227 45%, #7a5010 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 30px rgba(201,162,39,0.5));
  letter-spacing: 0.06em;
  animation: fadeSlideUp 0.8s ease both;
}
.hero-title-line:nth-child(1) { animation-delay: 0.1s; }
.hero-title-line:nth-child(2) { animation-delay: 0.25s; }
.hero-title-line.tcg {
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  letter-spacing: 0.3em;
  background: linear-gradient(180deg, #00ff88, #00aa55);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0,255,136,0.6));
  animation-delay: 0.4s;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-divider-line {
  width: 240px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem 0; opacity: 0.5;
}
.hero-tagline {
  font-family: var(--font-tech); font-size: clamp(0.6rem, 1vw, 0.8rem);
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.8s ease 0.55s both;
}
.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeSlideUp 0.8s ease 0.65s both;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  animation: fadeSlideUp 0.8s ease 0.8s both;
}
.hero-badge {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1rem;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(201,162,39,0.3);
  border-radius: 3px;
  font-family: var(--font-tech); font-size: 0.58rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted);
  transition: all var(--t);
}
.hero-badge:hover { border-color: var(--green-dim); color: var(--green); box-shadow: 0 0 12px var(--green-glow-sm); }
.hero-badge-icon { font-size: 1rem; }

/* Hero card side */
.hero-card-side { position: relative; flex-shrink: 0; }
.hero-card-frame-img {
  width: 320px; position: relative; z-index: 1;
  filter: drop-shadow(0 0 40px rgba(201,162,39,0.3));
  animation: cardFloat 4s ease-in-out infinite;
}
.hero-card-artwork {
  position: absolute;
  top: 6%; left: 7%; right: 7%; bottom: 18%;
  object-fit: cover; border-radius: 4px; z-index: 0;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}

/* ── HOME: DISCOVER ── */
.discover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.discover-img-wrap { position: relative; border-radius: 8px; overflow: hidden; }
.discover-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  filter: drop-shadow(0 0 30px rgba(0,255,136,0.1));
  transition: transform 0.4s ease;
}
.discover-img-wrap:hover .discover-img { transform: scale(1.03); }
.discover-text h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--gold-light); margin-bottom: 1rem; }
.discover-text p { color: var(--text-muted); line-height: 1.85; margin-bottom: 1.5rem; font-size: 0.95rem; }

/* ── HOME: LATEST DROP ── */
.latest-drop-inner {
  position: relative; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(201,162,39,0.25);
}
.latest-drop-img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.latest-drop-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,4,4,0.92) 0%, rgba(4,4,4,0.5) 55%, transparent 100%);
  display: flex; align-items: center; padding: 3rem;
}
.latest-drop-content { max-width: 480px; }
.drop-eyebrow { font-family: var(--font-tech); font-size: 0.6rem; letter-spacing: 0.3em; color: var(--green); margin-bottom: 0.5rem; display: block; text-transform: uppercase; }
.drop-title { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 3rem); color: var(--gold-light); margin-bottom: 0.75rem; line-height: 1; }
.drop-desc { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.5rem; line-height: 1.8; }

/* ── HOME: BRAND SCENE ── */
.brand-scene { position: relative; overflow: hidden; border-radius: 10px; margin-top: 1rem; }
.brand-scene-img { width: 100%; max-height: 500px; object-fit: cover; }
.brand-scene-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(4,4,4,0.9) 100%);
  display: flex; align-items: flex-end; padding: 3rem;
}
.brand-scene-text { text-align: center; width: 100%; }
.brand-scene-text h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2.2rem); color: var(--gold-light); margin-bottom: 0.5rem; }
.brand-scene-text p { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 0.1em; }

/* ── SHOP PAGE ── */
.shop-banner-wrap { position: relative; margin-top: var(--header-h); overflow: hidden; }
.shop-banner-img { width: 100%; max-height: 380px; object-fit: cover; object-position: center; display: block; }
.shop-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(4,4,4,0.85) 100%);
}

.shop-filter-wrap { position: relative; margin-bottom: 3rem; }
.shop-filter-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: fill; pointer-events: none; z-index: 0; opacity: 0.85;
}
.shop-filter-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1.2rem 2rem; flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-ui); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.55rem 1.4rem; background: transparent;
  color: var(--text-muted); border: 1px solid rgba(201,162,39,0.3);
  border-radius: 3px; cursor: pointer; transition: all var(--t);
}
.filter-btn:hover, .filter-btn.active {
  color: var(--green); border-color: var(--green-dim);
  background: rgba(0,255,136,0.07);
  box-shadow: 0 0 12px var(--green-glow-sm);
}

/* ── PRODUCT GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-bottom: 4rem;
}
.product-card {
  background: rgba(6,10,6,0.7);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 8px; overflow: hidden;
  transition: all var(--t); cursor: pointer;
  position: relative;
}
.product-card:hover {
  border-color: rgba(201,162,39,0.6);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(201,162,39,0.1);
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0; transition: opacity var(--t);
}
.product-card:hover::before { opacity: 0.5; }
.product-img-wrap {
  position: relative;
  background: linear-gradient(135deg, #060e07, #0d1e10);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; aspect-ratio: 1;
  overflow: hidden;
}
.product-img {
  max-height: 220px; width: auto; object-fit: contain;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5));
}
.product-card:hover .product-img { transform: scale(1.06) translateY(-4px); }
.product-info { padding: 1.25rem; }
.product-name { font-family: var(--font-display); font-size: 0.9rem; color: var(--gold-light); letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.product-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.75rem; }
.product-price { font-family: var(--font-tech); font-size: 0.85rem; color: var(--green); letter-spacing: 0.1em; margin-bottom: 1rem; }
.product-add { width: 100%; }

/* ── SHOP PROMO ── */
.shop-promo-wrap { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid rgba(201,162,39,0.2); }
.shop-promo-img { width: 100%; max-height: 380px; object-fit: cover; display: block; }
.shop-promo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,4,4,0.9) 0%, rgba(4,4,4,0.4) 60%, transparent 100%);
  display: flex; align-items: center; padding: 3rem;
}
.shop-promo-text h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2.2rem); color: var(--gold-light); margin-bottom: 0.5rem; }
.shop-promo-text p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; max-width: 380px; line-height: 1.8; }

/* ── ABOUT PAGE ── */
.about-hero-wrap { position: relative; margin-top: var(--header-h); overflow: hidden; }
.about-hero-img { width: 100%; max-height: 500px; object-fit: cover; display: block; }
.about-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,4,4,0.4) 0%, rgba(4,4,4,0.95) 100%);
  display: flex; align-items: flex-end; padding: 3rem;
}
.about-hero-text h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); color: var(--gold-light); margin-bottom: 0.5rem; line-height: 1.1; }
.about-hero-text h1 span { display: block; color: var(--gold); }
.about-hero-text p { color: var(--text-muted); max-width: 600px; line-height: 1.85; font-size: 1rem; }

/* About mission panel */
.about-mission-wrap {
  position: relative; margin: 3rem 0;
  border-radius: 10px; overflow: hidden;
}
.about-mission-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.3; z-index: 0;
}
.about-mission-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  padding: 3rem; border: 1px solid rgba(201,162,39,0.25); border-radius: 10px;
}
.about-emblem-img {
  width: 280px; margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(201,162,39,0.4));
  animation: emblemPulse 3s ease-in-out infinite;
}
@keyframes emblemPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(201,162,39,0.35)); }
  50% { filter: drop-shadow(0 0 60px rgba(201,162,39,0.65)); }
}
.about-mission-text h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-light); margin-bottom: 1rem; }
.about-mission-text p { color: var(--text-muted); line-height: 1.9; font-size: 0.95rem; margin-bottom: 1rem; }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.feature-card {
  background: rgba(4,8,4,0.8); border: 1px solid rgba(201,162,39,0.25);
  border-radius: 8px; padding: 1.75rem 1.25rem; text-align: center;
  transition: all var(--t); position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0; transition: opacity var(--t);
}
.feature-card:hover { border-color: rgba(0,255,136,0.4); transform: translateY(-4px); box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 20px var(--green-glow-sm); }
.feature-card:hover::after { opacity: 0.8; }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; filter: drop-shadow(0 0 10px var(--green)); }
.feature-card h3 { font-family: var(--font-tech); font-size: 0.65rem; letter-spacing: 0.2em; color: var(--gold-light); text-transform: uppercase; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* About CTA */
.about-cta {
  margin-top: 4rem; padding: 3.5rem;
  background: linear-gradient(135deg, rgba(0,25,10,0.6), rgba(4,4,4,0.8));
  border: 1px solid rgba(201,162,39,0.25); border-radius: 10px;
  text-align: center; position: relative; overflow: hidden;
}
.about-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,255,136,0.05), transparent 70%);
}
.about-cta h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem); color: var(--gold-light); margin-bottom: 1rem; }
.about-cta p { color: var(--text-muted); font-family: var(--font-tech); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; line-height: 2; margin-bottom: 2rem; }

/* ── RULES PAGE ── */
.rules-hero-wrap { position: relative; margin-top: var(--header-h); overflow: hidden; }
.rules-hero-img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.rules-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,4,4,0.35) 0%, rgba(4,4,4,0.95) 100%);
  display: flex; align-items: flex-end; padding: 3rem;
}
.rules-hero-text h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); color: var(--gold-light); margin-bottom: 0.5rem; }
.rules-hero-text p { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 0.1em; }

.rules-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 3rem; }
.rules-card-frame-wrap { position: relative; }
.rules-card-frame-img { width: 100%; border-radius: 8px; filter: drop-shadow(0 0 25px rgba(0,255,136,0.1)); }

.rules-stat-panel-wrap { position: relative; margin-top: 2rem; border-radius: 8px; overflow: hidden; }
.rules-stat-panel-img { width: 100%; display: block; opacity: 0.35; }
.rules-stat-content {
  position: absolute; inset: 0;
  padding: 2rem; display: flex; flex-direction: column; justify-content: center;
}

.rules-sections { display: flex; flex-direction: column; gap: 1rem; }
.rule-block {
  background: rgba(4,8,4,0.75); border: 1px solid rgba(201,162,39,0.2);
  border-radius: 6px; padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--green-dim);
  transition: all var(--t);
}
.rule-block:hover { border-color: rgba(201,162,39,0.45); background: rgba(6,14,6,0.85); }
.rule-block h3 { font-family: var(--font-tech); font-size: 0.65rem; letter-spacing: 0.2em; color: var(--gold-light); text-transform: uppercase; margin-bottom: 0.4rem; }
.rule-block p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.rule-stat { display: inline-block; font-family: var(--font-tech); font-size: 0.6rem; letter-spacing: 0.15em; color: var(--green); background: rgba(0,255,136,0.08); border: 1px solid var(--green-dim); border-radius: 3px; padding: 2px 8px; margin-bottom: 0.4rem; }

/* ── FUTURE RELEASES ── */
.releases-hero-wrap { position: relative; margin-top: var(--header-h); overflow: hidden; }
.releases-hero-img { width: 100%; max-height: 460px; object-fit: cover; display: block; }
.releases-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,4,4,0.25) 0%, rgba(4,4,4,0.95) 100%);
  display: flex; align-items: flex-end; padding: 3rem;
}
.releases-hero-text h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); color: var(--gold-light); margin-bottom: 0.5rem; }
.releases-hero-text p { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 0.12em; }

.releases-timeline-wrap { position: relative; margin: 2rem 0; border-radius: 8px; overflow: hidden; }
.releases-timeline-img { width: 100%; display: block; max-height: 200px; object-fit: cover; }
.releases-timeline-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  padding: 1rem 3rem; overflow-x: auto;
}

.releases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.release-card {
  position: relative; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(201,162,39,0.2); background: rgba(4,8,4,0.8);
  transition: all var(--t);
}
.release-card:hover { border-color: rgba(0,255,136,0.4); transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px var(--green-glow-sm); }
.release-card-bg {
  width: 100%; aspect-ratio: 3/2; object-fit: cover; opacity: 0.3;
  transition: opacity 0.4s ease;
}
.release-card:hover .release-card-bg { opacity: 0.45; }
.release-card-content {
  position: absolute; inset: 0; padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 20%, rgba(4,4,4,0.9) 100%);
}
.release-number { font-family: var(--font-tech); font-size: 0.55rem; letter-spacing: 0.3em; color: var(--green); margin-bottom: 0.3rem; }
.release-name { font-family: var(--font-display); font-size: 1rem; color: var(--gold-light); letter-spacing: 0.06em; margin-bottom: 0.3rem; }
.release-status { font-family: var(--font-tech); font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; }
.release-status.locked { color: var(--text-muted); }
.release-status.upcoming { color: var(--green); }
.release-lock { position: absolute; top: 1rem; right: 1rem; font-size: 1.2rem; opacity: 0.5; }

/* Reveal grid */
.releases-reveal-wrap { position: relative; margin-top: 4rem; border-radius: 10px; overflow: hidden; }
.releases-reveal-img { width: 100%; max-height: 480px; object-fit: cover; display: block; opacity: 0.6; }
.releases-reveal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,4,4,0.6) 0%, rgba(4,4,4,0.7) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3rem; text-align: center;
}
.releases-reveal-overlay h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--gold-light); margin-bottom: 0.75rem; }
.releases-reveal-overlay p { color: var(--text-muted); font-size: 0.9rem; max-width: 500px; margin-bottom: 2rem; line-height: 1.8; }

/* ── FAQ PAGE ── */
.faq-hero { padding: calc(var(--header-h) + 3rem) 0 2rem; text-align: center; }
.faq-list { max-width: 780px; margin: 2rem auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: rgba(4,8,4,0.75); border: 1px solid rgba(201,162,39,0.22);
  border-radius: 6px; overflow: hidden; transition: border-color var(--t);
}
.faq-item.open { border-color: rgba(0,255,136,0.35); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem; cursor: pointer;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem;
  color: var(--text); gap: 1rem; user-select: none;
  transition: color var(--t);
}
.faq-q:hover, .faq-item.open .faq-q { color: var(--gold-light); }
.faq-chevron { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; transition: transform var(--t); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--green); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding var(--t); padding: 0 1.5rem; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.5rem 1.25rem; }
.faq-a p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.85; }

/* ── CART ── */
.cart-page { padding: calc(var(--header-h) + 3rem) 0 4rem; }
.cart-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 1rem; align-items: center;
  background: rgba(4,8,4,0.8); border: 1px solid rgba(201,162,39,0.22);
  border-radius: 6px; padding: 1rem; margin-bottom: 1rem;
}
.cart-item-thumb { width: 80px; height: 80px; object-fit: contain; border-radius: 4px; background: rgba(0,0,0,0.4); padding: 0.5rem; }
.cart-item-name { font-family: var(--font-display); font-size: 0.88rem; color: var(--gold-light); margin-bottom: 0.25rem; }
.cart-item-price { font-family: var(--font-tech); font-size: 0.78rem; color: var(--green); }
.qty-control { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.qty-btn { width: 28px; height: 28px; background: transparent; border: 1px solid rgba(201,162,39,0.3); border-radius: 3px; color: var(--gold); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background var(--t); }
.qty-btn:hover { background: rgba(201,162,39,0.1); }
.qty-val { font-family: var(--font-tech); font-size: 0.85rem; color: var(--text); min-width: 24px; text-align: center; }
.cart-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.1rem; transition: color var(--t); }
.cart-remove:hover { color: #ff4444; }
.cart-summary {
  background: rgba(4,8,4,0.85); border: 1px solid rgba(201,162,39,0.25);
  border-radius: 8px; padding: 1.75rem;
  position: sticky; top: calc(var(--header-h) + 1rem);
}
.cart-summary h3 { font-family: var(--font-display); font-size: 1rem; color: var(--gold-light); margin-bottom: 1.25rem; letter-spacing: 0.08em; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); padding: 0.5rem 0; border-bottom: 1px solid rgba(201,162,39,0.1); }
.summary-total { font-family: var(--font-tech); color: var(--gold-light) !important; font-size: 0.95rem !important; border: none !important; padding-top: 1rem !important; }
.summary-total span { color: var(--green); }
.checkout-note { margin-top: 1rem; padding: 0.75rem; background: rgba(0,255,136,0.04); border: 1px solid rgba(0,255,136,0.2); border-radius: 4px; font-size: 0.7rem; color: var(--text-muted); text-align: center; line-height: 1.6; }
.checkout-note strong { color: var(--green); }
.empty-cart { text-align: center; padding: 5rem 2rem; }
.empty-cart-icon { font-size: 4rem; opacity: 0.25; margin-bottom: 1rem; }
.empty-cart h2 { font-family: var(--font-display); color: var(--gold-light); margin-bottom: 0.75rem; }
.empty-cart p { color: var(--text-muted); margin-bottom: 2rem; }

/* ── CHECKOUT ── */
.checkout-page { padding: calc(var(--header-h) + 3rem) 0 4rem; }
.form-grid { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-family: var(--font-tech); font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dim); }
.form-input {
  background: rgba(0,0,0,0.5); border: 1px solid rgba(201,162,39,0.3);
  border-radius: 4px; padding: 0.75rem 1rem;
  color: var(--text); font-family: var(--font-ui); font-size: 0.9rem;
  outline: none; transition: border-color var(--t);
}
.form-input:focus { border-color: var(--green-dim); box-shadow: 0 0 10px var(--green-glow-sm); }
.form-input::placeholder { color: var(--text-muted); opacity: 0.4; }
.form-panel { background: rgba(4,8,4,0.8); border: 1px solid rgba(201,162,39,0.22); border-radius: 8px; padding: 2rem; }
.form-panel h3 { font-family: var(--font-display); font-size: 1rem; color: var(--gold-light); letter-spacing: 0.08em; margin-bottom: 1.5rem; }

/* ── 404 ── */
.page-404 { padding: calc(var(--header-h) + 5rem) 0; text-align: center; }
.error-num { font-family: var(--font-tech); font-size: clamp(5rem, 15vw, 12rem); color: transparent; -webkit-text-stroke: 2px rgba(201,162,39,0.3); line-height: 1; margin-bottom: 1rem; }

/* ── FOOTER ── */
.site-footer { position: relative; background: rgba(2,4,2,0.95); border-top: 1px solid rgba(201,162,39,0.2); margin-top: 4rem; }
.footer-divider img { width: 100%; height: 32px; object-fit: cover; object-position: center; opacity: 0.5; }
.footer-frame { position: relative; overflow: hidden; }
.footer-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.2; pointer-events: none; }
.footer-inner {
  position: relative; z-index: 1;
  max-width: 1300px; margin: 0 auto; padding: 3rem 2rem 2rem;
  display: grid; grid-template-columns: 220px 1fr auto; gap: 3rem; align-items: start;
}
.footer-emblem { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(201,162,39,0.4)); margin-bottom: 0.75rem; }
.footer-brand-name { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--gold); line-height: 1.3; font-weight: 700; display: flex; flex-direction: column; }
.footer-brand-name .tcg { color: var(--green); font-size: 0.65rem; letter-spacing: 0.25em; }
.footer-tagline { font-family: var(--font-tech); font-size: 0.58rem; letter-spacing: 0.15em; color: var(--text-muted); text-transform: uppercase; margin-top: 0.5rem; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-col h4 { font-family: var(--font-tech); font-size: 0.58rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.85rem; }
.footer-col a { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.45rem; transition: color var(--t); }
.footer-col a:hover { color: var(--text); }
.footer-socials { display: flex; flex-direction: column; gap: 0.5rem; }
.social-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(201,162,39,0.25); border-radius: 4px; color: var(--text-muted); transition: all var(--t); }
.social-btn svg { width: 15px; height: 15px; }
.social-btn:hover { color: var(--gold-light); border-color: var(--gold); background: rgba(201,162,39,0.06); }
.footer-bottom { max-width: 1300px; margin: 0 auto; padding: 1.25rem 2rem; border-top: 1px solid rgba(201,162,39,0.12); display: flex; justify-content: space-between; font-family: var(--font-tech); font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); opacity: 0.55; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .releases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-card-side { display: none; }
  .discover-grid { grid-template-columns: 1fr; }
  .about-mission-content { grid-template-columns: 1fr; }
  .rules-layout { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-socials { flex-direction: row; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .main-nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(2,5,2,0.98); backdrop-filter: blur(16px);
    padding: 1.5rem 2rem; flex-direction: column; align-items: stretch; gap: 0.25rem;
    border-bottom: 1px solid rgba(201,162,39,0.25);
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .releases-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cyber-frame { padding: 1.5rem; }
  .latest-drop-overlay { padding: 1.5rem; }
  .shop-promo-overlay { padding: 1.5rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: column; align-items: flex-start; }
  .footer-links { grid-template-columns: 1fr; }
}
