/* Wild West Shootout — colors pulled from the box art */
:root {
  --sky-top: #8fd3ee;
  --sky-bottom: #d9f0f7;
  --sand: #f1d7a6;
  --sand-deep: #e2b878;
  --wood: #5a3a1f;
  --wood-dark: #34210f;
  --ink: #2b1a0c;
  --ember: #ffb22e;
  --flame: #f0701c;
  --blaze: #d33a1c;
  --cream: #fff7e6;

  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Rye", "Georgia", serif;
  --body: "Lora", "Georgia", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
}

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

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

/* ---------- Masthead ---------- */
.masthead {
  padding: clamp(28px, 6vw, 64px) var(--gutter) clamp(36px, 7vw, 80px);
  text-align: center;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 75%, var(--sand) 100%);
}

.logo {
  margin: 0 auto;
  max-width: 640px;
}

.logo img {
  width: 100%;
  filter: drop-shadow(0 6px 10px rgba(52, 33, 15, 0.25));
}

.tagline {
  margin: 0.8em 0 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 0.9rem + 1vw, 1.6rem);
  color: var(--wood);
  letter-spacing: 0.02em;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 8vw, 96px);
}

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); }
}

.hero__art img {
  width: 100%;
  border-radius: var(--radius);
  border: 4px solid var(--wood);
  box-shadow: 0 18px 40px rgba(52, 33, 15, 0.35);
}

.hero__copy h2 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  color: var(--wood-dark);
}

.hero__copy p { margin: 0 0 1em; max-width: 34em; }

/* ---------- Buy button ---------- */
.btn-buy {
  display: inline-block;
  margin-top: 0.4em;
  padding: 0.7em 1.6em 0.6em;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
  color: var(--cream);
  text-decoration: none;
  text-shadow: 0 2px 0 var(--wood-dark);
  background: linear-gradient(180deg, var(--ember) 0%, var(--flame) 55%, var(--blaze) 100%);
  border: 3px solid var(--wood-dark);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--wood-dark), 0 10px 20px rgba(52, 33, 15, 0.3);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--wood-dark), 0 14px 24px rgba(52, 33, 15, 0.35);
}

.btn-buy:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--wood-dark), 0 4px 10px rgba(52, 33, 15, 0.3);
}

.btn-buy:focus-visible {
  outline: 3px solid var(--wood-dark);
  outline-offset: 4px;
}

.fineprint {
  margin-top: 1em;
  font-size: 0.85em;
  font-style: italic;
  color: var(--wood);
}

/* Stacked (phone/tablet) layout: center the hero button under the text */
@media (max-width: 899px) {
  .hero__copy .btn-buy {
    display: block;
    width: fit-content;
    margin-inline: auto;
  }

  .hero__copy .fineprint { text-align: center; max-width: none; }
}

/* ---------- Tokens ---------- */
.tokens {
  padding: clamp(40px, 7vw, 80px) var(--gutter);
  text-align: center;
  background: var(--sand-deep);
  border-top: 4px solid var(--wood);
  border-bottom: 4px solid var(--wood);
}

.tokens h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
  color: var(--wood-dark);
}

.tokens__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
}

.tokens__list li {
  width: clamp(92px, 18vw, 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}

.tokens__list img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  border: 4px solid var(--wood);
  box-shadow: 0 6px 0 var(--wood-dark);
}

.tokens__list span {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--wood-dark);
}

/* ---------- Closing CTA ---------- */
.cta {
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  color: var(--wood-dark);
}

/* ---------- Footer ---------- */
.footer {
  padding: 32px var(--gutter);
  text-align: center;
  font-size: 0.85rem;
  color: var(--sand);
  background: var(--wood-dark);
}

.footer p { margin: 0.3em auto; max-width: 60em; }

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