/* Gold Game, goldgame.gg. Night look with PotPot v2 (2026-10-05). Fonts are self-hosted: Titan One and Nunito, SIL Open Font License. */
@font-face { font-family: "Nunito"; src: url("assets/fonts/nunito-latin-ext.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/nunito-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Titan One"; src: url("assets/fonts/titan-one-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Titan One"; src: url("assets/fonts/titan-one-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --emerald: #0F3B2F;
  --night: #0A1410;
  --moss: #164A3B;
  --edge: #0A2A21;
  --line: #2A6B55;
  --gold: #F2B632;
  --gold-hover: #FFC64A;
  --gold-dark: #C98A12;
  --cream: #FFF1C1;
  --muted: #B8CFC4;
  --display: "Titan One", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--emerald); color: var(--cream); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; border-radius: 999px; }
.g { color: var(--gold); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw + 0.5rem, 3.8rem); line-height: 1.02; text-wrap: initial; }
h2 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }

.wordmark { font-family: var(--display); letter-spacing: 0.01em; color: var(--cream); white-space: nowrap; }
.label { font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.95rem; }
.strong { font-weight: 800; }
.big { font-family: var(--display); font-size: clamp(3.4rem, 12vw, 4.5rem); line-height: 1; color: var(--gold); margin: 6px 0 4px; }

/* layout */
.top, main, .foot { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .wordmark { font-size: 22px; }
.brand img { width: 40px; border-radius: 50%; background: var(--gold); }
section { padding-block: 36px; }

/* buttons: pills with a pressed edge, like a game */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; white-space: nowrap; background: var(--gold); color: var(--night); font-family: var(--display); font-size: 19px; text-decoration: none; box-shadow: 0 5px 0 var(--gold-dark); transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease; }
.btn:hover { background: var(--gold-hover); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gold-dark); }
.btn-ghost { background: transparent; color: var(--cream); border: 3px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--moss); }
.btn-ghost:active { transform: none; box-shadow: none; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; box-shadow: 0 4px 0 var(--gold-dark); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ctas > .btn { flex: 1 1 220px; }

/* hero */
.hero { display: grid; gap: 12px; align-items: center; padding-top: 8px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pill { display: inline-block; font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border: 2px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 40ch; }
.hero-art { --fall: 100px; position: relative; justify-self: center; width: 250px; margin: 14px 0 6px; }
.halo { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--moss); display: flex; align-items: center; justify-content: center; }
.halo img { width: 94%; position: relative; z-index: 1; }
.bubble { position: absolute; right: -8px; top: -8px; z-index: 2; background: var(--cream); color: var(--emerald); font-family: var(--display); font-size: 20px; line-height: 1.1; padding: 10px 18px; border-radius: 18px; }
.bubble::after { content: ""; position: absolute; left: 28px; bottom: -11px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 13px solid transparent; border-top: 13px solid var(--cream); }
.drop { position: absolute; left: 50%; top: -30px; width: 34px; height: 20px; margin-left: -17px; border-radius: 50%; background: var(--gold); border: 2px solid var(--gold-dark); opacity: 0; z-index: 0; animation: drop 3.6s ease-in infinite; }
.drop.d2 { margin-left: -52px; animation-delay: 1.2s; }
.drop.d3 { margin-left: 18px; animation-delay: 2.4s; }
@keyframes drop {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  55% { transform: translateY(var(--fall)); opacity: 1; }
  62%, 100% { transform: translateY(calc(var(--fall) + 6px)); opacity: 0; }
}

/* cards */
.card { background: var(--moss); border: 2px solid var(--line); border-radius: 24px; box-shadow: 0 6px 0 var(--edge); padding: 22px; }
.pot { display: grid; gap: 18px; align-items: center; }
.meter-wrap { display: grid; gap: 8px; }
.meter { height: 18px; border-radius: 999px; background: var(--edge); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--gold); border-radius: 999px; }

/* how it works */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; }
.n { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--emerald); font-family: var(--display); font-size: 22px; display: grid; place-items: center; box-shadow: 0 4px 0 var(--gold-dark); }
.steps p { margin-top: 4px; color: var(--muted); }

/* PotPot's day */
.moods { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.moods li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.moods img { width: min(150px, 100%); }
.moods h3 { color: var(--gold); }
.moods p { color: var(--muted); font-size: 0.95rem; max-width: 22ch; }

/* notice */
.notice { border: 3px solid var(--gold); border-radius: 24px; padding: 24px; display: grid; gap: 10px; box-shadow: 0 6px 0 var(--gold-dark); }
.notice h2 { color: var(--gold); }
.notice p { max-width: 62ch; }

/* follow */
.follow { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-bottom: 64px; }
.follow img { width: 180px; }
.follow p { color: var(--muted); }
.follow .ctas { justify-content: center; margin-top: 8px; width: 100%; max-width: 520px; }

/* footer */
.foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding-block: 28px 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.foot .wordmark { font-size: 18px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--cream); text-decoration: none; }
.foot nav a:hover { color: var(--gold); }

@media (min-width: 820px) {
  section { padding-block: 52px; }
  .hero { grid-template-columns: 1.1fr 0.9fr; gap: 40px; padding-top: 36px; }
  .hero-art { --fall: 170px; width: min(440px, 100%); margin: 0; }
  .bubble { font-size: 26px; right: -6px; top: 10px; }
  .drop { top: -40px; }
  .pot { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; padding: 28px 40px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { grid-template-columns: 1fr; gap: 12px; }
  .moods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .notice { padding: 32px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .drop { display: none; }
  .btn { transition: none; }
}
