@font-face { font-family: "Baloo"; src: url("fonts/Baloo2-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --ink: #1b1030;
  --deep: #062b1d;
  --jungle: #0d4a2f;
  --leaf: #2fbf71;
  --lime: #9be15d;
  --gold: #ffcf3f;
  --gold2: #ff9f1c;
  --pink: #ff5fa2;
  --sky: #5ad1ff;
  --cream: #fff8e6;
  --card: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--cream);
  background: radial-gradient(1200px 800px at 10% -10%, #1f7a4a 0%, transparent 60%),
              radial-gradient(1000px 700px at 110% 20%, #6b2fa3 0%, transparent 55%),
              linear-gradient(180deg, #08361f 0%, #041d12 60%, #03140c 100%);
  overflow-x: hidden;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .display { font-family: "Baloo", system-ui, sans-serif; font-weight: 800; line-height: 1.05; margin: 0; }

.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }

/* top bar */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 14px;
  padding: 12px max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, rgba(3, 20, 12, 0.85), rgba(3, 20, 12, 0));
  backdrop-filter: blur(6px);
}
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav .brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.nav .brand span { font-family: "Baloo"; font-size: 20px; }
.nav .links { margin-left: auto; display: flex; gap: 18px; font-weight: 600; font-size: 15px; }
.nav .links a { text-decoration: none; opacity: .85; }
.nav .links a:hover { opacity: 1; color: var(--gold); }
@media (max-width: 640px) { .nav .links a.hide-sm { display: none; } .nav .brand span { display: none; } }

/* hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: 110px 0 70px; isolation: isolate; overflow: hidden;
}
.hero .bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("img/keyart.jpg") center 30% / cover no-repeat;
  transform: scale(1.06); animation: drift 22s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(3, 25, 14, 0.92) 0%, rgba(3, 25, 14, 0.55) 45%, rgba(3, 25, 14, 0.05) 75%),
              linear-gradient(0deg, #041d12 0%, transparent 30%);
}
@keyframes drift { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .logo { width: min(520px, 90%); filter: drop-shadow(0 10px 30px rgba(0,0,0,.55)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1deg); } }
.hero .tag {
  display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px;
  padding: 6px 14px; border-radius: 99px; background: rgba(255, 207, 63, .16); border: 1px solid rgba(255, 207, 63, .45);
  color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
}
.hero p.lead { font-size: clamp(18px, 2.1vw, 22px); max-width: 560px; margin: 22px 0 30px; color: #f3ecd6; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  padding: 12px 22px 12px 18px; border-radius: 16px; background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,.35); box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s;
}
.store:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .8; line-height: 1; }
.store b { display: block; font-size: 20px; line-height: 1.15; font-weight: 600; }
.meta { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; font-weight: 700; color: #d9f5c8; }
.meta span { display: flex; align-items: center; gap: 8px; }
.meta i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }

/* phone with the trailer */
.phone {
  justify-self: center; width: min(320px, 78vw); aspect-ratio: 9 / 19.2; position: relative;
  border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #2c2c34, #0b0b10);
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 2px rgba(255,255,255,.08) inset, 0 0 80px rgba(155, 225, 93, .25);
  transform: rotate(4deg); animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(2deg) translateY(-14px); } }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; background: #000; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 2; }

/* floating fruit */
.fruit { position: absolute; width: 74px; pointer-events: none; filter: drop-shadow(0 10px 16px rgba(0,0,0,.45)); animation: fly 9s ease-in-out infinite; z-index: 1; }
@keyframes fly { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(10px, -26px) rotate(12deg); } }

@media (max-width: 900px) {
  .hero { padding-top: 90px; text-align: center; }
  .hero .bg { background-position: 72% 30%; }
  .hero::after { background: linear-gradient(0deg, #041d12 8%, rgba(3,25,14,.75) 55%, rgba(3,25,14,.35) 100%); }
  .hero .grid { grid-template-columns: 1fr; }
  .hero .logo { margin: 0 auto; }
  .hero p.lead { margin-inline: auto; }
  .stores, .meta { justify-content: center; }
  .phone { transform: none; margin-top: 10px; }
}

/* sections */
section { padding: 100px 0; position: relative; }
.kicker { color: var(--gold); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.title { font-size: clamp(36px, 5vw, 64px); margin: 10px 0 16px; }
.title .hl { background: linear-gradient(90deg, var(--gold), var(--pink), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: 19px; color: #d8e8cf; max-width: 640px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

/* swap match blast */
.fruits { display: flex; justify-content: center; gap: clamp(8px, 2vw, 22px); margin: 46px 0 10px; flex-wrap: wrap; }
.fruits img { width: clamp(64px, 11vw, 120px); filter: drop-shadow(0 14px 20px rgba(0,0,0,.45)); animation: hop 2.4s ease-in-out infinite; }
.fruits img:nth-child(2) { animation-delay: .15s; } .fruits img:nth-child(3) { animation-delay: .3s; }
.fruits img:nth-child(4) { animation-delay: .45s; } .fruits img:nth-child(5) { animation-delay: .6s; } .fruits img:nth-child(6) { animation-delay: .75s; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0) scale(1); } 30% { transform: translateY(-22px) scale(1.06, .96); } 45% { transform: translateY(0) scale(1.08, .9); } }

.specials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; backdrop-filter: blur(8px); position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s, background .25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 207, 63, .6); background: rgba(255,255,255,.12); }
.card::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--glow, rgba(255,207,63,.35)), transparent 70%); }
.card img { width: 96px; margin-bottom: 14px; position: relative; filter: drop-shadow(0 10px 14px rgba(0,0,0,.4)); }
.card h3 { font-size: 26px; margin-bottom: 6px; position: relative; }
.card p { margin: 0; color: #d6e6cc; position: relative; }
.card .how { display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 99px; background: rgba(0,0,0,.3); font-size: 13px; font-weight: 700; color: var(--gold); position: relative; }
@media (max-width: 960px) { .specials { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .specials { grid-template-columns: 1fr; } }

/* screens */
.screens { display: flex; gap: 22px; overflow-x: auto; padding: 30px 6px 40px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; width: 250px; scroll-snap-align: center; text-align: center; }
.shot .frame { border-radius: 30px; padding: 8px; background: linear-gradient(145deg, #34343c, #0d0d12); box-shadow: 0 24px 50px rgba(0,0,0,.5); transition: transform .3s; }
.shot:hover .frame { transform: translateY(-8px) rotate(-1deg); }
.shot img { border-radius: 23px; }
.shot span { display: block; margin-top: 14px; font-family: "Baloo"; font-size: 19px; }

/* grow */
.grow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; align-items: end; }
.grow div { text-align: center; }
.grow img { margin: 0 auto 14px; height: 200px; width: auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.5)); transition: transform .3s; }
.grow div:hover img { transform: translateY(-8px) scale(1.05); }
.grow b { font-family: "Baloo"; font-size: 22px; display: block; }
.grow small { color: #bcd3b0; }
.grow .arrow { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--lime), var(--gold), var(--pink)); margin-top: 24px; grid-column: 1 / -1; }
@media (max-width: 640px) { .grow { grid-template-columns: repeat(2, 1fr); } .grow img { height: 150px; } }

/* lands marquee */
.lands { overflow: hidden; margin-top: 46px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lands .track { display: flex; gap: 18px; width: max-content; animation: scroll 60s linear infinite; }
.lands:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.land { width: 180px; border-radius: 22px; overflow: hidden; position: relative; box-shadow: 0 16px 36px rgba(0,0,0,.45); border: 3px solid rgba(255, 207, 63, .6); }
.land img { height: 300px; width: 100%; object-fit: cover; }
.land span { position: absolute; inset: auto 0 0 0; padding: 30px 10px 12px; text-align: center; font-family: "Baloo"; font-size: 17px; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent); }
.land em { position: absolute; top: 10px; left: 10px; font-style: normal; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: rgba(0,0,0,.55); color: var(--gold); }

/* story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.story .pics { position: relative; height: 520px; }
.story .pics img { position: absolute; width: 62%; border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.55); border: 4px solid var(--cream); }
.story .pics img:nth-child(1) { left: 0; top: 30px; transform: rotate(-6deg); }
.story .pics img:nth-child(2) { right: 0; top: 0; transform: rotate(5deg); z-index: 2; }
.story .pics img:nth-child(3) { left: 20%; bottom: 0; transform: rotate(-1deg); z-index: 3; width: 55%; }
.quote { margin: 26px 0; padding: 22px 26px; border-left: 5px solid var(--gold); background: rgba(255,255,255,.06); border-radius: 0 20px 20px 0; font-size: 20px; font-style: italic; color: #f5ecd2; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.langs span { padding: 4px 11px; border-radius: 99px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 700; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story .pics { height: 420px; } }

/* fair */
.fair { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.fair .card { --glow: rgba(155, 225, 93, .3); }
.fair .ico { font-size: 34px; margin-bottom: 10px; position: relative; }
@media (max-width: 800px) { .fair { grid-template-columns: 1fr; } }

/* call to action */
.cta {
  margin: 40px auto 0; padding: 70px 30px; border-radius: 40px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(47,191,113,.35), rgba(107,47,163,.35)), url("img/keyart.jpg") center / cover;
  border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(3, 20, 12, .55); }
.cta > * { position: relative; }
.cta img.petey { width: 150px; margin: -10px auto 10px; animation: bob 4s ease-in-out infinite; }
.cta .stores { justify-content: center; margin-top: 26px; }

footer { padding: 60px 0 40px; color: #a9c2a0; font-size: 14px; text-align: center; }
footer nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; font-weight: 700; }
footer nav a { text-decoration: none; color: #e6f2dc; }
footer nav a:hover { color: var(--gold); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) { .fruit { display: none; } }
