/* playholykick.com: the landing page and the privacy policy. No trackers, no external fonts. */
@font-face {
  font-family: "Lilita One";
  src: url("/fonts/LilitaOne-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --navy: #0f1747;
  --navy-deep: #0a0f33;
  --gold: #ffc233;
  --white: #f4f6ff;
  --muted: #c3cbef;
  --samson: #ff8a1f;
  --david: #36c46a;
  --noah: #2cc3c0;
  --jonah: #8f63ff;
}

* { box-sizing: border-box; }

html { background: var(--navy-deep); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* The title screen's sky: light blue in the middle, navy, then violet at the edges. */
  background: radial-gradient(ellipse at 50% 38%, #54adff 0%, #1f33a0 52%, #381a6b 100%) fixed;
}

a { color: var(--gold); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

main {
  flex: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(32px, 8vh, 88px) 20px 40px;
  text-align: center;
}

/* The logo, drawn like the game's: Lilita One, a gold-to-yellow fill, a thick navy outline, a drop
   shadow, a slight slant and the ball by the "!" (docs/UI_STYLE.md, Logo). */
.logo {
  display: inline-flex;
  align-items: flex-start;
  margin: 0 0 14px;
  transform: rotate(-4deg);
  font: 400 clamp(56px, 13vw, 124px)/1 "Lilita One", system-ui, sans-serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo .word {
  position: relative;
  color: #ffd84a;
}
.logo .word::before,
.logo .word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
}
/* Under the fill: the outline and its shadow. */
.logo .word::before {
  z-index: -1;
  color: var(--navy);
  -webkit-text-stroke: 0.2em var(--navy);
  text-shadow: 0 0.09em 0 rgba(4, 6, 24, 0.55);
}
/* The fill: bottom #FA9E1A to top #FFED5C. */
.logo .word::after {
  background: linear-gradient(to top, #fa9e1a 15%, #ffed5c 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo img {
  width: 0.5em;
  height: 0.5em;
  margin: -0.16em 0 0 0.04em;
  transform: rotate(18deg);
}
.subtitle {
  margin: 0 0 clamp(28px, 6vh, 52px);
  font: 400 clamp(22px, 4vw, 32px)/1.1 "Lilita One", system-ui, sans-serif;
  letter-spacing: 0.06em;
  color: var(--white);
  text-shadow: 0 2px 0 rgba(4, 6, 24, 0.5);
}

.lead {
  margin: 0 auto 10px;
  max-width: 34ch;
  font: 400 clamp(26px, 4.4vw, 38px)/1.15 "Lilita One", system-ui, sans-serif;
}
.heroes-line {
  margin: 0 auto 22px;
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 20px);
}

.heroes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 clamp(30px, 6vh, 48px);
  padding: 0;
  list-style: none;
}
.heroes li {
  min-width: 118px;
  padding: 9px 18px;
  border: 3px solid var(--c);
  border-radius: 14px;
  background: rgba(10, 15, 51, 0.82);
  font: 400 22px/1 "Lilita One", system-ui, sans-serif;
  letter-spacing: 0.04em;
}
.heroes span {
  display: block;
  margin-top: 5px;
  font: 600 13px/1.2 system-ui, sans-serif;
  letter-spacing: 0;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 28px;
  border: 4px solid var(--navy);
  border-radius: 16px;
  font: 400 24px/1 "Lilita One", system-ui, sans-serif;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(4, 6, 24, 0.35);
}
/* "Coming soon to CrazyGames": a badge for now. At launch it becomes the yellow "Play on
   CrazyGames" link (index.html says how). */
.button.soon {
  background: rgba(10, 15, 51, 0.6);
  border-color: var(--gold);
  color: var(--gold);
  cursor: default;
}
.button.play {
  background: var(--gold);
  color: var(--navy);
}
.button.discord {
  background: #5865f2;
  color: #fff;
}
.button.discord svg { width: 28px; height: 28px; fill: currentColor; }
a.button:hover { filter: brightness(1.08); }

footer {
  padding: 22px 20px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  background: rgba(10, 15, 51, 0.55);
}
footer p { margin: 4px 0; }
footer a { color: var(--white); }

/* The privacy policy. */
.policy {
  max-width: 760px;
  text-align: left;
  padding-top: 40px;
}
.policy .back { font-weight: 600; }
.policy h1 {
  margin: 18px 0 4px;
  font: 400 clamp(34px, 6vw, 46px)/1.1 "Lilita One", system-ui, sans-serif;
  color: var(--gold);
}
.policy h2 {
  margin: 30px 0 6px;
  font: 400 24px/1.2 "Lilita One", system-ui, sans-serif;
  letter-spacing: 0.02em;
}
.policy .updated { color: var(--muted); margin-top: 0; }
.policy .card {
  padding: 4px 26px 22px;
  border-radius: 18px;
  background: rgba(10, 15, 51, 0.78);
}
.policy li { margin: 4px 0; }

@media (prefers-reduced-motion: no-preference) {
  .logo img { animation: bob 3.2s ease-in-out infinite; }
  @keyframes bob { 50% { transform: rotate(30deg) translateY(-3px); } }
}
.heroes .samson { --c: var(--samson); }
.heroes .david { --c: var(--david); }
.heroes .noah { --c: var(--noah); }
.heroes .jonah { --c: var(--jonah); }

@media (max-width: 440px) {
  .button { font-size: 20px; padding: 0 18px; }
}
