:root {
  color-scheme: light;
  --ink: #231f20;
  --ink-soft: #3d3342;
  --white: #ffffff;
  --outline: rgba(35, 31, 32, 0.1);
  --chip-shadow: 0 16px 26px rgba(255, 123, 77, 0.2);
  --screen-shadow: 0 30px 60px rgba(34, 27, 21, 0.25);
  --screen-left: 16.64%;
  --screen-top: 10.61%;
  --screen-width: 25.58%;
  --screen-height: 79.04%;
  --focal-display: 29.42%;
  --focal-inside: 71.38%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: #0f0d0c;
}

.page {
  width: 100%;
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0f0d0c;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
}

.hero__image img {
  width: 100%;
  height: auto;
  display: block;
}
.screen-slot {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.screen-slot--mobile {
  position: absolute;
  inset: 0;
}

.screen {
  position: absolute;
  left: var(--screen-left);
  top: var(--screen-top);
  width: var(--screen-width);
  height: var(--screen-height);
  padding: clamp(14px, 1.8vw, 22px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(10px, 1.6vw, 16px);
  background: transparent;
  border-radius: 18px;
  box-shadow: none;
  border: none;
  z-index: 2;
  animation: screen-pop 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  pointer-events: none;
}

.screen * {
  pointer-events: auto;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff7b4d;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff8a00, #ff4f9a);
  box-shadow: 0 0 0 4px rgba(255, 153, 90, 0.2);
}

h1 {
  margin: 0;
  font-family: "Bungee", "Impact", sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 3.1rem);
  line-height: 1.05;
  color: #ff7b4d;
  text-shadow: 2px 2px 0 #fff0e3, 4px 4px 0 #ffcc9f;
}

.tagline {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--ink-soft);
}

.links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 2;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: var(--chip-gradient, linear-gradient(135deg, #ffe082, #ffb347));
  box-shadow: var(--chip-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: chip-pop 0.7s ease both;
}

.chip:nth-child(1) {
  --chip-gradient: linear-gradient(135deg, #ffd0a6, #ff7b4d);
  animation-delay: 0.1s;
}

.chip:nth-child(2) {
  --chip-gradient: linear-gradient(135deg, #ffe0f0, #ff6bc5);
  animation-delay: 0.2s;
}

.chip:nth-child(3) {
  --chip-gradient: linear-gradient(135deg, #c5f5ff, #67d4ff);
  animation-delay: 0.3s;
}

.chip:nth-child(4) {
  --chip-gradient: linear-gradient(135deg, #d9ffb6, #7de36b);
  animation-delay: 0.4s;
}

.chip:hover,
.chip:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 30px rgba(255, 115, 70, 0.35);
  outline: none;
}

.ca {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 199, 153, 0.7);
  position: relative;
  z-index: 2;
}

.ca__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff7b4d;
}

.ca__value {
  font-family: "Space Mono", "Courier New", monospace;
  font-size: clamp(0.62rem, 1.6vw, 0.9rem);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy {
  border: none;
  padding: 8px 14px;
  border-radius: 12px;
  background: linear-gradient(130deg, #ffd56a, #ff8b4d);
  color: #1c130f;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 18px rgba(255, 129, 64, 0.35);
}

.copy:hover,
.copy:focus-visible {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 14px 24px rgba(255, 129, 64, 0.45);
  outline: none;
}

.copy.copied {
  background: linear-gradient(120deg, #7de36b, #b6ff92);
}

.pan {
  display: none;
  position: relative;
  height: 100%;
}

.pan-track {
  height: 100%;
  width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.pan-track::-webkit-scrollbar {
  display: none;
}

.pan-inner {
  position: relative;
  height: 100%;
  display: inline-block;
}

.pan-image {
  height: 100%;
  width: auto;
  display: block;
}

.pan-image img {
  height: 100%;
  width: auto;
  display: block;
}

.snap {
  position: absolute;
  top: 0;
  height: 100%;
  width: 1px;
  scroll-snap-align: center;
  pointer-events: none;
}

.snap--display {
  left: var(--focal-display);
}

.snap--inside {
  left: var(--focal-inside);
}

.swipe-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 5vw, 28px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 24px rgba(12, 8, 6, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  animation: hint-breathe 2.2s ease-in-out infinite;
  pointer-events: none;
}

.swipe-hint__arrow {
  width: 10px;
  height: 10px;
  border-top: 2px solid #ff8b4d;
  border-right: 2px solid #ff8b4d;
}

.swipe-hint__arrow--left {
  transform: rotate(-135deg);
}

.swipe-hint__arrow--right {
  transform: rotate(45deg);
}

@keyframes screen-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chip-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hint-breathe {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen,
  .chip,
  .swipe-hint {
    animation: none;
  }
}

@media (max-width: 900px) {
  html,
  body {
    height: 100%;
  }

  body {
    overflow: hidden;
  }

  .hero {
    height: 100svh;
  }

  .hero__image,
  .screen-slot--desktop {
    display: none;
  }

  .pan {
    display: block;
  }

  .screen {
    padding: clamp(12px, 2.4vw, 18px);
    display: none;
  }

  .screen-slot--mobile .screen {
    display: flex;
  }

  .pan-track,
  .pan-inner {
    height: 100%;
  }
}

@media (max-width: 540px) {
  .links {
    grid-template-columns: 1fr;
  }

  .ca {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ca__value {
    white-space: normal;
    word-break: break-all;
  }
}
