/* Arcade Overdrive – marketing site
   Soft 3D toy look, bright skies, outlined headlines. No build step. */

:root {
  --green: #3DCB6C;
  --green-d: #249A4E;
  --yellow: #FFC93C;
  --yellow-d: #E0A512;
  --orange: #FF8A3D;
  --red: #FF5D6C;
  --blue: #4F9BFF;
  --blue-l: #6FCAFF;
  --purple: #9B6BFF;
  --card: #FFF8EE;
  --ink: #3A3550;
  --muted: #5A5470;
  --sky: #7EC8FF;
  --line: #000;
  --shadow: 0 14px 28px rgba(70, 120, 180, 0.22);
  --radius: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

@font-face {
  font-family: "Lilita One";
  src: url("fonts/LilitaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 420;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    linear-gradient(180deg,
      #6FBFFF 0%,
      #9ADCFF 22%,
      #C9F0FF 48%,
      #FFF6E4 78%,
      #FFE9C8 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.6rem; top: 0.6rem; }

/* Outlined headlines — light fill, black stroke, soft 3D drop */
.ol {
  font-family: "Lilita One", "Fredoka", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.05;
  -webkit-text-stroke: 0.07em var(--line);
  paint-order: stroke fill;
  text-shadow: 0 0.07em 0 var(--line), 0 0.12em 0 rgba(0, 0, 0, 0.18);
}
.ol.yellow { color: var(--yellow); }
.ol.green { color: #6BE88F; }
.ol.orange { color: #FFB060; }
.ol.pink { color: #FF8AA0; }
.ol.blue { color: #8EC8FF; }
.ol.lilac { color: #C9B0FF; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 238, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 4px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 20px rgba(80, 140, 200, 0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  box-shadow: 0 5px 0 #e0c48a, 0 8px 16px rgba(0, 0, 0, 0.12);
}
.brand-name {
  font-size: 1.15rem;
  color: #fff;
}
.nav-links {
  display: none;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  padding: 0.3rem 0.2rem;
}
.nav-links a:hover { color: #2a6fdb; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-family: "Lilita One", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.55rem 0.95rem 0.6rem;
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--green-d);
  -webkit-text-stroke: 0.06em #000;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #000;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--green-d); }
.nav-cta:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--green-d); }

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .brand-name { font-size: 1.35rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 1.4rem 0 4.5rem;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.6rem;
  align-items: center;
}
.hero-copy { text-align: center; }
.logo {
  width: min(520px, 92%);
  margin: 0 auto 0.6rem;
  filter: drop-shadow(0 10px 0 rgba(0, 0, 0, 0.08));
}
.hero h1 { margin: 0; }
.tagline {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  margin: 0.2rem auto 1rem;
  color: #fff;
  line-height: 1.18;
  -webkit-text-stroke: 0.05em #000;
  text-shadow: 0 0.055em 0 #000;
  max-width: none;
}
.lead {
  max-width: 36ch;
  margin: 0 auto 1.2rem;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
}
.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  width: fit-content;
  margin: 0 auto;
}
.soon {
  display: inline-block;
  background: var(--yellow);
  color: #fff;
  font-family: "Lilita One", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.95rem 0.45rem;
  border-radius: 999px;
  -webkit-text-stroke: 0.07em #000;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #000;
  box-shadow: 0 5px 0 var(--yellow-d);
  animation: bob 2.4s ease-in-out infinite;
}
.play-badge {
  width: min(240px, 80vw);
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.18));
  transition: transform 0.15s ease;
}
.cta-stack:hover .play-badge { transform: translateY(-3px) scale(1.03); }
.cta-stack:hover .soon { transform: translateY(-2px); }

.hero-art {
  position: relative;
  height: 360px;
  margin: 0 auto;
  width: min(420px, 100%);
}
.senpai {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: min(300px, 78%);
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 16px rgba(40, 80, 140, 0.25));
  animation: senpaiFloat 3.6s ease-in-out infinite;
  z-index: 2;
}
.senpai .blink {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  pointer-events: none;
}
.senpai img { width: 100%; }
.coin {
  position: absolute;
  width: 58px;
  z-index: 3;
  animation: coin 2.2s ease-in-out infinite;
  filter: drop-shadow(0 6px 4px rgba(0, 0, 0, 0.18));
}
.coin.c1 { top: 18%; left: 4%; width: 62px; animation-delay: 0s; }
.coin.c2 { top: 8%; right: 6%; width: 48px; animation-delay: 0.5s; }
.coin.c3 { bottom: 18%; left: 0; width: 42px; animation-delay: 1s; }
.coin.c4 { bottom: 28%; right: 0; width: 54px; animation-delay: 0.25s; }

.flyer {
  display: none;
  position: absolute;
  top: 6%;
  left: -30%;
  width: 150px;
  z-index: 1;
  animation: flyby 14s linear infinite;
  animation-delay: -4s;
  filter: drop-shadow(0 10px 8px rgba(40, 80, 140, 0.2));
  pointer-events: none;
}
@media (min-width: 860px) {
  .flyer { display: block; }
}

/* decorative clouds + hills */
.cloud {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  opacity: 0.92;
  z-index: 0;
  pointer-events: none;
  animation: drift 28s linear infinite;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud::before { width: 60%; height: 110%; left: 12%; top: -55%; }
.cloud::after { width: 46%; height: 90%; right: 10%; top: -40%; }
.cloud.a { width: 140px; height: 42px; top: 8%; left: -2%; animation-duration: 36s; }
.cloud.b { width: 100px; height: 32px; top: 22%; right: -4%; animation-duration: 30s; animation-delay: -10s; }
.cloud.c { width: 80px; height: 26px; top: 4%; right: 22%; animation-duration: 40s; animation-delay: -4s; }

.hills {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 90px;
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 860px) {
  .hero { padding: 1.8rem 0 5.5rem; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1rem;
    min-height: 460px;
  }
  .hero-copy { text-align: left; }
  .logo { margin-left: 0; width: min(560px, 100%); }
  .tagline { margin-left: 0; max-width: none; }
  .lead { margin-left: 0; }
  .cta-stack { margin-left: 0; align-items: flex-start; }
  .hero-art { height: 500px; width: 100%; }
  .senpai { width: min(380px, 86%); }
  .hills { height: 120px; }
}

/* ---------- Sections ---------- */
section { position: relative; z-index: 2; padding: 1.2rem 0 2.4rem; }
.section-kicker {
  display: block;
  font-family: "Lilita One", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  -webkit-text-stroke: 0.07em #000;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #000;
  margin-bottom: 0.25rem;
  text-align: center;
}
.section-title {
  font-size: clamp(2rem, 5.5vw, 3.3rem);
  text-align: center;
  margin: 0 0 0.4rem;
  color: #fff;
}
.section-sub {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 1.6rem;
  color: var(--muted);
  font-weight: 500;
}


.feature-banner {
  width: min(920px, 100%);
  margin: 0.4rem auto 1.8rem;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 0 #8ec8f0, 0 18px 28px rgba(60, 110, 170, 0.2);
}
.feature-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Screenshot carousel ---------- */
.shots-block { position: relative; }
.shots {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.6rem 0.4rem 1.4rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 auto;
  width: min(230px, 68vw);
  scroll-snap-align: center;
  text-decoration: none;
}
.phone {
  background: #fff;
  border-radius: 32px;
  padding: 10px 8px 14px;
  box-shadow:
    0 10px 0 #d7e6f8,
    0 18px 30px rgba(60, 110, 170, 0.22);
  position: relative;
  transition: transform 0.18s ease;
}
.shot:hover .phone { transform: translateY(-8px) rotate(-1deg); }
.phone::before {
  content: "";
  display: block;
  width: 72px;
  height: 8px;
  background: #E8EEF8;
  border-radius: 8px;
  margin: 0 auto 8px;
}
.phone img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 1080 / 1920;
  object-fit: cover;
  background: #cfefff;
}
.shot figcaption {
  text-align: center;
  margin-top: 0.7rem;
  font-family: "Lilita One", sans-serif;
  font-size: 1.05rem;
  color: #fff;
  -webkit-text-stroke: 0.08em #000;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #000;
}
.carousel-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: #000;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--yellow-d);
  z-index: 3;
  display: none;
}
.carousel-btn:hover { transform: translateY(-54%); }
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }
.dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
}
.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #000;
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.dots button[aria-current="true"] { background: var(--yellow); width: 22px; border-radius: 8px; }

@media (min-width: 720px) {
  .carousel-btn { display: grid; place-items: center; }
  .shot { width: 240px; }
}

/* ---------- Game boxes ---------- */
.boxes {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}
@media (min-width: 800px) {
  .boxes { grid-template-columns: 1fr 1fr; }
}
.toybox {
  background: var(--box, #CFE6FF);
  border-radius: 36px;
  padding: 1.1rem 1rem 1.15rem;
  box-shadow: 0 10px 0 var(--box-d, #9cc3ea), 0 16px 28px rgba(60, 110, 170, 0.16);
  transition: transform 0.16s ease;
}
.toybox:hover { transform: translateY(-4px); }
.toybox header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  padding: 0 0.3rem;
}
.toybox h3 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  color: #fff;
  margin: 0;
}
.toybox .count {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.8;
}
.games {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
@media (min-width: 800px) {
  .games { grid-template-columns: 1fr 1fr 1fr; }
}
.game {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  padding: 0.3rem 0.5rem 0.3rem 0.3rem;
  min-height: 52px;
  transition: transform 0.12s ease, background 0.12s ease;
}
.game:hover { transform: translateY(-2px); background: #fff; }
.game img {
  width: 54px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #fff;
}
.game span {
  font-family: "Lilita One", sans-serif;
  font-size: 0.84rem;
  color: #fff;
  -webkit-text-stroke: 0.04em #000;
  paint-order: stroke fill;
  text-shadow: 0 1px 0 #000;
  line-height: 1.2;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .features { grid-template-columns: 1fr 1fr 1fr; }
}
.feat {
  background: var(--card);
  border-radius: 28px;
  padding: 1.15rem 1.1rem 1.2rem;
  box-shadow: 0 8px 0 #e6d3b0, 0 14px 24px rgba(80, 100, 60, 0.1);
  text-align: center;
  transition: transform 0.15s ease;
}
.feat:hover { transform: translateY(-5px); }
.feat img, .feat .feat-svg {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.55rem;
  object-fit: contain;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.08));
}
.feat h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  color: #fff;
  margin: 0 0 0.35rem;
  -webkit-text-stroke: 0.055em #000;
  text-shadow: 0 2px 0 #000;
}
.feat p { margin: 0; color: var(--muted); font-weight: 500; font-size: 1rem; }

/* ---------- Asa Masa callout ---------- */
.callout {
  background: var(--card);
  border-radius: 40px;
  padding: 1.4rem 1.1rem 1.5rem;
  box-shadow: 0 12px 0 #e6d3b0, var(--shadow);
  display: grid;
  gap: 1rem;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.callout-copy { text-align: center; z-index: 1; }
.callout h2 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: var(--yellow);
  margin: 0 0 0.6rem;
}
.callout p { margin: 0 auto 1rem; max-width: 32ch; font-weight: 500; }
.callout-art {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
}
.callout-art .flyer-big {
  width: min(340px, 90%);
  animation: float 3.2s ease-in-out infinite;
  filter: drop-shadow(0 16px 12px rgba(40, 80, 140, 0.2));
}
.callout .sparkle {
  position: absolute;
  font-size: 1.6rem;
  animation: twinkle 1.8s ease-in-out infinite;
}
@media (min-width: 860px) {
  .callout {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 2rem 1.8rem;
    text-align: left;
  }
  .callout-copy { text-align: left; }
  .callout p { margin-left: 0; }
  .callout .cta-stack { margin-left: 0; align-items: flex-start; }
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  padding: 2.4rem 0 2.2rem;
  text-align: center;
  color: var(--ink);
}
.footer-mascot {
  width: 110px;
  margin: 0 auto 0.6rem;
  animation: float 3.8s ease-in-out infinite;
  filter: drop-shadow(0 8px 6px rgba(40, 80, 140, 0.18));
}
.footer a { font-weight: 600; color: #1d5fc4; }
.footer nav { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; margin: 0.5rem 0 0.8rem; }
.footer small { display: block; color: var(--muted); }

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes senpaiFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-16px); }
}
.senpai {
  transform-origin: center bottom;
  animation: senpaiFloat 3.6s ease-in-out infinite;
}
@keyframes coin {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50% { transform: translateY(-18px) rotate(12deg); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes flyby {
  0% { transform: translateX(0) translateY(-24px) rotate(-12deg); }
  45% { transform: translateX(80vw) translateY(-36px) rotate(8deg); }
  100% { transform: translateX(130vw) translateY(-16px) rotate(-6deg); }
}
@keyframes drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(40px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .senpai { transform: translateX(-50%); }
}

/* focus */
:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}
