/* Direction: anime poster pop — deep indigo night, hot magenta + cyan neon, chunky borders, hard offset shadows */

:root {
  --bg: #0b0a1f;
  --bg-2: #120f30;
  --surface: #17143a;
  --surface-2: #221c52;
  --text: #fdfbff;
  --text-2: #c8c0f2;
  --muted: #a49ce0;
  --border: #4a3da8;
  --primary: #d61156;
  --primary-bright: #ff2d78;
  --accent: #22e4e0;
  --accent-2: #ffd43b;
  --success: #3ddc97;
  --warning: #ffb020;
  --danger: #ff5c7a;

  --font-display: "Archivo Black", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Outfit", "Noto Sans JP", system-ui, sans-serif;

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow: 6px 6px 0 #05041a;
  --shadow-sm: 3px 3px 0 #05041a;
  --shadow-pink: 8px 8px 0 var(--primary);
  --shadow-cyan: 8px 8px 0 #0f8f8c;

  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  background-image:
    radial-gradient(1000px 520px at 12% -8%, rgba(255, 45, 120, 0.22), transparent 60%),
    radial-gradient(900px 500px at 92% 4%, rgba(34, 228, 224, 0.16), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%);
  background-attachment: fixed;
}

img, svg { display: block; max-width: 100%; }
svg.lucide { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; }
i[data-lucide] { display: inline-block; }
button, input, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1rem; }
a { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--primary-bright); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 3px solid var(--text); border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  background: transparent; color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--shadow-sm); }
.btn svg.lucide { width: 20px; height: 20px; }

.btn--primary { background: var(--primary); border-color: #fff; color: #fff; box-shadow: var(--shadow-pink); }
.btn--primary:hover { background: var(--primary-bright); }
.btn--accent { background: var(--accent); border-color: #fff; color: #06121a; box-shadow: var(--shadow-cyan); }
.btn--accent:hover { background: #7df3f0; }
.btn--sun { background: var(--accent-2); border-color: #fff; color: #1a1405; }
.btn--ghost { border-color: var(--border); color: var(--text-2); box-shadow: none; }
.btn--ghost:hover { color: var(--text); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.78rem; border-width: 2px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.85rem; color: var(--accent); text-decoration: none;
  border-bottom: 2px solid rgba(34, 228, 224, 0.4); padding-bottom: 3px;
}
.link-arrow:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* ---------- topbar ticker ---------- */
.topbar {
  background: var(--accent-2);
  color: #1a1405;
  border-bottom: 3px solid #05041a;
  overflow: hidden;
}
.topbar__track {
  display: flex; gap: 48px; width: max-content;
  padding: 9px 0;
  font-family: var(--font-display); font-size: 0.76rem;
  letter-spacing: 0.09em; text-transform: uppercase;
  animation: slide 26s linear infinite;
}
.topbar__track span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar__track svg.lucide { width: 16px; height: 16px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 10, 31, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--border);
}
.nav { display: flex; align-items: center; gap: var(--s3); min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand__mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--primary); border: 3px solid #fff; border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-size: 1.15rem; color: #fff;
  transform: rotate(-4deg);
}
.brand__name { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.01em; line-height: 1; }
.brand__sub { display: block; font-size: 0.6rem; letter-spacing: 0.34em; color: var(--accent); margin-top: 3px; }

.nav__links { display: none; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative; padding: 10px 14px; border-radius: var(--r-pill);
  color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 0.94rem;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 3px;
  background: var(--accent); border-radius: 3px;
}
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.icon-btn {
  position: relative; width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--border); border-radius: 14px;
  color: var(--text); cursor: pointer;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.icon-btn svg.lucide { width: 21px; height: 21px; }
.icon-btn__count {
  position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px;
  display: grid; place-items: center; padding: 0 5px;
  background: var(--accent-2); color: #1a1405; border: 2px solid #05041a; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 0.72rem;
}
.icon-btn__count[hidden] { display: none; }

.menu-toggle { display: grid; }
.mobile-menu {
  display: none; padding: 8px 0 20px; border-top: 2px solid var(--border);
}
.mobile-menu a {
  display: block; padding: 13px 4px; color: var(--text); text-decoration: none;
  font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { margin-top: 18px; }
.mobile-menu.is-open { display: block; }

/* ---------- hero ---------- */
.hero { padding: clamp(44px, 7vw, 84px) 0 clamp(50px, 7vw, 90px); position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: clamp(36px, 5vw, 56px); align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 2px solid var(--accent); border-radius: var(--r-pill);
  background: rgba(34, 228, 224, 0.1); color: var(--accent);
  font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero__title { margin: 18px 0 20px; }
.hero__title .hl {
  display: inline-block; color: #fff;
  background: var(--primary); padding: 0 14px 6px;
  border: 3px solid #fff; border-radius: 14px; box-shadow: var(--shadow-pink);
  transform: rotate(-1.5deg);
}
.hero__title .outline {
  color: transparent; -webkit-text-stroke: 2px var(--accent);
  text-shadow: 0 0 26px rgba(34, 228, 224, 0.35);
}
.hero__lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text-2); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg.lucide { width: 17px; height: 17px; color: var(--accent); }

.hero__visual { position: relative; min-height: 420px; }
.hero__glyph {
  position: absolute; inset: auto -4% -6% auto; z-index: 0;
  font-family: var(--font-display); font-size: clamp(180px, 30vw, 320px); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 212, 59, 0.32);
  user-select: none; pointer-events: none;
}
.hero__ring {
  position: absolute; inset: 6% 4% 8% 8%; z-index: 0;
  background: radial-gradient(circle at 50% 45%, rgba(34, 228, 224, 0.22), transparent 62%);
  filter: blur(6px);
}
.poster-stack { position: relative; z-index: 1; height: 440px; }
.poster-card {
  position: absolute; width: 62%; aspect-ratio: 4 / 5;
  border: 4px solid #fff; border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden;
}
.poster-card img, .poster-card svg { width: 100%; height: 100%; object-fit: cover; }
.poster-card--a { left: 0; top: 2%; transform: rotate(-7deg); z-index: 3; }
.poster-card--b { right: 0; top: 16%; transform: rotate(6deg); z-index: 2; width: 55%; }
.poster-card--c { left: 16%; bottom: -2%; width: 58%; transform: rotate(-2deg); z-index: 1; }
.float-tag {
  position: absolute; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; background: var(--accent-2); color: #1a1405;
  border: 3px solid #05041a; border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.float-tag svg.lucide { width: 16px; height: 16px; }
.float-tag--tl { top: 4%; right: 2%; animation: bob 4.5s ease-in-out infinite; }
.float-tag--br { bottom: 12%; left: -2%; background: var(--accent); animation: bob 5.5s ease-in-out 0.6s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- series marquee ---------- */
.series-strip { border-block: 3px solid var(--border); background: rgba(23, 20, 58, 0.65); padding: 18px 0; overflow: hidden; }
.series-strip__track { display: flex; gap: 56px; width: max-content; animation: slide 30s linear infinite; }
.series-strip__item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: clamp(0.95rem, 1.7vw, 1.25rem);
  letter-spacing: 0.16em; color: var(--text-2); white-space: nowrap;
}
.series-strip__item svg.lucide { width: 20px; height: 20px; color: var(--primary-bright); }
.series-strip:hover .series-strip__track, .topbar:hover .topbar__track { animation-play-state: paused; }

/* ---------- section heads ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px;
}
.kicker::before { content: ""; width: 26px; height: 4px; background: var(--primary); border-radius: 3px; }
.section__head { max-width: 62ch; margin-bottom: clamp(26px, 4vw, 44px); }
.section__head p { color: var(--text-2); font-size: 1.03rem; margin: 0; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }

/* ---------- photo frames ---------- */
.photo {
  position: relative; display: block; overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, hsl(var(--h, 320) 80% 46% / 0.55), transparent 65%),
    linear-gradient(140deg, hsl(var(--h, 320) 65% 26%), hsl(calc(var(--h, 320) + 55) 55% 12%));
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 9px 9px; opacity: 0.35;
  transition: opacity 0.3s var(--ease);
}
.photo:has(img[src])::after { opacity: 0; }
.photo:hover img { transform: scale(1.04); }
.photo img { transition: transform 0.45s var(--ease); }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  background: var(--surface); border: 3px solid var(--border); border-radius: var(--r-lg);
  padding: 0; overflow: hidden;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.cat-card:hover { transform: translate(-3px, -4px); border-color: var(--accent); box-shadow: var(--shadow); }
.cat-card__photo { aspect-ratio: 16 / 10; border-bottom: 3px solid var(--border); }
.cat-card__body { display: block; padding: 22px 22px 20px; }
.cat-card__icon {
  width: 54px; height: 54px; display: grid; place-items: center;
  border: 3px solid #05041a; border-radius: 16px; margin: -46px 0 14px; position: relative;
  box-shadow: var(--shadow-sm);
}
.cat-card__icon svg.lucide { width: 26px; height: 26px; color: #0a0918; }
.cat-card h3 { margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 14px; }
.cat-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-card__count {
  font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.08em;
  color: var(--accent-2);
}
.cat-card__kanji {
  position: absolute; bottom: 16px; right: 18px; font-family: var(--font-display);
  font-size: 2.4rem; color: rgba(255, 255, 255, 0.18); line-height: 1; pointer-events: none;
}

/* ---------- shop ---------- */
.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  margin-bottom: 26px;
}
.tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.tab {
  flex: 0 0 auto; min-height: 44px; padding: 0 18px; cursor: pointer;
  background: transparent; color: var(--text-2); border: 2px solid var(--border);
  border-radius: var(--r-pill); font-weight: 700; font-size: 0.88rem; white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.tab:hover { color: var(--text); border-color: var(--accent); }
.tab.is-active { background: var(--accent); border-color: #fff; color: #06121a; box-shadow: var(--shadow-cyan); }
.search {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px;
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--r-pill);
}
.search:focus-within { border-color: var(--accent); }
.search svg.lucide { width: 18px; height: 18px; color: var(--muted); }
.search input { border: 0; background: transparent; outline: none; min-width: 150px; }
.search input::placeholder { color: var(--muted); }
.shop-count { color: var(--muted); font-size: 0.88rem; font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 3px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.card:hover { transform: translate(-3px, -4px); border-color: var(--primary-bright); box-shadow: var(--shadow-pink); }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-bottom: 3px solid var(--border); }
.card__media svg { width: 100%; height: 100%; object-fit: cover; }
.card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 6px 11px; background: var(--accent-2); color: #1a1405;
  border: 2px solid #05041a; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.card__badge--hot { background: var(--primary-bright); color: #fff; }
.card__badge--new { background: var(--accent); color: #06121a; }
.wish {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(11, 10, 31, 0.72); border: 2px solid #fff; border-radius: 50%;
  color: #fff; transition: transform 0.18s var(--ease), color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.wish:hover { transform: scale(1.08); }
.wish svg.lucide { width: 19px; height: 19px; }
.wish[aria-pressed="true"] { background: var(--primary-bright); border-color: #fff; }
.wish[aria-pressed="true"] svg.lucide { fill: #fff; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px; gap: 4px; }
.card__series { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.card__name { font-size: 1.02rem; margin: 4px 0 8px; }
.stars { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-2); font-size: 0.84rem; font-weight: 700; }
.stars svg.lucide { width: 15px; height: 15px; fill: currentColor; }
.stars span { color: var(--muted); font-weight: 600; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 14px; }
.price { font-family: var(--font-display); font-size: 1.32rem; color: #fff; }
.price--was { font-family: var(--font-body); font-size: 0.9rem; color: var(--muted); text-decoration: line-through; font-weight: 600; }
.card__actions { margin-top: auto; display: grid; gap: 8px; }
.empty {
  grid-column: 1 / -1; text-align: center; padding: 56px 20px;
  border: 3px dashed var(--border); border-radius: var(--r-lg); color: var(--muted);
}
.empty svg.lucide { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--accent); }
.empty p { margin: 0 0 16px; }

/* ---------- gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; gap: 16px;
}
.gallery figure {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg);
  border: 3px solid var(--border);
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.gallery figure:hover { border-color: var(--accent-2); transform: translate(-2px, -3px); box-shadow: var(--shadow); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill);
  background: rgba(11, 10, 31, 0.78); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.84rem; font-weight: 700; color: #fff;
}
.gallery figcaption i { width: 15px; height: 15px; color: var(--accent-2); }
.gallery__link { margin-top: 26px; display: flex; justify-content: center; }

/* ---------- ugc ---------- */
.ugc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.ugc {
  border: 3px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.ugc:hover { transform: translate(-3px, -4px); border-color: var(--primary-bright); box-shadow: var(--shadow-pink); }
.ugc .photo { aspect-ratio: 4 / 5; border-bottom: 3px solid var(--border); }
.ugc__body { padding: 16px 18px 18px; }
.ugc__who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ugc__handle { font-weight: 700; font-size: 0.94rem; }
.ugc__meta { color: var(--muted); font-size: 0.8rem; }
.ugc p { margin: 0; color: var(--text-2); font-size: 0.92rem; }

/* ---------- bestsellers ---------- */
.bestseller-grid { display: grid; gap: 22px; }
.rank-card {
  position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 18px;
  background: var(--surface); border: 3px solid var(--border); border-radius: var(--r-lg);
  padding: 18px; overflow: hidden;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.rank-card:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.rank-card__art { border: 3px solid #fff; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; }
.rank-card__art svg { width: 100%; height: 100%; }
.rank-card__rank {
  position: absolute; top: 6px; left: 84px; z-index: 2;
  font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: #fff;
  -webkit-text-stroke: 2px var(--primary-bright);
  text-shadow: 4px 4px 0 rgba(5, 4, 26, 0.65);
}
.rank-card__body { display: flex; flex-direction: column; gap: 4px; }
.rank-card__sold { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.rank-card__sold svg.lucide { width: 15px; height: 15px; color: var(--accent-2); }
.bar { height: 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); overflow: hidden; margin: 10px 0 14px; }
.bar__fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--primary), var(--accent-2)); }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface); border: 3px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.stat { text-align: center; padding: 8px 6px; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem); color: #fff; line-height: 1; }
.stat__num em { font-style: normal; color: var(--accent-2); }
.stat__label { color: var(--muted); font-size: 0.86rem; font-weight: 600; margin-top: 8px; }

/* ---------- story ---------- */
.story-grid { display: grid; gap: clamp(30px, 5vw, 56px); align-items: center; }
.story__media { position: relative; border: 4px solid #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-pink); background: var(--surface-2); }
.story__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.story__tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: rgba(11, 10, 31, 0.86); border: 2px solid var(--accent);
  border-radius: var(--r-pill); font-family: var(--font-display); font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.story__list { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 14px; }
.story__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.story__list svg.lucide { width: 24px; height: 24px; flex: 0 0 auto; color: var(--accent-2); margin-top: 3px; }

/* ---------- reviews ---------- */
.rating-summary {
  display: grid; gap: 22px; align-items: center; margin-bottom: 34px;
  padding: 26px; background: var(--surface); border: 3px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.rating-summary__score { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 3.6rem); line-height: 1; color: #fff; }
.rating-summary__meta { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.bars { display: grid; gap: 8px; }
.bars__row { display: grid; grid-template-columns: 46px 1fr 40px; align-items: center; gap: 10px; font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.bars__track { height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: var(--r-pill); overflow: hidden; }
.bars__fill { height: 100%; background: var(--accent-2); border-radius: var(--r-pill); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review-card {
  position: relative; background: var(--surface); border: 3px solid var(--border);
  border-radius: var(--r-lg); padding: 26px 24px 24px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.review-card:hover { transform: translate(-3px, -4px); border-color: var(--accent); box-shadow: var(--shadow); }
.review-card::before {
  content: "\201C"; position: absolute; top: -6px; left: 18px;
  font-family: var(--font-display); font-size: 4.4rem; line-height: 1; color: rgba(255, 45, 120, 0.45);
}
.review-card p { color: var(--text-2); margin: 12px 0 20px; }
.review-card__who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto;
  border: 3px solid #05041a; border-radius: 50%; box-shadow: var(--shadow-sm);
  font-family: var(--font-display); color: #fff;
}
.review-card__name { font-weight: 700; }
.review-card__loc { color: var(--muted); font-size: 0.82rem; }
.verified { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-size: 0.78rem; font-weight: 700; }
.verified svg.lucide { width: 15px; height: 15px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__item { background: var(--surface); border: 3px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq__item[open] { border-color: var(--accent); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 18px 20px; cursor: pointer; text-align: left;
  background: transparent; border: 0; color: var(--text);
  font-family: var(--font-display); font-size: 0.98rem; text-transform: uppercase; letter-spacing: 0.01em;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q:hover { color: var(--accent); }
.faq__q svg.lucide { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent-2); transition: transform 0.2s var(--ease); }
.faq__item[open] .faq__q svg.lucide { transform: rotate(45deg); }
.faq__a { padding: 0 20px 20px; color: var(--text-2); margin: 0; }
.faq__a[hidden] { display: none; }

/* ---------- cta + newsletter ---------- */
.cta-banner {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(40px, 7vw, 76px) clamp(20px, 5vw, 60px);
  background: linear-gradient(135deg, var(--primary) 0%, #8a0f3d 55%, #4a0a2a 100%);
  border: 4px solid #fff; border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.cta-banner::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 180%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.09) 0deg 7deg, transparent 7deg 14deg);
  pointer-events: none;
}
.cta-banner__inner { position: relative; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); max-width: 58ch; margin-inline: auto; }
.cta-banner__form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.field { display: grid; gap: 6px; text-align: left; }
.field label { font-size: 0.82rem; font-weight: 700; color: rgba(255, 255, 255, 0.86); letter-spacing: 0.06em; text-transform: uppercase; }
.input {
  min-height: 52px; padding: 0 18px; min-width: 240px;
  background: #fff; color: #120f30; border: 3px solid #fff; border-radius: var(--r-pill);
  outline: none;
}
.input::placeholder { color: #6b6490; }
.input[aria-invalid="true"] { border-color: var(--danger); background: #fff2f5; }
.error-msg { color: #ffe3ea; font-size: 0.82rem; font-weight: 600; }
.form-note { color: rgba(255, 255, 255, 0.78); font-size: 0.84rem; }
.form-success {
  display: none; align-items: center; gap: 10px; justify-content: center;
  margin-top: 22px; padding: 14px 22px; background: rgba(61, 220, 151, 0.16);
  border: 2px solid var(--success); border-radius: var(--r-pill);
  color: #d6ffee; font-weight: 600;
}
.form-success.is-visible { display: inline-flex; }
.form-success svg.lucide { width: 20px; height: 20px; color: var(--success); }

/* ---------- footer ---------- */
.site-footer { border-top: 3px solid var(--border); background: rgba(11, 10, 31, 0.9); padding: clamp(40px, 6vw, 64px) 0 28px; }
.footer-grid { display: grid; gap: 32px; }
.footer-col h3 { font-size: 0.82rem; letter-spacing: 0.16em; color: var(--accent-2); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--text-2); text-decoration: none; font-size: 0.94rem; }
.footer-col a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted); font-size: 0.86rem;
}
.social { display: flex; gap: 10px; }
.social a {
  width: 42px; height: 42px; display: grid; place-items: center; color: var(--text);
  background: var(--surface); border: 2px solid var(--border); border-radius: 12px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social a:hover { transform: translateY(-3px); border-color: var(--primary-bright); }
.social svg.lucide { width: 19px; height: 19px; }

/* ---------- cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(5, 4, 26, 0.72); backdrop-filter: blur(3px); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  display: flex; flex-direction: column;
  background: var(--bg-2); border-left: 3px solid var(--border); box-shadow: -14px 0 40px rgba(5, 4, 26, 0.6);
  animation: slideIn 0.28s var(--ease);
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; border-bottom: 2px solid var(--border); }
.drawer__head h2 { margin: 0; font-size: 1.2rem; }
.drawer__items { flex: 1; overflow-y: auto; padding: 18px 20px; display: grid; gap: 14px; align-content: start; }
.drawer__item { display: grid; grid-template-columns: 68px 1fr; gap: 14px; align-items: center; }
.drawer__art { border: 2px solid var(--border); border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.drawer__art svg { width: 100%; height: 100%; }
.drawer__name { font-size: 0.94rem; margin: 2px 0 4px; text-transform: none; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.drawer__meta { color: var(--muted); font-size: 0.82rem; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; border: 2px solid var(--border); border-radius: var(--r-pill); }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; color: var(--text); }
.qty button:hover { color: var(--accent); }
.qty svg.lucide { width: 15px; height: 15px; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.drawer__remove { background: none; border: 0; color: var(--muted); font-size: 0.8rem; cursor: pointer; text-decoration: underline; padding: 0; margin-top: 6px; display: block; }
.drawer__remove:hover { color: var(--danger); }
.drawer__empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.drawer__empty svg.lucide { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--accent); }
.drawer__foot { padding: 20px; border-top: 2px solid var(--border); background: rgba(23, 20, 58, 0.6); }
.drawer__total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.drawer__total span:last-child { font-family: var(--font-display); font-size: 1.5rem; }
.drawer__ship { color: var(--muted); font-size: 0.84rem; margin: 0 0 14px; }
.drawer__ship strong { color: var(--success); }

/* ---------- toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 100; display: grid; gap: 10px; width: min(420px, calc(100% - 32px)); }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--surface-2); border: 3px solid var(--accent); border-radius: var(--r);
  box-shadow: var(--shadow); animation: pop 0.26s var(--ease);
}
.toast svg.lucide { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; }
.toast strong { display: block; font-size: 0.94rem; }
.toast span { color: var(--text-2); font-size: 0.85rem; }
@keyframes pop { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (min-width: 640px) {
  .rating-summary { grid-template-columns: auto 1fr; gap: 40px; }
}
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .menu-toggle { display: none; }
  .nav__actions { margin-left: 0; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .bestseller-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .poster-stack { height: 360px; }
  .rank-card { grid-template-columns: 78px 1fr; }
  .rank-card__rank { left: 66px; font-size: 2.6rem; }
  .cta-banner__form .input { min-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
