/* Coinbo's website: the game's night-sky backdrop, gold and paper, in its rounded type. */

:root {
  --night: #090818;
  --dusk: #1e1b47;
  --deep: #100e28;
  --glow: rgba(90, 79, 200, 0.35);
  --paper: #f6f0e2;
  --muted: rgba(246, 240, 226, 0.72);
  --faint: rgba(246, 240, 226, 0.48);
  --gold: #f0be3c;
  --pale-gold: #fff2b0;
  --dark-gold: #8c5e0c;
  --ink: #16131f;
  --panel: rgba(255, 255, 255, 0.045);
  --edge: rgba(240, 190, 60, 0.2);
  --radius: 22px;
  color-scheme: dark;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  color: var(--paper);
  background:
    radial-gradient(ellipse 640px 440px at 50% -80px, var(--glow), transparent 70%),
    linear-gradient(180deg, var(--dusk) 0, var(--deep) 560px, var(--night) 1200px) no-repeat,
    var(--night);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--gold);
}

a:hover {
  color: var(--pale-gold);
}

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

/* The bar along the top: home on the left, the other language on the right. */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 15px;
  font-weight: 700;
}

.topbar a {
  color: var(--muted);
  text-decoration: none;
}

.topbar a:hover {
  color: var(--paper);
}

.topbar .language {
  margin-left: auto;
  padding: 6px 14px;
  border: 1px solid var(--edge);
  border-radius: 999px;
}

/* Home */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 36px 0 32px;
  text-align: center;
}

.hero .icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.hero .logo {
  width: min(440px, 88vw);
  height: auto;
}

.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.tagline {
  font-size: 21px;
  font-weight: 800;
  color: var(--pale-gold);
}

.lede {
  max-width: 31em;
  font-size: 16.5px;
  color: var(--muted);
}

.soon {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--pale-gold);
  border: 1.5px solid var(--edge);
  background: rgba(240, 190, 60, 0.08);
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 12px 0 44px;
}

.card {
  padding: 22px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--panel);
}

.card .coins {
  display: flex;
  gap: 6px;
  height: 46px;
}

.card .coins svg {
  width: 46px;
  height: 46px;
}

.card h2 {
  margin: 12px 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.card p {
  font-size: 15px;
  color: var(--muted);
}

.support {
  padding: 40px 0 44px;
  border-top: 1px solid rgba(240, 190, 60, 0.15);
  text-align: center;
}

.support h2 {
  margin-bottom: 10px;
  font-size: 25px;
  font-weight: 800;
}

.support p {
  max-width: 32em;
  margin: 0 auto 14px;
  color: var(--muted);
}

.support strong {
  color: var(--paper);
}

/* The game's gold button, standing on its darker edge. */
.button {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  color: #3a2600;
  text-decoration: none;
  background: linear-gradient(180deg, var(--pale-gold), var(--gold) 62%, #d9a12e);
  box-shadow: 0 4px 0 var(--dark-gold), 0 10px 20px rgba(0, 0, 0, 0.35);
}

.button:hover {
  color: #3a2600;
  filter: brightness(1.05);
}

.button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--dark-gold), 0 6px 14px rgba(0, 0, 0, 0.35);
}

footer {
  padding: 22px 0 40px;
  border-top: 1px solid rgba(240, 190, 60, 0.15);
  font-size: 14px;
  text-align: center;
  color: var(--faint);
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--paper);
}

/* The privacy policy */

.policy-head {
  padding: 30px 0 22px;
}

.policy-head .logo {
  width: 150px;
  height: auto;
  margin-bottom: 18px;
}

.policy-head h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.updated {
  margin-top: 6px;
  font-size: 14px;
  color: var(--faint);
}

.section {
  margin-bottom: 14px;
  padding: 22px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--panel);
}

.section.short {
  border-color: rgba(240, 190, 60, 0.45);
  background: rgba(240, 190, 60, 0.07);
}

.section h2 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--pale-gold);
}

.section p,
.section li {
  font-size: 15.5px;
  color: var(--muted);
}

.section strong {
  color: var(--paper);
}

.section p + p,
.section p + ul,
.section ul + p {
  margin-top: 10px;
}

.section ul {
  list-style: none;
}

.section li {
  position: relative;
  margin-top: 7px;
  padding-left: 18px;
}

.section li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.policy-end {
  margin: 26px 0 30px;
  text-align: center;
}

/* Not found */

.lost {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 80px 0 60px;
  text-align: center;
}

.lost .icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

.lost h1 {
  font-size: 30px;
  font-weight: 800;
}

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

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }

  .policy-head h1 {
    font-size: 28px;
  }

  .hero {
    padding-top: 24px;
  }
}
