/* Flipdrop — site styles.
   Same structural vocabulary as the Wobble site (wrap / hero / cards / promise
   / footer), repainted in the game's own palette so the page and the app read
   as one thing.

   Deliberately dark-only, with no prefers-color-scheme branch. Flipdrop's
   identity IS the ink background — a light variant would be a different brand,
   not a theme. Every colour below is therefore stated outright. */

@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("archivo-black-latin.woff2") format("woff2");
}

:root {
  --ink: #16203A;
  --surface: #1E2A47;
  --line: #2C3A5C;
  --paper: #D7DEE2;
  --bone: #F5F2EA;
  --soft: #A3AEC4;
  --signal: #F04E23;
  --signal-soft: #FF7043;
  --mint: #1FA98B;
  --gold: #D8A13A;
  --display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

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

body {
  background: var(--ink);
  color: var(--bone);
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  font-size: 17px;
}

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

header.site { padding: 20px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--bone);
  font-family: var(--display); font-size: 20px; letter-spacing: -0.02em;
  text-transform: uppercase;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }
nav.site a { color: var(--soft); text-decoration: none; font-size: 15px; margin-left: 18px; }
nav.site a:hover { color: var(--signal-soft); }

main { padding: 24px 0 64px; }

h1 { font-family: var(--display); font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 14px; }
h2 { font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; margin: 36px 0 10px; }
h3 { font-size: 17px; font-weight: 650; margin: 22px 0 6px; }
p { margin-bottom: 14px; }
.soft { color: var(--soft); }
/* Keeps a hostname from breaking across lines mid-domain. */
.nowrap { white-space: nowrap; }

a { color: var(--signal-soft); }

/* --- hero ---------------------------------------------------------- */

.hero { text-align: center; padding: 48px 0 32px; }
.hero img.icon { width: 104px; height: 104px; border-radius: 24px; margin-bottom: 22px; }
.hero h1 { font-size: 46px; }

/* The wordmark performs the mechanic: "drop" sits under "flip", rotated a half
   turn. Same lockup as the game's title screen. */
.wordmark { display: inline-block; text-align: center; line-height: 0.86; text-transform: uppercase; letter-spacing: -0.03em; }
.wordmark em { font-style: normal; color: var(--signal); display: block; transform: rotate(180deg); }

.hero .tagline {
  font-family: var(--mono); font-size: 15px; letter-spacing: 0.04em;
  color: var(--soft); max-width: 520px; margin: 0 auto 26px;
}

/* --- store buttons -------------------------------------------------- */

.hero .btn-play, .hero .btn-store { vertical-align: middle; margin: 4px 5px 0; }
.btn-play {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border: 1px solid #000; border-radius: 12px;
  padding: 10px 20px 10px 16px; text-decoration: none;
}
.btn-play:hover { filter: brightness(1.15); }
.play-mark { width: 26px; height: 26px; flex: none; }
.play-label { display: flex; flex-direction: column; line-height: 1.1; text-align: left; font-size: 19px; font-weight: 500; letter-spacing: .2px; }
.play-label small { font-size: 10px; font-weight: 400; letter-spacing: 1px; opacity: .9; }

.btn-store { display: inline-flex; align-items: center; gap: 12px; border-radius: 12px; padding: 10px 20px 10px 16px; text-decoration: none; }
.btn-store--soon { background: transparent; border: 1px solid var(--line); color: var(--soft); cursor: default; }
.store-mark { width: 24px; height: 24px; flex: none; }
.store-label { display: flex; flex-direction: column; line-height: 1.1; text-align: left; font-size: 19px; font-weight: 500; letter-spacing: .2px; }
.store-label small { font-size: 10px; font-weight: 400; letter-spacing: 1px; opacity: .85; }

/* --- cards ---------------------------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 36px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card h3 { margin-top: 0; color: var(--bone); }
.card p { font-size: 15px; color: var(--soft); margin: 0; }

/* --- callouts ------------------------------------------------------- */

.promise { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; text-align: center; margin: 40px 0; }
.promise h2 { margin-top: 0; color: var(--signal); }
.promise p { color: var(--soft); max-width: 560px; margin: 0 auto; }

.notice { background: rgba(240, 78, 35, 0.12); border: 1px solid rgba(240, 78, 35, 0.35); color: var(--bone); border-radius: 16px; padding: 16px 20px; font-size: 15px; margin: 20px 0; }

.soon { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; margin: 40px 0; }
.soon h2 { margin-top: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.soon-tag { background: rgba(216, 161, 58, 0.16); color: var(--gold); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; font-family: ui-sans-serif, system-ui, sans-serif; }
.soon-list { margin: 18px 0 0; padding-left: 20px; }
.soon-list li { margin-bottom: 8px; color: var(--soft); }
.soon-note { margin: 18px 0 0; font-size: 14px; color: var(--soft); }

/* --- lists, details, footer ------------------------------------------ */

ul { margin: 0 0 14px 22px; }
li { margin-bottom: 6px; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; float: right; color: var(--soft); }
details[open] summary::after { content: '\2013'; }
details p { margin-top: 10px; font-size: 15px; color: var(--soft); }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 14px; color: var(--soft); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer.site a { color: var(--soft); }

@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  h1 { font-size: 27px; }
  nav.site a { margin-left: 12px; }
}
@media (max-width: 420px) {
  .hero .btn-play, .hero .btn-store { display: flex; justify-content: center; margin: 8px auto 0; max-width: 240px; }
}
