:root {
  --ink: #09050d;
  --cream: #fff8e8;
  --muted: #d5cadb;
  --gold: #e7bd65;
  --gold-light: #fff0ad;
  --purple: #5b294f;
}

* { box-sizing: border-box; }
html { background:var(--ink); scroll-behavior:smooth; }
body {
  position: relative;
  margin: 0;
  color: var(--cream);
  background: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}
body::after {
  content: "";
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 84% 76% at 50% 43%, transparent 66%, rgba(3, 1, 5, .08) 84%, rgba(2, 0, 4, .24) 100%),
    linear-gradient(90deg, rgba(2, 0, 4, .12), transparent 7%, transparent 93%, rgba(2, 0, 4, .12));
}
a { color: inherit; }
.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;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -4rem;
  left: 1rem;
  padding: .75rem 1rem;
  color: #151016;
  background: var(--gold-light);
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 0;
  background: linear-gradient(to bottom, rgba(4, 2, 7, .94), rgba(7, 3, 11, .78));
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  backdrop-filter: blur(7px) saturate(115%);
}
.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(91, 53, 21, .28) 7%,
    rgba(243, 207, 121, .7) 24%,
    rgba(116, 65, 25, .34) 43%,
    rgba(255, 235, 163, .82) 50%,
    rgba(112, 61, 22, .34) 57%,
    rgba(226, 181, 87, .62) 77%,
    transparent 100%);
  box-shadow: 0 1px 5px rgba(225, 168, 65, .22), inset 0 1px rgba(255, 245, 202, .3);
}
.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100% - 64px, 1760px);
  min-height: 72px;
  margin: auto;
}
.nav-menu, .nav-links, .account-actions, .nav-actions, .language-switcher { display: flex; align-items: center; }
.nav-menu { flex: 1; justify-content: space-between; gap: clamp(.8rem, 1.7vw, 2rem); }
.nav-links { gap: clamp(1.1rem, 2vw, 2.2rem); }
.nav-links a, .language-switcher a {
  position: relative;
  text-decoration: none;
  color: rgba(255, 248, 232, .78);
  font-family: Arial, sans-serif;
  font-size: .78rem;
  letter-spacing: .08em;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a:focus-visible, .language-switcher a:hover, .language-switcher a:focus-visible, .nav-links .active, .language-switcher .active { color: var(--gold-light); }
.nav-links .active::after {
  content: "";
  position: absolute;
  right: 25%;
  bottom: -.6rem;
  left: 25%;
  height: 1px;
  background: var(--gold);
}
.account-actions { gap: clamp(.45rem, .8vw, .8rem); margin-left: auto; }
.account-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(126px, 10vw, 162px);
  aspect-ratio: 900 / 206;
  padding: .4rem 1rem;
  border: 0;
  outline: 0;
  color: var(--cream);
  background-color: transparent;
  background-image: url("../assets/images/ui/buttons/button-gold.webp");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  font: 700 clamp(.62rem, .65vw, .72rem)/1 Arial, sans-serif;
  letter-spacing: .06em;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 4px #000;
  white-space: nowrap;
  cursor: pointer;
  filter: drop-shadow(0 7px 11px rgba(0, 0, 0, .68));
  transition: filter .2s, transform .2s;
}
.account-button:hover, .account-button:focus-visible {
  filter: brightness(1.16) drop-shadow(0 0 10px rgba(231, 189, 101, .52)) drop-shadow(0 9px 14px rgba(0, 0, 0, .72));
  transform: translateY(-1px);
}
.account-button:active { filter: brightness(1.24) drop-shadow(0 0 8px rgba(255, 211, 115, .52)); transform: translateY(1px) scale(.985); }
.nav-actions { gap: 1.4rem; }
.language-switcher { gap: .35rem; color: rgba(255,255,255,.3); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(172px, 13vw, 204px);
  min-height: 44px;
  padding: .65rem 1.3rem;
  border: 0;
  text-decoration: none;
  color: var(--cream);
  background: url("../assets/images/ui/buttons/button-gold.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 9px 14px rgba(0, 0, 0, .72));
  font-family: Arial, sans-serif;
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-align: center;
  text-shadow: 0 1px 4px #000;
  white-space: nowrap;
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.nav-cta:hover, .nav-cta:focus-visible {
  filter: brightness(1.16) drop-shadow(0 11px 18px rgba(0, 0, 0, .78));
  box-shadow: 0 0 0 1px rgba(255, 230, 158, .28), 0 0 22px rgba(231, 176, 72, .38);
  transform: translateY(-1px);
}
.nav-cta:active { filter: brightness(1.24); box-shadow: 0 0 16px rgba(255, 211, 115, .48); transform: translateY(1px) scale(.985); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  padding: 102px 0 18px;
  overflow: hidden;
  isolation: isolate;
  background: #211124 url("../assets/images/hero/hero-tokencraft.webp") center top / 100% auto no-repeat;
}
.hero-fog-video-layer {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .57;
}
.hero-fog-mask {
  /* Layered soft apertures reveal the moving footage as uneven fog banks:
     high side wisps, lower central banks, and a fully opaque bottom bed. */
  -webkit-mask-image:
    radial-gradient(ellipse 30% 50% at 3% 63%, #000 0 25%, rgba(0, 0, 0, .82) 43%, rgba(0, 0, 0, .28) 66%, transparent 84%),
    radial-gradient(ellipse 24% 42% at 19% 72%, #000 0 34%, rgba(0, 0, 0, .76) 55%, rgba(0, 0, 0, .2) 76%, transparent 91%),
    radial-gradient(ellipse 22% 30% at 39% 84%, #000 0 39%, rgba(0, 0, 0, .68) 61%, transparent 88%),
    radial-gradient(ellipse 18% 25% at 55% 91%, #000 0 42%, rgba(0, 0, 0, .62) 65%, transparent 91%),
    radial-gradient(ellipse 27% 38% at 73% 78%, #000 0 32%, rgba(0, 0, 0, .73) 54%, rgba(0, 0, 0, .18) 77%, transparent 92%),
    radial-gradient(ellipse 32% 53% at 101% 59%, #000 0 27%, rgba(0, 0, 0, .84) 46%, rgba(0, 0, 0, .25) 68%, transparent 86%),
    linear-gradient(to top, #000 0 18%, rgba(0, 0, 0, .92) 27%, rgba(0, 0, 0, .42) 42%, transparent 62%);
  mask-image:
    radial-gradient(ellipse 30% 50% at 3% 63%, #000 0 25%, rgba(0, 0, 0, .82) 43%, rgba(0, 0, 0, .28) 66%, transparent 84%),
    radial-gradient(ellipse 24% 42% at 19% 72%, #000 0 34%, rgba(0, 0, 0, .76) 55%, rgba(0, 0, 0, .2) 76%, transparent 91%),
    radial-gradient(ellipse 22% 30% at 39% 84%, #000 0 39%, rgba(0, 0, 0, .68) 61%, transparent 88%),
    radial-gradient(ellipse 18% 25% at 55% 91%, #000 0 42%, rgba(0, 0, 0, .62) 65%, transparent 91%),
    radial-gradient(ellipse 27% 38% at 73% 78%, #000 0 32%, rgba(0, 0, 0, .73) 54%, rgba(0, 0, 0, .18) 77%, transparent 92%),
    radial-gradient(ellipse 32% 53% at 101% 59%, #000 0 27%, rgba(0, 0, 0, .84) 46%, rgba(0, 0, 0, .25) 68%, transparent 86%),
    linear-gradient(to top, #000 0 18%, rgba(0, 0, 0, .92) 27%, rgba(0, 0, 0, .42) 42%, transparent 62%);
}
.hero-fog-video-layer video {
  position: absolute;
  display: block;
  inset: -2% -3%;
  width: 106%;
  height: 104%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  transform-origin: center bottom;
  will-change: transform;
  animation: fog-breathe 26s ease-in-out infinite alternate;
}
@keyframes fog-breathe {
  from { transform: translate3d(-1%, 0, 0) scale(1.01); }
  to { transform: translate3d(1%, -1%, 0) scale(1.025); }
}
.hero-vignette {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 82% 72% at 50% 42%, transparent 0 66%, rgba(5, 2, 8, .08) 76%, rgba(4, 1, 7, .42) 100%),
    linear-gradient(90deg, rgba(3, 1, 6, .28), transparent 8%, transparent 92%, rgba(3, 1, 6, .28));
}
.hero-scene-effects {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 100%;
  aspect-ratio: 16 / 9;
  pointer-events: none;
  transform: translateX(-50%);
}
.dragon-eye-glow, .candle-flicker {
  position: absolute;
  display: block;
  pointer-events: none;
}
.dragon-eye-glow {
  width: 1.45%;
  height: .58%;
  border-radius: 70% 28% 70% 28%;
  transform: translate(-50%, -50%) rotate(10deg);
  animation: dragon-eye-ember 3.8s ease-in-out infinite;
}
.dragon-eye-glow::after {
  content: "";
  position: absolute;
  inset: -130% -55%;
  border-radius: 50%;
  background: inherit;
  filter: blur(6px);
  opacity: .52;
}
.dragon-eye-glow-left {
  top: 24.45%;
  left: 23.8%;
  background: radial-gradient(ellipse, #fff4af 0 9%, #ff9b21 22%, rgba(255, 54, 5, .88) 48%, transparent 75%);
  box-shadow: 0 0 5px #ff6a0a, 0 0 14px rgba(255, 53, 5, .78), 0 0 26px rgba(255, 32, 2, .38);
}
.dragon-eye-glow-right {
  top: 24.7%;
  left: 76.75%;
  width: 1.25%;
  transform: translate(-50%, -50%) rotate(-13deg);
  background: radial-gradient(ellipse, #fff 0 10%, #fff7ad 25%, rgba(255, 210, 85, .85) 48%, transparent 75%);
  box-shadow: 0 0 5px #fffbd1, 0 0 14px rgba(255, 235, 145, .68), 0 0 27px rgba(255, 210, 92, .3);
  animation-name: dragon-eye-radiance;
  animation-duration: 4.6s;
  animation-delay: -.9s;
}
.candle-flicker {
  width: .32%;
  aspect-ratio: .6;
  border-radius: 55% 45% 60% 40%;
  background: radial-gradient(ellipse at 50% 62%, #fff 0 12%, #fff2a6 25%, #ff9e2e 53%, transparent 78%);
  filter: blur(.2px);
  transform: translate(-50%, -70%);
  transform-origin: 50% 100%;
  box-shadow: 0 0 4px rgba(255, 198, 86, .68), 0 0 9px rgba(255, 116, 31, .22);
  animation: candle-shimmer 2.45s ease-in-out infinite alternate;
}
.candle-flicker-left-high { top: 45.62%; left: 3.88%; animation-duration: 2.15s; animation-delay: -.25s; }
.candle-flicker-left-mid { top: 57.38%; left: 12.2%; animation-duration: 2.73s; animation-delay: -1.1s; }
.candle-flicker-left-low { top: 63.68%; left: 24.76%; animation-duration: 1.94s; animation-delay: -.7s; }
.candle-flicker-right-low { top: 63.68%; left: 75.6%; animation-duration: 2.58s; animation-delay: -1.65s; }
.candle-flicker-right-mid { top: 56.48%; left: 88.04%; animation-duration: 2.31s; animation-delay: -.95s; }
.candle-flicker-right-high { top: 45.62%; left: 96.07%; animation-duration: 2.87s; animation-delay: -2.2s; }
@keyframes dragon-eye-ember {
  0%, 100% { opacity: .54; filter: brightness(.82); transform: translate(-50%, -50%) rotate(10deg) scale(.88, .92); }
  38% { opacity: .9; filter: brightness(1.22); transform: translate(-50%, -50%) rotate(10deg) scale(1.08, 1.03); }
  52% { opacity: .72; filter: brightness(.98); transform: translate(-50%, -50%) rotate(10deg) scale(.97, .96); }
  78% { opacity: 1; filter: brightness(1.48); transform: translate(-50%, -50%) rotate(10deg) scale(1.14, 1.06); }
}
@keyframes dragon-eye-radiance {
  0%, 100% { opacity: .5; filter: brightness(.88); transform: translate(-50%, -50%) rotate(-13deg) scale(.9, .94); }
  31% { opacity: .82; filter: brightness(1.12); transform: translate(-50%, -50%) rotate(-13deg) scale(1.03, 1); }
  67% { opacity: 1; filter: brightness(1.42); transform: translate(-50%, -50%) rotate(-13deg) scale(1.12, 1.05); }
  82% { opacity: .7; filter: brightness(1.02); transform: translate(-50%, -50%) rotate(-13deg) scale(.98); }
}
@keyframes candle-shimmer {
  0%, 100% { opacity: .52; filter: blur(.25px) brightness(.9); transform: translate(-50%, -70%) scale(.84, .94) rotate(-2deg); }
  19% { opacity: .86; filter: blur(.15px) brightness(1.18); transform: translate(-50%, -70%) scale(1.04, 1.13) rotate(2deg); }
  43% { opacity: .64; filter: blur(.3px) brightness(.98); transform: translate(-50%, -70%) scale(.91, 1.02) rotate(-1deg); }
  71% { opacity: .94; filter: blur(.1px) brightness(1.28); transform: translate(-50%, -70%) scale(1.08, 1.18) rotate(2deg); }
  84% { opacity: .7; filter: blur(.25px) brightness(1.04); transform: translate(-50%, -70%) scale(.96, 1.04) rotate(-1deg); }
}
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 760px;
  padding-inline: 24px;
  text-align: center;
  text-shadow: 0 3px 28px rgba(0, 0, 0, .95);
  animation: hero-arrival 1s cubic-bezier(.2, .72, .26, 1) both;
}
.hero h1 {
  margin: -.14em 0;
  padding: .14em .12em .2em;
  font-size: clamp(2.45rem, 2.35vw, 2.9rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.035em;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(100deg, #000 0 42%, rgba(0, 0, 0, .72) 48%, transparent 57%);
  mask-image: linear-gradient(100deg, #000 0 42%, rgba(0, 0, 0, .72) 48%, transparent 57%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  animation: title-reveal 2.85s .35s cubic-bezier(.22, .68, .2, 1) forwards;
}
.hero h1 span { display: inline-block; }
.hero h1 .title-accent {
  color: var(--gold-light);
  font-style: italic;
  opacity: 0;
  transform: translateX(-.18em);
  filter: blur(4px);
  animation: title-accent 1.65s 1.25s cubic-bezier(.18, .75, .22, 1) forwards;
}
.hero-subtitle {
  margin: .4rem 0 .65rem;
  color: var(--muted);
  font-size: clamp(.78rem, .78vw, .9rem);
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(8px);
  animation: content-reveal .7s 1.15s ease-out forwards;
}
.hero-actions {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: .85rem;
}
@keyframes hero-arrival {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes title-reveal {
  0% { -webkit-mask-position: 100% 0; mask-position: 100% 0; letter-spacing: .005em; }
  100% { -webkit-mask-position: 0 0; mask-position: 0 0; letter-spacing: -.035em; }
}
@keyframes title-accent {
  to { opacity: 1; transform: translateX(0); filter: blur(0); }
}
@keyframes content-reveal {
  to { opacity: 1; transform: translateY(0); }
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 196px;
  min-height: 52px;
  padding: .65rem 1.45rem;
  border: 0;
  text-decoration: none;
  color: var(--cream);
  background: url("../assets/images/ui/buttons/bouton_divers.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .68));
  font-family: Arial, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-shadow: 0 1px 4px #000;
  transition: transform .2s, filter .2s, color .2s, text-shadow .2s;
}
.button:hover, .button:focus-visible {
  color: #fff8df;
  filter: brightness(1.14) drop-shadow(0 0 5px rgba(255, 225, 147, .7)) drop-shadow(0 0 15px rgba(212, 139, 47, .5)) drop-shadow(0 10px 12px rgba(0, 0, 0, .7));
  text-shadow: 0 1px 4px #000, 0 0 8px rgba(255, 228, 161, .55);
  transform: translateY(-2px);
}
.button:focus-visible { outline: 1px solid rgba(255, 237, 182, .85); outline-offset: 3px; }
.button:active {
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 205, 102, .55)) drop-shadow(0 5px 7px rgba(0, 0, 0, .72));
  transform: translateY(1px) scale(.985);
}
.play-icon { margin-right: .6rem; color: var(--gold); font-size: .65rem; }
.product-showcase {
  position: relative;
  z-index: 4;
  justify-self: center;
  width: min(840px, 42vw);
  aspect-ratio: 16 / 9;
  margin-top: .6rem;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .88), 0 10px 28px rgba(0, 0, 0, .72), 0 0 45px rgba(115, 48, 91, .25);
}
.showcase-slides { position: absolute; inset: 0; }
.showcase-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  visibility: hidden;
  opacity: 0;
  transform: scale(1.004);
  transition: opacity .62s cubic-bezier(.4, 0, .2, 1), transform .72s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .72s;
}
.showcase-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  transition-delay: 0s;
}
.showcase-dots {
  position: absolute;
  z-index: 2;
  bottom: clamp(8px, 1vw, 14px);
  left: 50%;
  display: flex;
  gap: 9px;
  padding: 6px 9px;
  border: 1px solid rgba(231, 189, 101, .18);
  border-radius: 20px;
  background: rgba(13, 6, 17, .62);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .65);
  backdrop-filter: blur(4px);
  transform: translateX(-50%);
}
.showcase-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 228, 157, .72);
  border-radius: 50%;
  background: rgba(38, 19, 38, .75);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, .8);
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.showcase-dot:hover, .showcase-dot:focus-visible { transform: scale(1.2); }
.showcase-dot:focus-visible { outline: 1px solid #fff1bd; outline-offset: 3px; }
.showcase-dot.is-active {
  background: #f1c66e;
  box-shadow: 0 0 5px #ffe7a2, 0 0 12px rgba(226, 158, 55, .8);
}
.tokencraft-info {
  position: absolute;
  z-index: 7;
  top: clamp(132px, 15vh, 175px);
  right: 0;
  width: clamp(380px, 22vw, 430px);
  aspect-ratio: 2256 / 2816;
  color: #17120f;
  pointer-events: none;
}
.tokencraft-info-tab {
  position: absolute;
  z-index: 2;
  top: 24%;
  right: 0;
  min-height: 174px;
  padding: 13px 9px;
  border: 1px solid rgba(231, 189, 101, .82);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  color: #f4d48c;
  background: linear-gradient(90deg, rgba(35, 11, 38, .98), rgba(60, 21, 51, .97));
  box-shadow: -7px 8px 18px rgba(0, 0, 0, .48), inset 0 0 12px rgba(231, 189, 101, .08);
  cursor: pointer;
  font: 600 .72rem/1.18 Georgia, "Times New Roman", serif;
  letter-spacing: .055em;
  text-shadow: 0 1px 3px #000;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  pointer-events: auto;
}
.tokencraft-info-tab:hover,
.tokencraft-info-tab:focus-visible { color: #fff1ba; background: #431638; outline: 1px solid rgba(255, 232, 167, .86); outline-offset: -4px; }
.tokencraft-info-panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .58));
  transform: translateX(100%) scale(.985);
  transform-origin: right center;
  pointer-events: none;
  transition: opacity 340ms ease-in, transform 380ms cubic-bezier(.55, .06, .68, .19);
}
.tokencraft-info.is-open .tokencraft-info-panel {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  transition-duration: 520ms, 560ms;
  transition-timing-function: ease-out, cubic-bezier(.16, 1, .3, 1);
}
.tokencraft-info-parchment {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .8;
  pointer-events: none;
  user-select: none;
}
.tokencraft-info-close {
  position: absolute;
  z-index: 3;
  top: 10.5%;
  right: 11%;
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(61, 34, 19, .56);
  border-radius: 50%;
  color: #2b1911;
  background: rgba(244, 216, 156, .72);
  cursor: pointer;
  font: 700 1.35rem/1 Georgia, serif;
}
.tokencraft-info-copy {
  position: absolute;
  z-index: 1;
  inset: 13.5% 16% 13% 16%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  color: #211a15;
  font-size: clamp(.72rem, .66vw, .82rem);
  line-height: 1.34;
  text-align: left;
  scrollbar-color: rgba(91, 48, 25, .72) rgba(111, 72, 38, .14);
  scrollbar-width: thin;
}
.tokencraft-info-copy::-webkit-scrollbar { width: 6px; }
.tokencraft-info-copy::-webkit-scrollbar-track { border-radius: 999px; background: rgba(111, 72, 38, .14); }
.tokencraft-info-copy::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(91, 48, 25, .72); }
.tokencraft-info-copy::-webkit-scrollbar-thumb:hover { background: rgba(67, 33, 18, .88); }
.tokencraft-info-copy h2,
.tokencraft-info-copy p {
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 300ms ease-out, transform 300ms ease-out;
}
.tokencraft-info-copy h2 {
  margin: 0 0 .58em;
  color: #21150f;
  font-size: clamp(1.18rem, 1.22vw, 1.48rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .035em;
  text-align: center;
  text-transform: uppercase;
}
.tokencraft-info-copy p { margin: 0 0 .58em; }
.tokencraft-info-copy p:last-child { margin-bottom: 0; }
.tokencraft-info-highlight { font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.tokencraft-info.is-open .tokencraft-info-copy h2,
.tokencraft-info.is-open .tokencraft-info-copy p { opacity: 1; transform: translateY(0); }
.tokencraft-info.is-open .tokencraft-info-copy h2 { transition-delay: 250ms; }
.tokencraft-info.is-open .tokencraft-info-copy p:nth-of-type(1) { transition-delay: 330ms; }
.tokencraft-info.is-open .tokencraft-info-copy p:nth-of-type(2) { transition-delay: 410ms; }
.tokencraft-info.is-open .tokencraft-info-copy p:nth-of-type(3) { transition-delay: 490ms; }
.tokencraft-info.is-open .tokencraft-info-copy p:nth-of-type(4) { transition-delay: 570ms; }
.tokencraft-info.is-open .tokencraft-info-copy p:nth-of-type(5) { transition-delay: 650ms; }
.tokencraft-info.is-open .tokencraft-info-copy p:nth-of-type(6) { transition-delay: 730ms; }
.pricing-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.5rem, .8vw, .85rem);
  width: min(calc(100% - 48px), 1560px);
  margin-top: clamp(.5rem, .75vw, .75rem);
}
.price-card {
  position: relative;
  aspect-ratio: 900 / 520;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 11% 11% 8%;
  text-align: center;
  background: url("../assets/images/ui/price-cards/price-frame.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .78)) drop-shadow(0 5px 8px rgba(0, 0, 0, .58));
  transition: filter .28s ease, transform .28s ease;
}
.price-card:hover, .price-card:focus-within, .price-card.is-active {
  filter: brightness(1.06) drop-shadow(0 20px 24px rgba(0, 0, 0, .82)) drop-shadow(0 0 13px rgba(231, 189, 101, .15));
  transform: translateY(-2px);
}
.price-card.is-active { filter: brightness(1.1) drop-shadow(0 20px 24px rgba(0, 0, 0, .82)) drop-shadow(0 0 18px rgba(231, 189, 101, .34)); }
.price-card h2 {
  min-height: 2.4em;
  margin: 0;
  color: var(--gold-light);
  font-size: clamp(.72rem, .87vw, .98rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.price-card h2 span {
  display: block;
  margin-top: .2em;
  color: rgba(255, 248, 232, .86);
  font-size: .76em;
  letter-spacing: .02em;
  text-transform: none;
}
.price-card .price {
  margin: .16em 0 .18em;
  color: #fff0b5;
  font-size: clamp(1.18rem, 1.5vw, 1.72rem);
  line-height: 1;
  text-shadow: 0 2px 8px #000;
}
.price-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78%;
  min-height: 28px;
  padding: .35em .8em;
  color: #25150b;
  background: url("../assets/images/ui/buttons/price-tag-button.webp") center / 100% 100% no-repeat;
  text-decoration: none;
  font-size: clamp(.66rem, .75vw, .84rem);
  line-height: 1.1;
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.price-button:hover, .price-button:focus-visible {
  filter: brightness(1.16);
  box-shadow: 0 0 0 1px rgba(255, 235, 169, .24), 0 0 20px rgba(236, 177, 67, .44);
  transform: translateY(-1px);
}
.price-button:active { filter: brightness(1.22); box-shadow: 0 0 14px rgba(255, 206, 102, .5); transform: translateY(1px) scale(.985); }
.price-details {
  position: fixed;
  z-index: 95;
  top: var(--detail-top, 16px);
  left: var(--detail-left, 16px);
  width: clamp(280px, 20.5vw, 332px);
  height: min(552px, calc(100vh - 32px));
  margin: 0;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  isolation: isolate;
  filter: drop-shadow(0 25px 34px rgba(0, 0, 0, .9)) drop-shadow(0 0 18px rgba(121, 54, 111, .35));
  transform: translate(-14px, 10px) scale(.975);
  transform-origin: right center;
  transition: opacity .3s ease, transform .38s cubic-bezier(.2, .75, .2, 1), visibility 0s linear .38s;
}
.price-details::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("../assets/images/ui/price-cards/price-frame_text_sideway.webp") center / 100% 100% no-repeat;
  content: "";
  opacity: .88;
  pointer-events: none;
}
.price-details.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, 0) scale(1);
  transition-delay: 0s;
}
.price-details-content {
  position: absolute;
  inset: 13% 15.5% 12.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: rgba(255, 248, 232, .92);
  font-family: Arial, sans-serif;
  font-size: clamp(.61rem, .62vw, .69rem);
  line-height: 1.4;
  text-align: left;
  text-shadow: 0 1px 3px #09040b;
}
.price-details h3 {
  margin: 0;
  color: var(--gold-light);
  font: 400 clamp(.82rem, .88vw, .96rem)/1.18 Georgia, "Times New Roman", serif;
  letter-spacing: .045em;
  text-align: center;
  text-transform: uppercase;
}
.price-details h3 span {
  display: block;
  margin-top: .32em;
  color: rgba(255, 248, 232, .78);
  font-size: .72em;
  letter-spacing: .025em;
  text-transform: none;
}
.price-details .detail-price {
  margin: .38em 0 .55em;
  color: #fff0b5;
  font: 400 clamp(1.35rem, 1.65vw, 1.75rem)/1 Georgia, "Times New Roman", serif;
  text-align: center;
}
.price-details p { margin: .38em 0; }
.price-details ul { margin: .28em 0 .42em; padding-left: 1.35em; }
.price-details li { margin: .12em 0; padding-left: .12em; }
.price-details .detail-includes {
  margin-bottom: .05em;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.price-details .detail-total { color: var(--gold-light); font-weight: 700; text-align: center; }
.site-footer {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(56px, 5.3vw, 102px);
  margin-top: -1px;
  padding: 0 1rem;
  overflow: hidden;
  text-align: center;
  color: rgba(255, 240, 194, .82);
  background: #120817 url("../assets/images/ui/dividers/lowest_border.png") center / 100% auto no-repeat;
  font: .7rem/1.4 Arial, sans-serif;
  letter-spacing: .08em;
}
.site-footer p {
  position: relative;
  z-index: 1;
  margin: 0;
  text-shadow: 0 2px 5px #08030a, 0 0 12px rgba(231, 189, 101, .24);
}
.music-controls {
  position: absolute;
  z-index: 2;
  right: clamp(12px, 2.5vw, 42px);
  bottom: 13%;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .2rem .45rem;
  border: 1px solid rgba(231, 189, 101, .2);
  border-radius: 999px;
  background: rgba(12, 5, 17, .62);
  box-shadow: 0 0 12px rgba(87, 32, 95, .28);
}
.music-mute {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 3px;
  border: 0;
  color: var(--gold-light);
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 0 4px rgba(231, 189, 101, .32));
}
.music-mute:hover, .music-mute:focus-visible { color: #fff7cc; filter: drop-shadow(0 0 6px rgba(231, 189, 101, .7)); }
.music-mute svg { width: 19px; height: 19px; fill: currentColor; }
.music-mute .sound-waves, .music-mute .mute-mark { fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.music-mute .mute-mark { display: none; }
.music-mute[aria-pressed="true"] .sound-waves { display: none; }
.music-mute[aria-pressed="true"] .mute-mark { display: initial; }
.music-volume {
  width: clamp(58px, 5.2vw, 82px);
  height: 14px;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
}
.background-music { display: none; }

@media (max-width: 1280px) {
  .tokencraft-info { position: fixed; top: max(82px, 8svh); width: min(430px, 88vw); max-height: calc(100svh - 100px); }
  .tokencraft-info-close { display: block; }
  .tokencraft-info-copy { font-size: clamp(.72rem, 1.25vw, .82rem); }
  .tokencraft-info-copy h2 { font-size: clamp(1.2rem, 2.2vw, 1.48rem); }
}

@media (max-width: 1100px) {
  .nav-shell { width: min(100% - 40px, 1600px); }
  .nav-links { gap: .85rem; }
  .nav-menu { gap: .75rem; }
  .account-actions { gap: .35rem; }
  .account-button { width: 120px; padding-inline: .65rem; font-size: .6rem; }
  .nav-actions { gap: .85rem; }
  .nav-cta { width: 172px; }
  .hero { padding-inline: 3vw; }
  .hero-fog-video-layer { opacity: .52; }
  .product-showcase { width: min(860px, 78vw); }
  .pricing-grid { grid-template-columns: repeat(3, minmax(220px, 1fr)); width: min(100% - 48px, 920px); }
  .price-details { display: none; }
}

@media (min-width: 761px) and (max-height: 760px) {
  .nav-shell { min-height: 68px; }
  .hero { padding-top: 92px; padding-bottom: 16px; }
  .hero h1 { font-size: clamp(2.55rem, 3.2vw, 2.9rem); }
  .hero-subtitle { margin: .4rem 0 .6rem; font-size: .8rem; }
  .button { min-height: 40px; padding-block: .55rem; }
  .product-showcase { width: min(740px, 42vw); margin-top: .5rem; }
}

@media (max-width: 760px) {
  .site-header { position: absolute; background: rgba(7, 3, 11, .7); backdrop-filter: blur(9px); }
  .nav-shell { width: calc(100% - 32px); min-height: 68px; justify-content: space-between; }
  .nav-toggle { margin-left: auto; }
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid rgba(231, 189, 101, .4);
    background: rgba(12,6,15,.4);
  }
  .nav-toggle > span:not(.sr-only) { display: block; height: 1px; background: var(--gold-light); transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .nav-menu {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(9, 4, 13, .97);
  }
  .nav-menu.is-open { display: block; }
  .nav-links { align-items: stretch; flex-direction: column; gap: 0; margin-left: 0; }
  .nav-links a { padding: .8rem 0; }
  .nav-links .active::after { display: none; }
  .account-actions { justify-content: center; margin-top: .8rem; margin-left: 0; }
  .account-button { width: min(46%, 170px); }
  .nav-actions { justify-content: space-between; margin-top: .8rem; margin-left: 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
  .nav-cta { display: inline-flex; }
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100svh;
    padding: 118px 20px 56px;
    background-position: center top;
  }
  .hero-fog-video-layer { opacity: .4; }
  .hero-fog-mask {
    -webkit-mask-position: center 12%;
    mask-position: center 12%;
  }
  .hero-fog-video-layer video { inset: 18% -18% -3%; width: 136%; height: 85%; }
  .hero-vignette { background: radial-gradient(ellipse 88% 66% at 50% 32%, transparent 0 55%, rgba(6,2,9,.22) 82%, rgba(6,2,9,.72) 100%); }
  .hero-content { align-self: auto; padding-top: 0; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); line-height: .98; white-space: normal; }
  .hero-subtitle { max-width: 320px; margin: 1rem auto 1.4rem; font-size: 1rem; line-height: 1.5; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 290px; margin: auto; }
  .button { width: min(100%, 240px); min-height: 52px; }
  .product-showcase { width: 100%; margin-top: 2.5rem; }
  .tokencraft-info { top: max(74px, 8svh); width: min(410px, calc(100vw - 44px)); }
  .tokencraft-info-tab { top: 20%; min-height: 150px; padding-inline: 8px; font-size: .68rem; }
  .tokencraft-info-copy { font-size: clamp(.67rem, 2.55vw, .78rem); line-height: 1.28; }
  .tokencraft-info-copy h2 { font-size: clamp(1.08rem, 4.6vw, 1.38rem); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: .75rem; }
  .price-card h2 { font-size: clamp(.72rem, 3.3vw, .95rem); }
  .price-card .price { font-size: clamp(1.2rem, 6vw, 1.7rem); }
  .price-button { min-height: 28px; font-size: clamp(.68rem, 3.1vw, .85rem); }
  .site-footer { min-height: clamp(56px, 10vw, 76px); background-size: auto 100%; }
  .site-footer p { font-size: .64rem; }
  .music-controls { right: 8px; bottom: 8%; gap: .2rem; padding-inline: .3rem; }
  .music-volume { width: 54px; }
}

@media (max-width: 380px) {
  .hero { padding-inline: 14px; }
  .nav-shell { width: calc(100% - 24px); }
  .nav-cta { padding-inline: .8rem; }
  .pricing-grid { grid-template-columns: 1fr; width: min(100%, 310px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .hero-fog-video-layer video { display: none; animation: none; }
  .dragon-eye-glow, .candle-flicker { animation: none; }
  .hero-content, .hero h1, .hero h1 .title-accent, .hero-subtitle, .hero-actions {
    animation: none;
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .tokencraft-info { transition-duration: .01ms; }
  .tokencraft-info-copy h2,
  .tokencraft-info-copy p { transition-duration: .01ms; transition-delay: 0s !important; }
}

/* Features page */
.features-page { height:100svh; overflow:hidden; background:#100814; }
.features-page .site-header { background: linear-gradient(180deg, rgba(8,3,11,.9), rgba(12,5,16,.66)); }
.features-page .nav-shell { width:min(100% - 64px,1760px); min-height:72px; }
.features-page .account-actions { display:flex; }
.features-page .header-music-controls { position:static; flex:0 0 auto; padding:.18rem .42rem; background:rgba(12,5,17,.45); }
.features-page .header-music-controls .music-volume { width:clamp(54px,4.4vw,72px); }
.features-main { position:relative; height:100svh; min-height:0; isolation:isolate; overflow:hidden; background:#160b1c; }
.features-backdrop { position:absolute; z-index:-2; inset:0; overflow:hidden; background:url("../assets/images/hero/hero%20_image%20_page_2.webp") center top / cover no-repeat; }
.features-backdrop::after { position:absolute; top:6%; left:0; width:18%; height:48%; content:""; pointer-events:none; background:radial-gradient(ellipse at 31% 31%,rgba(255,236,158,.62),rgba(232,169,72,.24) 22%,rgba(187,103,43,.08) 42%,transparent 68%); filter:brightness(1.05) drop-shadow(0 0 24px rgba(255,198,91,.28)); mix-blend-mode:screen; opacity:.58; animation:noir-lamp-flicker 11s ease-in-out infinite; }
@keyframes noir-lamp-flicker { 0%,15%,100%{opacity:.58;filter:brightness(1.05) drop-shadow(0 0 24px rgba(255,198,91,.28))} 24%{opacity:.7;filter:brightness(1.2) drop-shadow(0 0 34px rgba(255,202,104,.38))} 27%{opacity:.64} 54%{opacity:.88;filter:brightness(1.48) drop-shadow(0 0 48px rgba(255,210,119,.52))} 63%{opacity:.72;filter:brightness(1.22) drop-shadow(0 0 34px rgba(255,202,104,.4))} 82%{opacity:.8;filter:brightness(1.34) drop-shadow(0 0 42px rgba(255,207,111,.46))} }
.features-main::after { position:absolute; z-index:-1; inset:0; content:""; pointer-events:none; background:linear-gradient(90deg, rgba(8,3,12,.1) 0 21%, rgba(8,3,12,.38) 38%, rgba(8,3,12,.18)), linear-gradient(0deg,rgba(7,2,10,.46),transparent 45%,rgba(7,2,10,.2)); }
.features-layout { position:relative; width:min(calc(100% - 46px), 1450px); height:100svh; min-height:0; margin:auto; padding:72px 0 18px 22%; }
.features-intro { min-height:76px; text-align:center; text-shadow:0 4px 12px #050107,0 12px 30px rgba(0,0,0,.92); }
.features-intro h1 { position:relative; display:inline-block; margin:0 0 .38rem; color:#fff0bd; font-size:clamp(2rem,2.65vw,3.05rem); font-weight:400; line-height:1.05; letter-spacing:-.025em; opacity:0; transform:translateX(clamp(130px,18vw,300px)); text-shadow:0 4px 7px #050107,0 12px 30px #000,0 0 18px rgba(242,190,87,.34); animation:feature-title-reveal 1.5s cubic-bezier(.16,.78,.24,1) .12s forwards,feature-title-sheen 1.15s ease-in-out 1.85s 1; }
.features-intro h1::before { position:absolute; inset:0; content:attr(data-title); color:transparent; background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.96) 49%,#ffe8a3 53%,transparent 64%) 140% 0 / 250% 100% no-repeat; background-clip:text; -webkit-background-clip:text; pointer-events:none; animation:feature-title-reflection 1.05s ease-out 1.85s 1 both; }
.features-intro h1::after { position:absolute; top:-.08em; right:-.18em; content:"✦"; color:#fff7ce; font-size:.3em; text-shadow:0 0 5px #fff,0 0 12px #efbd55; opacity:0; transform:scale(.25) rotate(-20deg); animation:feature-title-sparkle .72s ease-out 2.95s 1; }
@keyframes feature-title-reveal { 70% { color:#fff6d5; text-shadow:0 4px 7px #050107,0 12px 30px #000,0 0 26px rgba(255,209,106,.64); } to { opacity:1; transform:translateX(0); } }
@keyframes feature-title-sheen { 0%,100% { color:#fff0bd; } 48% { color:#fffdf0; text-shadow:0 4px 7px #050107,0 12px 30px #000,0 0 28px rgba(255,224,151,.7); } }
@keyframes feature-title-reflection { from { background-position:140% 0; } to { background-position:-45% 0; } }
@keyframes feature-title-sparkle { 0%,100% { opacity:0; transform:scale(.25) rotate(-20deg); } 42%,62% { opacity:1; transform:scale(1) rotate(8deg); } }
.feature-categories { display:flex; justify-content:center; align-items:center; gap:clamp(1rem,2.25vw,2.3rem); color:#f0bc55; font:700 clamp(.55rem,.62vw,.68rem)/1 Arial,sans-serif; text-transform:uppercase; opacity:0; transform:translateX(clamp(90px,12vw,190px)); text-shadow:0 2px 4px #000,0 0 9px #130617,0 5px 13px #000; animation:feature-categories-arrive 1.2s cubic-bezier(.16,.76,.26,1) .5s forwards; }
.feature-categories span { display:flex; align-items:center; white-space:nowrap; }
.feature-categories span:first-letter { font-size:1.5rem; }
@keyframes feature-categories-arrive { 70% { opacity:1; } to { opacity:1; transform:translateX(0); } }
.feature-ambient-slogan { position:absolute; z-index:2; top:124px; left:.5%; width:21.5%; margin:0; color:rgba(255,239,194,.96); font:italic 600 clamp(1.9rem,2.35vw,2.55rem)/1.18 "Brush Script MT","Segoe Script","Lucida Handwriting",cursive; letter-spacing:.025em; text-align:left; text-shadow:0 3px 5px #000,0 0 14px #120716,0 0 24px rgba(231,189,101,.42); opacity:0; transform:rotate(-5deg); transform-origin:left center; transition:opacity .8s ease; }
.feature-ambient-slogan.is-visible { opacity:1; }
.feature-ambient-slogan.is-typing::after { display:inline-block; width:1px; height:1em; margin-left:4px; content:""; background:#f1c76d; vertical-align:-.12em; animation:feature-caret .75s steps(1) infinite; }
.feature-primary-row { display:grid; grid-template-columns:minmax(0,1.82fr) minmax(300px,.9fr); gap:0; }
.feature-panel { position:relative; border:2px solid rgba(225,166,66,.88); background:linear-gradient(145deg,rgba(15,6,19,.46),rgba(9,4,14,.4)); box-shadow:8px 20px 45px rgba(0,0,0,.7), inset 0 0 32px rgba(104,42,91,.1), 0 0 0 1px rgba(255,218,131,.08); backdrop-filter:blur(7px) saturate(112%); }
.screenshot-panel { min-height:clamp(330px,39.5svh,380px); border-radius:14px 0 0 14px; overflow:hidden; }
.feature-slides { position:absolute; inset:10px 10px 24px; display:grid; place-items:center; border-radius:5px; overflow:hidden; background:rgba(6,3,9,.72); }
.feature-slide { position:absolute; inset:0; display:grid; place-items:center; visibility:hidden; opacity:0; transition:opacity .45s ease,visibility 0s linear .45s; }
.feature-slide.is-active { visibility:visible; opacity:1; transition-delay:0s; }
.feature-slide img { display:block; width:100%; height:100%; max-width:100%; max-height:100%; aspect-ratio:auto; object-fit:contain; object-position:center; transform:none; filter:drop-shadow(7px 10px 12px rgba(0,0,0,.48)); }
.feature-arrow { position:absolute; z-index:2; top:50%; display:grid; place-items:center; width:45px; height:45px; padding:0 0 5px; border:1px solid var(--gold); border-radius:50%; color:var(--gold-light); background:rgba(9,5,13,.88); font:2rem/1 Georgia,serif; cursor:pointer; transform:translateY(-50%); transition:.2s; }
.feature-arrow:hover,.feature-arrow:focus-visible { background:#4a213f; box-shadow:0 0 14px rgba(231,189,101,.38); transform:translateY(-50%) scale(1.05); }
.feature-arrow-prev { left:24px; } .feature-arrow-next { right:24px; }
.feature-indicators { position:absolute; z-index:3; bottom:8px; left:50%; display:flex; gap:7px; transform:translateX(-50%); }
.feature-indicator { width:8px; height:8px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.25); cursor:pointer; }
.feature-indicator.is-active { width:13px; border-radius:8px; background:var(--gold); box-shadow:0 0 8px rgba(255,224,145,.7); }
.feature-description { min-height:clamp(330px,39.5svh,380px); margin-left:-2px; padding:21px 23px; overflow:hidden; border-radius:0 14px 14px 0; }
.feature-description::before { position:absolute; z-index:0; inset:-12%; content:""; pointer-events:none; background:radial-gradient(ellipse at 52% 42%,rgba(2,1,4,.82) 0,rgba(5,2,8,.67) 48%,rgba(8,3,11,.28) 73%,transparent 100%); filter:blur(14px); }
.feature-description > * { position:relative; z-index:1; }
.feature-description h2 { margin:0 0 .68rem; color:#ffe6a0; font-size:1.48rem; font-weight:400; }
.feature-description p { min-height:4.6em; margin:.22rem 0; color:rgba(255,248,232,.88); font:400 .85rem/1.58 Arial,sans-serif; }
.feature-description .feature-secondary { min-height:0; margin-top:1.15rem; color:#efc76d; font-size:.8rem; font-style:italic; }
.feature-description .feature-secondary:empty { display:none; }
.feature-description [data-feature-description].is-typing::after { display:inline-block; width:1px; height:1em; margin-left:3px; content:""; background:#f1c76d; vertical-align:-.12em; animation:feature-caret .75s steps(1) infinite; }
@keyframes feature-caret { 50% { opacity:0; } }
.feature-gallery-row { display:grid; grid-template-columns:1.05fr 1.05fr 1.28fr; gap:10px; margin-top:10px; }
.compact-panel { display:flex; min-height:clamp(260px,31svh,310px); padding:62px 16px 25px; border-radius:13px; }
.panel-heading { position:absolute; top:13px; right:14px; left:14px; text-align:center; }
.panel-heading h2 { margin:0; color:#ffe6a0; font-size:1.33rem; font-weight:400; }
.panel-heading p { margin:.3rem 0; color:rgba(255,248,232,.76); font:500 .61rem/1.3 Arial,sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.asset-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; width:100%; height:clamp(190px,23svh,226px); }
.feature-slot { position:relative; min-width:0; min-height:50px; border:1px solid rgba(231,189,101,.18); background:rgba(8,4,12,.18); transition:.25s; }
.token-slot { border:0; border-radius:50%; background:transparent; }
.token-slot:hover { filter:brightness(1.15); transform:translateY(-2px); }
.bit-slot { padding:3%; border-radius:4px; background:rgba(15,7,20,.8); }
.feature-slot img,.format-slot img { display:block; width:100%; height:100%; object-fit:contain; filter:drop-shadow(8px 11px 8px rgba(0,0,0,.82)); }
.formats-panel { display:flex; align-items:center; overflow:visible; padding:75px 9px 25px; }
.formats-intro { position:absolute; top:62px; right:22px; left:22px; margin:0; color:rgba(255,245,224,.82); font:italic .74rem/1.45 Arial,sans-serif; text-align:center; }
.formats-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; gap:4px; width:100%; }
.format-slot { position:relative; aspect-ratio:1; padding-bottom:18px; overflow:visible; transform:scale(1.2); }
.format-label { position:absolute; right:0; bottom:0; left:0; color:rgba(255,248,232,.78); font:500 .61rem/1 Arial,sans-serif; letter-spacing:.18em; text-align:center; }
.panel-footer { position:absolute; right:18px; bottom:5px; left:18px; display:flex; align-items:center; gap:10px; margin:0; color:rgba(255,248,232,.7); font:500 .55rem/1 Arial,sans-serif; letter-spacing:.17em; text-align:center; text-transform:uppercase; white-space:nowrap; }
.panel-footer span { flex:1; height:1px; background:linear-gradient(90deg,transparent,rgba(231,189,101,.62)); }
.panel-footer span:last-child { transform:scaleX(-1); }
.featured-token { position:absolute; z-index:3; top:345px; left:-8.5vw; width:min(25.5vw,355px); aspect-ratio:1; pointer-events:none; }
.featured-token-stage { position:absolute; inset:0 0 26%; overflow:visible; background:transparent; filter:drop-shadow(11px 19px 15px rgba(0,0,0,.78)) drop-shadow(0 0 6px rgba(237,184,84,.32)); }
.featured-token-stage::before { position:absolute; z-index:-1; inset:12% 8% 2%; content:""; border-radius:50%; background:radial-gradient(ellipse at center,rgba(248,211,132,.13),rgba(88,38,76,.09) 48%,transparent 72%); filter:blur(10px); }
.featured-token-stage img { position:absolute; z-index:1; left:50%; bottom:0; width:112%; height:112%; object-fit:contain; transform:translateX(-50%); }
.featured-token > p { position:absolute; top:76%; right:2%; left:2%; margin:0; color:#f7d477; font:italic clamp(1.45rem,1.8vw,1.95rem)/1.08 "Brush Script MT","Segoe Script",cursive; text-align:center; text-shadow:3px 5px 7px #000,0 0 10px rgba(241,190,80,.28); transform:rotate(-2deg); }
.features-footer { display:none; }
@media (max-width:1100px) {
 .features-page .account-actions { display:none; }
 .features-layout { width:min(calc(100% - 30px),980px); padding-left:20%; }
 .feature-gallery-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .formats-panel { grid-column:1/-1; } .featured-token { top:390px; left:-4vw; width:22vw; }
}
@media (max-width:760px) {
 .features-page { height:auto; overflow:auto; }
 .features-page .nav-menu { top:66px; }
 .features-main { height:auto; min-height:100svh; overflow:hidden; } .features-backdrop { background-position:35% top; }
 .features-layout { width:calc(100% - 24px); height:auto; min-height:100svh; padding:88px 0 42px; }
 .features-intro { min-height:150px; } .features-intro h1 { font-size:2.2rem; }
 .feature-categories { flex-wrap:wrap; gap:.75rem 1.3rem; }
 .feature-ambient-slogan { position:relative; top:auto; left:auto; width:min(86%,420px); min-height:3.2rem; margin:-2.5rem auto 1rem; text-align:center; }
 .feature-primary-row,.feature-gallery-row { grid-template-columns:1fr; }
 .screenshot-panel { min-height:62vw; border-radius:13px 13px 0 0; }
 .feature-description { min-height:240px; margin:-1px 0 0; border-radius:0 0 13px 13px; }
 .compact-panel { min-height:330px; } .asset-grid { height:245px; }
 .formats-panel { grid-column:auto; min-height:250px; }
 .featured-token { position:relative; top:auto; bottom:auto; left:auto; width:min(72vw,320px); margin:25px auto 0; }
 .feature-arrow { width:38px;height:38px; } .feature-arrow-prev{left:12px}.feature-arrow-next{right:12px}
}
@media (max-width:430px) { .compact-panel { min-height:300px;padding-inline:12px; } .asset-grid{height:215px;} .panel-heading p{font-size:.5rem;} }
@media (prefers-reduced-motion:reduce) { .features-backdrop::after,.features-intro h1,.features-intro h1::before,.features-intro h1::after,.feature-categories,.feature-ambient-slogan.is-typing::after,.feature-description [data-feature-description].is-typing::after { animation:none; } .features-intro h1,.feature-categories { opacity:1; transform:none; } .feature-ambient-slogan { transition:none; } }

/* Fantasy eclipse page navigation and homepage dialogs */
@property --eclipse-core { syntax:"<length>"; inherits:false; initial-value:0vmax; }
@property --eclipse-mid { syntax:"<length>"; inherits:false; initial-value:1.3vmax; }
@property --eclipse-edge { syntax:"<length>"; inherits:false; initial-value:3vmax; }
html { background:#010003; }
html::after {
  content:"";
  position:fixed;
  z-index:2147483646;
  inset:-1px;
  pointer-events:none;
  background:radial-gradient(circle at 50% 48%,rgba(5,2,8,0) 0 var(--eclipse-core),rgba(5,2,8,.18) var(--eclipse-mid),rgba(4,1,7,.78) var(--eclipse-edge),rgba(1,0,3,.995) calc(var(--eclipse-edge) + 1vmax));
  will-change:background;
}
html:not(.page-ready)::after { --eclipse-core:0vmax; --eclipse-mid:1.3vmax; --eclipse-edge:3vmax; }
html.page-ready::after { --eclipse-core:112vmax; --eclipse-mid:128vmax; --eclipse-edge:155vmax; }
html.page-ready:not(.page-leaving)::after { animation:eclipse-open 1400ms cubic-bezier(.65,0,.35,1) both; }
html.page-ready.page-leaving::after { animation:eclipse-close 1300ms cubic-bezier(.65,0,.35,1) both; }
html:not(.page-ready) body { filter:blur(6px) brightness(.55) saturate(.78); transform:scale(1.008); }
html.page-ready body { filter:blur(0) brightness(1) saturate(1); transform:scale(1); transform-origin:center; animation:eclipse-content-enter 1400ms cubic-bezier(.22,.75,.28,1) both; }
html.page-ready.page-leaving body { filter:blur(6px) brightness(.55) saturate(.78); transform:scale(1.008); animation:none; transition:filter 1300ms cubic-bezier(.45,0,.3,1),transform 1300ms cubic-bezier(.65,0,.35,1); }
@keyframes eclipse-open { from { --eclipse-core:0vmax; --eclipse-mid:1.3vmax; --eclipse-edge:3vmax; } to { --eclipse-core:112vmax; --eclipse-mid:128vmax; --eclipse-edge:155vmax; } }
@keyframes eclipse-close { from { --eclipse-core:112vmax; --eclipse-mid:128vmax; --eclipse-edge:155vmax; } to { --eclipse-core:0vmax; --eclipse-mid:1.3vmax; --eclipse-edge:3vmax; } }
@keyframes eclipse-content-enter {
  from { filter:blur(6px) brightness(.55) saturate(.78); transform:scale(1.008); }
  to { filter:blur(0) brightness(1) saturate(1); transform:scale(1); }
}
.account-modal[hidden] { display:none; }
.account-modal { position:fixed; z-index:1100; inset:0; display:grid; place-items:center; padding:20px; background:rgba(4,1,7,.86); backdrop-filter:blur(8px); }
.account-dialog { position:relative; display:grid; place-items:center; width:min(94vw,620px); min-height:min(82vh,700px); padding:clamp(88px,16%,126px) clamp(72px,15%,108px); background:url("../assets/images/ui/panels/account_panel.webp") center/100% 100% no-repeat; filter:drop-shadow(0 28px 60px #000); }
.account-close { position:absolute; z-index:2; top:10%; right:12%; width:40px; height:40px; border:1px solid var(--gold); border-radius:50%; color:#fff0bd; background:rgba(12,5,16,.9); font:28px/1 Georgia,serif; cursor:pointer; }
.account-view { width:100%; max-width:340px; color:var(--cream); text-align:center; }
.account-view h2 { margin:0 0 .35em; color:var(--gold-light); font-weight:400; letter-spacing:.06em; }
.account-view p { margin:.35em 0 1.1em; color:var(--muted); font:italic .9rem/1.4 Georgia,serif; }
.account-form { display:grid; gap:.9rem; text-align:left; }
.account-form [data-registration-step] { display:grid; gap:.8rem; }
.account-form [data-registration-step][hidden] { display:none; }
.account-form label { display:grid; gap:.35rem; color:#f5d98e; font:700 .72rem/1.2 Arial,sans-serif; letter-spacing:.06em; text-transform:uppercase; }
.account-form input { width:100%; min-height:42px; border:1px solid rgba(231,189,101,.55); border-radius:3px; padding:.65rem .75rem; color:#fff; background:rgba(8,3,11,.8); font:1rem Arial,sans-serif; }
.account-form input:focus { outline:1px solid #ffe6a1; box-shadow:0 0 14px rgba(231,189,101,.28); }
.account-name-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; }
.account-field-help { display:block; margin:-.55rem 0 0; color:var(--muted); font:.72rem/1.35 Arial,sans-serif; }
.account-checkbox { display:grid!important; grid-template-columns:18px minmax(0,1fr); align-items:start; gap:.6rem!important; color:var(--cream)!important; font-weight:400!important; line-height:1.4!important; letter-spacing:0!important; text-transform:none!important; }
.account-checkbox input { width:17px; min-height:17px; margin:1px 0 0; accent-color:#b68136; }
.account-error,.account-form-status { margin:-.45rem 0 0!important; color:#ffd2ca!important; font:700 .75rem/1.35 Arial,sans-serif!important; }
.account-form-status { margin:.2rem 0 0!important; color:#f5d98e!important; text-align:center; }
.account-submit,.account-back { min-height:42px; border:1px solid var(--gold); color:#fff6d8; background:linear-gradient(#683f28,#2b1518); font:700 .72rem Arial,sans-serif; letter-spacing:.06em; cursor:pointer; }
.account-form-actions { display:grid; grid-template-columns:1fr 1.5fr; gap:.65rem; }
.account-modal-open,.video-modal-open { overflow:hidden; }
@media (max-width:480px) { .account-name-fields { grid-template-columns:1fr; } }
.video-modal[hidden] { display:none; }
.video-modal { position:fixed; z-index:1000; inset:0; display:grid; place-items:center; padding:clamp(18px,4vw,56px); background:rgba(4,1,7,.88); backdrop-filter:blur(8px); }
.video-dialog { position:relative; width:min(100%,1100px); max-height:calc(100svh - clamp(36px,8vw,112px)); aspect-ratio:16/9; border:1px solid rgba(239,190,87,.85); border-radius:12px; background:#09050c; box-shadow:0 30px 90px #000,0 0 35px rgba(213,148,49,.2); overflow:hidden; }
.video-dialog video { display:block; width:100%; height:100%; object-fit:contain; }
.video-close { position:absolute; z-index:2; top:12px; right:12px; width:42px; height:42px; border:1px solid var(--gold); border-radius:50%; color:#fff0bd; background:rgba(12,5,16,.9); font:30px/1 Georgia,serif; cursor:pointer; }
.video-close:hover,.video-close:focus-visible { box-shadow:0 0 16px rgba(240,190,85,.65); color:#fff; }

/* Lower feature inspection states */
.feature-slot,.format-slot { appearance:none; color:inherit; font:inherit; cursor:pointer; }
.feature-slot:focus-visible,.format-slot:focus-visible { outline:2px solid #ffe39a; outline-offset:2px; }
.feature-slot.is-selected,.format-slot.is-selected { border-color:#ffe39a; filter:brightness(1.16) drop-shadow(0 0 8px rgba(240,187,76,.72)); transform:translateY(-3px); }
.token-slot.is-selected { box-shadow:0 0 0 2px #e8b84f,0 0 14px rgba(240,187,76,.7); }
.format-slot { border:1px solid transparent; background:transparent; transition:transform .25s ease,filter .25s ease,border-color .25s ease; }
.format-slot.is-selected { transform:scale(1.2) translateY(-3px); }
.featured-token-stage img.inspection-preview { animation:inspection-preview-in 380ms ease both; }
.inspection-name { position:absolute; z-index:2; top:76%; left:50%; width:92%; color:#f8d77d; font:italic 600 clamp(1.15rem,1.55vw,1.7rem)/1.08 Georgia,serif; text-align:center; text-shadow:0 3px 6px #000,0 0 12px rgba(239,185,70,.48); opacity:0; transform:translate(-50%,6px); transition:opacity 380ms ease,transform 380ms ease; }
.inspection-name.is-visible { opacity:1; transform:translate(-50%,0); }
@keyframes inspection-preview-in { from { opacity:0; transform:translateX(-50%) scale(.94); } to { opacity:1; transform:translateX(-50%) scale(1); } }
@media (max-width:760px) { .inspection-name { top:76%; width:94%; } }
@media (prefers-reduced-motion:reduce) {
  html:not(.page-ready) body, html.page-ready.page-leaving body { opacity:1; filter:none; transform:none; }
  html.page-ready body, .feature-slot, .format-slot, .inspection-name { animation:none; transition:none; }
  html::after,html.page-ready:not(.page-leaving)::after,html.page-ready.page-leaving::after { display:none; animation:none; }
  .featured-token-stage img.inspection-preview { animation:none; }
}

@media (max-width:560px) {
  .account-dialog { min-height:620px; padding:90px 58px; background-size:cover; }
  .account-close { top:8%; right:8%; }
}

/* Persistent Map Alchemists home link. */
.map-alchemists-signature {
  position: fixed;
  z-index: 20;
  left: clamp(10px, 1.25vw, 24px);
  bottom: clamp(10px, 1.7vh, 18px);
  width: clamp(64px, 6.25vw, 120px);
  height: clamp(64px, 6.25vw, 120px);
  cursor: pointer;
}
.map-alchemists-signature:focus-visible {
  border-radius: 50%;
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}
.map-alchemists-signature img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .58));
}
@media (max-width: 760px) {
  .map-alchemists-signature {
    width: clamp(58px, 18vw, 78px);
    height: clamp(58px, 18vw, 78px);
  }
}

/* Standalone storefront — deliberately namespaced to preserve the homepage. */
.pricing-page { min-width: 320px; overflow-x:hidden; background: #100713; }
.pricing-page::after { content:none; }
.pricing-scene {
  position:relative; isolation:isolate; min-height:100svh;
  background:#140a17 url("../assets/images/hero/hero_image_pricing.webp") center 8% / cover no-repeat fixed;
}
.pricing-scene::before,.pricing-scene::after { content:""; position:absolute; z-index:0; inset:0; pointer-events:none; }
.pricing-scene::before { background:linear-gradient(90deg,transparent 0 31%,rgba(11,4,14,.1) 42%,rgba(9,3,12,.46) 100%); }
.pricing-scene::after { background:radial-gradient(ellipse 90% 82% at 50% 42%,transparent 62%,rgba(3,1,5,.12) 84%,rgba(2,0,4,.34) 100%); }
.shop-header {
  position: fixed; z-index: 70; inset: 0 0 auto; display: flex; align-items: center; gap: clamp(18px, 2.3vw, 42px);
  height: 82px; padding: 0 clamp(24px, 2.8vw, 54px); color: #fff6e4;
  border-bottom: 1px solid rgba(225,173,75,.28);
  box-shadow:0 9px 22px rgba(7,2,9,.1);
}
.shop-header::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,rgba(16,5,19,.65),rgba(10,3,14,.58)); pointer-events:none; }
.shop-header > * { position:relative; }
.shop-brand { display:flex; align-items:center; gap:10px; flex:0 0 auto; color:#f8dfad; font-size:clamp(1.7rem,2.1vw,2.55rem); text-decoration:none; text-shadow:0 2px 12px #000; cursor:pointer; }
.shop-brand:focus-visible { border-radius:8px; outline:2px solid var(--gold-light); outline-offset:3px; }
.shop-brand-logo { display:block; flex:0 0 120px; width:120px; height:120px; margin-bottom:-12px; object-fit:contain; filter:drop-shadow(0 7px 10px rgba(0,0,0,.82)) drop-shadow(0 15px 22px rgba(0,0,0,.52)); transform:translateY(15px); }
.shop-navigation { display:flex; align-items:center; gap:clamp(1.1rem,2vw,2.2rem); }
.shop-navigation a {
  position:relative;
  padding:29px 2px 25px;
  color:rgba(255,248,232,.78);
  text-decoration:none;
  font-family:Arial,sans-serif;
  font-size:.78rem;
  letter-spacing:.08em;
  transition:color .2s;
}
.shop-navigation a:hover,.shop-navigation a:focus-visible,.shop-navigation .active { color:var(--gold-light); }
.shop-navigation .active::after { content:""; position:absolute; right:25%; bottom:18px; left:25%; height:1px; background:var(--gold); }
.shop-search { display:flex; align-items:center; gap:9px; width:clamp(190px,17vw,300px); height:42px; margin-left:auto; padding:0 15px; border:1px solid rgba(221,190,222,.4); border-radius:17px; background:rgba(8,3,11,.34); color:#e7bd65; }
.shop-search input { min-width:0; width:100%; border:0; outline:0; color:#fff; background:none; font: .78rem Arial,sans-serif; }
.shop-search input::placeholder { color:rgba(255,255,255,.68); }
.cart-button { position:relative; padding:6px; border:0; color:#f1c486; background:transparent; font-size:1.6rem; cursor:pointer; }
.cart-button strong { position:absolute; top:-2px; right:-7px; display:grid; place-items:center; min-width:19px; height:19px; border-radius:12px; color:#1a0e0b; background:#f3c46f; font:700 .7rem Arial,sans-serif; }
.shop-language { color:#efd083; text-decoration:none; font-size:.8rem; }
.shop-motto { margin:0; padding-left:20px; border-left:1px solid rgba(236,216,198,.35); color:#d7b578; line-height:1.05; white-space:nowrap; }
.shop-motto strong { color:#f3cc78; font-weight:400; }
.shop-menu-toggle { display:none; }
.pricing-stage { position:relative; z-index:1; height:calc(100svh - 72px); min-height:0; padding-top:82px; overflow:visible; }
.pricing-art { position:absolute; z-index:1; inset:82px auto 0 0; width:38%; min-height:740px; pointer-events:none; }
.pricing-art::after { content:""; position:absolute; z-index:-1; inset:-82px -18% 0 0; background:radial-gradient(ellipse at 27% 7%,rgba(255,190,73,.3),transparent 13%),radial-gradient(ellipse at 36% 27%,rgba(227,91,25,.16),transparent 35%); mix-blend-mode:screen; transform-origin:28% 12%; animation:torch-reflection 2.17s linear infinite; }
.torch-flame { position:absolute; top:-42px; left:24%; width:96px; height:150px; border-radius:48% 52% 52% 48%; background:radial-gradient(ellipse at 50% 44%,rgba(255,255,214,.94) 0 7%,rgba(255,190,58,.68) 18%,rgba(238,84,18,.26) 42%,transparent 68%); filter:blur(2.5px) drop-shadow(0 0 22px rgba(255,121,26,.9)) drop-shadow(0 0 58px rgba(255,179,53,.62)); mix-blend-mode:screen; transform-origin:50% 82%; animation:torch-flame 1.83s linear infinite; }
.torch-flame::before,.torch-flame::after { content:""; position:absolute; border-radius:50%; mix-blend-mode:screen; transform-origin:50% 85%; }
.torch-flame::before { inset:19% 25% 20%; background:radial-gradient(ellipse at 50% 56%,rgba(255,255,222,.95),rgba(255,165,30,.55) 34%,transparent 70%); filter:blur(2px); animation:torch-core 1.57s linear infinite; }
.torch-flame::after { inset:-20% -35% -5%; background:radial-gradient(ellipse,rgba(255,147,34,.22),rgba(255,102,21,.08) 42%,transparent 70%); filter:blur(9px); animation:torch-halo 2.09s linear -.43s infinite; }
.pricing-slogan { position:absolute; isolation:isolate; left:clamp(38px,3.5vw,70px); bottom:38px; max-width:90%; padding:20px 24px 18px 10px; color:#fffaf2; font-size:clamp(2.3rem,3.35vw,4rem); line-height:.96; text-shadow:0 3px 5px #050006,0 8px 20px #050006,0 0 34px rgba(3,0,5,.96); }
.pricing-slogan::before { content:""; position:absolute; z-index:-1; inset:-42px -70px -38px -58px; background:radial-gradient(ellipse at 34% 54%,rgba(5,0,7,.9),rgba(7,1,9,.65) 48%,rgba(7,1,9,.24) 69%,transparent 84%); filter:blur(9px); }
.slogan-copy { position:relative; }
.slogan-copy>span,.slogan-copy>strong { display:block; white-space:pre; }
.slogan-copy strong { font-weight:400; }
.slogan-copy .slogan-measure { display:inline-block; white-space:pre; }
.slogan-animation { position:absolute; z-index:2; inset:20px 24px 18px 10px; pointer-events:none; }
.slogan-animation .slogan-letter { position:absolute; color:#fffaf2; will-change:transform,opacity; text-shadow:0 3px 5px #050006,0 8px 20px #050006; }
.pricing-slogan.is-animating .slogan-copy { visibility:hidden; }
.pricing-slogan small { position:relative; z-index:3; display:block; margin-top:20px; color:#fffaf0; font: .78rem Arial,sans-serif; letter-spacing:.38em; text-shadow:0 2px 4px #000,0 0 12px #000,0 0 28px #000,0 7px 18px #050006; text-transform:uppercase; }
.product-browser { --pricing-panel-height:min(744px, calc(100svh - 192px)); position:relative; z-index:3; display:grid; grid-template-columns:minmax(480px,1.2fr) minmax(390px,.9fr); align-items:start; gap:18px; width:min(100% - 40%, 1050px); min-height:0; margin-left:auto; padding:20px 28px 18px 0; }
.selected-product { display:flex; flex-direction:column; width:100%; height:var(--pricing-panel-height); min-height:0; padding:18px 23px 22px; overflow:visible; border:1px solid #e0ad50; border-radius:20px; background:linear-gradient(135deg,rgba(14,4,18,.82),rgba(6,2,10,.8)); box-shadow:0 30px 70px rgba(3,0,5,.72),0 12px 30px rgba(12,2,14,.58),inset 0 0 35px rgba(109,51,92,.09),0 0 24px rgba(219,169,78,.17); }
.selected-heading { display:flex; justify-content:space-between; align-items:center; color:#e7bd65; font:700 .7rem Arial,sans-serif; letter-spacing:.38em; text-transform:uppercase; }
.selected-heading span:last-child { padding:7px 17px; border:1px solid #bc8440; border-radius:20px; letter-spacing:.04em; }
.selected-media { position:relative; flex:0 0 auto; width:100%; min-height:0; aspect-ratio:8/3; margin:9px 0 12px; overflow:hidden; border:1px solid #d8a84f; border-radius:12px; background:rgba(7,3,9,.38); box-shadow:0 16px 34px rgba(3,0,5,.6),0 0 18px rgba(221,173,78,.12); }
.selected-image { position:relative; display:block; width:100%; height:100%; object-fit:cover; object-position:center; background:transparent; }
.selected-carousel-arrow { position:absolute; z-index:2; top:50%; display:grid; place-items:center; width:34px; height:34px; padding:0 0 3px; border:1px solid rgba(255,235,195,.52); border-radius:50%; color:#fff8e9; background:rgba(12,4,15,.58); box-shadow:0 3px 12px rgba(0,0,0,.42); font:400 1.65rem/1 Georgia,serif; cursor:pointer; transform:translateY(-50%); backdrop-filter:blur(3px); transition:background .2s ease,border-color .2s ease,transform .2s ease; }
.selected-carousel-arrow:hover,.selected-carousel-arrow:focus-visible { border-color:#f2c978; outline:none; background:rgba(20,7,22,.82); transform:translateY(-50%) scale(1.06); }
.selected-carousel-arrow--previous { left:12px; }
.selected-carousel-arrow--next { right:12px; }
.selected-carousel-dots { position:absolute; z-index:2; left:50%; bottom:10px; display:flex; gap:7px; padding:6px 9px; border-radius:18px; background:rgba(8,2,10,.42); box-shadow:0 2px 9px rgba(0,0,0,.28); transform:translateX(-50%); backdrop-filter:blur(3px); }
.selected-carousel-dot { width:8px; height:8px; padding:0; border:1px solid rgba(255,244,220,.82); border-radius:50%; background:rgba(255,255,255,.22); cursor:pointer; transition:background .2s ease,transform .2s ease; }
.selected-carousel-dot:hover,.selected-carousel-dot:focus-visible { outline:none; background:#ffe0a0; transform:scale(1.18); }
.selected-carousel-dot.is-active { background:#f3bf60; box-shadow:0 0 7px rgba(242,190,94,.8); }
.selected-carousel-arrow[hidden],.selected-carousel-dots[hidden] { display:none; }
.selected-product h1 { margin:0; color:#fff4dd; font-size:clamp(1.65rem,2vw,2.15rem); font-weight:400; line-height:1.08; }
.selected-tagline { margin:4px 0 9px; color:#eee0e8; font-size:1rem; }
.selected-price { margin:0 0 14px; color:#f0c66f; font-size:2rem; }
.selected-description { max-width:62ch; margin:0; padding:12px 0; border-top:1px solid rgba(222,173,91,.55); color:#d9ccd8; font-size:.91rem; line-height:1.45; }
.included-content { margin-top:auto; padding-top:2px; border-bottom:1px solid rgba(222,173,91,.35); }
.included-content h2 { margin:0 0 10px; color:#e8bb63; font:700 .65rem Arial,sans-serif; letter-spacing:.38em; text-transform:uppercase; }
.included-grid { display:grid; grid-template-columns:repeat(4,1fr); padding:0 0 12px; text-align:center; }
.included-grid span { display:flex; align-items:center; flex-direction:column; gap:4px; }
.included-grid b { display:grid; place-items:center; width:34px; height:34px; border:1px solid #d7a04e; border-radius:50%; color:#eab95b; font-size:1.35rem; }
.included-grid strong { color:#fff5e9; font-size:.73rem; font-weight:400; }
.included-grid small { max-width:90px; color:#cdbfcb; font:.61rem/1.25 Arial,sans-serif; }
.selected-add,.shop-product button { border:0; border-radius:10px; color:#231207; background:linear-gradient(#ffd68d,#e6a94f); box-shadow:inset 0 1px rgba(255,255,255,.7),0 5px 13px rgba(0,0,0,.35); font:700 .84rem Georgia,serif; cursor:pointer; }
.selected-add { flex:0 0 50px; align-self:center; width:100%; max-width:100%; min-height:50px; margin:11px auto 0; padding:8px 20px; font-size:1.08rem; }
.add-to-cart:hover,.add-to-cart:focus-visible { filter:brightness(1.1); transform:translateY(-1px); }
.product-list { display:flex; flex-direction:column; gap:10px; min-width:0; height:var(--pricing-panel-height); padding:2px 7px 18px 2px; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#b98239 rgba(8,2,11,.38); scroll-behavior:smooth; }
.product-list::-webkit-scrollbar { width:7px; }.product-list::-webkit-scrollbar-track { background:rgba(12,4,15,.5); border-radius:8px; }.product-list::-webkit-scrollbar-thumb { border-radius:8px; background:linear-gradient(#e0b15d,#8d5928); }
.shop-product { position:relative; isolation:isolate; flex:0 0 calc((100% - 44px) / 5); display:block; width:100%; min-height:130px; padding:10px 12px; overflow:hidden; border:1px solid #d6a44b; border-radius:14px; background:rgba(12,3,16,.88); box-shadow:0 18px 40px rgba(3,0,5,.64),0 6px 14px rgba(11,2,13,.48),inset 0 0 18px rgba(105,46,90,.08); cursor:pointer; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,opacity .25s ease; }
.shop-product:hover,.shop-product:focus-visible { border-color:rgba(233,192,111,.72); outline:none; transform:translateX(-2px); }
.shop-product.is-selected { border:1px solid #efc269; background:rgba(18,5,20,.9); box-shadow:0 18px 38px rgba(0,0,0,.76),0 0 16px rgba(248,188,81,.32); }
.shop-product>.product-card-art { position:absolute; z-index:0; inset:0; width:100%; height:100%; margin:0; border:0; border-radius:0; object-fit:cover; object-position:center; opacity:.85; background:transparent; filter:brightness(.86); pointer-events:none; -webkit-mask-image:linear-gradient(to right,rgba(0,0,0,1) 0%,rgba(0,0,0,1) 18%,rgba(0,0,0,.88) 28%,rgba(0,0,0,.62) 38%,rgba(0,0,0,.32) 48%,rgba(0,0,0,.12) 56%,rgba(0,0,0,0) 62%); mask-image:linear-gradient(to right,rgba(0,0,0,1) 0%,rgba(0,0,0,1) 18%,rgba(0,0,0,.88) 28%,rgba(0,0,0,.62) 38%,rgba(0,0,0,.32) 48%,rgba(0,0,0,.12) 56%,rgba(0,0,0,0) 62%); transition:filter .25s ease,transform .25s ease; }
.shop-product:hover>.product-card-art,.shop-product:focus-visible>.product-card-art,.shop-product.is-selected>.product-card-art { filter:brightness(.92); transform:scale(1.02); }
.shop-product[data-product-id="tokencraft-basic"]>.product-card-art { object-position:36% center; }
.shop-product[data-product-id="tokencraft-premium"]>.product-card-art { object-position:42% center; }
.shop-product[data-product-id="addon-fantasy-dark"]>.product-card-art { object-position:38% center; }
.shop-product[data-product-id="addon-pulp-occult-retro"]>.product-card-art { object-position:34% center; }
.shop-product[data-product-id="addon-war-cyber-future"]>.product-card-art { object-position:40% center; }
.shop-product>.product-card-content { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1fr) 128px; grid-template-rows:auto minmax(0,1fr) 37px; align-items:end; gap:3px 10px; min-width:0; height:102px; margin-left:42%; }
.shop-product h2 { grid-column:1/-1; align-self:start; margin:3px 0 0; color:#fff7eb; font-size:1.15rem; font-weight:400; line-height:1.04; }
.shop-product p { grid-column:1/-1; align-self:start; margin:0; overflow:hidden; color:#cfc0ce; font:.77rem/1.25 Arial,sans-serif; white-space:nowrap; text-overflow:ellipsis; }
.shop-product span { color:#f0c569; font-size:1.18rem; }
.shop-product button { align-self:stretch; width:128px; min-height:37px; padding:5px 12px; white-space:nowrap; }
.shop-product.coming-soon { cursor:default; border-color:rgba(214,164,75,.66); background:linear-gradient(110deg,rgba(9,2,13,.64),rgba(24,7,25,.56)); box-shadow:0 16px 34px rgba(0,0,0,.65),0 5px 12px rgba(11,2,13,.5); }
.shop-product.coming-soon>div { margin-left:0; padding:13px 18px; border:1px dashed rgba(231,189,101,.3); border-radius:9px; }
.shop-product.coming-soon h2 { color:#e9c577; letter-spacing:.08em; text-transform:uppercase; }
.shop-product.coming-soon span { color:#aa94a7; font:700 .67rem Arial,sans-serif; letter-spacing:.15em; text-transform:uppercase; }
@keyframes torch-flame { 0%,100%{opacity:.9;transform:scale(.99,1.02) rotate(-1deg)} 9%{opacity:.78;transform:scale(.96,1.05) rotate(1deg)} 21%{opacity:.96;transform:scale(1.04,.98) rotate(2deg)} 34%{opacity:.84;transform:scale(.98,1.06) rotate(-2deg)} 48%{opacity:1;transform:scale(1.07,.97) rotate(1deg)} 59%{opacity:.81;transform:scale(.97,1.04) rotate(-1deg)} 72%{opacity:.94;transform:scale(1.03,1) rotate(2deg)} 83%{opacity:.87;transform:scale(.99,1.05) rotate(-2deg)} 92%{opacity:.98;transform:scale(1.05,.99) rotate(1deg)} }
@keyframes torch-core { 0%,100%{opacity:.9;transform:scale(.98,1.04) translateY(0)} 13%{opacity:.75;transform:scale(.9,1.12) translate(1px,2px)} 29%{opacity:1;transform:scale(1.06,.96) translate(-1px,-2px)} 46%{opacity:.82;transform:scale(.94,1.09) translate(2px,1px)} 63%{opacity:.97;transform:scale(1.04,.98) translate(-1px,-3px)} 79%{opacity:.78;transform:scale(.92,1.1) translate(1px,1px)} 91%{opacity:.96;transform:scale(1.03,1) translateY(-2px)} }
@keyframes torch-halo { 0%,100%{opacity:.68;transform:scale(1)} 16%{opacity:.5;transform:scale(.88,1.02)} 31%{opacity:.82;transform:scale(1.09,.97)} 47%{opacity:.61;transform:scale(.95,1.07)} 66%{opacity:.88;transform:scale(1.12,1.03)} 81%{opacity:.56;transform:scale(.91,.98)} 93%{opacity:.78;transform:scale(1.06,1.08)} }
@keyframes torch-reflection { 0%,100%{opacity:.68;transform:scale(1)} 11%{opacity:.55;transform:scale(.98,1.01)} 26%{opacity:.8;transform:scale(1.025,.99)} 39%{opacity:.62;transform:scale(.99,1.02)} 55%{opacity:.86;transform:scale(1.04,1.01)} 69%{opacity:.58;transform:scale(.98,.99)} 84%{opacity:.78;transform:scale(1.03,1.025)} 94%{opacity:.64;transform:scale(1,1.01)} }
@media (prefers-reduced-motion:reduce) { .torch-flame,.torch-flame::before,.torch-flame::after,.pricing-art::after { animation:none; }.pricing-slogan .slogan-letter { transition:none; } }
.no-products { margin:auto; color:#dfc8dd; text-align:center; }
.pricing-footer { position:relative; z-index:2; display:flex; align-items:center; gap:clamp(28px,5vw,90px); min-height:72px; padding:0 clamp(30px,3.5vw,70px); border-top:1px solid rgba(225,173,75,.24); box-shadow:0 -10px 28px rgba(4,1,6,.1),0 -1px 8px rgba(221,163,67,.08); color:#d8cdd5; font:.75rem Arial,sans-serif; }
.pricing-footer::before { content:""; position:absolute; z-index:-1; inset:0; background:rgba(10,3,14,.78); pointer-events:none; }
.pricing-footer span { display:flex; align-items:center; gap:10px; }
.pricing-footer span:first-letter { color:#e4b457; font-size:1.5rem; }
.pricing-footer b { font-weight:400; }
.pricing-footer small { margin-left:auto; color:#aaa0ad; letter-spacing:.42em; text-transform:uppercase; }
@media (max-width:1250px) {
  .shop-header { gap:14px; padding-inline:20px }.shop-brand-logo{flex-basis:88px;width:88px;height:88px;margin-bottom:-8px}.shop-motto{display:none}.shop-navigation{gap:14px}.shop-search{width:clamp(150px,16vw,210px)}.product-browser{--pricing-panel-height:auto;width:66%;grid-template-columns:1fr;padding:18px 18px 28px 0}.product-list{display:grid;grid-template-columns:1fr 1fr;height:auto;overflow:visible}.shop-product{min-height:126px}.shop-product>.product-card-content{grid-template-columns:minmax(0,1fr) 118px}.shop-product button{width:118px;min-width:0}.selected-product{height:auto;min-height:0}.pricing-stage{height:auto;min-height:calc(100svh - 72px)}.pricing-art{width:34%}
}
@media (max-width:900px) {
  .pricing-scene{background-position:34% top;background-attachment:scroll}.shop-header{height:70px;padding-inline:18px}.shop-brand-logo{flex-basis:72px;width:72px;height:72px;margin-bottom:-6px}.shop-menu-toggle{display:block;margin-left:auto;border:0;color:#f4cd7d;background:none;font-size:1.5rem}.shop-navigation{position:absolute;top:70px;right:12px;display:none;flex-direction:column;align-items:stretch;width:190px;padding:10px 18px;background:#180b1b;border:1px solid #7b526f}.shop-navigation.is-open{display:flex}.shop-navigation a{padding:9px}.shop-navigation .active::after{inset:auto 0 2px}.shop-search{width:180px;margin-left:0}.pricing-stage{height:auto;min-height:100svh;padding-top:70px;overflow:visible}.pricing-art{position:relative;inset:auto;width:100%;height:47vh;min-height:390px}.pricing-slogan{bottom:24px}.product-browser{width:100%;padding:18px;grid-template-columns:1fr;background:rgba(15,6,18,.9)}.selected-product{height:auto;min-height:0;overflow:visible}.product-list{height:auto;overflow:visible}.shop-product{flex-basis:130px}.product-list{grid-template-columns:1fr 1fr}.pricing-footer{flex-wrap:wrap;padding-block:16px}.pricing-footer small{width:100%;margin:0;text-align:center}
}
@media (max-width:620px) {
  .shop-brand-logo{flex-basis:58px;width:58px;height:58px;margin-bottom:0}.shop-brand span:last-child{display:none}.shop-search{flex:1}.shop-language{display:none}.pricing-slogan{font-size:2.5rem}.pricing-slogan small{font-size:.66rem;letter-spacing:.28em}.product-browser{padding:11px}.selected-product{padding:15px;min-height:auto}.selected-media{min-height:0}.selected-image{height:100%}.selected-carousel-arrow{width:31px;height:31px}.selected-carousel-arrow--previous{left:8px}.selected-carousel-arrow--next{right:8px}.included-grid{grid-template-columns:1fr 1fr;gap:12px}.product-list{grid-template-columns:1fr}.shop-product>.product-card-art{-webkit-mask-image:linear-gradient(to right,rgba(0,0,0,1) 0%,rgba(0,0,0,1) 18%,rgba(0,0,0,.88) 28%,rgba(0,0,0,.62) 38%,rgba(0,0,0,.32) 48%,rgba(0,0,0,.12) 56%,rgba(0,0,0,0) 62%);mask-image:linear-gradient(to right,rgba(0,0,0,1) 0%,rgba(0,0,0,1) 18%,rgba(0,0,0,.88) 28%,rgba(0,0,0,.62) 38%,rgba(0,0,0,.32) 48%,rgba(0,0,0,.12) 56%,rgba(0,0,0,0) 62%)}.shop-product>.product-card-content{margin-left:38%}.pricing-footer{gap:18px;justify-content:center}
}

/* Global storefront cart drawer */
body.cart-open { overflow:hidden; }
.cart-layer { position:fixed; z-index:10000; inset:0; color:#fff8e9; font-family:Arial,sans-serif; }
.cart-layer[hidden] { display:none; }
.cart-overlay { position:absolute; inset:0; background:rgba(3,0,5,.72); opacity:0; backdrop-filter:blur(2px); transition:opacity 300ms ease; }
.cart-drawer { position:absolute; top:10px; right:10px; bottom:10px; display:flex; flex-direction:column; width:min(500px,calc(100vw - 20px)); overflow:hidden; border:1px solid rgba(232,184,91,.72); border-radius:22px; outline:0; background:linear-gradient(155deg,rgba(29,12,31,.985),rgba(8,3,12,.985)); box-shadow:-22px 0 70px rgba(0,0,0,.62),0 0 28px rgba(222,167,71,.13),inset 0 0 45px rgba(127,69,107,.08); transform:translateX(calc(100% + 20px)); transition:transform 300ms cubic-bezier(.22,.76,.31,1); }
.cart-layer.is-open .cart-overlay { opacity:1; }
.cart-layer.is-open .cart-drawer { transform:translateX(0); }
.cart-drawer-header { display:flex; justify-content:space-between; gap:20px; padding:25px 26px 20px; border-bottom:1px solid rgba(229,177,83,.28); background:linear-gradient(180deg,rgba(113,55,91,.12),transparent); }
.cart-drawer-header h2 { margin:2px 0 6px; color:#f4cd7d; font-family:Georgia,serif; font-size:1.65rem; letter-spacing:.08em; }
.cart-drawer-header p { max-width:355px; margin:0; color:#cfc1cc; font-size:.82rem; line-height:1.45; }
.cart-drawer-header .cart-eyebrow { color:#dbad59; font-size:.7rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.cart-close { flex:0 0 42px; height:42px; border:1px solid rgba(227,180,91,.42); border-radius:50%; color:#f5d390; background:rgba(8,2,11,.55); font-size:1.75rem; line-height:1; cursor:pointer; }
.cart-scroll { flex:1; min-height:0; padding:18px 22px; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#b98239 rgba(8,2,11,.38); }
.cart-items { display:grid; gap:12px; }
.cart-item { display:grid; grid-template-columns:72px minmax(0,1fr) auto; gap:13px; align-items:center; padding:13px; border:1px solid rgba(222,172,82,.24); border-radius:14px; background:rgba(255,245,224,.035); transition:border-color 180ms,box-shadow 180ms,background 180ms; }
.cart-item.is-highlighted { border-color:#f0c66f; background:rgba(238,187,88,.12); box-shadow:0 0 20px rgba(238,187,88,.22); }
.cart-item>img { width:72px; height:72px; border:1px solid rgba(234,190,105,.42); border-radius:10px; object-fit:cover; }
.cart-item-copy { min-width:0; }
.cart-item-copy>span { color:#d8a94f; font-size:.62rem; font-weight:700; letter-spacing:.13em; }
.cart-item-copy h3 { margin:4px 0; color:#fff8e9; font-family:Georgia,serif; font-size:.98rem; line-height:1.15; }
.cart-item-copy p,.cart-item-copy small { display:block; margin:0; color:#bfb1be; font-size:.7rem; line-height:1.35; }
.cart-item-copy small { margin-top:5px; color:#d8c8b5; }
.cart-item-actions { display:flex; flex-direction:column; align-items:flex-end; gap:8px; min-width:70px; }
.cart-item-actions span { color:#cfc2ca; font-size:.72rem; }
.cart-item-actions strong { color:#f1c56d; font-size:.88rem; white-space:nowrap; }
.cart-item-actions button,.cart-clear { padding:2px; border:0; border-bottom:1px solid transparent; color:#cdb9c7; background:none; font-size:.68rem; cursor:pointer; }
.cart-item-actions button:hover,.cart-item-actions button:focus-visible,.cart-clear:hover,.cart-clear:focus-visible { color:#f4cd7d; border-color:currentColor; }
.cart-conflict { margin-bottom:13px; padding:11px 13px; border:1px solid rgba(238,185,81,.48); border-radius:10px; color:#f2d391; background:rgba(151,90,29,.13); font-size:.75rem; line-height:1.4; }
.cart-empty { padding:56px 22px; text-align:center; }
.cart-empty strong { color:#f5d18a; font:1.3rem Georgia,serif; }
.cart-empty p { margin:10px auto 22px; color:#cbbec8; line-height:1.5; }
.cart-empty button,.cart-promo button { min-height:40px; padding:0 16px; border:1px solid #d9a94f; border-radius:8px; color:#f8daa0; background:rgba(104,51,87,.26); cursor:pointer; }
.cart-promo { margin-top:18px; padding-top:17px; border-top:1px solid rgba(224,173,78,.18); }
.cart-promo label { display:block; margin-bottom:8px; color:#e9d9bd; font-size:.78rem; font-weight:700; }
.cart-promo>div { display:flex; gap:8px; }
.cart-promo input { flex:1; min-width:0; height:40px; padding:0 12px; border:1px solid rgba(230,181,89,.38); border-radius:8px; outline:0; color:#fff8e9; background:rgba(4,1,7,.5); }
.cart-information { display:grid; gap:6px; margin-top:15px; padding:13px 14px; border-radius:10px; background:rgba(255,248,229,.035); }
.cart-information p { margin:0; color:#c8bbc5; font-size:.7rem; line-height:1.45; }
.cart-information p::before { content:'◇'; margin-right:8px; color:#d6a652; }
.cart-status { min-height:1.1em; margin:8px 0 0; color:#d9bd8b; font-size:.7rem; line-height:1.35; }
.cart-summary { padding:16px 24px 21px; border-top:1px solid rgba(229,177,83,.3); background:rgba(3,1,6,.36); }
.cart-summary dl { display:grid; gap:6px; margin:0 0 12px; }
.cart-summary dl>div { display:flex; justify-content:space-between; gap:20px; color:#cbbec7; font-size:.78rem; }
.cart-summary dd { margin:0; }
.cart-summary .cart-total { margin-top:3px; padding-top:9px; border-top:1px solid rgba(221,170,77,.18); color:#f6d38d; font-weight:700; }
.cart-checkout { width:100%; min-height:48px; border:1px solid #efc369; border-radius:10px; color:#211008; background:linear-gradient(180deg,#f5d180,#c99138); box-shadow:0 7px 20px rgba(0,0,0,.3),0 0 15px rgba(239,190,92,.12); font-weight:800; letter-spacing:.05em; cursor:pointer; }
.cart-clear { display:block; margin:9px auto 0; }
.cart-close:hover,.cart-close:focus-visible,.cart-empty button:hover,.cart-empty button:focus-visible,.cart-promo button:hover,.cart-promo button:focus-visible,.cart-checkout:hover,.cart-checkout:focus-visible { outline:2px solid #f0c66f; outline-offset:2px; box-shadow:0 0 18px rgba(240,198,111,.28); }
.cart-promo input:focus-visible { border-color:#f0c66f; box-shadow:0 0 13px rgba(240,198,111,.22); }
.cart-toast { position:fixed; right:24px; bottom:24px; max-width:280px; padding:11px 16px; border:1px solid #d9a94f; border-radius:9px; color:#fff4dd; background:#231025; box-shadow:0 10px 28px rgba(0,0,0,.5); opacity:0; transform:translateY(12px); pointer-events:none; transition:opacity 180ms,transform 180ms; }
.cart-toast.is-visible { opacity:1; transform:translateY(0); }
.cart-button strong[hidden] { display:none; }
@media (max-width:600px) {
  .cart-drawer { top:0; right:0; bottom:0; width:min(96vw,500px); border-radius:18px 0 0 18px; }
  .cart-drawer-header { padding:19px 18px 16px; }.cart-scroll{padding:14px}.cart-summary{padding:14px 17px 18px}
  .cart-item { grid-template-columns:58px minmax(0,1fr); }.cart-item>img{width:58px;height:58px}.cart-item-actions{grid-column:2;flex-direction:row;justify-content:flex-end;align-items:center}.cart-item-actions button{margin-left:auto}
}
@media (prefers-reduced-motion:reduce) { .cart-overlay,.cart-drawer,.cart-toast { transition-duration:0.01ms; } }

/* Gallery page skeleton */
.gallery-page { min-width:320px; height:100svh; overflow:hidden; background:#100713; }
.gallery-page .site-header { position:fixed; background:linear-gradient(180deg,rgba(8,3,11,.93),rgba(13,5,17,.77)); }
.gallery-page .header-music-controls { position:static; flex:0 0 auto; padding:.18rem .42rem; background:rgba(12,5,17,.45); }
.gallery-page .header-music-controls .music-volume { width:clamp(54px,4.4vw,72px); }
.gallery-main { position:relative; height:100svh; min-height:0; padding:90px clamp(18px,2.2vw,42px) 26px; overflow:hidden; isolation:isolate; }
.gallery-main::before { position:fixed; z-index:-3; inset:0; content:""; background-color:#170b18; background-image:url("../assets/images/hero/hero_image_gallery.webp"); background-position:center; background-size:cover; background-repeat:no-repeat; }
.gallery-main::after { position:fixed; z-index:-2; inset:0; content:""; pointer-events:none; background:linear-gradient(90deg,transparent 0 28%,rgba(9,3,12,.18) 40%,rgba(8,3,11,.42) 100%),linear-gradient(0deg,rgba(6,2,8,.32),transparent 38%); }
/* Keep this layer shadow-free: an inset right-edge shadow previously ended at its
   34% boundary and produced a hard vertical compositing seam over the scene. */
.gallery-hero { position:fixed; z-index:-1; top:72px; bottom:0; left:0; width:34%; pointer-events:none; }
.gallery-hero-heading { position:absolute; top:clamp(34px,5.5vh,68px); right:6%; left:7%; color:#fff0c5; text-shadow:0 3px 8px #08020a,0 9px 28px rgba(5,1,8,.94); }
.gallery-hero-heading h1 { max-width:620px; margin:0; font-size:clamp(2.35rem,3.3vw,4.25rem); font-weight:400; line-height:.98; letter-spacing:-.025em; text-wrap:balance; }
.gallery-hero-kicker { margin:0 0 10px; color:#e8bc66; font:700 clamp(.62rem,.72vw,.78rem)/1.2 Arial,sans-serif; letter-spacing:.24em; text-transform:uppercase; }
.gallery-hero-copy { position:absolute; right:4%; bottom:14%; width:92%; height:auto; overflow:visible; filter:drop-shadow(0 3px 3px #000) drop-shadow(0 0 10px rgba(231,189,101,.48)); transform:rotate(-3deg); }
.gallery-hero-copy text { fill:#f7d580; font:italic 600 48px "Brush Script MT","Segoe Script","Lucida Handwriting",cursive; letter-spacing:.015em; text-anchor:middle; }
.gallery-hero-copy-fr text:last-child { font-size:38px; }
.handwriting-stroke { fill:none; stroke:#fff; stroke-width:72; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:1; }
.handwriting-stroke-one { animation:gallery-handwriting 1.9s cubic-bezier(.46,.03,.24,1) .55s forwards; }
.handwriting-stroke-two { animation:gallery-handwriting 2.3s cubic-bezier(.46,.03,.24,1) 2.25s forwards; }
@keyframes gallery-handwriting { to { stroke-dashoffset:0; } }
.gallery-interface { display:grid; grid-template-columns:minmax(520px,1.16fr) minmax(330px,.72fr); align-items:start; gap:clamp(16px,1.7vw,30px); width:min(64.5%,1240px); height:100%; margin-left:auto; }
.gallery-panel { border:1px solid rgba(231,189,101,.88); border-radius:15px; background:linear-gradient(145deg,rgba(23,8,25,.62),rgba(8,3,12,.58)); box-shadow:0 24px 52px rgba(0,0,0,.72),0 0 24px rgba(72,24,66,.24),inset 0 0 30px rgba(132,62,112,.08); backdrop-filter:blur(3px) saturate(110%); }
.gallery-browser { display:flex; flex-direction:column; height:100%; min-height:0; padding:clamp(16px,1.5vw,24px); overflow:hidden; }
.gallery-browser-header { flex:0 0 auto; }
.gallery-browser-header h2 { margin:0 0 14px; color:#ffe6a0; font-size:clamp(2rem,2.4vw,2.85rem); font-weight:400; line-height:1; text-align:center; text-shadow:0 4px 12px #000,0 0 17px rgba(231,189,101,.25); }
.gallery-category-hooks { display:grid; grid-template-columns:repeat(5,1fr); gap:7px; min-height:32px; margin-bottom:10px; }
.gallery-category-hooks button,.gallery-control-hooks input,.gallery-control-hooks select { min-width:0; border:1px solid rgba(231,189,101,.4); border-radius:7px; color:rgba(255,248,232,.8); background:rgba(10,4,13,.57); box-shadow:0 7px 14px rgba(0,0,0,.38),inset 0 0 12px rgba(92,40,80,.1); }
.gallery-category-hooks button { cursor:pointer; }
.gallery-category-hooks button:first-child { background:linear-gradient(180deg,rgba(235,191,100,.38),rgba(126,78,32,.25)); box-shadow:0 0 12px rgba(231,189,101,.18),0 7px 14px rgba(0,0,0,.4); }
.gallery-category-hooks button:focus-visible,.gallery-control-hooks input:focus-visible,.gallery-control-hooks select:focus-visible { outline:2px solid var(--gold-light); outline-offset:2px; }
.gallery-control-hooks { display:grid; grid-template-columns:minmax(0,1fr) minmax(105px,.42fr); gap:10px; margin-bottom:14px; }
.gallery-control-hooks label { display:block; }
.gallery-control-hooks input,.gallery-control-hooks select { width:100%; min-height:35px; padding:7px 11px; font:inherit; }
.gallery-control-hooks input::placeholder { color:rgba(255,248,232,.48); }
.gallery-scroll-area { min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-color:rgba(204,151,66,.72) rgba(7,2,10,.54); scrollbar-gutter:stable; scrollbar-width:thin; }
.gallery-scroll-area::-webkit-scrollbar { width:9px; }
.gallery-scroll-area::-webkit-scrollbar-track { border-radius:999px; background:rgba(7,2,10,.54); }
.gallery-scroll-area::-webkit-scrollbar-thumb { border:2px solid rgba(7,2,10,.54); border-radius:999px; background:linear-gradient(#e0b65f,#855324); }
.gallery-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(10px,1vw,16px); width:min(100%,560px); margin:0 auto; padding:1px 2px clamp(12px,1vw,18px); }
.gallery-card { position:relative; display:grid; place-items:center; width:100%; aspect-ratio:1/1; padding:0; overflow:hidden; border:1px solid rgba(231,189,101,.64); border-radius:11px; color:var(--gold); background:linear-gradient(145deg,rgba(28,10,28,.64),rgba(9,3,13,.58)); box-shadow:0 13px 25px rgba(0,0,0,.58),inset 0 0 25px rgba(103,44,89,.09); cursor:pointer; transition:border-color .2s,box-shadow .2s,transform .2s; }
.gallery-card[hidden] { display:none; }
.gallery-card > span { width:30%; aspect-ratio:1; border:1px solid rgba(231,189,101,.15); transform:rotate(45deg); opacity:.45; }
.gallery-card:hover { border-color:rgba(255,224,145,.9); transform:translateY(-2px); }
.gallery-card:focus-visible { outline:2px solid #fff0ad; outline-offset:3px; }
.gallery-card.is-selected,.gallery-card[aria-selected="true"] { border-color:#ffe49a; box-shadow:0 0 0 1px rgba(255,224,145,.34),0 0 22px rgba(231,173,67,.38),0 16px 28px rgba(0,0,0,.68),inset 0 0 25px rgba(146,66,116,.12); }
.gallery-detail { height:66.666%; min-height:0; padding:clamp(16px,1.45vw,24px); overflow:hidden; }
.selected-asset-canvas { display:grid; place-items:center; width:min(100%,clamp(190px,12vw,230px)); aspect-ratio:1/1; margin:0 auto; overflow:hidden; border:1px solid rgba(231,189,101,.7); border-radius:12px; background:radial-gradient(circle,rgba(88,35,75,.25),rgba(8,3,12,.62) 70%); box-shadow:0 16px 30px rgba(0,0,0,.62),inset 0 0 35px rgba(85,34,73,.18); }
.selected-asset-canvas > span { color:rgba(255,248,232,.42); font:700 .68rem Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase; }
.gallery-detail.has-selection .selected-asset-canvas { border-color:#ffe49a; box-shadow:0 0 22px rgba(231,173,67,.25),0 16px 30px rgba(0,0,0,.68),inset 0 0 35px rgba(85,34,73,.2); }
.asset-information { min-height:110px; margin-top:16px; padding-top:12px; border-top:1px solid rgba(231,189,101,.28); }
.metadata-hooks { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:0; }
.metadata-hooks > div { min-height:26px; border-bottom:1px solid rgba(231,189,101,.15); }
.metadata-hooks dd { margin:0; }
.specialized-metadata { min-height:18px; margin-top:9px; border-radius:5px; background:rgba(14,5,17,.24); }
.story-hooks { min-height:90px; margin-top:12px; padding:12px; border:1px solid rgba(231,189,101,.3); border-radius:10px; background:rgba(9,3,12,.31); box-shadow:0 11px 22px rgba(0,0,0,.38),inset 0 0 18px rgba(89,38,77,.08); }
.story-hooks h2,.story-hooks p { min-height:1.2em; margin:0 0 11px; }
.gallery-signature { position:fixed; z-index:6; right:auto; bottom:7px; left:12px; width:68px; opacity:.72; }
.gallery-footer { display:none; padding:18px; color:rgba(255,248,232,.6); background:#09040c; text-align:center; }
@media (max-width:1250px) {
  .gallery-page .account-actions { display:none; }
  .gallery-interface { grid-template-columns:minmax(430px,1.1fr) minmax(310px,.8fr); width:72%; }
  .gallery-hero { width:29%; }
}
@media (max-width:980px) {
  .gallery-page { height:auto; overflow-x:hidden; overflow-y:auto; }
  .gallery-main { height:auto; min-height:100svh; overflow:visible; }
  .gallery-main::before { background-position:24% center; }
  .gallery-hero { width:31%; }
  .gallery-interface { grid-template-columns:1fr; width:68%; }
  .gallery-detail { position:relative; top:auto; height:auto; min-height:0; overflow:visible; }
  .gallery-scroll-area { overflow:visible; }
  .gallery-footer { display:grid; }
  .selected-asset-canvas { width:min(100%,460px); margin:auto; }
}
@media (max-width:760px) {
  .gallery-page .site-header { position:absolute; }
  .gallery-main { padding:0 12px 36px; }
  .gallery-main::before,.gallery-main::after { display:none; }
  .gallery-hero { position:relative; z-index:0; top:auto; bottom:auto; left:auto; width:calc(100% + 24px); min-height:72svh; margin:0 -12px 16px; background:#170b18 url("../assets/images/hero/hero_image_gallery.webp") 25% center / cover no-repeat; box-shadow:inset 0 -35px 42px -25px #100713; }
  .gallery-interface { width:100%; }
  .gallery-browser { min-height:0; }
  .gallery-detail { min-height:0; }
  .gallery-signature { display:none; }
}
@media (max-width:480px) {
  .gallery-grid { grid-template-columns:1fr; }
  .gallery-category-hooks { grid-template-columns:repeat(5,1fr); }
  .gallery-control-hooks { grid-template-columns:1fr; }
}

/* Gallery polish: fixed desktop canvas with atmospheric, internally scrolling panels. */
@media (min-width:981px) {
  .gallery-page { height:100vh; height:100svh; overflow:hidden; }
  .gallery-main { height:100vh; height:100svh; overflow:hidden; }
  .gallery-interface { grid-template-columns:minmax(420px,470px) minmax(330px,380px); justify-content:end; gap:clamp(18px,1.25vw,24px); width:min(57vw,880px); margin-right:clamp(0px,1.2vw,23px); }
}
.gallery-main::after {
  background:
    linear-gradient(90deg,transparent 0 27%,rgba(10,3,12,.38) 37%,rgba(8,3,11,.58) 49%,rgba(8,3,11,.5) 100%),
    linear-gradient(0deg,rgba(6,2,8,.48),transparent 42%);
}
.gallery-interface { position:relative; z-index:2; }
.gallery-panel {
  background:radial-gradient(circle at 82% 12%,rgba(111,45,91,.17),transparent 36%),linear-gradient(145deg,rgba(32,10,34,.94),rgba(8,2,13,.93) 68%,rgba(20,6,23,.94));
  box-shadow:0 32px 72px rgba(0,0,0,.88),0 12px 28px rgba(0,0,0,.7),0 0 28px rgba(93,38,85,.22),inset 0 0 38px rgba(155,70,126,.12),inset 0 1px rgba(255,230,164,.08);
}
.gallery-browser { padding:clamp(15px,1.1vw,20px); }
.gallery-browser-header h2 { margin-bottom:12px; font-size:clamp(1.9rem,2.15vw,2.55rem); }
.gallery-control-hooks { grid-template-columns:minmax(0,1fr) minmax(128px,.38fr); gap:8px; margin-bottom:11px; }
.gallery-control-hooks input,.gallery-control-hooks select { border-color:rgba(231,189,101,.5); background:linear-gradient(180deg,rgba(35,12,34,.94),rgba(9,3,13,.96)); box-shadow:inset 0 1px rgba(255,238,190,.05),0 7px 16px rgba(0,0,0,.44); }
.gallery-control-hooks select { color:#f2e5d0; cursor:pointer; }
.gallery-scroll-area { flex:1 1 auto; min-height:0; }
.gallery-grid { width:min(100%,388px); gap:clamp(9px,.65vw,12px); padding-inline:2px 8px; }
.gallery-card {
  border-color:rgba(231,189,101,.7);
  background:radial-gradient(circle at 50% 38%,rgba(76,28,67,.2),transparent 52%),linear-gradient(145deg,rgba(25,7,27,.99),rgba(3,0,7,.99));
  box-shadow:0 15px 28px rgba(0,0,0,.7),inset 0 0 28px rgba(128,50,105,.12),inset 0 1px rgba(255,235,177,.05);
}
.gallery-detail { align-self:center; display:flex; flex-direction:column; gap:clamp(6px,.65vh,9px); width:100%; height:auto; max-height:100%; margin:0; padding:clamp(12px,.9vw,17px); overflow:hidden; }
.detail-preview-frame { flex:0 1 auto; padding:9px; border:1px solid rgba(231,189,101,.3); border-radius:14px; background:radial-gradient(circle at 50% 30%,rgba(84,31,73,.23),rgba(6,2,10,.72) 68%); box-shadow:0 16px 34px rgba(0,0,0,.66),inset 0 0 25px rgba(124,47,104,.14); }
.selected-asset-canvas { width:min(100%,clamp(132px,8.5vw,164px)); box-shadow:0 18px 36px rgba(0,0,0,.72),inset 0 0 35px rgba(85,34,73,.22); }
.detail-heading { flex:0 0 auto; padding:0 3px 6px; border-bottom:0; }
.detail-heading h2 { margin:2px 0 4px; color:#ffe6a0; font-size:clamp(1.25rem,1.4vw,1.65rem); font-weight:500; line-height:1.1; }
.detail-heading p { margin:0; color:rgba(255,248,232,.62); font-size:.76rem; line-height:1.35; }
.detail-heading .detail-eyebrow { color:#d7ad5d; font-size:.62rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.gallery-detail .story-hooks { flex:0 1 auto; min-height:60px; margin:0; padding:9px 11px; overflow:hidden; background:linear-gradient(135deg,rgba(42,13,39,.68),rgba(7,2,10,.72)); box-shadow:0 10px 22px rgba(0,0,0,.42),inset 0 0 20px rgba(116,45,98,.11); }
.gallery-detail .story-hooks h3,.gallery-detail .story-hooks p { margin:0 0 7px; }
.gallery-detail .story-hooks h3 { color:#e6c579; font-size:.84rem; font-weight:600; }
.gallery-detail .story-hooks p { color:rgba(255,248,232,.66); font-size:.78rem; line-height:1.42; }
.gallery-detail .asset-information { flex:0 0 auto; min-height:0; margin:0; padding:0; border:0; }
.gallery-detail .metadata-hooks { gap:6px 10px; }
.gallery-detail .metadata-hooks > div { display:flex; justify-content:space-between; gap:7px; min-height:24px; padding:4px 7px; border:1px solid rgba(231,189,101,.24); border-radius:6px; background:linear-gradient(90deg,rgba(44,15,40,.7),rgba(8,3,12,.78)); box-shadow:inset 0 1px rgba(255,235,178,.035); }
.gallery-detail .metadata-hooks dt { color:rgba(229,190,111,.66); font-size:.62rem; }
.gallery-detail .metadata-hooks dd { color:rgba(255,248,232,.72); font-size:.66rem; }
.gallery-detail .specialized-metadata { display:none; }
.gallery-signature { bottom:8px; left:12px; width:118px; height:118px; opacity:1; }
.gallery-signature img { opacity:1; filter:brightness(1.12) contrast(1.08) drop-shadow(0 8px 13px rgba(0,0,0,.96)) drop-shadow(0 0 7px rgba(238,197,113,.28)); }
.gallery-fog { position:fixed; z-index:1; right:0; bottom:-22vh; left:0; height:64vh; overflow:hidden; opacity:.9; pointer-events:none; -webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.08) 17%,#000 48%); mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.08) 17%,#000 48%); }
.gallery-fog video { position:absolute; right:-5%; bottom:-9%; left:-5%; width:110%; height:114%; object-fit:cover; object-position:center bottom; transform-origin:center bottom; animation:gallery-fog-drift 21s ease-in-out infinite alternate; }
@keyframes gallery-fog-drift { from { transform:translate3d(-1.5%,2%,0) scale(1.05); } to { transform:translate3d(1.5%,0,0) scale(1.09); } }
@media (prefers-reduced-motion:reduce) { .gallery-fog video { animation:none; }.handwriting-stroke { animation:none; stroke-dashoffset:0; } }
@media (max-width:760px) { .gallery-fog { display:none; } }

/* Gallery presentation: ornate collection cabinet and full-height featured artifact. */
.gallery-browser {
  position:relative;
  border-color:rgba(238,195,105,.82);
  background:
    linear-gradient(90deg,transparent 12px,rgba(229,181,89,.12) 13px,transparent 14px) 0 0/100% 100%,
    radial-gradient(circle at 50% 0,rgba(137,58,113,.24),transparent 39%),
    linear-gradient(145deg,rgba(26,8,29,.97),rgba(6,2,11,.96) 72%,rgba(20,6,24,.97));
  box-shadow:0 32px 72px rgba(0,0,0,.88),0 0 30px rgba(99,40,88,.25),inset 0 0 0 5px rgba(5,1,8,.5),inset 0 0 0 6px rgba(231,189,101,.13),inset 0 0 48px rgba(135,54,110,.14);
}
.gallery-browser::before,.gallery-browser::after {
  position:absolute;
  z-index:1;
  top:10px;
  width:34px;
  height:1px;
  content:"";
  pointer-events:none;
  background:linear-gradient(90deg,transparent,#f0c66f);
  box-shadow:0 4px 0 rgba(231,189,101,.18);
}
.gallery-browser::before { left:12px; }
.gallery-browser::after { right:12px; transform:scaleX(-1); }
.gallery-browser-header { position:relative; }
.gallery-browser-header::after {
  display:block;
  width:min(72%,260px);
  height:1px;
  margin:-5px auto 13px;
  content:"";
  background:linear-gradient(90deg,transparent,rgba(242,200,111,.7),transparent);
  box-shadow:0 0 10px rgba(231,189,101,.2);
}
.gallery-card {
  border-radius:13px;
  box-shadow:0 16px 30px rgba(0,0,0,.72),inset 0 0 0 3px rgba(7,2,10,.62),inset 0 0 0 4px rgba(231,189,101,.09),inset 0 0 30px rgba(128,50,105,.14);
}
.gallery-card::after {
  position:absolute;
  inset:6px;
  border:1px solid rgba(242,204,126,.16);
  border-radius:8px;
  content:"";
  pointer-events:none;
  transition:border-color .2s,box-shadow .2s;
}
.gallery-card:hover { box-shadow:0 20px 34px rgba(0,0,0,.78),0 0 18px rgba(226,177,78,.18),inset 0 0 30px rgba(144,57,116,.18); }
.gallery-card:hover::after,.gallery-card[aria-selected="true"]::after { border-color:rgba(255,226,157,.42); box-shadow:inset 0 0 16px rgba(231,189,101,.08); }

.gallery-detail {
  border-color:rgba(244,203,115,.92);
  background:
    radial-gradient(circle at 50% 8%,rgba(199,112,178,.23),transparent 36%),
    linear-gradient(155deg,rgba(104,40,91,.97),rgba(67,23,66,.98) 48%,rgba(43,14,49,.98));
  box-shadow:0 32px 72px rgba(0,0,0,.88),0 0 30px rgba(143,65,124,.3),inset 0 0 0 4px rgba(45,12,43,.62),inset 0 0 0 5px rgba(242,200,111,.15),inset 0 0 48px rgba(225,126,197,.1);
  scrollbar-color:rgba(224,177,83,.75) rgba(43,14,49,.7);
  scrollbar-width:thin;
}
.detail-preview-frame {
  position:relative;
  flex:0 0 auto;
  padding:10px;
  border-color:rgba(245,206,124,.6);
  background:radial-gradient(circle at 50% 36%,rgba(141,67,120,.48),rgba(31,8,34,.92) 70%);
  box-shadow:0 18px 38px rgba(20,3,21,.7),inset 0 0 0 3px rgba(42,10,39,.65),inset 0 0 28px rgba(219,124,194,.12);
}
.detail-preview-frame::after {
  position:absolute;
  inset:5px;
  border:1px solid rgba(255,226,158,.17);
  border-radius:10px;
  content:"";
  pointer-events:none;
}
.selected-asset-canvas { width:min(100%,clamp(210px,14vw,270px)); border-radius:10px; }
.detail-heading { padding:2px 5px 12px; text-align:center; }
.detail-heading h2 { margin:4px 0 5px; font-size:clamp(1.45rem,1.65vw,1.9rem); text-shadow:0 3px 10px rgba(15,2,15,.85); }
.detail-heading p { color:rgba(255,247,232,.83); font-size:.83rem; }
.detail-heading .detail-eyebrow { color:#f2cc78; font-size:.66rem; letter-spacing:.18em; }
.gallery-detail .story-hooks {
  flex:0 0 auto;
  padding:13px 15px 12px;
  overflow:visible;
  border-color:rgba(244,204,120,.38);
  background:linear-gradient(145deg,rgba(48,13,48,.76),rgba(25,7,31,.7));
  box-shadow:0 12px 25px rgba(21,3,22,.42),inset 0 0 22px rgba(224,127,195,.1);
}
.gallery-detail .story-hooks h3 { margin-bottom:9px; color:#f0cd81; font-size:.93rem; letter-spacing:.04em; }
.gallery-detail .story-hooks p { margin-bottom:9px; color:rgba(255,249,239,.87); font-size:.86rem; line-height:1.58; }
.gallery-detail .story-hooks p:last-child { margin-bottom:0; }
.gallery-detail .story-hooks .story-hook { padding-top:9px; border-top:1px solid rgba(232,190,105,.2); color:#f5dfb4; }
.gallery-detail .story-hooks .story-flavor { color:#e9c979; font-style:italic; }
.gallery-detail .asset-information { padding:1px 2px 3px; }
.gallery-detail .asset-information > h3 { display:flex; align-items:center; gap:9px; margin:2px 0 9px; color:#f0cd81; font-size:.78rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; }
.gallery-detail .asset-information > h3::after { flex:1; height:1px; content:""; background:linear-gradient(90deg,rgba(240,205,129,.48),transparent); }
.gallery-detail .metadata-hooks { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.gallery-detail .metadata-hooks > div {
  display:block;
  min-height:50px;
  padding:8px 10px;
  border-color:rgba(242,204,126,.28);
  border-radius:8px;
  background:linear-gradient(135deg,rgba(73,24,68,.78),rgba(28,8,34,.72));
  box-shadow:inset 0 1px rgba(255,239,199,.05),0 7px 14px rgba(22,3,23,.22);
}
.gallery-detail .metadata-hooks dt { margin-bottom:4px; color:#dbb86e; font-size:.62rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.gallery-detail .metadata-hooks dd { color:rgba(255,250,240,.9); font-size:.73rem; line-height:1.35; overflow-wrap:anywhere; }

@media (min-width:981px) {
  .gallery-interface { align-items:stretch; }
  .gallery-detail { align-self:stretch; height:100%; max-height:none; overflow-x:hidden; overflow-y:auto; }
}
@media (max-width:980px) {
  .gallery-detail { overflow:visible; }
  .selected-asset-canvas { width:min(100%,390px); }
}

/* Gallery refinement: richer cabinet linework and a compact featured-artifact layout. */
.gallery-browser,.gallery-detail { isolation:isolate; }
.gallery-panel-watermark {
  position:absolute;
  z-index:0;
  inset:0;
  border-radius:inherit;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  opacity:.5;
  mix-blend-mode:normal;
  filter:none;
  pointer-events:none;
}
.gallery-browser>.gallery-panel-watermark { background-image:url("../assets/images/buy_tab_images/box_2_background.webp"); }
.gallery-detail>.gallery-panel-watermark { background-image:url("../assets/images/buy_tab_images/box_1_background.webp"); }
.gallery-browser>.gallery-browser-header,.gallery-browser>.gallery-scroll-area,
.gallery-detail>.detail-presentation,.gallery-detail>.detail-information { position:relative; z-index:1; }
.gallery-browser::before,.gallery-browser::after {
  top:9px;
  width:58px;
  background:linear-gradient(90deg,transparent,rgba(249,213,137,.9));
  box-shadow:0 4px 0 rgba(231,189,101,.2),0 8px 0 rgba(231,189,101,.08);
}
.gallery-browser-header::before {
  position:absolute;
  top:4px;
  left:50%;
  width:7px;
  height:7px;
  border:1px solid rgba(246,207,126,.65);
  content:"";
  transform:translateX(-50%) rotate(45deg);
  box-shadow:0 0 0 3px rgba(231,189,101,.05),0 0 12px rgba(231,189,101,.24);
}
.gallery-card { border-color:rgba(239,199,115,.76); }
.gallery-card::before {
  position:absolute;
  z-index:2;
  inset:3px;
  border:1px solid rgba(242,204,126,.1);
  border-radius:10px;
  content:"";
  pointer-events:none;
  background:
    linear-gradient(#e8bd67,#e8bd67) left 6px top 6px/13px 1px no-repeat,
    linear-gradient(#e8bd67,#e8bd67) left 6px top 6px/1px 13px no-repeat,
    linear-gradient(#e8bd67,#e8bd67) right 6px top 6px/13px 1px no-repeat,
    linear-gradient(#e8bd67,#e8bd67) right 6px top 6px/1px 13px no-repeat,
    linear-gradient(#e8bd67,#e8bd67) left 6px bottom 6px/13px 1px no-repeat,
    linear-gradient(#e8bd67,#e8bd67) left 6px bottom 6px/1px 13px no-repeat,
    linear-gradient(#e8bd67,#e8bd67) right 6px bottom 6px/13px 1px no-repeat,
    linear-gradient(#e8bd67,#e8bd67) right 6px bottom 6px/1px 13px no-repeat;
  opacity:.52;
}
.gallery-card:hover::before,.gallery-card[aria-selected="true"]::before { opacity:.9; }

.gallery-detail {
  position:relative;
  gap:clamp(5px,.5vh,7px);
  padding:clamp(11px,.8vw,15px);
  background:
    linear-gradient(90deg,transparent 13px,rgba(240,198,111,.1) 14px,transparent 15px) 0 0/100% 100%,
    radial-gradient(circle at 50% 8%,rgba(199,112,178,.23),transparent 36%),
    linear-gradient(155deg,rgba(104,40,91,.97),rgba(67,23,66,.98) 48%,rgba(43,14,49,.98));
}
.gallery-detail::before,.gallery-detail::after {
  position:absolute;
  z-index:2;
  top:9px;
  width:46px;
  height:1px;
  content:"";
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(249,213,137,.9));
  box-shadow:0 4px 0 rgba(231,189,101,.18),0 8px 0 rgba(231,189,101,.07);
}
.gallery-detail::before { left:12px; }
.gallery-detail::after { right:12px; transform:scaleX(-1); }
.gallery-detail .selected-asset-canvas {
  flex:0 0 auto;
  width:min(100%,clamp(205px,13vw,250px));
  border-color:rgba(248,211,133,.78);
  border-radius:10px;
  background:radial-gradient(circle at 50% 36%,rgba(141,67,120,.46),rgba(31,8,34,.9) 72%);
  box-shadow:0 0 0 3px rgba(39,9,37,.7),0 0 0 4px rgba(245,205,123,.22),0 16px 32px rgba(20,3,21,.66),inset 0 0 26px rgba(219,124,194,.12);
}
.gallery-detail .detail-heading { padding:1px 4px 7px; }
.gallery-detail .detail-heading h2 { margin:2px 0 3px; font-size:clamp(1.16rem,1.25vw,1.45rem); line-height:1.08; }
.gallery-detail .detail-heading p { font-size:.75rem; line-height:1.25; }
.gallery-detail .detail-heading .detail-eyebrow { font-size:.59rem; }
.gallery-detail .story-hooks {
  padding:9px 11px 8px;
  border-radius:8px;
  box-shadow:inset 3px 0 rgba(235,191,101,.12),0 9px 20px rgba(21,3,22,.34),inset 0 0 18px rgba(224,127,195,.08);
}
.gallery-detail .story-hooks h3 { margin-bottom:5px; font-size:.82rem; }
.gallery-detail .story-hooks p { margin-bottom:5px; font-size:.76rem; line-height:1.38; }
.gallery-detail .story-hooks .story-hook { padding-top:6px; }
.gallery-detail .asset-information { padding:0 2px 2px; }
.gallery-detail .asset-information > h3 { margin:1px 0 5px; font-size:.7rem; }
.gallery-detail .asset-information > h3::before {
  width:12px;
  height:12px;
  border:1px solid rgba(240,205,129,.45);
  content:"";
  transform:rotate(45deg) scale(.5);
}
.gallery-detail .metadata-hooks {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 14px;
  padding:2px 8px;
  border-top:1px solid rgba(242,204,126,.25);
  border-bottom:1px solid rgba(242,204,126,.16);
  background:linear-gradient(90deg,transparent,rgba(61,18,58,.42) 12%,rgba(61,18,58,.42) 88%,transparent);
}
.gallery-detail .metadata-hooks > div {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:7px;
  min-height:0;
  padding:5px 0;
  border:0;
  border-bottom:1px solid rgba(242,204,126,.13);
  border-radius:0;
  background:none;
  box-shadow:none;
}
.gallery-detail .metadata-hooks > div:nth-last-child(-n+2) { border-bottom:0; }
.gallery-detail .metadata-hooks dt { margin:0; font-size:.57rem; line-height:1.4; white-space:nowrap; }
.gallery-detail .metadata-hooks dd { font-size:.67rem; line-height:1.3; }

@media (min-width:981px) {
  .gallery-detail { overflow:hidden; }
}
@media (max-width:980px) {
  .gallery-detail .selected-asset-canvas { width:min(100%,390px); }
}

/* Gallery detail hierarchy: distinct presentation and information zones. */
.gallery-detail { padding:0; gap:0; background:#210a28; }
.gallery-detail .detail-presentation {
  flex:0 0 auto;
  padding:clamp(9px,.7vw,12px) clamp(13px,1vw,17px) 6px;
  background:
    radial-gradient(circle at 50% 6%,rgba(218,133,195,.22),transparent 42%),
    linear-gradient(155deg,#6c2b61,#501d52 58%,#421642);
}
.gallery-detail .detail-information {
  flex:1 1 auto;
  min-height:0;
  padding:clamp(8px,.65vw,11px) clamp(13px,1vw,17px) clamp(10px,.75vw,13px);
  border-top:1px solid rgba(248,210,128,.48);
  background:
    radial-gradient(circle at 50% 0,rgba(112,43,98,.24),transparent 46%),
    linear-gradient(165deg,#2c0c34,#180620 78%);
  box-shadow:inset 0 10px 24px rgba(7,1,11,.3);
}
.gallery-detail .story-hooks {
  padding:9px 12px;
  border:1px solid rgba(244,203,115,.68);
  border-radius:9px;
  background:linear-gradient(145deg,#5b2053,#421541);
  box-shadow:0 10px 22px rgba(8,1,12,.38),inset 0 1px rgba(255,241,207,.08),inset 3px 0 rgba(244,203,115,.16);
}
.gallery-detail .story-hooks h3 { color:#f4d58f; }
.gallery-detail .story-hooks p { color:#fffaf1; }
.gallery-detail .story-hooks .story-hook { border-top-color:rgba(244,203,115,.32); color:#fff6e5; }
.gallery-detail .story-hooks .story-flavor { color:#f2d58f; }
.gallery-detail .asset-information { margin-top:7px; padding:0; }
.gallery-detail .asset-information > h3 { margin:0 0 7px; color:#f4d58f; }
.gallery-detail .metadata-hooks {
  gap:5px 7px;
  padding:0;
  border:0;
  background:none;
}
.gallery-detail .metadata-hooks > div {
  display:grid;
  grid-template-columns:minmax(48px,.72fr) minmax(0,1fr);
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:5px 8px;
  border:1px solid rgba(244,203,115,.62);
  border-radius:7px;
  background:linear-gradient(145deg,#57204f,#3d143e);
  box-shadow:0 6px 14px rgba(7,1,11,.3),inset 0 1px rgba(255,241,207,.07);
}
.gallery-detail .metadata-hooks > div:nth-last-child(-n+2) { border-bottom:1px solid rgba(244,203,115,.62); }
.gallery-detail .metadata-hooks dt { margin:0; color:#edcd84; line-height:1.25; white-space:normal; }
.gallery-detail .metadata-hooks dd { color:#fffaf1; line-height:1.3; text-align:right; }

@media (min-width:981px) {
  .gallery-detail .detail-information { overflow:hidden; }
}

/* Gallery detail color and asset-depth refinement. Keep the collection browser's
   established purple palette; Bordeaux is intentionally scoped to the detail. */
.gallery-detail {
  background:#26070f;
  box-shadow:0 32px 72px rgba(0,0,0,.88),0 0 30px rgba(91,15,31,.34),inset 0 0 0 4px rgba(34,3,10,.7),inset 0 0 0 5px rgba(242,200,111,.15),inset 0 0 48px rgba(137,29,48,.14);
}
.gallery-detail .detail-presentation {
  background:
    radial-gradient(circle at 50% 6%,rgba(148,45,62,.28),transparent 42%),
    linear-gradient(155deg,rgba(90,16,31,.56),rgba(65,11,24,.54) 58%,rgba(47,7,17,.58));
}
.gallery-detail .detail-information {
  background:
    radial-gradient(circle at 50% 0,rgba(116,25,42,.28),transparent 46%),
    linear-gradient(165deg,rgba(49,8,18,.58),rgba(27,4,10,.62) 78%);
}
.gallery-detail .selected-asset-canvas {
  background:radial-gradient(circle at 50% 36%,rgba(126,32,48,.48),rgba(27,4,10,.94) 72%);
  box-shadow:0 0 0 3px rgba(30,3,9,.78),0 0 0 4px rgba(245,205,123,.22),0 18px 34px rgba(0,0,0,.82),inset 0 0 26px rgba(139,34,53,.16);
}
.gallery-detail .story-hooks {
  background:linear-gradient(145deg,#18091f,#09030f);
  box-shadow:0 10px 22px rgba(5,0,9,.58),inset 0 1px rgba(255,241,207,.08),inset 3px 0 rgba(244,203,115,.16);
}
.gallery-detail .metadata-hooks > div {
  background:linear-gradient(145deg,#0b090c,#020203);
  box-shadow:0 7px 15px rgba(0,0,0,.58),inset 0 1px rgba(255,241,207,.05);
}

/* Gallery atmosphere: soft viewport and detail-panel perimeter vignettes. */
.gallery-page::after {
  background:
    radial-gradient(ellipse 82% 78% at 50% 47%,transparent 55%,rgba(0,0,0,.04) 70%,rgba(0,0,0,.2) 88%,rgba(0,0,0,.46) 100%),
    linear-gradient(90deg,rgba(0,0,0,.24),transparent 8%,transparent 92%,rgba(0,0,0,.24)),
    linear-gradient(180deg,rgba(0,0,0,.18),transparent 9%,transparent 91%,rgba(0,0,0,.22));
}
.gallery-detail::before {
  z-index:3;
  inset:0;
  width:auto;
  height:auto;
  border-radius:inherit;
  background:
    linear-gradient(90deg,transparent,rgba(249,213,137,.9)) 12px 9px/46px 1px no-repeat,
    linear-gradient(90deg,transparent,rgba(231,189,101,.18)) 12px 13px/46px 1px no-repeat,
    linear-gradient(90deg,transparent,rgba(231,189,101,.07)) 12px 17px/46px 1px no-repeat,
    radial-gradient(ellipse 86% 82% at 50% 47%,transparent 57%,rgba(0,0,0,.08) 73%,rgba(0,0,0,.27) 91%,rgba(0,0,0,.46) 100%);
  box-shadow:none;
}

/* Keep gallery artwork above panel decoration without filtering its parent. */
.gallery-panel { position:relative; isolation:isolate; backdrop-filter:none; }
.gallery-detail::before { z-index:0; pointer-events:none; }

/* Render the tight production assets directly at their final size. Tokens and
   Bits & Bones remain fully visible; portraits fill their square canvas. */
.gallery-thumb,
.gallery-preview {
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  aspect-ratio:1;
  object-position:center;
  opacity:1;
  filter:none;
  image-rendering:auto;
  mix-blend-mode:normal;
  transform:none;
}
.gallery-thumb--token,
.gallery-preview--token,
.gallery-thumb--bits,
.gallery-preview--bits { object-fit:contain; }
.gallery-thumb--portrait,
.gallery-preview--portrait { object-fit:cover; }

/* Phase 1 account states extend the existing modal without changing its artwork. */
.account-submit:disabled,.account-button:disabled { cursor:wait; opacity:.65; }
.account-reset-note { margin:.1rem 0!important; text-align:center; }
.account-profile dl { display:grid; gap:.45rem; margin:1rem 0; text-align:left; }
.account-profile dl div { display:grid; grid-template-columns:minmax(90px,.8fr) 1.2fr; gap:.7rem; padding:.35rem 0; border-bottom:1px solid rgba(231,189,101,.25); }
.account-profile dt { color:#f5d98e; font:700 .7rem Arial,sans-serif; text-transform:uppercase; }
.account-profile dd { margin:0; overflow-wrap:anywhere; }
.account-future-sections { display:grid; grid-template-columns:repeat(3,1fr); gap:.4rem; margin-top:.8rem; }
.account-future-sections p { display:grid; gap:.25rem; margin:0; padding:.55rem .25rem; border:1px solid rgba(231,189,101,.3); font-style:normal; }
.account-future-sections strong { color:#f5d98e; font:700 .68rem Arial,sans-serif; text-transform:uppercase; }
.account-future-sections span { font:.68rem/1.3 Arial,sans-serif; }
@media (max-width:480px) { .account-future-sections { grid-template-columns:1fr; } }
