/* BRIEF-V71 (F132a): gerobakrezeki.com — the front page, /privasi/ and /presskit/. The main menu's look: its dusk picture, logo
   A, a few light motes; Nunito Sans to read, Pixelify Sans for titles. Phone first; no framework, no outside requests. */
@font-face {
  font-family: 'Nunito Sans';
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/nunito-sans-latin-400-normal.woff2) format('woff2');
}

@font-face {
  font-family: 'Nunito Sans';
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/nunito-sans-latin-700-normal.woff2) format('woff2');
}

@font-face {
  font-family: 'Pixelify Sans';
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/pixelify-sans-latin-700-normal.woff2) format('woff2');
}

:root {
  --bg: #1d1838;
  --bg-2: #261d44;
  --ink: #f1e3cc;
  --muted: #c4b5c1;
  --gold: #ffd88a;
  --cream: #fff0cc;
  --line: rgba(255, 216, 138, 0.28);
  --title: 'Pixelify Sans', ui-monospace, monospace;
  --read: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font: 400 17px/1.6 var(--read);
}

a {
  color: var(--gold);
}

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--title);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  margin-bottom: 18px;
  color: var(--cream);
  font-size: clamp(24px, 6vw, 34px);
  text-align: center;
  text-shadow: 0 2px 0 rgba(12, 8, 20, 0.8);
}

h2::after {
  content: '';
  display: block;
  width: 120px;
  height: 2px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, transparent 46%, transparent 54%, var(--gold) 70%, transparent);
}

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

.pix {
  image-rendering: pixelated;
}

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 9;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--bg);
}

.skip:focus {
  top: 8px;
}

/* ---------------------------------------------------------------- the top: the menu's dusk, logo, one line, MAIN SEKARANG */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(56px, env(safe-area-inset-top)) 18px max(40px, env(safe-area-inset-bottom));
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero-bg,
.hero-bg img,
.motes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  z-index: -2;
}

.hero-bg img {
  max-width: none;
  object-fit: cover;
  object-position: 50% 100%;
  image-rendering: pixelated;
}

@media (min-aspect-ratio: 1/1) {
  .hero-bg img {
    object-position: 85% 50%;
  }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 42%, rgba(18, 12, 30, 0.55), rgba(18, 12, 30, 0.15) 60%), linear-gradient(180deg, rgba(18, 12, 30, 0.1) 55%, var(--bg));
}

.motes {
  z-index: -1;
  pointer-events: none;
}

.lang {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
}

.lang a {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(18, 12, 30, 0.55);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--cream);
  font: 700 15px/1 var(--title);
  text-decoration: none;
}

.hero-in {
  width: min(100%, 640px);
}

.logo {
  width: min(78vw, 46vh, 520px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 8px rgba(12, 8, 20, 0.6));
}

.pitch {
  margin: 14px auto 26px;
  max-width: 34em;
  color: var(--cream);
  font-size: clamp(17px, 4.4vw, 20px);
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(12, 8, 20, 0.9), 0 0 12px rgba(12, 8, 20, 0.8);
}

.cta {
  display: inline-grid;
  place-items: center;
  min-width: min(100%, 300px);
  min-height: 64px;
  padding: 14px 34px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffe7ad, #f2b950 55%, #d9922f);
  box-shadow: inset 0 -4px 0 rgba(120, 60, 10, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.6), 0 0 0 2px #2b1a3f, 0 0 28px rgba(255, 196, 110, 0.55), 0 10px 22px rgba(0, 0, 0, 0.45);
  color: #2b1a3f;
  font: 700 clamp(22px, 6vw, 28px)/1 var(--title);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta:active {
  transform: translateY(1px);
}

.cta-note {
  margin: 12px 0 0;
  color: var(--cream);
  font-size: 15px;
  text-shadow: 0 1px 0 rgba(12, 8, 20, 0.9);
}

/* ---------------------------------------------------------------- sections */
main section {
  padding: 48px 18px;
}

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

.clip video {
  width: min(100%, 860px);
  margin: 0 auto;
  border-radius: 14px;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line), 0 16px 34px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.clip p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.fitur-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 900px) {
  .fitur-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.fitur-grid article {
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(64, 42, 68, 0.75), rgba(34, 22, 40, 0.85));
  box-shadow: inset 0 0 0 1px var(--line), 0 8px 18px rgba(0, 0, 0, 0.35);
}

.fitur-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.fitur-grid h3 {
  margin: 12px 12px 4px;
  color: var(--gold);
  font-size: clamp(16px, 4.2vw, 19px);
}

.fitur-grid p {
  margin: 0 12px 14px;
  font-size: 15px;
  line-height: 1.5;
}

.layar-hp {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.layar-hp figure {
  flex: 0 0 min(58vw, 240px);
  scroll-snap-align: center;
}

@media (min-width: 900px) {
  .layar-hp {
    justify-content: center;
    overflow: visible;
  }
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line), 0 8px 18px rgba(0, 0, 0, 0.4);
}

figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.layar-pc {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 900px) {
  .layar-pc {
    grid-template-columns: 1fr 1fr;
  }
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.badges li {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 56px;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.badges small {
  font-weight: 400;
  font-size: 13px;
}

.badges .on {
  padding: 0;
  background: linear-gradient(180deg, rgba(255, 216, 138, 0.22), rgba(255, 216, 138, 0.08));
  box-shadow: inset 0 0 0 1px var(--gold);
}

.badges .on a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 8px 16px;
  color: var(--cream);
  text-decoration: none;
}

.badges .soon {
  filter: grayscale(1);
}

/* ---------------------------------------------------------------- the foot */
footer {
  padding: 28px 18px max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
}

footer nav a {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  padding: 0 10px;
}

footer p {
  margin: 6px 0 0;
}

/* ---------------------------------------------------------------- text pages: /privasi/, /presskit/ */
.page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) 18px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.page-top .home {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.page-top .home img {
  width: 132px;
  height: auto;
}

.page-top .play {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffe7ad, #f2b950 55%, #d9922f);
  color: #2b1a3f;
  font: 700 17px/1 var(--title);
  text-decoration: none;
}

.doc {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 28px 18px 40px;
}

.doc h1 {
  margin-bottom: 6px;
  color: var(--cream);
  font-size: clamp(28px, 7vw, 38px);
}

.doc h2 {
  margin: 34px 0 10px;
  font-size: clamp(21px, 5vw, 26px);
  text-align: left;
}

.doc h2::after {
  margin: 8px 0 0;
}

.doc h3 {
  margin: 22px 0 6px;
  color: var(--gold);
  font-size: 18px;
}

.doc .meta {
  color: var(--muted);
  font-size: 15px;
}

.doc li {
  margin: 4px 0;
}

.doc .lang-jump {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
}

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  margin: 0;
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
}

.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shots-wide {
  margin-top: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .shots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shots-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.downloads a {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--gold);
  text-decoration: none;
}

.presskit-logo {
  width: min(100%, 380px);
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-2);
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}
