/* 6mustshow.com (docs/WEBSITE.md): the app's look in plain CSS. Colours are the app's tokens
   (apps/web/src/app/globals.css); Archivo at 62% width for the wordmark and display type. Phone first. */

:root {
  color-scheme: dark;
  --bg: #090b08;
  --surface-1: #11150f;
  --surface-2: #171c14;
  --ink: #f2eee3;
  --muted: #a9ad9f;
  --acid: #00cc66;
  --acid-ink: #4be08f;
  --acid-deep: #04160c;
  --gold: #e0b43c;
  --line: #f2eee321;
  --line-strong: #f2eee340;
  --gutter: 1rem;
  --radius-card: 18px;
  --radius-sheet: 24px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
}

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

p,
li {
  text-wrap: pretty;
}

a {
  color: var(--acid-ink);
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
}

.skip:focus {
  top: 0.75rem;
  z-index: 10;
}

/* Words */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  color: var(--ink);
  font-size: 1.5rem;
  font-stretch: 62%;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark .six {
  color: var(--acid-ink);
  font-size: 1.9rem;
}

.display {
  margin: 0;
  font-size: clamp(3.5rem, 15vw, 7.5rem);
  font-stretch: 62%;
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
}

.display-sm {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  font-stretch: 62%;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-stretch: 72%;
  font-weight: 800;
  line-height: 1.1;
}

.label {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-stretch: 80%;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 38rem;
  margin: 1.25rem 0;
  color: var(--muted);
  font-size: 1.125rem;
}

.small {
  font-size: 0.875rem;
}

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

.acid {
  color: var(--acid-ink);
}

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: var(--acid);
  color: var(--acid-deep);
  font-size: 1.0625rem;
  font-stretch: 85%;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 2rem #00cc6633;
}

.button:hover {
  background: #7cf2b0;
  color: var(--acid-deep);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button-secondary:hover {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-small {
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-size: 0.9375rem;
}

/* "Play now" is switched off until the app is live (docs/WEBSITE.md §4). */
button.button {
  appearance: none;
  border: 0;
  font-family: inherit;
}

.button:disabled,
.button:disabled:hover {
  background: var(--surface-2);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
}

/* The top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: #090b08f2;
  backdrop-filter: blur(8px);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.top-nav {
  display: none;
  gap: 1.75rem;
}

.top-nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--ink);
}

/* Sections */
section {
  padding: 3.5rem 0;
}

.band {
  border-block: 1px solid var(--line);
  background: var(--surface-1);
}

.hero {
  display: grid;
  gap: 2.5rem;
  padding-top: 2.5rem;
}

.two-col {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.phone {
  width: min(100%, 18.5rem);
  margin: 0 auto;
}

.phone img {
  border: 1px solid var(--line-strong);
  border-radius: 1.75rem;
  box-shadow: 0 1.5rem 4rem #000000a6;
}

.phone figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
}

/* How a round works */
.rules {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg);
}

.dice {
  display: flex;
  flex: none;
  gap: 0.375rem;
}

.dice b {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 0.5rem;
  background: var(--surface-2);
  color: var(--muted);
  font-stretch: 80%;
  font-weight: 800;
}

.dice b.six {
  background: var(--acid);
  color: var(--acid-deep);
}

/* Coins */
.cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sheet);
  background: var(--surface-1);
}

.card ul {
  display: grid;
  gap: 0.625rem;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.card-virtual {
  border-color: #00cc6680;
  background: linear-gradient(180deg, #00cc661f, var(--surface-1));
}

.card-real {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, #f2eee321, var(--surface-1));
}

.card .label {
  color: var(--ink);
}

.card-virtual .label {
  color: var(--acid-ink);
}

.card h3 + p {
  margin: 0;
  color: var(--muted);
}

.card > :last-child {
  margin-bottom: 0;
}

.note {
  max-width: 46rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.real {
  max-width: 46rem;
}

/* The app's features */
.features {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
}

.features .phone {
  width: min(100%, 15rem);
}

.feature h3 {
  margin-top: 1.25rem;
}

/* "Play where Lagos plays": the words sit in the middle, under the app's screens. */
.centered {
  text-align: center;
}

/* On phones the rules list says it already, so the app's rules screen shows on computers only. */
@media (max-width: 899px) {
  .rules-shot {
    display: none;
  }
}

.feature p {
  margin: 0;
  color: var(--muted);
}

/* Contact */
.contact {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  font-style: normal;
}

.contact strong {
  font-size: 1.125rem;
}

/* The policy pages */
.policy {
  max-width: 46rem;
  padding-bottom: 4rem;
}

.policy h1 {
  margin: 2.5rem 0 0.5rem;
}

.policy h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 1.375rem;
  font-stretch: 72%;
  font-weight: 800;
}

.policy p,
.policy li {
  color: var(--muted);
}

.policy ul {
  padding-left: 1.25rem;
}

.policy strong {
  color: var(--ink);
}

/* The foot */
.foot {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.foot-links a {
  color: var(--muted);
}

.foot-links a:hover {
  color: var(--ink);
}

@media (min-width: 900px) {
  :root {
    --gutter: 2rem;
  }

  .top-nav {
    display: flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    padding-top: 4rem;
  }

  .two-col {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

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

  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .features {
    display: flex;
    justify-content: center;
  }

  .feature {
    flex: 0 1 26rem;
  }

  section {
    padding: 5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
