/* playhybris.app: the game's colours, type and chunky buttons, taken from the app. */

@font-face {
  font-family: 'Lilita One';
  src: url('/assets/fonts/LilitaOne-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  font-weight: 800;
  src: url('/assets/fonts/Nunito-ExtraBold.ttf') format('truetype');
  font-display: swap;
}

:root {
  --night: #140f2c;
  --ink: #0e0b22;
  --surface: #1c1545;
  --hairline: rgb(255 255 255 / 0.1);
  --text: #ffffff;
  --lilac: #d9d3ef;
  --mist: #b8b0d6;
  --cream: #ffe2a1;
  --gold: #ffc23d;
  --gold-lip: #c4870f;
  --gold-text: #2a1a05;
  --shadow-blue: #2a1f5c;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { background: var(--night); }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--night);
  color: var(--text);
  font-family: 'Nunito', ui-rounded, system-ui, sans-serif;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

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

/* The chunky button: a face sitting on a darker lip it presses into. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
  padding: 0 32px;
  border: 0;
  border-radius: 18px;
  background: var(--gold);
  box-shadow: 0 6px 0 var(--gold-lip), 0 14px 22px rgb(0 0 0 / 0.35);
  color: var(--gold-text);
  font-family: 'Lilita One', system-ui, sans-serif;
  font-size: 24px;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s var(--ease), box-shadow 0.12s var(--ease);
}
.button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--gold-lip), 0 8px 14px rgb(0 0 0 / 0.35);
}

.quiet {
  color: var(--lilac);
  font-size: 16px;
  text-decoration: none;
}
.quiet:hover { color: var(--text); }

/* Phone frame around real app screenshots. */
.phone {
  width: 100%;
  aspect-ratio: 552 / 1200;
  border-radius: 40px;
  padding: 8px;
  background: #0b0820;
  box-shadow: 0 0 0 1px var(--hairline), 0 30px 60px rgb(0 0 0 / 0.45);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  padding: 40px 20px max(40px, env(safe-area-inset-bottom));
  color: var(--mist);
  font-size: 14px;
}
.footer a { color: var(--mist); text-decoration: none; }
.footer a:hover { color: var(--text); }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
