/* Zombie Jackpot website: one stylesheet for the landing page and the privacy pages. Static, no external requests. */

/* Luckiest Guy (Apache License 2.0, fonts/LICENSE-LuckiestGuy.txt), self-hosted from @fontsource/luckiest-guy. */
@font-face {
  font-family: 'Luckiest Guy';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/luckiest-guy-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Luckiest Guy';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/luckiest-guy-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #07030f;
  --bg-top: #1f0838;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-line: rgba(255, 255, 255, 0.1);
  --text: #f4eeff;
  --muted: #bcaedb;
  --pink: #ff3df2;
  --cyan: #35f2ff;
  --gold: #ffd84a;
  --gold-deep: #ff9d1c;
  --green: #8dff4a;
  --green-deep: #2fb81f;
  --ink: #1a0b10;
  --display: 'Luckiest Guy', 'Arial Black', Impact, system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* The display font only has capitals. Uppercasing the text itself (with the page's lang) gives the right letters
   in Turkish: i -> İ, ı -> I. */
.brand,
.logo,
.soon strong,
.features b,
.doc h1,
.doc h2 {
  text-transform: uppercase;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(255, 61, 242, 0.22), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 8%, rgba(53, 242, 255, 0.1), transparent 70%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 520px);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

a {
  color: var(--cyan);
  text-underline-offset: 3px;
}
a:hover {
  color: #8ff8ff;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- header / nav ---- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(255, 216, 74, 0.5), 0 0 18px rgba(255, 61, 242, 0.45);
}
.brand:hover {
  color: var(--gold);
}
.lang {
  display: flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}
.lang a,
.lang span {
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--panel-line);
}
.lang span {
  background: rgba(53, 242, 255, 0.14);
  border-color: rgba(53, 242, 255, 0.5);
  color: var(--text);
}

/* ---- logo text, like the game's title ---- */

.logo {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-align: center;
  font-size: clamp(44px, 13vw, 92px);
  paint-order: stroke fill;
  -webkit-text-stroke: 0.08em var(--ink);
  filter: drop-shadow(0 6px 0 var(--ink)) drop-shadow(0 0 24px rgba(255, 61, 242, 0.35));
}
.logo .z {
  display: block;
  color: var(--green);
}
.logo .j {
  display: block;
  color: var(--gold);
}

/* ---- landing ---- */

.hero {
  text-align: center;
  padding: 12px 0 8px;
}
.hero .icon {
  width: 144px;
  height: 144px;
  border-radius: 32px;
  box-shadow: 0 0 0 3px rgba(255, 216, 74, 0.55), 0 0 40px rgba(255, 61, 242, 0.5), 0 18px 40px rgba(0, 0, 0, 0.6);
  margin: 8px auto 18px;
  display: block;
}
.tagline {
  margin: 18px auto 0;
  max-width: 34em;
  font-size: 19px;
  color: var(--text);
}
.soon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 26px auto 6px;
  padding: 14px 26px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 216, 74, 0.16), rgba(255, 157, 28, 0.08));
  border: 2px solid rgba(255, 216, 74, 0.7);
  box-shadow: 0 0 24px rgba(255, 216, 74, 0.25), inset 0 0 18px rgba(255, 216, 74, 0.08);
}
.soon small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.soon strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--gold);
}
/* The store links: the same gold badge as .soon, side by side (they wrap on a narrow phone). */
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 26px 0 6px;
}
.stores .soon {
  margin: 0;
  width: 230px;
  max-width: 100%;
  text-decoration: none;
}
.stores a.soon:hover strong {
  color: #fff2a8;
}
/* A store the game is not in yet: the same badge without a link, its longer first line a little tighter. */
.stores .later small {
  letter-spacing: 0.06em;
}
.hero .note {
  margin: 10px 0 0;
}
.banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 28px 0 8px;
  border-radius: 18px;
  border: 1px solid var(--panel-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 61, 242, 0.18);
}

.features {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.features li {
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
}
.features b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--gold);
  margin-bottom: 4px;
}
.features li:nth-child(3n + 2) b {
  color: var(--green);
}
.features li:nth-child(3n) b {
  color: var(--cyan);
}

/* ---- document pages (privacy) ---- */

.doc h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 8vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 18px 0 6px;
  color: var(--gold);
  paint-order: stroke fill;
  -webkit-text-stroke: 0.06em var(--ink);
  filter: drop-shadow(0 4px 0 var(--ink));
}
.doc .meta {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 22px;
}
.doc h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--green);
  margin: 34px 0 8px;
  scroll-margin-top: 16px;
}
.doc h3 {
  font-size: 17px;
  margin: 20px 0 4px;
  color: var(--cyan);
}
.doc p,
.doc li {
  color: var(--text);
}
.doc ul {
  padding-left: 22px;
}
.doc li {
  margin: 4px 0;
}
.doc li::marker {
  color: var(--pink);
}
.glance {
  margin: 8px 0 10px;
  padding: 16px 18px 6px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(53, 242, 255, 0.08), rgba(255, 61, 242, 0.05));
  border: 1px solid rgba(53, 242, 255, 0.4);
  box-shadow: 0 0 22px rgba(53, 242, 255, 0.12);
}
.glance h2 {
  margin-top: 0;
  color: var(--cyan);
}
.toc {
  font-size: 15px;
  columns: 2 220px;
  column-gap: 24px;
  padding-left: 22px;
}
.note {
  color: var(--muted);
  font-size: 15px;
}
code {
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

/* ---- footer ---- */

.foot {
  margin-top: 48px;
  padding: 22px 0 36px;
  border-top: 1px solid var(--panel-line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-bottom: 8px;
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }
  .brand span {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .icon {
    animation: bob 3.2s ease-in-out infinite;
  }
  @keyframes bob {
    0%,
    100% {
      transform: translateY(0) rotate(-2deg);
    }
    50% {
      transform: translateY(-8px) rotate(2deg);
    }
  }
}
