/* Flippity Flap — shared styles for the marketing/legal site.
   Dark, gold-accented theme matching the app. Self-contained, no
   external fonts or dependencies so pages load instantly. */

:root {
  --bg-top: #0d101f;
  --bg-bottom: #1a2238;
  --gold: #ffd84d;
  --gold-deep: #f1bd33;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.38);
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.12);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* Header / brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.brand .coin {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff0a8, var(--gold-deep) 60%, #9e6a0f);
  box-shadow: 0 4px 18px rgba(255, 200, 60, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 30px;
  color: #3a2702;
  font-family: Georgia, "Times New Roman", serif;
  flex-shrink: 0;
}
.brand h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.brand .tagline { color: var(--text-dim); font-size: 14px; margin-top: 2px; }

/* Hero (index only) */
.hero { text-align: center; padding: 32px 0 8px; }
.hero .bigcoin {
  width: 120px; height: 120px; border-radius: 50%;
  margin: 0 auto 28px;
  background: radial-gradient(circle at 32% 28%, #fff0a8, var(--gold-deep) 60%, #9e6a0f);
  box-shadow: 0 0 60px rgba(255, 200, 60, 0.45);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 64px; color: #3a2702;
  font-family: Georgia, "Times New Roman", serif;
}
.hero h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.hero p { color: var(--text-dim); font-size: 17px; margin: 12px auto 0; max-width: 460px; }

/* Content */
h2.section { font-size: 22px; font-weight: 700; margin: 36px 0 12px; }
h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; color: var(--gold); }
p, li { color: var(--text-dim); font-size: 15px; }
p { margin-bottom: 14px; }
ul { margin: 0 0 14px 22px; }
li { margin-bottom: 7px; }
strong { color: var(--text); font-weight: 600; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.updated { color: var(--text-faint); font-size: 13px; margin-bottom: 28px; }

/* Cards / buttons */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 16px 0;
}
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #2e1c02;
}
.btn.secondary { background: var(--card); color: var(--text); border: 1px solid var(--card-border); }
.btn:hover { text-decoration: none; opacity: 0.92; }

/* Footer */
footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  color: var(--text-faint);
  font-size: 13px;
  text-align: center;
}
footer a { color: var(--text-dim); }
footer .links { margin-bottom: 10px; }
footer .links a { margin: 0 10px; }
