/* ===========================================================
   YOUR AI POWER UP — 8-bit landing page
   Palette: cream + purple gradient panel + lime / gold accents
   =========================================================== */

:root {
  --bg-1:       #16121f;   /* page top */
  --bg-2:       #0f0c17;   /* page bottom */
  --surface:    #1c1826;   /* cards / details band */
  --surface-bd: #322c46;
  --text:       #ece9f5;   /* light text */
  --text-soft:  #a39ebb;

  --ink:        #17141d;   /* dark color — surfaces & black-on-light text */
  --ink-soft:   #5d5869;

  --purple:     #8a5cff;
  --purple-dk:  #6a3fe0;
  --lav-1:      #9a7ff2;   /* panel gradient top */
  --lav-2:      #b8aef1;   /* panel gradient bottom */

  --lime-1:     #b7e84f;
  --lime-2:     #ecf25c;
  --gold:       #f2b43a;

  --green:      #51e07a;
  --cyan:       #2fc8ec;
  --packgold:   #ffce3a;
  --pink:       #ff5fa2;
  --orange:     #ff8a3d;
  --blue:       #5b8cff;

  --white:      #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Anonymous Pro', monospace;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 84% -6%, rgba(138,92,255,0.16), transparent 60%),
    linear-gradient(165deg, var(--bg-1), var(--bg-2));
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

/* Display / labels / buttons use the 8-bit face */
.logo, .nav-links, .btn, .btn-buy, .dbtn,
.hero-title, .coll-head h2,
.feat-num, .details-num {
  font-family: 'Press Start 2P', system-ui, monospace;
}

/* Product titles use Anonymous Pro */
.pack-name, .details-title {
  font-family: 'Anonymous Pro', monospace;
  font-weight: 700;
}

/* ---------------- Nav ---------------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 26px; padding-bottom: 26px;
}
.nav-group { display: flex; align-items: center; gap: 34px; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.cart-link {
  font-family: 'Press Start 2P', monospace; font-size: 10px; color: var(--text);
  opacity: 0.85; white-space: nowrap;
}
.cart-link:hover { opacity: 1; color: var(--purple); }
.logo {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--purple-dk), var(--purple));
  color: var(--white); font-size: 22px; border-radius: 4px;
  box-shadow: 3px 3px 0 rgba(106,63,224,0.35);
}
.nav-links { display: flex; gap: 24px; font-size: 11px; flex-wrap: wrap; }
.nav-links a { opacity: 0.85; }
.nav-links a:hover { opacity: 1; color: var(--purple); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  font-family: inherit; font-size: 15px; line-height: 1.5;
  padding: 16px 24px; border-radius: 4px; cursor: pointer;
  border: 2px solid transparent;
  -webkit-text-stroke: 0.7px currentColor;
  transition: transform 0.08s ease, background 0.15s, color 0.15s, box-shadow 0.08s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* purple gradient = primary / brand (Explore, bundle) */
.btn-primary {
  background: linear-gradient(90deg, var(--purple-dk), #a06cf2);
  color: var(--white);
  box-shadow: 4px 4px 0 rgba(106,63,224,0.30);
}
.btn-primary:hover { box-shadow: 6px 6px 0 rgba(106,63,224,0.30); }

/* purple outline (secondary bundle CTA) */
.btn-ghost { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-ghost:hover { background: linear-gradient(90deg, var(--purple-dk), #a06cf2); color: var(--white); border-color: transparent; }

/* lime gradient = the buy action */
.btn-lime {
  background: linear-gradient(90deg, var(--lime-1), var(--lime-2));
  color: var(--ink); border-color: transparent;
  box-shadow: 4px 4px 0 rgba(120,150,40,0.30);
}
.btn-lime:hover { box-shadow: 6px 6px 0 rgba(120,150,40,0.30); }

/* ---------------- Hero ---------------- */
.hero { padding-top: 44px; padding-bottom: 34px; }
.hero-title {
  font-size: 58px; line-height: 1.35; margin: 0 0 30px; color: var(--text);
}
.box {
  display: inline-block; color: var(--white); padding: 6px 12px 10px;
  background-color: var(--purple);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"),
    linear-gradient(90deg, var(--purple-dk), var(--purple));
  background-repeat: repeat, no-repeat;
  background-size: 140px 140px, cover;
  background-blend-mode: overlay, normal;
  box-shadow: 5px 5px 0 rgba(106,63,224,0.4);
}
.mush {
  display: inline-block; margin-left: 18px; vertical-align: middle;
  font-size: 0.8em; animation: bob 2.4s ease-in-out infinite;
  filter: drop-shadow(3px 3px 0 rgba(106,63,224,0.35));
}
.lead { font-size: 18px; color: var(--text-soft); margin: 0 0 30px; max-width: 620px; }
.lead .hl { color: var(--purple); font-weight: 700; }
.lead .claude { color: #d97757; font-weight: 700; }   /* Claude orange */
.cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-steps {
  margin: 0 0 28px; display: flex; flex-wrap: wrap;
  column-gap: 24px; row-gap: 10px;
}
.hero-steps li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text);
}
/* pixel space-invader bullet, painted Claude orange */
.hero-steps li::before {
  content: ""; flex: 0 0 auto; width: 20px; height: 15px;
  background-color: #d97757;
  -webkit-mask: var(--invader) center / contain no-repeat;
  mask: var(--invader) center / contain no-repeat;
}
:root {
  --invader: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 8'%3E%3Crect x='2' y='0' width='1' height='1'/%3E%3Crect x='8' y='0' width='1' height='1'/%3E%3Crect x='3' y='1' width='1' height='1'/%3E%3Crect x='7' y='1' width='1' height='1'/%3E%3Crect x='2' y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='2' height='1'/%3E%3Crect x='4' y='3' width='3' height='1'/%3E%3Crect x='8' y='3' width='2' height='1'/%3E%3Crect x='0' y='4' width='11' height='1'/%3E%3Crect x='0' y='5' width='1' height='1'/%3E%3Crect x='2' y='5' width='7' height='1'/%3E%3Crect x='10' y='5' width='1' height='1'/%3E%3Crect x='0' y='6' width='1' height='1'/%3E%3Crect x='2' y='6' width='1' height='1'/%3E%3Crect x='8' y='6' width='1' height='1'/%3E%3Crect x='10' y='6' width='1' height='1'/%3E%3Crect x='3' y='7' width='2' height='1'/%3E%3Crect x='6' y='7' width='2' height='1'/%3E%3C/svg%3E");
}

/* ---------------- Pack grid ---------------- */
.collections { padding-top: 56px; padding-bottom: 70px; }
.coll-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
}
.coll-head h2 { font-size: 15px; margin: 0; line-height: 1.5; color: var(--text); }
.coll-hint { font-size: 14px; color: var(--text-soft); }

.pack-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px;
}
/* ----- Game Boy cartridge styled cards ----- */
.pack-card {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(145deg, #d9dacc 0%, #c4c5b6 48%, #a7a899 100%);
  padding: 42px 16px 18px;                 /* top room for ridges + notch */
  cursor: pointer; text-align: left; font-family: inherit; color: #2b2b30;
  /* notched top-right corner = the Game Boy cartridge shape */
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  /* molded-plastic bevel: light top-left, shadowed bottom-right */
  box-shadow:
    inset 0 3px 0 rgba(255,255,255,0.70),
    inset 3px 0 0 rgba(255,255,255,0.28),
    inset -4px -5px 12px rgba(0,0,0,0.22),
    inset 0 -2px 0 rgba(0,0,0,0.16);
  filter: drop-shadow(0 16px 18px rgba(0,0,0,0.55));
  transition: transform 0.14s ease, filter 0.14s ease;
}
.pack-card:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 0 7px var(--purple)) drop-shadow(0 22px 24px rgba(0,0,0,0.6));
}
.pack-card:active { transform: translateY(-1px); }
.pack-card.is-active {
  filter:
    drop-shadow(3px 0 0 var(--purple)) drop-shadow(-3px 0 0 var(--purple))
    drop-shadow(0 3px 0 var(--purple)) drop-shadow(0 -3px 0 var(--purple))
    drop-shadow(0 0 11px var(--purple))
    drop-shadow(0 18px 20px rgba(0,0,0,0.55));
}
/* grip ridges along the cartridge top edge */
.pack-card::before {
  content: ""; position: absolute; top: 11px; left: 16px; right: 50px; height: 15px;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,0.24) 0 3px, rgba(255,255,255,0.36) 3px 6px);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4);
}
/* molded shell seam groove around the cartridge */
.pack-card::after {
  content: ""; position: absolute; inset: 7px;
  clip-path: polygon(0 0, calc(100% - 27px) 0, 100% 27px, 100% 100%, 0 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.18), inset 0 2px 0 rgba(255,255,255,0.30);
  pointer-events: none;
}

/* the cartridge label / game sticker */
.pack-label {
  position: relative;
  display: flex; flex-direction: column;
  background: #f3f0e4; border: 3px solid var(--cardcolor); border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.30);
  margin-bottom: 8px;
}
.pack-strip {
  background: var(--cardcolor); color: #fff; border-radius: 2px 2px 0 0;
  font-family: 'Press Start 2P', monospace; font-size: 6px; letter-spacing: 1.5px;
  text-align: center; padding: 5px 0 6px;
}
.pack-art {
  height: 88px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #ffffff, #ece6d4);
}
.pack-art img {
  width: 50%; height: 50%; object-fit: contain;
  image-rendering: pixelated; mix-blend-mode: multiply;
}
.pack-name {
  background: #e8e4d3; border-radius: 0 0 2px 2px;
  border-top: 2px solid color-mix(in srgb, var(--cardcolor) 45%, #d6d1bd);
  padding: 14px 10px 16px; text-align: center;
  font-size: 20px; line-height: 1.25; color: #262329; min-height: 58px;
  -webkit-text-stroke: 0.6px #262329;        /* extra-bold beyond Anonymous Pro 700 */
  display: flex; align-items: center; justify-content: center;
}

/* round dark price sticker on the label corner */
.price-tag {
  position: absolute; right: -8px; top: -8px; z-index: 3;
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #2d2937, #15121d);
  color: #f3f0e4; border: 2px solid #efe9d8;
  font-family: 'Press Start 2P', monospace; font-size: 11px; line-height: 1;
  box-shadow: 0 3px 5px rgba(0,0,0,0.45);
  transition: transform 0.14s ease;
}
.pack-card:hover .price-tag { transform: scale(1.08); }
/* "press A to open" cue — signals the card is clickable */
.gb-open {
  display: flex; align-items: center; gap: 7px; margin-left: auto;
  font-family: 'Press Start 2P', monospace; font-size: 8px; letter-spacing: 1px;
  color: #4a4a42;
}
.gb-btn {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--purple); color: #fff;
  font-family: 'Press Start 2P', monospace; font-size: 9px;
  box-shadow: 0 3px 0 var(--purple-dk), 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.pack-card:hover .gb-btn { transform: translateY(-1px); box-shadow: 0 4px 0 var(--purple-dk), 0 6px 8px rgba(0,0,0,0.35); }
.pack-card:active .gb-btn { transform: translateY(2px); box-shadow: 0 1px 0 var(--purple-dk); }

/* ---------------- Selected power-up details (desktop) ---------------- */
.details {
  background: var(--surface); color: var(--text);
  padding: 58px 0 64px; border-top: 4px solid var(--purple);
}
.details-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.details-num { font-size: 26px; line-height: 1; color: var(--purple); }
.details-title { font-size: 28px; line-height: 1.25; margin: 0; color: var(--text); }
.details-body { max-width: 720px; margin-bottom: 38px; }
.details-desc { font-size: 17px; line-height: 1.7; color: var(--text-soft); margin: 0 0 16px; }
.details-desc:last-child { margin-bottom: 0; }
.details-included { max-width: 820px; margin-bottom: 40px; }
.details-col h3 { font-family: 'Press Start 2P', monospace; font-size: 12px; line-height: 1.5; color: var(--purple); margin: 0 0 18px; }
.details-col ul { display: flex; flex-direction: column; gap: 14px; }
.details-col li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.6; color: var(--text); }
.details-col li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 700; }
.details-buy { font-family: 'Press Start 2P', monospace; }

/* ---------------- FAQ ---------------- */
.faq { padding: 72px 0 84px; }
.faq-title {
  font-family: 'Press Start 2P', monospace; font-size: 22px; line-height: 1.5;
  text-align: center; color: var(--text); margin: 0 0 12px;
}
.faq-sub { text-align: center; color: var(--text-soft); font-size: 16px; margin: 0 0 42px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--surface); border: 1px solid var(--surface-bd);
  border-radius: 12px; overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item[open] { border-color: var(--purple); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-size: 17px; font-weight: 700; color: var(--text);
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--purple); }
.faq-ico {
  font-family: 'Press Start 2P', monospace; font-size: 15px; color: var(--purple);
  flex: 0 0 auto; transition: transform 0.2s ease;
}
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-a { padding: 0 22px 22px; color: var(--text-soft); font-size: 16px; line-height: 1.7; }

/* ---------------- Footer ---------------- */
.site-foot {
  background: var(--ink); color: #b6b2c2;
  text-align: center; padding: 30px 20px; border-top: 3px solid var(--purple-dk);
}
.foot-stats { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; font-size: 15px; }
.foot-stats b { color: var(--gold); }
.foot-links { margin: 0 0 8px; font-size: 14px; }
.foot-links a { color: #c7c4e0; }
.foot-links a:hover { color: var(--purple); }
.foot-copy { margin: 0; font-size: 13px; }

/* ---------------- Bundle-upsell nudge ---------------- */
.bundle-nudge {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 160%);
  z-index: 300; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: calc(100vw - 32px);
  background: #1c1826; border: 1px solid var(--purple); border-radius: 12px;
  padding: 12px 14px 12px 18px; color: var(--text); font-size: 15px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bundle-nudge.show { transform: translate(-50%, 0); }
.bundle-nudge b { color: var(--purple); }
.nudge-cta {
  background: linear-gradient(90deg, var(--purple-dk), #a06cf2); color: #fff;
  font-family: 'Press Start 2P', monospace; font-size: 10px; cursor: pointer; border: none;
  padding: 11px 14px; border-radius: 6px; white-space: nowrap;
}
.nudge-x {
  background: transparent; border: none; color: var(--text-soft);
  font-family: inherit; font-size: 16px; cursor: pointer; padding: 4px 6px;
}
.nudge-x:hover { color: var(--text); }

/* ---------------- Cart ---------------- */
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap;
  font-family: 'Press Start 2P', monospace; font-size: 10px; color: var(--text);
  background: rgba(255,255,255,0.06); border: 1px solid var(--surface-bd);
  padding: 10px 12px; border-radius: 8px;
}
.cart-btn:hover { border-color: var(--purple); color: var(--purple); }
.cart-count {
  background: var(--purple); color: #fff; border-radius: 999px;
  min-width: 18px; height: 18px; display: inline-grid; place-items: center;
  font-size: 9px; padding: 0 4px;
}

.cart-backdrop {
  position: fixed; inset: 0; background: rgba(8,7,12,0.6);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease; z-index: 350;
}
.cart-backdrop.show { opacity: 1; visibility: visible; }

.cart-modal {
  position: fixed; z-index: 360; left: 50%; top: 50%;
  transform: translate(-50%, -46%) scale(0.98); opacity: 0; visibility: hidden;
  width: min(440px, 92vw); max-height: 86vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--surface-bd); border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6); padding: 22px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cart-modal.show { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cart-head h3 { font-family: 'Press Start 2P', monospace; font-size: 13px; margin: 0; color: var(--text); }
.cart-x { background: none; border: none; color: var(--text-soft); font-size: 18px; cursor: pointer; font-family: inherit; }
.cart-x:hover { color: var(--text); }

.cart-items { display: flex; flex-direction: column; gap: 10px; }
.cart-empty { color: var(--text-soft); font-size: 15px; margin: 10px 0; }
.cart-row {
  display: flex; align-items: center; gap: 12px;
  background: #14111d; border: 1px solid var(--surface-bd); border-radius: 10px; padding: 10px 12px;
}
.cart-row img { width: 38px; height: 38px; object-fit: contain; image-rendering: pixelated; background: #fff; border-radius: 6px; padding: 4px; }
.cart-row-name { flex: 1; font-weight: 700; font-size: 15px; }
.cart-row-price { color: var(--text-soft); font-weight: 700; }
.cart-row-x { background: none; border: none; color: var(--text-soft); cursor: pointer; font-size: 14px; font-family: inherit; }
.cart-row-x:hover { color: var(--pink); }

.cart-foot { margin-top: 16px; }
.cart-tip { font-size: 14px; color: var(--text-soft); margin: 0 0 12px; }
.cart-bundle { background: none; border: none; color: var(--purple); cursor: pointer; font-family: inherit; font-size: 14px; text-decoration: underline; padding: 0; }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 16px; padding: 12px 0; border-top: 1px solid var(--surface-bd); margin-bottom: 12px; }
.cart-total b { font-size: 20px; }
.cart-checkout { width: 100%; text-align: center; }
.cart-keep {
  width: 100%; margin-top: 10px; padding: 10px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 15px; color: var(--text-soft);
}
.cart-keep:hover { color: var(--text); }
.cart-flabel { display: block; font-size: 13px; color: var(--text-soft); margin: 4px 0 6px; }
.cart-email {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  background: #14111d; border: 1px solid var(--surface-bd); border-radius: 8px;
  padding: 12px 14px; margin-bottom: 12px;
}
.cart-agree {
  display: flex; align-items: flex-start; gap: 9px; cursor: pointer;
  font-size: 14px; color: var(--text-soft); margin-bottom: 6px; line-height: 1.5;
}
.cart-agree input { margin-top: 3px; accent-color: var(--purple); cursor: pointer; }
.cart-agree a { color: var(--purple); text-decoration: underline; }
.cart-err { margin: 4px 0 10px; font-size: 13px; color: var(--pink); min-height: 16px; }

/* ---------------- Slide drawer / purple panel ---------------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(40,28,80,0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease; z-index: 150;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: min(440px, 92vw);
  background-color: var(--lav-1);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--lav-1), var(--lav-2));
  background-repeat: repeat, no-repeat;
  background-size: 140px 140px, cover;
  background-blend-mode: overlay, normal;
  color: var(--ink);
  box-shadow: -14px 0 50px rgba(60,40,120,0.4);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 200; display: flex; flex-direction: column;
  padding: 22px 26px 28px; overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }

.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.feat-num { font-size: 26px; line-height: 1; color: var(--ink); }
.drawer-close {
  width: 42px; height: 42px; background: transparent; color: var(--ink);
  border: 2px solid rgba(23,20,29,0.35); border-radius: 4px;
  font-family: 'Anonymous Pro', monospace; font-size: 20px; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.drawer-close:hover { background: var(--ink); color: var(--white); }

.feat-art { display: flex; align-items: center; justify-content: center; padding: 18px 0 8px; }
.feat-frame {
  width: min(300px, 78%); aspect-ratio: 1 / 1;
  background: #fff; border-radius: 10px;
  display: grid; place-items: center;
  box-shadow: 0 12px 34px rgba(60,40,120,0.30);
  animation: bob 4s ease-in-out infinite;
}
.feat-img { width: 88%; height: 88%; object-fit: contain; image-rendering: pixelated; }
.feat-icon { width: 84%; height: 84%; object-fit: contain; image-rendering: pixelated; }

.feat-card {
  background: #e7e5ec;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 6px; padding: 20px 22px; margin-top: 14px;
}
.feat-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 15px; line-height: 1.55; margin: 0 0 18px; color: var(--ink);
}
.feat-stats { display: flex; gap: 26px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 2px solid rgba(23,20,29,0.18); margin-bottom: 16px; }
.feat-stat .label { font-size: 13px; color: rgba(23,20,29,0.6); display: block; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.feat-stat .value { font-size: 15px; font-weight: 700; color: var(--ink); }
.feat-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.seller { display: flex; align-items: center; gap: 10px; }
.seller .avatar {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lime-1), var(--lime-2)); color: var(--ink);
  border-radius: 4px; font-size: 18px;
}
.seller .who { font-size: 13px; line-height: 1.3; }
.seller .who b { display: block; color: var(--ink); }
.seller .who span { color: rgba(23,20,29,0.6); }
.btn-buy {
  display: inline-block; text-align: center; text-decoration: none;
  background: linear-gradient(90deg, var(--lime-1), var(--lime-2));
  color: var(--ink); border: 3px solid var(--ink);
  font-size: 13px; line-height: 1.5; padding: 13px 20px; border-radius: 4px;
  cursor: pointer; font-family: inherit; -webkit-text-stroke: 0.6px currentColor;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn-buy:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn-buy:hover { transform: translateY(-2px); }

/* extra details inside drawer (mobile only) */
.drawer-extra { margin-top: 20px; }
.drawer-h { font-family: 'Press Start 2P', monospace; font-size: 11px; line-height: 1.5; color: var(--ink); margin: 22px 0 14px; }
.drawer-list { display: flex; flex-direction: column; gap: 11px; }
.drawer-list li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; color: rgba(23,20,29,0.85); }
.drawer-list li::before { content: "✓"; position: absolute; left: 0; color: var(--purple-dk); font-weight: 700; }

.drawer-browse { display: flex; gap: 12px; margin-top: auto; padding-top: 22px; }
.dbtn {
  flex: 1; font-family: 'Press Start 2P', monospace; font-size: 12px; line-height: 1.6;
  padding: 14px 10px; background: transparent; color: var(--ink);
  border: 2px solid rgba(23,20,29,0.35); border-radius: 4px; cursor: pointer;
  -webkit-text-stroke: 0.6px currentColor; transition: background 0.15s, color 0.15s;
}
.dbtn:hover { background: var(--ink); color: var(--white); }

/* ---------------- Animations ---------------- */
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------------- Responsive ---------------- */

/* Desktop: the drawer is a permanent right-hand sidebar (always open) */
@media (min-width: 960px) {
  body { padding-right: 420px; }
  body.no-scroll { overflow: auto; }
  .drawer-backdrop { display: none !important; }
  .drawer { width: 420px; transform: none !important; transition: none; box-shadow: -10px 0 40px rgba(60,40,120,0.22); }
  .drawer-close { display: none; }
  .drawer-extra { display: none; }   /* shown in the main section on desktop */
}

/* Mobile: the drawer carries the full details, so hide the standalone section */
@media (max-width: 959px) {
  .details { display: none; }
}

@media (max-width: 1180px) {
  .hero-title { font-size: 46px; }
}

@media (max-width: 700px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav { flex-wrap: wrap; gap: 14px; padding-top: 20px; padding-bottom: 20px; }
  .nav-group { gap: 18px; }
  .nav-links { gap: 16px; }
  .hero { padding-top: 24px; }
  .hero-title { font-size: 40px; }
  .lead { font-size: 17px; }
  .cta .btn { flex: 1; text-align: center; }
  .collections { padding-top: 40px; padding-bottom: 50px; }
  .pack-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pack-thumb { height: 128px; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 27px; }
  .pack-grid { grid-template-columns: 1fr; }
  .pack-thumb { height: 168px; }
  .feat-foot { flex-direction: column; align-items: stretch; }
  .feat-foot .btn-buy { width: 100%; }
}
