/* inface.world — the same look as the games: soft, flat, rounded, white cards with one soft shadow, blue for what you
   press, gold for stars and money. */
:root {
  --ink: #1b2438;
  --muted: #69758d;
  --line: #e1e6ee;
  --bg: #f6f2ea;
  --panel: #ffffff;
  --panel-2: #f2f5f9;
  --brand: #1d6fd8;
  --brand-deep: #1556ad;
  --gold: #ffc93c;
  --good: #22a05b;
  --shadow: 0 2px 0 rgba(27, 36, 56, 0.06), 0 12px 32px rgba(27, 36, 56, 0.12);
  --display: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 600 17px/1.55 var(--body);
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* the top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(16px, calc((100% - 1120px) / 2));
  background: rgba(246, 242, 234, 0.88);
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 800 28px/1 var(--display);
  letter-spacing: -0.01em;
}
nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav a {
  padding: 8px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 17px;
}
nav a:hover {
  background: var(--panel);
}
nav a.pill {
  background: var(--ink);
  color: #fff;
}

main {
  padding: 0 16px;
}
.section,
.hero {
  max-width: 1120px;
  margin: 0 auto;
}

/* the hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 56px 0 72px;
}
.kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font: 800 15px var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font: 800 clamp(44px, 6.4vw, 76px) / 1 var(--display);
  letter-spacing: -0.02em;
}
h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--gold) 62%);
}
.lead {
  max-width: 34em;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 19px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font: 800 17px var(--display);
  text-decoration: none;
  background: var(--panel);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 0 var(--brand-deep);
}
.btn.primary:hover {
  transform: translateY(-1px);
}
.btn.primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--brand-deep);
}
.btn.big {
  min-height: 58px;
  padding: 0 26px;
  font-size: 19px;
}
.btn.ghost[aria-disabled='true'] {
  color: var(--muted);
  cursor: default;
}
.hero-art {
  position: relative;
}
.hero-art > img:first-child {
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
  transform: rotate(2deg);
}
.bubble {
  position: absolute;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  font: 800 30px var(--display);
  animation: float 4s ease-in-out infinite;
}
.b1 {
  left: -24px;
  top: 18%;
  padding: 6px;
}
.b2 {
  right: -16px;
  top: -18px;
  color: #6b4a00;
  background: var(--gold);
  animation-delay: -1.3s;
}
.b3 {
  right: 12%;
  bottom: -22px;
  color: var(--gold);
  animation-delay: -2.6s;
}
@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bubble {
    animation: none;
  }
}

/* sections */
.section {
  padding: 56px 0;
}
h2 {
  margin: 0;
  font: 800 40px/1.1 var(--display);
}
.sub {
  margin: 6px 0 24px;
  color: var(--muted);
}

/* the games */
.games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.game {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.shot {
  position: relative;
  aspect-ratio: 14 / 9;
  background: var(--panel-2);
}
.shot img,
.shot .art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game.soon .shot {
  filter: saturate(0.85);
}
.status {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--good);
  color: #fff;
  font: 800 14px var(--display);
}
.game.soon .status {
  background: var(--ink);
}
.body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
}
.body h3 {
  margin: 0;
  font: 800 28px/1 var(--display);
}
.body p {
  margin: 0;
  color: var(--muted);
}
.body .tagline {
  color: var(--ink);
  font-weight: 800;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 10px;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--panel-2);
  font-size: 14px;
  font-weight: 800;
}
.body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* news */
.news {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.news time {
  color: var(--muted);
  font: 800 15px var(--display);
}
.news h3 {
  margin: 4px 0 2px;
  font: 800 21px var(--display);
}
.news p {
  margin: 0;
  color: var(--muted);
}
.chip {
  padding: 2px 10px;
  border-radius: 999px;
  background: #e6f0fc;
  color: var(--brand-deep);
  font: 800 13px var(--display);
}

/* about and follow */
.about p {
  max-width: 44em;
  color: var(--muted);
  font-size: 19px;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-decoration: none;
  font: 800 18px var(--display);
}
.social:hover {
  transform: translateY(-2px);
}
.social.soon {
  color: var(--muted);
  box-shadow: inset 0 0 0 2px var(--line);
  background: transparent;
}
.social small {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--panel-2);
  font-size: 12px;
}

.foot {
  display: flex;
  justify-content: space-between;
  max-width: 1120px;
  margin: 40px auto 0;
  padding: 28px 16px 40px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

/* a phone */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 28px 0 48px;
  }
  .hero-art {
    margin: 0 12px;
  }
  nav a:not(.pill) {
    display: none;
  }
  .news li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  h2 {
    font-size: 34px;
  }
}

/* the privacy page */
.about h3 {
  margin: 28px 0 0;
  font: 800 24px var(--display);
}
