/* Stella Fun studio site: light sky look like mobile studios (Habby, Dream Games), game art up front. */
:root {
  --sky: #bfe6ff; --cream: #fffaf3; --ink: #3a1446; --muted: #7d6585;
  --pink: #ff5fa8; --purple: #8f4dff; --gold: #ffc93c; --coffee: #6b3f25;
  --title: "Lilita One", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 Fredoka, system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
h1, h2, h3 { font-family: var(--title); font-weight: 400; line-height: 1.15; margin: 0; }

/* Language: lang.js sets <html lang>, the other language hides. */
html[lang="en"] [data-l="pt"], html:not([lang="en"]) [data-l="en"] { display: none; }

/* Header */
header.top {
  position: absolute; inset: 0 0 auto; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1120px; margin: 0 auto; padding: 14px 16px;
}
.wordmark { width: 170px; }
header.top nav { display: flex; align-items: center; gap: 18px; font-weight: 600; }
header.top nav a { color: var(--ink); text-decoration: none; }
.lang {
  font: 600 14px Fredoka, system-ui, sans-serif; color: var(--ink); cursor: pointer;
  background: #fff; border: 0; border-radius: 999px; padding: 6px 12px; box-shadow: 0 2px 0 rgba(58, 20, 70, .12);
}

/* Hero: the cast of characters on a soft sky, like the studios we studied */
.hero {
  background:
    radial-gradient(60% 50% at 50% 60%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, var(--sky) 0%, #ffe3f1 70%, var(--cream) 100%);
  padding: 96px 16px 48px; text-align: center; overflow: hidden;
}
.cast { display: flex; align-items: flex-end; justify-content: center; max-width: 900px; margin: 0 auto; }
.cast .star { width: 40%; max-width: 360px; position: relative; z-index: 1; animation: bob 4s ease-in-out infinite; }
.cast .gumo { width: 31%; max-width: 280px; margin-right: -3%; transform: rotate(-6deg); }
.cast .chef { width: 27%; max-width: 230px; margin-left: -3%; }
.tagline { font: 500 clamp(19px, 3.2vw, 26px)/1.4 Fredoka, system-ui, sans-serif; margin: 22px auto 0; max-width: 560px; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .cast .star { animation: none; } }

/* Games */
main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.section-title { font-size: clamp(32px, 6vw, 46px); text-align: center; margin: 40px 0 24px; color: var(--pink); }
.game { background: #fff; border-radius: 32px; overflow: hidden; margin-bottom: 32px; box-shadow: 0 18px 40px -20px rgba(58, 20, 70, .35); }
.game .art { width: 100%; }
.game .info { display: flex; gap: 20px; align-items: flex-start; padding: 24px; }
.game .icon { width: 96px; border-radius: 24px; flex: none; box-shadow: 0 6px 14px rgba(58, 20, 70, .2); }
.game h3 { font-size: clamp(26px, 4.5vw, 34px); }
.game p { margin: 6px 0 16px; color: var(--muted); max-width: 620px; }

.store {
  display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff;
  border-radius: 14px; padding: 8px 18px 8px 14px; font-weight: 600; line-height: 1.15;
}
.store svg { width: 22px; fill: var(--gold); }
.store small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }
.soon { display: inline-block; background: #f3e6d8; color: var(--coffee); border-radius: 999px; padding: 6px 16px; font-weight: 600; }

.shots { display: flex; gap: 14px; padding: 0 24px 24px; overflow-x: auto; scroll-snap-type: x mandatory; }
.shots img { width: calc((100% - 28px) / 3); min-width: 150px; max-width: 240px; border-radius: 18px; scroll-snap-align: start; }

.coffee { display: grid; grid-template-columns: 240px 1fr; align-items: center; }
.coffee-art { background: radial-gradient(circle at 50% 60%, #ffe9cf, #f2c48f); padding: 20px; height: 100%; display: grid; place-items: center; }
.coffee-art img { width: 200px; }
.coffee h3 { color: var(--coffee); }

/* About + contact */
.about { display: flex; gap: 20px; align-items: center; background: #fff3c4; border-radius: 32px; padding: 28px; margin-bottom: 32px; }
.about img { width: 72px; border-radius: 20px; flex: none; }
.about h2 { font-size: 28px; color: var(--ink); }
.about p { margin: 6px 0 0; }
.contact { text-align: center; padding: 24px 0 8px; }
.contact h2 { font-size: clamp(30px, 5vw, 40px); color: var(--purple); }
.contact p { margin: 6px 0 16px; color: var(--muted); }
.button {
  display: inline-block; background: var(--pink); color: #fff; text-decoration: none; font-weight: 600;
  border-radius: 999px; padding: 12px 26px; box-shadow: 0 5px 0 #c2307a; word-break: break-all;
}

footer { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 15px; padding: 40px 16px; }
footer a { color: var(--muted); }

@media (max-width: 640px) {
  header.top nav a { display: none; }
  .wordmark { width: 140px; }
  .hero { padding-top: 80px; }
  .game .info { flex-direction: column; padding: 20px; }
  .game .icon { width: 80px; }
  .shots { padding: 0 20px 20px; }
  .shots img { width: 46%; }
  .coffee { grid-template-columns: 1fr; }
  .about { flex-direction: column; text-align: center; }
}

/* Privacy page */
.policy { max-width: 820px; padding-top: 90px; }
.policy h1 { font-size: clamp(32px, 6vw, 44px); color: var(--pink); }
.policy h2 { font-size: 22px; margin: 28px 0 6px; color: var(--purple); }
.policy .updated { color: var(--muted); }
.lang-switch { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }
.pill { display: inline-block; background: var(--purple); color: #fff; border-radius: 999px; padding: 6px 16px; font-weight: 600; text-decoration: none; }
.card { background: #fff; border-radius: 28px; padding: 24px; margin: 24px 0; box-shadow: 0 18px 40px -24px rgba(58, 20, 70, .35); }
