/* =========================================================
   Shiny Merge — Golden Vault Landing
   Differentiated layout: vault HUD + brand plaque hero +
   merge trail milestones + collection vault (not card grids)
   ========================================================= */

:root {
  --sm-bg: #4a148c;
  --sm-bg-deep: #2a0845;
  --sm-bg-mid: #6b21a8;
  --sm-bg-soft: #8b3dce;
  --sm-gold: #ffd54a;
  --sm-gold-deep: #c99010;
  --sm-gold-edge: #8a5a00;
  --sm-pink: #ff2d8a;
  --sm-pink-deep: #c4166a;
  --sm-cyan: #1ee6d6;
  --sm-blue: #3d8bff;
  --sm-text: #fff8ee;
  --sm-muted: #e8d4ff;
  --sm-shadow: 0 12px 32px rgba(20, 0, 40, 0.45);
  --sm-font: "Nunito", system-ui, sans-serif;
  --sm-display: "Cinzel", Georgia, serif;
  --sm-radius: 22px;
  --sm-hud-h: 64px;
  --sm-dock-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body.sm-body {
  margin: 0;
  font-family: var(--sm-font);
  color: var(--sm-text);
  background: var(--sm-bg-deep);
  line-height: 1.55;
  overflow-x: hidden;
  padding-bottom: calc(var(--sm-dock-h) + 20px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.sm-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sm-gold);
  color: #2a0845;
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 800;
}

.sm-skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Ambient ---------- */
.sm-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sm-ambient__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 55% 45% at 50% 28%, rgba(167, 78, 230, 0.55), transparent 70%),
    radial-gradient(ellipse 40% 35% at 80% 80%, rgba(255, 45, 138, 0.18), transparent 65%),
    linear-gradient(180deg, #5b1fa6 0%, #3a0d6e 45%, #1f0638 100%);
}

/* Large geometric emblem watermark (game-style fretwork) */
.sm-ambient__emblem {
  position: absolute;
  left: 50%;
  top: 18%;
  width: min(72vw, 560px);
  height: min(72vw, 560px);
  transform: translate(-50%, -10%);
  border-radius: 50%;
  opacity: 0.14;
  background:
    repeating-conic-gradient(from 0deg, rgba(180, 140, 255, 0.35) 0deg 8deg, transparent 8deg 16deg);
  mask-image: radial-gradient(circle, #000 35%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 72%);
}

.sm-ambient__sparkles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff8c8;
  box-shadow: 0 0 8px #ffd54a;
  animation: sm-twinkle 6s ease-in-out infinite;
}

@keyframes sm-twinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.6);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.2);
  }
}

/* ---------- HUD ---------- */
.sm-hud {
  position: sticky;
  top: 10px;
  z-index: 50;
  margin: 10px 14px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(72, 24, 120, 0.92), rgba(40, 10, 70, 0.92));
  border: 3px solid var(--sm-gold);
  box-shadow: var(--sm-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sm-hud.is-scrolled {
  box-shadow: 0 16px 40px rgba(10, 0, 30, 0.55), 0 0 0 1px rgba(255, 213, 74, 0.35);
}

.sm-hud__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  cursor: pointer;
}

.sm-hud__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 2px solid var(--sm-gold);
  object-fit: cover;
}

.sm-hud__name {
  font-family: var(--sm-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.sm-hud__name em {
  font-style: normal;
  color: var(--sm-gold);
}

.sm-hud__meter {
  flex: 1;
  min-width: 0;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.sm-hud__meter-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sm-muted);
}

.sm-hud__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 213, 74, 0.45);
  overflow: hidden;
}

.sm-hud__track i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffe566, #ff9f1a, #ff2d8a);
  transition: width 0.15s ease-out;
}

.sm-hud__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 2px solid var(--sm-gold);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 0;
}

.sm-hud__burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--sm-gold);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .sm-hud {
    margin: 14px auto 0;
    max-width: 920px;
    padding: 10px 16px 10px 10px;
  }

  .sm-hud__meter {
    display: flex;
  }

  .sm-hud__burger {
    display: none;
  }
}

/* Drawer */
.sm-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 0, 40, 0.72);
  backdrop-filter: blur(6px);
}

.sm-drawer__nav {
  margin: 80px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: var(--sm-radius);
  background: linear-gradient(180deg, #5b1fa6, #2a0845);
  border: 3px solid var(--sm-gold);
}

.sm-drawer__nav a {
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 213, 74, 0.35);
  cursor: pointer;
  transition: background 0.2s ease;
}

.sm-drawer__nav a:hover {
  background: rgba(255, 213, 74, 0.18);
}

/* ---------- Dock ---------- */
.sm-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 55;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(60, 16, 100, 0.95), rgba(30, 8, 55, 0.95));
  border: 3px solid var(--sm-gold);
  box-shadow: var(--sm-shadow);
  width: min(420px, calc(100% - 24px));
}

.sm-dock__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 18px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--sm-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sm-dock__item:hover,
.sm-dock__item.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.sm-dock__item--cta {
  color: #fff;
}

.sm-dock__gem {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 4px 0 rgba(0, 0, 0, 0.25);
}

.sm-dock__gem--gold {
  background: linear-gradient(180deg, #ffe566, #e09810);
}

.sm-dock__gem--cyan {
  background: linear-gradient(180deg, #7ff7ee, #0cb8ab);
}

.sm-dock__gem--blue {
  background: linear-gradient(180deg, #7eb6ff, #2563eb);
}

.sm-dock__gem--pink {
  background: linear-gradient(180deg, #ff7ab8, #e01175);
}

/* ---------- Buttons ---------- */
.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  color: #fff;
}

.sm-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.sm-btn:active {
  transform: translateY(1px) scale(0.98);
}

.sm-btn:focus-visible {
  outline: 3px solid var(--sm-cyan);
  outline-offset: 3px;
}

.sm-btn--mini {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  background: linear-gradient(180deg, #ff6eb4, var(--sm-pink-deep));
  border: 2px solid #ffd1e8;
  box-shadow: 0 4px 0 #8a0d4a, inset 0 2px 0 rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.sm-btn--store {
  min-width: 160px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.sm-btn--apple {
  background: linear-gradient(180deg, #4a4a55, #1a1a22);
}

.sm-btn--google {
  background: linear-gradient(180deg, #4d9cff, #1d5fd0);
}

.sm-btn--pink {
  background: linear-gradient(180deg, #ff6eb4, var(--sm-pink-deep));
  border: 3px solid #ffd1e8;
  box-shadow: 0 6px 0 #8a0d4a, inset 0 2px 0 rgba(255, 255, 255, 0.35);
  width: 100%;
  max-width: 320px;
}

.sm-btn--gold {
  background: linear-gradient(180deg, #ffe566, #e09810);
  color: #4a1a00;
  border: 3px solid #fff3b0;
  box-shadow: 0 6px 0 #8a5a00, inset 0 2px 0 rgba(255, 255, 255, 0.45);
  width: 100%;
  max-width: 320px;
}

/* ---------- Main ---------- */
#sm-main {
  position: relative;
  z-index: 1;
}

.sm-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
}

.sm-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sm-gold);
}

.sm-title {
  margin: 0 0 0.6rem;
  font-family: var(--sm-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(180deg, #fff 20%, #ffe566 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 #5b1a00);
}

.sm-sub {
  margin: 0;
  color: var(--sm-muted);
  font-size: 1.02rem;
}

/* ---------- Hero ---------- */
.sm-hero {
  position: relative;
  min-height: calc(100svh - var(--sm-hud-h) - 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem 3rem;
}

.sm-hero__stage {
  position: relative;
  width: min(920px, 100%);
  text-align: center;
}

.sm-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sm-orbit__tile {
  position: absolute;
  width: clamp(72px, 14vw, 120px);
  border-radius: 16px;
  border: 3px solid var(--sm-gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  aspect-ratio: 9 / 16;
  opacity: 0.9;
}

.sm-orbit__tile--a {
  left: -2%;
  top: 18%;
  transform: rotate(-12deg);
  animation: sm-float-a 7s ease-in-out infinite;
}

.sm-orbit__tile--b {
  right: -2%;
  top: 12%;
  transform: rotate(10deg);
  animation: sm-float-b 8s ease-in-out infinite;
}

.sm-orbit__tile--c {
  right: 8%;
  bottom: 4%;
  transform: rotate(-6deg);
  animation: sm-float-c 6.5s ease-in-out infinite;
  display: none;
}

@keyframes sm-float-a {
  0%,
  100% {
    transform: rotate(-12deg) translateY(0);
  }
  50% {
    transform: rotate(-8deg) translateY(-12px);
  }
}

@keyframes sm-float-b {
  0%,
  100% {
    transform: rotate(10deg) translateY(0);
  }
  50% {
    transform: rotate(14deg) translateY(-16px);
  }
}

@keyframes sm-float-c {
  0%,
  100% {
    transform: rotate(-6deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-10px);
  }
}

.sm-hero__plaque {
  position: relative;
  width: min(340px, 78vw);
  margin: 0 auto 1.25rem;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffe566, #c99010 40%, #8a5a00);
  box-shadow:
    0 0 60px rgba(255, 213, 74, 0.35),
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.sm-hero__plaque::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 40px;
  background: radial-gradient(circle, rgba(255, 230, 120, 0.35), transparent 65%);
  z-index: -1;
  animation: sm-pulse 3.5s ease-in-out infinite;
}

@keyframes sm-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.sm-hero__logo {
  width: 100%;
  border-radius: 20px;
  border: 2px solid rgba(80, 30, 0, 0.35);
}

.sm-hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--sm-display);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-shadow:
    0 3px 0 #4a1800,
    0 8px 20px rgba(0, 0, 0, 0.35);
}

.sm-hero__title span {
  background: linear-gradient(180deg, #fff6c8, #ffb020);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sm-hero__lead {
  margin: 0 auto 1.5rem;
  max-width: 520px;
  color: var(--sm-muted);
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
  font-weight: 600;
}

.sm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (min-width: 900px) {
  .sm-orbit__tile--c {
    display: block;
  }

  .sm-orbit__tile--a {
    left: 2%;
  }

  .sm-orbit__tile--b {
    right: 2%;
  }
}

/* ---------- Merge Trail ---------- */
.sm-features {
  padding: 3.5rem 0 2rem;
}

.sm-trail-wrap {
  overflow-x: auto;
  padding: 1rem 1.25rem 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.sm-trail-wrap::-webkit-scrollbar {
  height: 6px;
}

.sm-trail-wrap::-webkit-scrollbar-thumb {
  background: var(--sm-gold);
  border-radius: 999px;
}

.sm-trail {
  position: relative;
  display: flex;
  gap: 18px;
  width: max-content;
  min-width: 100%;
  justify-content: center;
  padding: 28px 8px 8px;
}

.sm-trail__line {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 54px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8a5a00, #ffe566, #ff2d8a, #ffe566, #8a5a00);
  box-shadow: 0 0 12px rgba(255, 213, 74, 0.5);
}

.sm-node {
  position: relative;
  z-index: 1;
  scroll-snap-align: center;
  width: min(220px, 70vw);
  padding: 1.1rem 1rem 1.25rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(90, 30, 150, 0.9), rgba(35, 10, 65, 0.95));
  border: 3px solid var(--sm-gold);
  box-shadow: var(--sm-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-align: center;
}

.sm-node__gem {
  width: 56px;
  height: 56px;
  margin: -36px auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe566, #c99010);
  border: 3px solid #fff3b0;
  box-shadow: 0 6px 0 #8a5a00, 0 0 20px rgba(255, 213, 74, 0.45);
}

.sm-node h3 {
  margin: 0 0 0.45rem;
  font-family: var(--sm-display);
  font-size: 1.05rem;
  color: var(--sm-gold);
}

.sm-node p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sm-muted);
  font-weight: 600;
}

@media (min-width: 960px) {
  .sm-trail-wrap {
    overflow: visible;
  }

  .sm-trail {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
  }

  .sm-node {
    flex: 1;
    width: auto;
  }
}

/* ---------- Vault collection ---------- */
.sm-vault {
  padding: 3rem 1.25rem;
}

.sm-vault__frame {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1rem 1.5rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(55, 16, 100, 0.92), rgba(25, 6, 50, 0.96));
  border: 4px solid var(--sm-gold);
  box-shadow: var(--sm-shadow), inset 0 0 0 2px rgba(140, 60, 200, 0.5);
}

.sm-vault__status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.25rem;
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 213, 74, 0.35);
  font-weight: 800;
  font-size: 0.9rem;
}

.sm-vault__status img {
  border-radius: 8px;
  border: 2px solid var(--sm-gold);
}

.sm-vault__hint {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sm-gold);
  letter-spacing: 0.02em;
}

.sm-vault__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.sm-vault__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(70, 20, 120, 0.85), rgba(40, 10, 70, 0.9));
  border: 2px solid rgba(255, 213, 74, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sm-vault__card:hover {
  border-color: var(--sm-gold);
  box-shadow: 0 0 24px rgba(255, 213, 74, 0.22);
}

.sm-vault__shot {
  position: relative;
  display: block;
  width: min(260px, 72vw);
  margin: 0;
  padding: 0;
  border: 3px solid var(--sm-gold);
  border-radius: 22px;
  overflow: hidden;
  background: #1a0530;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.sm-vault__shot:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 32px rgba(255, 213, 74, 0.28), 0 10px 28px rgba(0, 0, 0, 0.4);
}

.sm-vault__shot:focus-visible {
  outline: 3px solid var(--sm-cyan);
  outline-offset: 3px;
}

.sm-vault__shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center top;
  display: block;
  background: #1a0530;
}

.sm-vault__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #4a1a00;
  background: linear-gradient(180deg, #ffe566, #e09810);
  border: 2px solid #fff3b0;
  box-shadow: 0 3px 0 #8a5a00;
  pointer-events: none;
}

.sm-vault__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  min-width: 0;
}

.sm-vault__meta strong {
  font-family: var(--sm-display);
  font-size: 1.05rem;
  color: #fff;
}

.sm-vault__meta span {
  font-size: 0.85rem;
  color: var(--sm-muted);
  font-weight: 600;
}

@media (min-width: 640px) {
  .sm-vault__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .sm-vault__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .sm-vault__list .sm-vault__card:nth-child(4),
  .sm-vault__list .sm-vault__card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (min-width: 1100px) {
  .sm-vault__list {
    grid-template-columns: repeat(5, 1fr);
  }

  .sm-vault__shot {
    width: 100%;
  }
}

/* ---------- Lightbox ---------- */
.sm-lightbox[hidden] {
  display: none !important;
}

.sm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.sm-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 0, 24, 0.88);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.sm-lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(420px, calc(100vw - 96px));
  max-height: calc(100svh - 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sm-lightbox__figure img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 130px);
  object-fit: contain;
  border-radius: 18px;
  border: 4px solid var(--sm-gold);
  box-shadow: 0 0 40px rgba(255, 213, 74, 0.25), 0 20px 50px rgba(0, 0, 0, 0.5);
  background: #1a0530;
}

.sm-lightbox__figure figcaption {
  font-weight: 800;
  color: var(--sm-gold);
  text-align: center;
  font-size: 0.95rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.sm-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--sm-gold);
  background: linear-gradient(180deg, #ffe566, #e09810);
  color: #4a1a00;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 0 #8a5a00;
  transition: filter 0.2s ease;
}

.sm-lightbox__close:hover {
  filter: brightness(1.08);
}

.sm-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--sm-gold);
  background: linear-gradient(180deg, rgba(90, 30, 150, 0.95), rgba(40, 10, 70, 0.95));
  color: var(--sm-gold);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: filter 0.2s ease, background 0.2s ease;
}

.sm-lightbox__nav:hover {
  filter: brightness(1.12);
}

.sm-lightbox__nav--prev {
  left: 12px;
}

.sm-lightbox__nav--next {
  right: 12px;
}

@media (max-width: 520px) {
  .sm-lightbox__figure {
    max-width: calc(100vw - 24px);
  }

  .sm-lightbox__nav--prev {
    left: 4px;
  }

  .sm-lightbox__nav--next {
    right: 4px;
  }
}

/* ---------- Download claim ---------- */
.sm-download {
  padding: 2.5rem 1.25rem 3rem;
}

.sm-claim {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(180deg, #6b21a8, #2a0845);
  border: 4px solid var(--sm-gold);
  box-shadow: 0 0 50px rgba(255, 45, 138, 0.2), var(--sm-shadow);
}

.sm-claim__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.45rem 1.4rem;
  border-radius: 10px;
  font-family: var(--sm-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: #4a1a00;
  background: linear-gradient(180deg, #ffe566, #e09810);
  border: 2px solid #fff3b0;
  box-shadow: 0 4px 0 #8a5a00;
  white-space: nowrap;
}

.sm-claim__icon {
  margin: 0.5rem auto 1rem;
  border-radius: 22px;
  border: 3px solid var(--sm-gold);
  box-shadow: 0 0 28px rgba(255, 213, 74, 0.4);
}

.sm-claim__title {
  margin: 0 0 0.65rem;
  font-family: var(--sm-display);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  background: linear-gradient(180deg, #fff, #ffe566);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sm-claim__text {
  margin: 0 auto 1.4rem;
  max-width: 420px;
  color: var(--sm-muted);
  font-weight: 600;
}

.sm-claim__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ---------- FAQ ---------- */
.sm-faq {
  padding: 1rem 1.25rem 3.5rem;
  max-width: 680px;
  margin: 0 auto;
}

.sm-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sm-faq__item {
  border-radius: 16px;
  background: rgba(40, 10, 70, 0.75);
  border: 2px solid rgba(255, 213, 74, 0.45);
  padding: 0.35rem 1rem;
}

.sm-faq__item summary {
  cursor: pointer;
  font-weight: 800;
  padding: 0.85rem 0;
  list-style: none;
}

.sm-faq__item summary::-webkit-details-marker {
  display: none;
}

.sm-faq__item summary::after {
  content: "+";
  float: right;
  color: var(--sm-gold);
  font-weight: 800;
}

.sm-faq__item[open] summary::after {
  content: "–";
}

.sm-faq__item p {
  margin: 0 0 0.9rem;
  color: var(--sm-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.sm-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 1.25rem 1.5rem;
  border-top: 2px solid rgba(255, 213, 74, 0.35);
  background: rgba(15, 4, 30, 0.85);
}

.sm-footer__inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.sm-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sm-display);
  font-weight: 700;
  cursor: pointer;
}

.sm-footer__brand img {
  border-radius: 8px;
  border: 2px solid var(--sm-gold);
}

.sm-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-weight: 700;
  font-size: 0.92rem;
}

.sm-footer__links a {
  color: var(--sm-gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  cursor: pointer;
}

.sm-footer__links a:hover {
  border-bottom-color: var(--sm-gold);
}

.sm-footer__copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--sm-muted);
}

/* ---------- Modal ---------- */
.sm-modal[hidden] {
  display: none !important;
}

.sm-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.sm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 0, 30, 0.72);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.sm-modal__panel {
  position: relative;
  width: min(400px, 100%);
  padding: 2.2rem 1.4rem 1.5rem;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(180deg, #6b21a8, #2a0845);
  border: 4px solid var(--sm-gold);
  box-shadow: var(--sm-shadow);
}

.sm-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--sm-gold);
  background: linear-gradient(180deg, #ffe566, #e09810);
  color: #4a1a00;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.sm-modal__ribbon {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 1rem;
  border-radius: 8px;
  font-family: var(--sm-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: #4a1a00;
  background: linear-gradient(180deg, #ffe566, #e09810);
}

.sm-modal__panel h2 {
  margin: 0 0 0.5rem;
  font-family: var(--sm-display);
  color: var(--sm-gold);
}

.sm-modal__panel p {
  margin: 0 0 1.2rem;
  color: var(--sm-muted);
  font-weight: 600;
}

.sm-modal__panel .sm-btn {
  width: auto;
  min-width: 140px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sm-orbit__tile,
  .sm-hero__plaque::before,
  .sm-ambient__sparkles span {
    animation: none !important;
  }

  .sm-btn:hover,
  .sm-vault__card:hover {
    transform: none;
  }

  .sm-vault__shot:hover {
    filter: none;
  }
}
