/* ==========================================================================
   Arrow Clearway — Path-journey landing (lavender puzzle aesthetic)
   ========================================================================== */

:root {
  --acw-bg: #f5f0ff;
  --acw-bg-card: #e8deff;
  --acw-bg-card-hover: #ddd6fe;
  --acw-navy: #1a1a3e;
  --acw-indigo: #4f46e5;
  --acw-periwinkle: #6366f1;
  --acw-blue: #5b7fd6;
  --acw-purple-start: #7c3aed;
  --acw-purple-end: #a855f7;
  --acw-red: #ef4444;
  --acw-white: #ffffff;
  --acw-muted: #475569;
  --acw-font-display: "Fredoka", system-ui, sans-serif;
  --acw-font-body: "Nunito", system-ui, sans-serif;
  --acw-radius: 20px;
  --acw-radius-lg: 28px;
  --acw-shadow-card: 0 12px 40px rgba(79, 70, 229, 0.12);
  --acw-header-h: 72px;
  --acw-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --acw-dur: 220ms;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--acw-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--acw-navy);
  background: var(--acw-bg);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.acw-skip {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--acw-navy);
  color: var(--acw-white);
  border-radius: 8px;
}

.acw-skip:focus {
  top: 1rem;
}

/* --- Background scene --- */
.acw-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.acw-scene__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99, 102, 241, 0.18) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.acw-scene__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.acw-scene__path-line {
  fill: none;
  stroke: rgba(91, 127, 214, 0.15);
  stroke-width: 24;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.acw-scene__path-dash {
  fill: none;
  stroke: rgba(99, 102, 241, 0.25);
  stroke-width: 3;
  stroke-dasharray: 12 16;
  stroke-linecap: round;
  animation: acw-path-flow 24s linear infinite;
}

@keyframes acw-path-flow {
  to {
    stroke-dashoffset: -560;
  }
}

.acw-scene__spark {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--acw-white);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: 0.7;
  animation: acw-sparkle 3s ease-in-out infinite;
}

.acw-scene__spark--1 { top: 12%; left: 18%; animation-delay: 0s; }
.acw-scene__spark--2 { top: 45%; right: 14%; animation-delay: 1.2s; }
.acw-scene__spark--3 { bottom: 22%; left: 28%; animation-delay: 2.1s; }

@keyframes acw-sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(45deg); }
}

/* --- Left path navigator --- */
.acw-trail {
  position: fixed;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
}

@media (min-width: 1200px) {
  .acw-trail {
    display: block;
  }
}

.acw-trail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.acw-trail__node {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--acw-muted);
  font-family: var(--acw-font-display);
  font-size: 0.8rem;
  font-weight: 600;
  transition: color var(--acw-dur) var(--acw-ease);
  cursor: pointer;
}

.acw-trail__node:hover,
.acw-trail__node.is-active {
  color: var(--acw-indigo);
}

.acw-trail__arrow {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--acw-bg-card);
  border: 2.5px solid var(--acw-periwinkle);
  position: relative;
  transition: background var(--acw-dur) var(--acw-ease), transform var(--acw-dur) var(--acw-ease);
}

.acw-trail__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border: 5px solid transparent;
  border-left-color: var(--acw-periwinkle);
}

.acw-trail__node.is-active .acw-trail__arrow {
  background: var(--acw-periwinkle);
  transform: scale(1.08);
}

.acw-trail__node.is-active .acw-trail__arrow::after {
  border-left-color: var(--acw-white);
}

.acw-trail__progress {
  position: absolute;
  left: 13px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 99px;
  z-index: -1;
}

.acw-trail__progress span {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--acw-indigo), var(--acw-purple-end));
  border-radius: 99px;
  transition: height 200ms var(--acw-ease);
}

/* --- HUD header --- */
.acw-hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  transition: background var(--acw-dur) var(--acw-ease), box-shadow var(--acw-dur) var(--acw-ease);
}

.acw-hud.is-scrolled {
  background: rgba(245, 240, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(79, 70, 229, 0.08);
}

.acw-hud__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}

.acw-hud__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.acw-hud__icon {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.acw-hud__name {
  font-family: var(--acw-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--acw-navy);
}

.acw-hud__lives {
  display: flex;
  gap: 0.25rem;
  color: var(--acw-red);
}

.acw-hud__level {
  font-family: var(--acw-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--acw-bg-card);
  color: var(--acw-navy);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 2px solid rgba(99, 102, 241, 0.25);
}

.acw-hud__nav {
  display: none;
  gap: 1.5rem;
  margin-left: auto;
}

@media (min-width: 768px) {
  .acw-hud__nav {
    display: flex;
  }
}

.acw-hud__nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--acw-muted);
  transition: color var(--acw-dur) var(--acw-ease);
  cursor: pointer;
}

.acw-hud__nav a:hover {
  color: var(--acw-indigo);
}

.acw-hud__cta {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: linear-gradient(135deg, var(--acw-purple-start), var(--acw-purple-end));
  color: var(--acw-white);
  font-family: var(--acw-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
  transition: opacity var(--acw-dur) var(--acw-ease), transform var(--acw-dur) var(--acw-ease);
  cursor: pointer;
}

@media (min-width: 768px) {
  .acw-hud__cta {
    display: inline-flex;
  }
}

.acw-hud__cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.acw-hud__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 12px;
  background: var(--acw-bg-card);
  color: var(--acw-navy);
  cursor: pointer;
  transition: background var(--acw-dur) var(--acw-ease);
}

@media (min-width: 768px) {
  .acw-hud__menu {
    display: none;
  }
}

.acw-hud__menu:hover {
  background: var(--acw-bg-card-hover);
}

.acw-sheet[hidden] {
  display: none;
}

.acw-sheet__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 62, 0.4);
  opacity: 0;
  transition: opacity var(--acw-dur) var(--acw-ease);
}

.acw-sheet.is-open .acw-sheet__backdrop {
  opacity: 1;
}

.acw-sheet__panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--acw-white);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform var(--acw-dur) var(--acw-ease);
  box-shadow: -8px 0 32px rgba(79, 70, 229, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.acw-sheet.is-open .acw-sheet__panel {
  transform: translateX(0);
}

.acw-sheet__close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--acw-bg);
  color: var(--acw-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.acw-sheet__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.acw-sheet__links a {
  padding: 0.85rem 0.5rem;
  font-family: var(--acw-font-display);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 12px;
  transition: background var(--acw-dur) var(--acw-ease);
  cursor: pointer;
}

.acw-sheet__links a:hover {
  background: var(--acw-bg);
}

#acw-main {
  position: relative;
  z-index: 1;
}

.acw-kicker {
  font-family: var(--acw-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acw-periwinkle);
  margin: 0 0 0.75rem;
}

.acw-kicker--light {
  color: rgba(255, 255, 255, 0.85);
}

.acw-section-title {
  font-family: var(--acw-font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--acw-navy);
}

.acw-section-desc {
  margin: 0;
  color: var(--acw-muted);
  font-size: 1.05rem;
  max-width: 520px;
}

.acw-hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--acw-header-h) + 2rem) 1.25rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .acw-hero {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-top: calc(var(--acw-header-h) + 3rem);
  }
}

.acw-hero__content {
  text-align: center;
}

@media (min-width: 900px) {
  .acw-hero__content {
    text-align: left;
  }
}

.acw-sticker {
  position: relative;
  display: inline-block;
  margin: 0 0 1rem;
  font-family: var(--acw-font-display);
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  transform: rotate(-2deg);
}

.acw-sticker__shadow,
.acw-sticker__outline,
.acw-sticker__fill {
  display: block;
}

.acw-sticker__shadow {
  position: absolute;
  inset: 0;
  color: transparent;
  text-shadow: 5px 5px 0 #312e81;
  z-index: 0;
}

.acw-sticker__outline {
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 5px var(--acw-blue);
  z-index: 1;
}

.acw-sticker__fill {
  position: relative;
  color: var(--acw-white);
  z-index: 2;
}

.acw-hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--acw-muted);
  margin: 0 0 1.75rem;
  max-width: 480px;
}

@media (min-width: 900px) {
  .acw-hero__tagline {
    margin-left: 0;
    margin-right: auto;
  }
}

@media (max-width: 899px) {
  .acw-hero__tagline {
    margin-left: auto;
    margin-right: auto;
  }
}

.acw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .acw-hero__actions {
    justify-content: flex-start;
  }
}

.acw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--acw-font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  transition: opacity var(--acw-dur) var(--acw-ease), transform var(--acw-dur) var(--acw-ease), background var(--acw-dur) var(--acw-ease);
  cursor: pointer;
}

.acw-btn--purple {
  background: linear-gradient(135deg, var(--acw-purple-start), var(--acw-purple-end));
  color: var(--acw-white);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.acw-btn--purple:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.acw-btn--outline {
  background: var(--acw-white);
  color: var(--acw-navy);
  border: 2.5px solid var(--acw-periwinkle);
}

.acw-btn--outline:hover {
  background: var(--acw-bg-card);
  transform: translateY(-2px);
}

.acw-btn--block {
  width: 100%;
}

.acw-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--acw-bg-card);
  border-radius: var(--acw-radius);
  border: 2px solid rgba(99, 102, 241, 0.2);
  text-align: left;
  max-width: 480px;
}

@media (max-width: 899px) {
  .acw-tip {
    margin: 0 auto;
  }
}

.acw-tip i,
.acw-tip svg {
  flex-shrink: 0;
  color: var(--acw-indigo);
  margin-top: 0.15rem;
}

.acw-tip p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--acw-navy);
  font-weight: 600;
}

.acw-board {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}

.acw-board__maze {
  position: absolute;
  width: min(100%, 380px);
  aspect-ratio: 1;
  opacity: 0.9;
}

.acw-maze-line {
  fill: none;
  stroke: var(--acw-navy);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.acw-maze-arrow {
  fill: var(--acw-navy);
}

.acw-board__phone {
  position: relative;
  z-index: 2;
  margin: 0;
  width: min(280px, 66vw);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--acw-navy), 0 24px 60px rgba(26, 26, 62, 0.25);
  transform: rotate(3deg);
  transition: transform 400ms var(--acw-ease);
}

.acw-board__phone:hover {
  transform: rotate(0deg) scale(1.02);
}

.acw-board__phone img {
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
}

@media (min-width: 900px) {
  .acw-board__phone {
    width: min(300px, 42vw);
  }
}

.acw-path-section {
  padding: 5rem 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.acw-path-section__head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.acw-path-section__head .acw-section-desc {
  margin-left: auto;
  margin-right: auto;
}

.acw-path-grid {
  list-style: none;
  margin: 0 0 4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.acw-path-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--acw-periwinkle), var(--acw-purple-end));
  border-radius: 99px;
  transform: translateX(-50%);
  opacity: 0.25;
}

@media (max-width: 767px) {
  .acw-path-grid::before {
    left: 1.25rem;
    transform: none;
  }
}

.acw-path-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding: 1.5rem;
  background: var(--acw-white);
  border-radius: var(--acw-radius-lg);
  border: 2.5px solid rgba(99, 102, 241, 0.2);
  box-shadow: var(--acw-shadow-card);
  max-width: 420px;
  transition: border-color var(--acw-dur) var(--acw-ease), transform var(--acw-dur) var(--acw-ease);
}

.acw-path-card:hover {
  border-color: var(--acw-periwinkle);
  transform: translateY(-3px);
}

.acw-path-card--left {
  margin-right: auto;
  margin-left: 0;
}

.acw-path-card--right {
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 767px) {
  .acw-path-card--left,
  .acw-path-card--right {
    margin-left: 2.5rem;
    margin-right: 0;
    max-width: none;
  }
}

.acw-path-card__step {
  grid-column: 1 / -1;
  font-family: var(--acw-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--acw-periwinkle);
  letter-spacing: 0.1em;
}

.acw-path-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--acw-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--acw-indigo);
}

.acw-path-card__body h3 {
  font-family: var(--acw-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--acw-navy);
}

.acw-path-card__body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--acw-muted);
}

/* --- Screenshot gallery (level preview stage) --- */
.acw-gallery {
  position: relative;
  padding: 1rem 1.25rem 5rem;
  margin-top: 1rem;
}

.acw-gallery:focus {
  outline: none;
}

.acw-gallery:focus-visible {
  outline: 2px solid var(--acw-indigo);
  outline-offset: 6px;
  border-radius: var(--acw-radius-lg);
}

.acw-gallery__shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(99, 102, 241, 0.14);
  border-radius: var(--acw-radius-lg);
  box-shadow: var(--acw-shadow-card);
}

.acw-gallery__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.acw-gallery__head .acw-section-desc {
  margin-left: auto;
  margin-right: auto;
}

.acw-gallery__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 420px;
  margin-bottom: 1.75rem;
}

.acw-gallery__board {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.55;
}

.acw-gallery__maze {
  width: min(100%, 760px);
  height: auto;
}

.acw-gallery__maze path {
  fill: none;
  stroke: var(--acw-navy);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.12;
}

.acw-gallery__phones {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 820px;
}

.acw-gallery__main {
  margin: 0;
  flex: 0 0 auto;
  width: min(260px, 58vw);
  text-align: center;
}

.acw-gallery__hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
}

.acw-gallery__badge {
  font-family: var(--acw-font-display);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--acw-bg-card);
  color: var(--acw-navy);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 2px solid rgba(99, 102, 241, 0.25);
}

.acw-gallery__hearts {
  display: flex;
  gap: 0.15rem;
  color: var(--acw-red);
}

.acw-gallery__frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 4px var(--acw-navy),
    0 20px 50px rgba(26, 26, 62, 0.22);
  background: var(--acw-white);
  transition: opacity var(--acw-dur) var(--acw-ease);
}

.acw-gallery__frame.is-changing {
  opacity: 0.72;
}

.acw-gallery__frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.acw-gallery__caption {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--acw-muted);
  line-height: 1.45;
  min-height: 2.8em;
}

.acw-gallery__peek {
  margin: 0;
  width: min(140px, 22vw);
  border-radius: 20px;
  overflow: hidden;
  opacity: 0.45;
  transform: scale(0.88);
  box-shadow: 0 12px 32px rgba(26, 26, 62, 0.12);
  border: 2px solid rgba(99, 102, 241, 0.15);
  transition: opacity var(--acw-dur) var(--acw-ease), transform var(--acw-dur) var(--acw-ease);
  display: none;
}

.acw-gallery__peek img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

@media (min-width: 768px) {
  .acw-gallery__main {
    width: min(280px, 32vw);
  }

  .acw-gallery__peek {
    display: block;
  }
}

@media (min-width: 1024px) {
  .acw-gallery__main {
    width: 300px;
  }

  .acw-gallery__peek {
    width: 160px;
  }
}

.acw-gallery__nav {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--acw-white);
  color: var(--acw-indigo);
  border: 2.5px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--acw-shadow-card);
  transition: background var(--acw-dur) var(--acw-ease), border-color var(--acw-dur) var(--acw-ease), transform var(--acw-dur) var(--acw-ease);
  cursor: pointer;
}

.acw-gallery__nav:hover {
  background: var(--acw-bg-card);
  border-color: var(--acw-periwinkle);
  transform: translateY(-1px);
}

.acw-gallery__strip {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
  overflow-x: auto;
  padding: 0.75rem 0.25rem 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.acw-gallery__strip::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .acw-gallery__strip {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.acw-gallery__thumb {
  flex: 0 0 auto;
  scroll-snap-align: center;
  position: relative;
  width: 72px;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid transparent;
  background: var(--acw-white);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.1);
  transition: border-color var(--acw-dur) var(--acw-ease), transform var(--acw-dur) var(--acw-ease), box-shadow var(--acw-dur) var(--acw-ease);
  cursor: pointer;
}

.acw-gallery__thumb img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}

.acw-gallery__thumb span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.35rem;
  font-family: var(--acw-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  color: var(--acw-white);
  background: linear-gradient(transparent, rgba(26, 26, 62, 0.75));
}

.acw-gallery__thumb:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.35);
}

.acw-gallery__thumb.is-active {
  border-color: var(--acw-periwinkle);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.28);
  transform: translateY(-4px);
}

.acw-gallery__counter {
  margin: 1rem 0 0;
  text-align: center;
  font-family: var(--acw-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--acw-periwinkle);
  letter-spacing: 0.06em;
}

.acw-exit {
  position: relative;
  margin: 2rem 1.25rem 4rem;
  border-radius: var(--acw-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--acw-purple-start) 0%, var(--acw-purple-end) 50%, #9333ea 100%);
  color: var(--acw-white);
}

.acw-exit__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.acw-exit__shape {
  position: absolute;
  opacity: 0.15;
}

.acw-exit__shape--tri {
  top: -20px;
  right: 10%;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid white;
}

.acw-exit__shape--circle {
  bottom: -30px;
  left: 8%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: white;
}

.acw-exit__chev {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: none;
  border-left: none;
  transform: translateY(-50%) rotate(-45deg);
}

.acw-exit__chev--l { left: 1.5rem; }
.acw-exit__chev--r { right: 1.5rem; transform: translateY(-50%) rotate(135deg); }

.acw-exit__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.acw-exit__title {
  font-family: var(--acw-font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.acw-exit__desc {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  opacity: 0.92;
  line-height: 1.65;
}

.acw-exit__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.acw-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--acw-dur) var(--acw-ease), opacity var(--acw-dur) var(--acw-ease);
  cursor: pointer;
}

.acw-store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.acw-store-btn--play {
  gap: 0.65rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--acw-white);
  font-family: var(--acw-font-display);
  font-weight: 600;
  border-radius: 12px;
}

.acw-store-btn--play span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  text-align: left;
}

.acw-store-btn--play small {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.85;
}

.acw-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.25rem;
  background: var(--acw-white);
  border-top: 1px solid rgba(99, 102, 241, 0.12);
}

.acw-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .acw-footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }
}

.acw-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--acw-font-display);
  font-weight: 700;
}

.acw-footer__brand img {
  border-radius: 8px;
}

.acw-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
}

.acw-footer__links a {
  font-size: 0.9rem;
  color: var(--acw-muted);
  font-weight: 600;
  transition: color var(--acw-dur) var(--acw-ease);
  cursor: pointer;
}

.acw-footer__links a:hover {
  color: var(--acw-indigo);
}

.acw-footer__copy {
  width: 100%;
  margin: 0;
  font-size: 0.85rem;
  color: var(--acw-muted);
  text-align: center;
}

.acw-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility var(--acw-dur), opacity var(--acw-dur) var(--acw-ease);
}

.acw-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.acw-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 62, 0.5);
  cursor: pointer;
}

.acw-modal__sheet {
  position: relative;
  width: min(400px, 100%);
  background: var(--acw-white);
  border-radius: var(--acw-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 24px 64px rgba(79, 70, 229, 0.2);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--acw-dur) var(--acw-ease);
}

.acw-modal.is-open .acw-modal__sheet {
  transform: translateY(0) scale(1);
}

.acw-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--acw-bg);
  color: var(--acw-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.acw-modal__icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  background: var(--acw-bg-card);
  color: var(--acw-indigo);
  border-radius: 16px;
  margin-bottom: 1rem;
}

.acw-modal__sheet h3 {
  font-family: var(--acw-font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  color: var(--acw-navy);
}

.acw-modal__sheet p {
  margin: 0 0 1.5rem;
  color: var(--acw-muted);
  line-height: 1.65;
}

.acw-modal__sheet .acw-btn {
  min-width: 140px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--acw-indigo);
  outline-offset: 3px;
}
