/* playclosecall.com: the game's website (a landing page and the privacy policy). Plain HTML and CSS, no scripts,
   every file from this site. The look follows the CrazyGames covers: a blue burst, chunky outlined lettering. */

@font-face {
  font-family: 'Lilita One';
  font-display: swap;
  src: url('/fonts/lilita-one-latin-400-normal.woff2') format('woff2');
}

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

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

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

:root {
  --ink: #2a1d12;
  --cream: #fff8ec;
  --sky: #eaf4ff;
  --blue: #1269e0;
  --blue-deep: #0b2f6b;
  --gold: #ffcc2e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.toy {
  font-family: 'Lilita One', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Lettering with the game's thick dark outline. */
.outlined {
  color: #fff;
  -webkit-text-stroke: 8px var(--ink);
  paint-order: stroke fill;
}

/* ---------- The blue burst (header) ---------- */
.burst {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 72% 45%, #8fd3ff 0%, #2d9bff 30%, #1269e0 68%, #0b4fb8 100%);
}

.burst::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: repeating-conic-gradient(from 0deg at 72% 45%, rgba(255, 255, 255, 0.1) 0 6deg, transparent 6deg 14deg);
}

.burst > * {
  position: relative;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  text-decoration: none;
  -webkit-text-stroke-width: 5px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 3px solid var(--ink);
}

nav .links {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-weight: 800;
}

nav .links a {
  text-decoration: none;
}

nav .links a:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 32px;
  padding: 26px 0 76px;
}

h1 {
  margin: 0;
  font-size: clamp(68px, 10vw, 124px);
  line-height: 0.9;
  -webkit-text-stroke-width: 12px;
  text-shadow: 0 8px 0 rgba(42, 29, 18, 0.35);
  transform: rotate(-3deg);
  transform-origin: left center;
}

.tagline {
  display: inline-block;
  margin: 24px 0 16px;
  padding: 8px 18px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 900;
  font-size: 20px;
}

.lede {
  max-width: 520px;
  margin: 0 0 24px;
  font-size: 19px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Where the game is coming: plain labels until each one has a page to link to. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 5px 0 rgba(42, 29, 18, 0.35);
}

.badge small {
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

.hero-art img {
  border: 5px solid var(--ink);
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* ---------- Sections ---------- */
section {
  padding: 72px 0;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.05;
  text-align: center;
}

.sub {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 18px;
}

.play {
  background: var(--blue);
  color: #fff;
}

.play h2 {
  -webkit-text-stroke-width: 8px;
}

.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 270px));
  justify-content: center;
  gap: 32px;
}

.phones figure {
  margin: 0;
  text-align: center;
}

.phone {
  overflow: hidden;
  border: 6px solid #15110d;
  border-radius: 34px;
  background: #000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.phones figcaption {
  margin-top: 16px;
  font-size: 22px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  padding: 22px 20px;
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 6px 0 rgba(42, 29, 18, 0.25);
}

.feature h3 {
  margin: 14px 0 6px;
  font-family: 'Lilita One', sans-serif;
  font-weight: 400;
  font-size: 24px;
}

.feature p {
  margin: 0;
  font-size: 15.5px;
}

.icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 0 rgba(42, 29, 18, 0.3);
}

.icon svg {
  width: 58%;
  height: 58%;
  fill: currentColor;
}

.i-tap {
  background: #ffb400;
}

.i-levels {
  background: #2f7de1;
}

.i-daily {
  background: #ff8540;
}

.i-show {
  background: #e2477a;
}

.spot {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 48px;
  max-width: 900px;
  margin: 64px auto 0;
}

.spot h3 {
  margin: 0 0 10px;
  font-size: 34px;
}

.spot p {
  margin: 0 0 12px;
  font-size: 17px;
}

.scenery {
  background: #fff;
}

.sceneries {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.sceneries figure,
.night {
  margin: 0;
}

.sceneries img,
.night img {
  border: 4px solid var(--ink);
  border-radius: 16px;
}

.sceneries figcaption {
  margin-top: 8px;
  text-align: center;
  font-family: 'Lilita One', sans-serif;
  font-size: 19px;
}

.night {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 36px;
  margin-top: 40px;
}

.night h3 {
  margin: 0 0 8px;
  font-size: 32px;
}

.night p {
  margin: 0;
  font-size: 17px;
}

.soon {
  text-align: center;
}

.soon .badges {
  justify-content: center;
}

footer {
  padding: 30px 0 40px;
  background: var(--blue-deep);
  color: #cfe3ff;
  font-size: 15px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
}

/* ---------- The privacy policy ---------- */
.burst.slim .wrap {
  padding-bottom: 34px;
}

.burst.slim h1 {
  font-size: clamp(44px, 7vw, 72px);
  -webkit-text-stroke-width: 9px;
  transform: none;
}

/* Overlaps the header a little, so it sits above it. */
.policy {
  position: relative;
  max-width: 820px;
  margin: -18px auto 0;
  padding: 0 24px 64px;
}

.policy article {
  padding: 34px clamp(20px, 4vw, 44px);
  border: 4px solid var(--ink);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 8px 0 rgba(42, 29, 18, 0.25);
  font-size: 17px;
}

.policy .updated {
  margin-top: 0;
  opacity: 0.7;
}

.policy h2 {
  margin: 34px 0 10px;
  font-size: 28px;
  text-align: left;
}

.policy .short {
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--sky);
}

.policy .short h2 {
  margin-top: 0;
}

.policy li {
  margin: 6px 0;
}

@media (max-width: 860px) {
  .hero,
  .night,
  .spot {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
  }

  h1 {
    transform-origin: center;
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .badges {
    justify-content: center;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .sceneries {
    grid-template-columns: repeat(2, 1fr);
  }

  .spot {
    justify-items: center;
    text-align: center;
  }

  .spot .phone {
    max-width: 260px;
  }
}

@media (max-width: 560px) {
  nav .links a:not(:last-child) {
    display: none;
  }

  .phones {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .phone {
    border-width: 4px;
    border-radius: 18px;
  }

  .phones figcaption {
    font-size: 15px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}
