:root {
  --black: #050403;
  --charcoal: #11100e;
  --bronze: #b98b4a;
  --gold: #d7b36a;
  --soft-white: rgba(255, 250, 239, 0.86);
  --muted-white: rgba(255, 250, 239, 0.42);
  --shadow: rgba(0, 0, 0, 0.62);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(185, 139, 74, 0.12), transparent 34%),
    linear-gradient(180deg, var(--charcoal), var(--black) 42%, #020202);
  color: var(--soft-white);
  font-family: Georgia, "Times New Roman", serif;
  overscroll-behavior: none;
  touch-action: pan-x;
  user-select: none;
  -webkit-user-select: none;
}

body {
  position: fixed;
  inset: 0;
}

button {
  font: inherit;
}

.menu-app {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #050403;
  isolation: isolate;
}

.carousel {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 14%, transparent 86%, rgba(0, 0, 0, 0.5)),
    #050403;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 16%, transparent 76%, rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at 50% 50%, transparent 62%, rgba(0, 0, 0, 0.22));
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  background: #050403;
}

.nav-arrow {
  position: fixed;
  top: 50%;
  z-index: 4;
  width: clamp(44px, 6vw, 68px);
  height: clamp(72px, 11vw, 108px);
  border: 1px solid rgba(215, 179, 106, 0.22);
  border-radius: 999px;
  background: rgba(5, 4, 3, 0.34);
  color: rgba(255, 244, 219, 0.72);
  box-shadow: 0 18px 38px var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.nav-arrow span {
  display: block;
  margin-top: -4px;
  font-size: clamp(48px, 8vw, 74px);
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
}

.nav-arrow--left {
  left: max(18px, env(safe-area-inset-left));
}

.nav-arrow--right {
  right: max(18px, env(safe-area-inset-right));
}

.nav-arrow:active {
  background: rgba(185, 139, 74, 0.18);
  border-color: rgba(215, 179, 106, 0.48);
  color: rgba(255, 244, 219, 0.96);
}

.nav-arrow.is-disabled {
  opacity: 0.22;
  pointer-events: none;
}

.bottom-ui {
  position: fixed;
  right: 0;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 0;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 18px;
  pointer-events: none;
}

.hint {
  margin: 0;
  color: var(--muted-white);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(11px, 1.5vw, 14px);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(78vw, 520px);
  min-height: 16px;
  gap: 7px;
}

.dot {
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 250, 239, 0.28);
  box-shadow: 0 0 0 1px rgba(215, 179, 106, 0.1);
  transition: width 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.dot.is-active {
  width: 22px;
  background: linear-gradient(90deg, var(--bronze), var(--gold));
  box-shadow: 0 0 20px rgba(215, 179, 106, 0.36);
}

@media (orientation: landscape) {
  .slide img {
    object-fit: contain;
  }

  .bottom-ui {
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 760px) {
  .nav-arrow {
    width: 42px;
    height: 70px;
  }

  .nav-arrow--left {
    left: 10px;
  }

  .nav-arrow--right {
    right: 10px;
  }

  .dots {
    gap: 5px;
  }
}
