/* Muscle Money site. The same kit as the game: dark tokens, Lilita One, chunky buttons with a lip. */

@font-face {
  font-family: "Lilita One";
  src: url("fonts/LilitaOne-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0B0F0E;
  --surface: #141A18;
  --elevated: #1C2422;
  --edge: #2C3835;
  --line: #25302D;
  --text: #F2F5F4;
  --text-2: #8FA39C;
  --body: #C9D4D0;
  --jade: #1FA37A;
  --jade-lip: #0F6E51;
  --mint: #5EEAD4;
  --lime: #B8F55A;
  --lime-lip: #6E9E2A;
  --lime-ink: #1C3308;
  --amber: #F2B84B;
  --amber-lip: #A87516;
  --coral: #F0655B;
  --ice: #9FD8FF;
  --gold: #F5D060;
  --radius: 20px;
  --display: "Lilita One", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --text-font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--text);
  font: 500 17px/1.6 var(--text-font);
  background-color: var(--bg);
  /* The Shopfront floor: half-cell tiles with a faint checker, under a soft light from the top. */
  background-image:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(31, 163, 122, 0.16), transparent 70%),
    linear-gradient(rgba(11, 15, 14, 0.35), rgba(11, 15, 14, 0.35)),
    repeating-conic-gradient(#121816 0% 25%, #0E1312 0% 50%);
  background-size: 100% 900px, auto, 48px 48px;
  background-repeat: no-repeat, repeat, repeat;
  overflow-x: hidden;
}

a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lime); }

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

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Top bar */

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 3px 0 #050807; }
.brand span { font: 22px/1 var(--display); letter-spacing: 0.02em; }
.top nav { display: flex; gap: 18px; font-weight: 700; font-size: 15px; }
.top nav a { color: var(--text-2); text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* Buttons: a face, and a darker lip under it. Pressing drops the face onto the lip. */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  border-radius: 18px; border: 0;
  font: 20px/1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transform: translateY(0); transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:active { transform: translateY(4px); }
.btn-lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 5px 0 var(--lime-lip); }
.btn-lime:active { box-shadow: 0 1px 0 var(--lime-lip); }
.btn-lime:hover { color: var(--lime-ink); }
.btn-dark { background: var(--elevated); color: var(--text); box-shadow: 0 5px 0 #050807; border: 1px solid var(--edge); }
.btn-dark:active { box-shadow: 0 1px 0 #050807; }
.btn-dark:hover { color: var(--text); }
.btn small { font: 700 12px/1 var(--text-font); text-transform: none; letter-spacing: 0; opacity: 0.75; display: block; margin-top: 4px; }

/* Apple's official badge, served from this site. Apple's rules: never alter it, keep it at least 40 px tall,
   and leave clear space of a quarter of its height around it. */
.store-badge { display: inline-block; line-height: 0; padding: 0; border-radius: 12px; }
.store-badge img { height: 56px; width: auto; display: block; }
.store-badge:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }

/* Hero */

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 36px; padding-bottom: 64px; }
.hero-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 6px 0 #050807, 0 20px 40px rgba(0, 0, 0, 0.45); margin-bottom: 22px; }
.kicker { font: 15px/1 var(--display); color: var(--lime); letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 10px; }
h1 {
  font: clamp(48px, 9vw, 88px)/0.95 var(--display); margin: 0 0 16px; letter-spacing: 0.01em;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.45);
}
h1 .gold { color: var(--gold); }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--body); max-width: 34ch; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--elevated); border: 1px solid var(--edge); border-radius: 999px;
  padding: 7px 14px 7px 8px; font: 15px/1 var(--display); letter-spacing: 0.03em; box-shadow: 0 3px 0 #050807;
}
.dot { width: 22px; height: 22px; border-radius: 50%; display: inline-block; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.dot.coin { background: radial-gradient(circle at 38% 30%, #FFEFA8, #F8CE55 45%, #C98F1C); }
.dot.gem { background: linear-gradient(135deg, #B4FFF1, #5EEAD4 50%, #1F9C8A); border-radius: 6px; transform: rotate(45deg) scale(0.8); }
.dot.lime { background: var(--lime); }
.dot.coral { background: var(--coral); }

.phone {
  position: relative; width: min(100%, 320px); margin: 0 auto;
  border-radius: 44px; padding: 10px; background: #050807;
  box-shadow: 0 0 0 2px var(--edge), 0 10px 0 #050807, 0 30px 60px rgba(0, 0, 0, 0.55);
}
.phone img { border-radius: 34px; width: 100%; height: auto; }
.hero .phone { transform: rotate(3deg); }

/* Sections */

section { padding: 56px 0; }
.section-title { font: clamp(34px, 5vw, 48px)/1 var(--display); margin: 0 0 12px; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.4); }
.section-lede { color: var(--text-2); font-size: 18px; margin: 0 0 32px; max-width: 56ch; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--elevated); border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 22px 22px 20px; box-shadow: 0 5px 0 #050807;
}
.card h3 { font: 24px/1.1 var(--display); margin: 0 0 10px; letter-spacing: 0.02em; display: flex; align-items: center; gap: 12px; }
.card p { margin: 0; color: var(--body); }
.card ul { margin: 10px 0 0; padding-left: 20px; color: var(--body); }
.card li { margin: 4px 0; }
.badge {
  width: 44px; height: 44px; border-radius: 14px; display: inline-grid; place-items: center; flex: none;
  font: 22px/1 var(--display); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45);
}
.badge.lime { background: var(--lime); color: var(--lime-ink); }
.badge.mint { background: var(--mint); color: #0B2E28; }
.badge.amber { background: var(--amber); color: #3A2508; }
.badge.ice { background: var(--ice); color: #0E2A3D; }

.shots { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 28px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots figure { margin: 0; flex: 0 0 240px; scroll-snap-align: start; }
.shots .phone { width: 240px; border-radius: 36px; padding: 8px; }
.shots .phone img { border-radius: 28px; }
.shots figcaption { font: 16px/1.2 var(--display); text-align: center; margin-top: 16px; color: var(--text-2); letter-spacing: 0.03em; }

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px;
}
.faq summary { cursor: pointer; font: 19px/1.3 var(--display); letter-spacing: 0.02em; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--body); }

.contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: linear-gradient(180deg, #16302A, #10201C); border: 1px solid #245246; border-radius: 24px;
  padding: 26px; box-shadow: 0 6px 0 #050807; margin-top: 28px;
}
.contact h3 { font: 26px/1.1 var(--display); margin: 0 0 6px; }
.contact p { margin: 0; color: var(--body); }

footer { border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 44px; color: var(--text-2); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--text-2); }

/* Legal pages */

.doc { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
.doc h1 { font-size: clamp(40px, 7vw, 60px); margin-bottom: 8px; }
.doc .meta { color: var(--text-2); margin: 0 0 28px; }
.doc h2 { font: 26px/1.15 var(--display); color: var(--mint); margin: 36px 0 10px; letter-spacing: 0.02em; }
.doc p, .doc li { color: var(--body); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.summary {
  background: var(--elevated); border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 18px 22px; box-shadow: 0 5px 0 #050807; margin: 0 0 12px;
}
.summary p { margin: 0; color: var(--text); }
.summary strong { color: var(--lime); }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 16px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--body); }
th { color: var(--text); font-weight: 800; }

/* Phone width */

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 16px; }
  .top { flex-wrap: wrap; }
  .hero .phone { transform: none; width: min(100%, 280px); }
  .cards { grid-template-columns: 1fr; }
  .top nav { gap: 14px; font-size: 14px; }
}
@media (max-width: 420px) {
  .top nav a.hide-sm { display: none; }
  .btn { width: 100%; }
}

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