:root {
  --sky-50: #f4f8ff;
  --sky-100: #e4efff;
  --sky-200: #bcd5ff;
  --sky-300: #8fb6f5;
  --aqua: #35c9e9;
  --orange: #ff7a32;
  --orange-dark: #e95f18;
  --cream: #fff5d7;
  --jade: #4fc36f;
  --ink: #20345f;
  --muted: #637395;
  --white: #ffffff;
  --shadow-soft: 0 24px 70px rgba(45, 95, 170, 0.18);
  --shadow-tile: 0 16px 0 #e6cf8d, 0 20px 26px rgba(92, 82, 52, 0.22);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.9) 0 8%, transparent 9%),
    linear-gradient(180deg, #9dbef3 0%, var(--sky-100) 46%, #fff8ec 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.34) 0 18%, transparent 19%),
    radial-gradient(circle, rgba(255, 255, 255, 0.22) 0 13%, transparent 14%);
  background-position: 12vw 32vh, 88vw 70vh;
  background-size: 210px 210px, 250px 250px;
  opacity: 0.7;
  z-index: -2;
}

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

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 100;
  transition: transform 220ms ease, filter 220ms ease;
}

.site-header.is-scrolled {
  filter: drop-shadow(0 18px 35px rgba(37, 71, 127, 0.18));
}

.nav-shell {
  width: min(1160px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 12px 10px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(47, 90, 156, 0.14);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(145deg, #fffef7, #fff0bd);
  box-shadow: 0 7px 0 #f1c75f, 0 12px 18px rgba(99, 79, 36, 0.18);
  transform: rotate(-8deg);
}

.brand-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-tile {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #d92525;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 19px;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #415478;
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--sky-100);
  color: var(--ink);
}

.nav-cta,
.modal-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: var(--white);
  background: linear-gradient(180deg, #ff9f4f, var(--orange));
  box-shadow: 0 7px 0 var(--orange-dark), 0 16px 26px rgba(234, 94, 24, 0.28);
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.modal-action:hover,
.modal-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 0 var(--orange-dark), 0 20px 32px rgba(234, 94, 24, 0.32);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: var(--sky-100);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 3px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 20px 92px;
}

.hero-layout {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: #4263a0;
  box-shadow: 0 12px 28px rgba(50, 93, 165, 0.12);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.eyebrow svg {
  width: 19px;
  height: 19px;
  color: var(--orange);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 650px;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.88;
  color: #fff7d5;
  text-shadow:
    0 5px 0 var(--orange),
    0 10px 0 var(--orange-dark),
    0 16px 28px rgba(106, 63, 28, 0.26);
}

.hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: #32466e;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 800;
  line-height: 1.75;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.store-button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 20px;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.store-button svg {
  width: 28px;
  height: 28px;
}

.store-button span {
  display: grid;
  text-align: left;
  line-height: 1.08;
  font-size: 18px;
}

.store-button small {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.82;
}

.store-button-primary {
  color: var(--white);
  background: #1f3157;
  box-shadow: 0 9px 0 #13203c, 0 18px 26px rgba(31, 49, 87, 0.25);
}

.store-button-secondary {
  color: #17455c;
  background: linear-gradient(180deg, #e7fbff, #adf0ff);
  box-shadow: 0 9px 0 #64cce4, 0 18px 26px rgba(40, 174, 212, 0.22);
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-3px);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-weight: 900;
}

.hero-metrics strong {
  color: var(--orange-dark);
}

.hero-stage {
  position: relative;
  min-height: 640px;
}

.banner-frame {
  position: absolute;
  top: 2px;
  right: 0;
  left: 6%;
  z-index: 0;
  overflow: visible;
  border: 10px solid rgba(255, 255, 255, 0.76);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  transform: rotate(2deg);
}

.banner-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.phone-scene {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: min(330px, 52vw);
  transform: rotate(-4deg);
}

.phone-frame {
  position: relative;
  overflow: hidden;
  padding: 16px 12px 14px;
  border-radius: 34px;
  background: #1e2f54;
  box-shadow: 0 26px 58px rgba(24, 50, 94, 0.34);
}

.phone-frame img {
  width: 100%;
  border-radius: 24px;
  height: auto;
  object-fit: contain;
}

.phone-speaker {
  width: 64px;
  height: 6px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.boost-pop {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 13px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 16px 28px rgba(43, 87, 153, 0.2);
  font-weight: 900;
  animation: bob 3.4s ease-in-out infinite;
}

.boost-pop svg {
  color: var(--jade);
}

.boost-pop-top {
  top: 19%;
  left: -38%;
}

.boost-pop-bottom {
  right: -29%;
  bottom: 18%;
  animation-delay: 500ms;
}

.floating-tile {
  position: absolute;
  width: 74px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #fffef5, #ffe9a7);
  color: #da2a2a;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  box-shadow: var(--shadow-tile);
  animation: floatTile 6s ease-in-out infinite;
}

.tile-one {
  top: 18%;
  left: 13%;
  transform: rotate(12deg);
}

.tile-two {
  right: 5%;
  top: 26%;
  color: #213f79;
  animation-delay: 800ms;
}

.tile-three {
  left: 49%;
  bottom: 7%;
  animation-delay: 1.4s;
}

.hero-cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(1px);
}

.hero-cloud::before,
.hero-cloud::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  background: inherit;
}

.hero-cloud-one {
  width: 210px;
  height: 92px;
  left: 8%;
  bottom: 12%;
}

.hero-cloud-one::before {
  width: 86px;
  height: 86px;
  left: 28px;
  top: -44px;
}

.hero-cloud-one::after {
  width: 116px;
  height: 116px;
  right: 24px;
  top: -63px;
}

.hero-cloud-two {
  width: 250px;
  height: 110px;
  right: 4%;
  top: 15%;
}

.hero-cloud-two::before {
  width: 126px;
  height: 126px;
  left: 38px;
  top: -70px;
}

.hero-cloud-two::after {
  width: 90px;
  height: 90px;
  right: 34px;
  top: -42px;
}

.features,
.download,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.features {
  padding: 82px 0 72px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading h2,
.download-copy h2 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.section-heading p:not(.eyebrow),
.download-copy p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.75;
}

.feature-board {
  display: grid;
  grid-template-columns: 1.18fr 0.9fr 0.92fr;
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto -34px -54px auto;
  width: 150px;
  height: 150px;
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 233, 167, 0.92));
  box-shadow: var(--shadow-tile);
  transform: rotate(18deg);
  opacity: 0.52;
}

.feature-card-large {
  grid-row: span 2;
  background:
    linear-gradient(145deg, rgba(255, 251, 232, 0.88), rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at 20% 20%, rgba(255, 122, 50, 0.18), transparent 34%);
}

.feature-card-tall {
  grid-row: span 2;
}

.feature-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 34px;
  color: rgba(255, 122, 50, 0.22);
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 700;
  line-height: 0.75;
}

.feature-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 19px;
  background: linear-gradient(180deg, var(--aqua), #0da6cf);
  color: var(--white);
  box-shadow: 0 10px 0 #0789ad, 0 18px 26px rgba(13, 166, 207, 0.22);
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.68;
}

.download {
  padding: 36px 0 88px;
}

.download-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.94) 0 12%, transparent 13%),
    linear-gradient(135deg, #ffffff 0%, #e9f4ff 48%, #fff3c7 100%);
  box-shadow: var(--shadow-soft);
}

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

.download-orbit span {
  position: absolute;
  width: 58px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #fffef7, #ffe7a0);
  color: #d92525;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 0 #e4c56d, 0 14px 22px rgba(93, 78, 37, 0.14);
}

.download-orbit span:nth-child(1) {
  right: 24%;
  top: -28px;
  transform: rotate(-14deg);
}

.download-orbit span:nth-child(2) {
  right: -10px;
  bottom: 28px;
  transform: rotate(12deg);
}

.download-orbit span:nth-child(3) {
  left: 44%;
  bottom: -32px;
  color: #23487e;
  transform: rotate(-7deg);
}

.download-copy,
.download-actions {
  position: relative;
  z-index: 1;
}

.download-actions {
  justify-content: flex-end;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 34px 0 40px;
  border-top: 1px solid rgba(32, 52, 95, 0.12);
}

.footer-main p {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.7;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 12px;
  justify-items: end;
  color: #415478;
  font-weight: 900;
}

.footer-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--orange-dark);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: #6d7b98;
  font-size: 0.95rem;
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 39, 72, 0.52);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(430px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, #edf7ff);
  box-shadow: 0 28px 80px rgba(22, 40, 76, 0.32);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: #eef6ff;
  color: var(--ink);
  cursor: pointer;
}

.modal-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff2bd, #ffcb59);
  color: var(--orange-dark);
  box-shadow: 0 12px 0 #e5aa28, 0 20px 28px rgba(226, 149, 27, 0.2);
}

.modal-card h2 {
  font-size: 2.35rem;
}

.modal-card p {
  margin: 12px 0 24px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.65;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatTile {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    justify-content: center;
  }

  .nav-cta {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 610px;
  }

  .feature-board {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card-large,
  .feature-card-tall {
    grid-row: span 1;
  }

  .download-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .download-actions,
  .footer-links {
    justify-content: flex-start;
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .nav-shell {
    min-height: 64px;
    border-radius: 28px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 118px 16px 56px;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 5.2rem);
  }

  .hero-actions,
  .download-actions {
    display: grid;
  }

  .store-button {
    width: 100%;
  }

  .hero-stage {
    min-height: 500px;
  }

  .banner-frame {
    left: 0;
    transform: rotate(1deg);
  }

  .banner-frame img {
    min-height: 190px;
  }

  .phone-scene {
    right: 50%;
    width: min(280px, 82vw);
    transform: translateX(50%) rotate(-4deg);
  }

  .boost-pop {
    font-size: 0.88rem;
  }

  .boost-pop-top {
    left: -8%;
  }

  .boost-pop-bottom {
    right: -7%;
  }

  .floating-tile {
    width: 54px;
    height: 70px;
    font-size: 27px;
  }

  .tile-one {
    top: 12%;
    left: 7%;
  }

  .tile-two {
    display: none;
  }

  .tile-three {
    left: auto;
    right: 6%;
    bottom: 3%;
  }

  .features,
  .download,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .features {
    padding-top: 42px;
  }

  .feature-board {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 24px;
  }

  .download-shell {
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Redesign: turn the page into a playful tabletop map instead of a split hero. */
.hero-table {
  min-height: auto;
  padding: 142px 20px 86px;
}

.hero-intro {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-intro .eyebrow,
.features .section-heading .eyebrow,
.ticket-copy .eyebrow {
  margin-inline: auto;
}

.hero-intro h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(3.8rem, 10vw, 8.8rem);
}

.hero-intro .hero-lead {
  max-width: 780px;
  margin-inline: auto;
  color: #273f6f;
}

.hero-intro .hero-actions {
  justify-content: center;
}

.tile-river {
  width: min(1060px, 100%);
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  perspective: 900px;
}

.tile-river span,
.journey-center span {
  min-width: 92px;
  min-height: 70px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #fffef8, #ffe8a5);
  color: #d92a2a;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 12px 0 #e5c067, 0 18px 22px rgba(90, 74, 31, 0.18);
}

.tile-river span:nth-child(even),
.journey-center span:nth-child(even) {
  color: #1d4f88;
  transform: translateY(14px) rotate(3deg);
}

.tile-river span:nth-child(odd) {
  transform: rotate(-4deg);
}

.mahjong-table {
  position: relative;
  width: min(1180px, 100%);
  min-height: 560px;
  margin: 46px auto 0;
  padding: clamp(22px, 4vw, 42px);
  display: grid;
  grid-template-columns: 0.82fr 1.18fr 0.92fr;
  grid-template-rows: auto 1fr;
  gap: 18px;
  border: 10px solid rgba(255, 255, 255, 0.62);
  border-radius: 46px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.72) 0 8%, transparent 9%),
    linear-gradient(135deg, rgba(110, 197, 236, 0.92), rgba(156, 187, 247, 0.92) 54%, rgba(255, 229, 151, 0.85));
  box-shadow: 0 34px 90px rgba(36, 79, 148, 0.28);
}

.mahjong-table::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 2px dashed rgba(255, 255, 255, 0.54);
  border-radius: 34px;
  pointer-events: none;
}

.table-note,
.banner-window,
.gameplay-polaroid {
  position: relative;
  z-index: 1;
}

.table-note {
  align-self: start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 38px rgba(35, 75, 138, 0.16);
}

.table-note-left {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  transform: rotate(-3deg);
}

.table-note-right {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  display: grid;
  gap: 12px;
  transform: rotate(3deg);
}

.note-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff1bf;
  color: var(--orange-dark);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.table-note h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 0.96;
}

.table-note p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.65;
}

.mini-stat {
  display: grid;
  gap: 2px;
  min-height: 66px;
  padding: 13px 16px;
  border-radius: 18px;
  background: rgba(244, 248, 255, 0.86);
}

.mini-stat strong {
  color: var(--orange-dark);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.mini-stat span {
  color: #536685;
  font-weight: 900;
}

.banner-window {
  grid-column: 2 / span 2;
  grid-row: 1;
  overflow: visible;
  border: 8px solid rgba(255, 255, 255, 0.86);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 42px rgba(28, 70, 132, 0.2);
  transform: rotate(1deg);
}

.banner-window img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: contain;
}

.gameplay-polaroid {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: center;
  width: min(330px, 100%);
  padding: 14px 14px 22px;
  border-radius: 30px;
  background: #fffaf0;
  box-shadow: 0 26px 60px rgba(24, 49, 87, 0.28);
  transform: translateY(24px) rotate(-2deg);
  text-align: center;
}

.gameplay-polaroid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
}

.gameplay-polaroid strong {
  display: inline-flex;
  margin-top: 13px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.polaroid-pin {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 56px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9f4f, var(--orange));
  box-shadow: 0 7px 0 var(--orange-dark);
  transform: translateX(-50%) rotate(3deg);
}

.features .section-heading {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.journey-track {
  position: relative;
  width: min(1040px, 100%);
  min-height: 920px;
  margin: 48px auto 0;
}

.journey-track::before {
  content: "";
  position: absolute;
  inset: 70px 50%;
  width: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff3be, #85dff2, #fff3be);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.78), 0 18px 34px rgba(42, 90, 156, 0.14);
  transform: translateX(-50%);
}

.journey-card {
  position: absolute;
  z-index: 2;
  width: min(390px, 44%);
  min-height: 320px;
  padding: 16px 22px 24px;
  display: grid;
  grid-template-columns: minmax(112px, 145px) minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.journey-card > :not(.journey-shot) {
  grid-column: 2;
}

.journey-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 54px;
  height: 16px;
  border-radius: 999px;
  background: #fff1bd;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.82);
}

.journey-card-one,
.journey-card-three {
  left: 0;
}

.journey-card-two,
.journey-card-four {
  right: 0;
}

.journey-card-one {
  top: 0;
  transform: rotate(-2deg);
}

.journey-card-two {
  top: 150px;
  transform: rotate(2deg);
}

.journey-card-three {
  top: 420px;
  transform: rotate(2deg);
}

.journey-card-four {
  top: 560px;
  transform: rotate(-2deg);
}

.journey-shot {
  grid-column: 1;
  grid-row: 1 / span 5;
  width: 100%;
  height: auto;
  margin: 0;
  border: 6px solid rgba(255, 255, 255, 0.84);
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 14px 26px rgba(35, 75, 138, 0.16);
}

.journey-card-one::after,
.journey-card-three::after {
  right: -48px;
}

.journey-card-two::after,
.journey-card-four::after {
  left: -48px;
}

.journey-card .feature-number {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

.journey-card h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.journey-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.65;
}

.journey-center {
  position: absolute;
  z-index: 3;
  top: 278px;
  left: 50%;
  display: grid;
  gap: 8px;
  transform: translateX(-50%) rotate(-4deg);
}

.journey-center span {
  min-width: 116px;
}

.launch-ticket {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 38px;
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 255, 255, 0.78) 0 9%, transparent 10%),
    linear-gradient(135deg, #fffaf0, #e7f8ff 48%, #ffe8a5);
  box-shadow: var(--shadow-soft);
}

.launch-ticket::before,
.launch-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sky-100);
  transform: translateY(-50%);
}

.launch-ticket::before {
  left: -21px;
}

.launch-ticket::after {
  right: -21px;
}

.ticket-stub {
  min-height: 168px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-right: 2px dashed rgba(32, 52, 95, 0.2);
}

.ticket-stub span {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, #fffef8, #ffe8a5);
  color: #d92a2a;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 11px 0 #e5c067;
}

.ticket-stub strong {
  color: #486087;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.ticket-copy .eyebrow {
  margin-left: 0;
}

.ticket-copy h2 {
  max-width: 620px;
}

@media (max-width: 980px) {
  .hero-table {
    padding-top: 124px;
  }

  .tile-river {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 8px 18px;
  }

  .tile-river span {
    flex: 0 0 auto;
  }

  .mahjong-table {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .table-note-left,
  .table-note-right,
  .banner-window,
  .gameplay-polaroid {
    grid-column: auto;
    grid-row: auto;
    transform: none;
  }

  .banner-window {
    grid-column: 1 / -1;
  }

  .gameplay-polaroid {
    justify-self: stretch;
    width: 100%;
  }

  .journey-track {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .journey-track::before,
  .journey-card::after,
  .journey-center {
    display: none;
  }

  .journey-card {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: auto;
    transform: none;
  }

  .launch-ticket {
    grid-template-columns: 1fr;
  }

  .ticket-stub {
    min-height: auto;
    grid-auto-flow: column;
    justify-content: start;
    border-right: 0;
    border-bottom: 2px dashed rgba(32, 52, 95, 0.2);
    padding-bottom: 18px;
  }
}

@media (max-width: 680px) {
  .hero-intro h1 {
    font-size: clamp(3rem, 17vw, 5.4rem);
  }

  .hero-intro .hero-actions {
    display: grid;
  }

  .mahjong-table {
    grid-template-columns: 1fr;
    padding: 18px;
    border-width: 6px;
    border-radius: 30px;
  }

  .mahjong-table::before {
    inset: 14px;
    border-radius: 22px;
  }

  .table-note,
  .gameplay-polaroid {
    border-radius: 24px;
  }

  .banner-window {
    border-radius: 24px;
  }

  .journey-card {
    grid-template-columns: minmax(96px, 118px) minmax(0, 1fr);
    gap: 14px;
    padding: 14px 18px 20px;
  }

  .tile-river span,
  .journey-center span {
    min-width: 82px;
    min-height: 62px;
    font-size: 0.88rem;
  }

  .ticket-copy .eyebrow {
    margin-left: auto;
  }

  .ticket-copy {
    text-align: center;
  }

  .launch-ticket .download-actions {
    display: grid;
  }
}
