/* BACC. Blast All Cat Coins. Static site, no build step. */

:root {
  --white: #FFFFFF;
  --cream: #FFF3D6;
  --ink: #241606;
  --ink-soft: #57452C;
  --ink-mute: #6B5738;
  --ink-mute-2: #7A664A;
  --cobalt: #2846E8;
  --cobalt-shadow: rgba(36, 22, 6, 0.16);
  --gold-watermark: #E9A62C;
  --lore-label: #FFD98A;
  --lore-body: #DCE2FF;

  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-mono: "DM Mono", "SFMono-Regular", ui-monospace, monospace;

  --container: 1440px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------- */
/* Nav                                 */
/* ---------------------------------- */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  pointer-events: none;
  padding: 22px clamp(20px, 4vw, 56px);
}
.nav > * { pointer-events: auto; }
body { position: relative; }

.nav-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(36, 22, 6, 0.18));
}

.nav-mark-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 29px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--cobalt); }

.pill-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cobalt);
  color: var(--white);
  border-radius: 999px;
  padding: 13px 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(40, 70, 232, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pill-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(40, 70, 232, 0.36);
}

/* ---------------------------------- */
/* Hero                                */
/* ---------------------------------- */

.hero {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 108px 24px 96px;
  overflow: visible;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-media {
  width: min(600px, 78vw);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* no drop-shadow: the video is an opaque white square, a shadow outlines the square */
}

.hero-fallback-poster { display: none; }

.wordmark-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding-top: 2px;
  text-align: center;
}

.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 3.3rem + 7.2vw, 9.875rem);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}

.one-liner {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(17px, 14px + 1vw, 26px);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 46ch;
}

.ca-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 686px;
  gap: 12px;
  padding-top: 38px;
}

.ca-pill {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
  background: var(--cream);
  border: 1.5px solid var(--cobalt);
  border-radius: 22px;
  box-shadow: 0 10px 24px var(--cobalt-shadow);
  padding: 12px 12px 12px 20px;
}

.ca-line {
  display: contents;
}

.ca-label {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cobalt);
}

.ca-value {
  flex-grow: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.01em;
  line-height: 24px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cobalt);
  color: var(--white);
  border-radius: 14px;
  padding: 12px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.copy-btn:hover { transform: translateY(-2px); }
.copy-btn svg { flex-shrink: 0; }

.verify-line {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-mute);
  text-align: center;
  max-width: 60ch;
}

.buy-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 12px;
  padding-top: 26px;
}

.buy-row-secondary {
  display: contents;
}

.pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cobalt);
  color: var(--white);
  border-radius: 999px;
  padding: 17px 34px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px rgba(40, 70, 232, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pill-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(40, 70, 232, 0.4);
}

.pill-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--cobalt);
  border-radius: 999px;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  box-shadow: 0 8px 18px rgba(36, 22, 6, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pill-secondary:hover { transform: translateY(-3px); }

.pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  background: var(--white);
  border: 1.5px solid var(--cobalt);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(36, 22, 6, 0.12);
  transition: transform 0.2s ease;
}

.pill-icon:hover { transform: translateY(-3px); }
.pill-icon svg { width: 20px; height: 20px; }

/* Sticker field */

.hero-stickers {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  aspect-ratio: 1440 / 1131;
  pointer-events: none;
}

.sticker {
  position: absolute;
  transform: rotate(var(--base-rot, 0deg));
  animation-name: drift;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: var(--dur, 8s);
  animation-delay: var(--delay, 0s);
}

.sticker img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: auto;
  filter: drop-shadow(0 10px 24px rgba(36, 22, 6, 0.16));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.sticker:hover img {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 18px 30px rgba(36, 22, 6, 0.24));
}

@keyframes drift {
  0% { transform: rotate(var(--base-rot, 0deg)) translateY(0); }
  100% { transform: rotate(calc(var(--base-rot, 0deg) + var(--wobble, 2deg))) translateY(var(--drift, -12px)); }
}

.st-bacc-oval { left: 4.31%; top: 21.93%; width: 14.24%; --base-rot: -9deg; }
.st-puff-1 { left: 17.92%; top: 14.85%; width: 6.94%; --base-rot: -12deg; }
.st-go-up { left: 12.22%; top: 38.2%; width: 12.36%; --base-rot: 8deg; }
.st-coin-left { left: 3.61%; top: 45.27%; width: 8.19%; --base-rot: -16deg; }
.st-gus-head { left: 10.28%; top: 61.01%; width: 10.07%; --base-rot: 6deg; }
.st-since-2026 { left: 3.06%; top: 77.81%; width: 8.89%; --base-rot: -8deg; }
.st-all-of-them { right: 16.53%; top: 10.79%; width: 13.61%; --base-rot: -7deg; }
.st-blast-all { right: 3.61%; top: 22.28%; width: 18.19%; --base-rot: 8deg; }
.st-coin-right { right: 18.61%; top: 35.72%; width: 8.61%; --base-rot: 14deg; }
.st-cat-season { right: 4.58%; top: 45.98%; width: 12.08%; --base-rot: -6deg; }
.st-puff-2 { right: 20.56%; top: 57.29%; width: 6.67%; --base-rot: -12deg; }
.st-blower { right: 10.28%; top: 65.61%; width: 7.5%; --base-rot: 20deg; }
.st-coin-rise-left { left: 20.83%; top: 0.88%; width: 7.78%; --base-rot: 26deg; }
.st-coin-rise-right { right: 22.92%; top: 1.59%; width: 6.81%; --base-rot: -22deg; }

/* ---------------------------------- */
/* Cards                               */
/* ---------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 282px));
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding: 0 24px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--cream);
  border: 1.5px solid var(--cobalt);
  border-radius: 28px;
  box-shadow: 0 10px 24px rgba(36, 22, 6, 0.12);
  padding: 30px 26px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(36, 22, 6, 0.18);
}

.card-icon {
  display: flex;
  align-items: flex-end;
  height: 96px;
}

.card-icon img {
  max-height: 106px;
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(36, 22, 6, 0.18));
}

.card h3 {
  margin: 0;
  padding: 26px 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 28px;
}

.card p {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink-soft);
}

/* ---------------------------------- */
/* Lore band                           */
/* ---------------------------------- */

.lore {
  width: 100%;
  padding-top: 112px;
}

.lore-band {
  position: relative;
  width: 100%;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  overflow: clip;
  background-color: var(--cobalt);
  background-image: url("../assets/banner-art.jpg");
  background-size: cover;
  background-position: left center;
  padding: 48px clamp(24px, 7vw, 96px);
  text-align: right;
}

.lore-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lore-label);
}

.lore-line {
  margin: 18px 0 0;
  max-width: 620px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 22px + 1.6vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.26;
  color: var(--white);
}

.lore-sub {
  margin: 18px 0 0;
  max-width: 560px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 19px;
  line-height: 28px;
  color: var(--lore-body);
}

.lore-art {
  display: none;
}

/* ---------------------------------- */
/* Facts                               */
/* ---------------------------------- */

.facts {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 104px 24px 0;
}

.chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  background: var(--cream);
  border: 1.5px solid var(--cobalt);
  border-radius: 999px;
  box-shadow: 0 10px 24px var(--cobalt-shadow);
  padding: 15px 28px;
}

.chip.chip-check {
  align-items: center;
  background: var(--white);
  gap: 10px;
  padding: 15px 26px;
}

.chip:nth-child(1) { transform: rotate(-2deg); }
.chip:nth-child(2) { transform: rotate(1.5deg); }
.chip:nth-child(3) { transform: rotate(-1.5deg); }
.chip:nth-child(4) { transform: rotate(-1deg); }

.chip-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
}

.chip-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  color: var(--ink-soft);
}

.fine-print {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding-top: 54px;
  text-align: center;
}

.fine-print h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 34px;
}

.disclaimer {
  margin: 0;
  max-width: 720px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-mute-2);
}

/* ---------------------------------- */
/* Footer                              */
/* ---------------------------------- */

.footer {
  width: 100%;
  padding-top: 118px;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 clamp(24px, 6.5vw, 96px);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(36, 22, 6, 0.18));
}

.footer-mark span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
}

.footer-left p {
  margin: 0;
  max-width: 440px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.footer-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--cobalt); }

.footer-follow {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.footer-follow-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-align: right;
}

.watermark-clip {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 184px;
  overflow: clip;
  padding-top: 74px;
}

.watermark {
  margin: 0;
  flex-shrink: 0;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 142px;
  letter-spacing: -0.02em;
  line-height: 150px;
  color: var(--gold-watermark);
  opacity: 0.22;
  white-space: nowrap;
}

.wm-break { display: none; }

/* ---------------------------------- */
/* Reduced motion                      */
/* ---------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .sticker { animation: none !important; }
  .sticker img,
  .card,
  .pill-primary,
  .pill-secondary,
  .pill-icon,
  .copy-btn,
  .pill-buy {
    transition: none !important;
  }
}

/* ---------------------------------- */
/* Tablet middle                       */
/* ---------------------------------- */

@media (max-width: 1023px) {
  .nav { padding: 18px 32px; }
  .nav-links { gap: 24px; }
  .nav-mark-name { font-size: 24px; }

  .hero { padding-bottom: 72px; }
  .hero-media { width: min(440px, 60vw); }

  .lore-band { align-items: center; text-align: center; padding-inline: 48px; }
  .lore-line, .lore-sub { max-width: 560px; }

  .footer-row { justify-content: center; text-align: center; }
  .footer-left { align-items: center; max-width: 100%; }
  .footer-left p { max-width: 480px; }
  .footer-links { align-items: center; }
  .footer-follow { align-items: center; }

  .watermark { font-size: 96px; line-height: 104px; }
  .watermark-clip { height: 130px; padding-top: 50px; }
}

/* ---------------------------------- */
/* Mobile (artboard 7S-0)              */
/* ---------------------------------- */

@media (max-width: 640px) {
  .nav { padding: 10px 20px 6px; }
  .nav-links { display: none; }
  .nav-mark img { width: 36px; height: 36px; }
  .nav-mark-name { font-size: 23px; }
  .pill-buy { padding: 11px 24px; font-size: 15px; }

  .hero { padding: 100px 16px 64px;  }
  .hero-media { width: 324px; max-width: 84vw; }
  .wordmark-block { padding-inline: 24px; gap: 8px; }
  .wordmark { font-size: 82px; line-height: 84px; }
  .one-liner { font-size: 17px; line-height: 26px; }

  .ca-block { padding-top: 26px; padding-inline: 24px; gap: 10px; }
  .ca-pill {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
  }
  .ca-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 2px 0 6px;
  }
  .ca-value { font-size: 14px; line-height: 20px; white-space: normal; text-overflow: clip; }
  .copy-btn { width: 100%; justify-content: center; padding: 13px 20px; }
  .verify-line { font-size: 13px; line-height: 19px; }

  .buy-row { flex-direction: column; padding-top: 22px; padding-inline: 24px; gap: 10px; }
  .pill-primary { width: 100%; padding: 16px; }
  .buy-row-secondary {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
  }
  .pill-secondary { flex-grow: 1; padding: 13px 12px; font-size: 15px; }
  .pill-icon { width: 48px; height: 48px; }

  .hero-stickers { aspect-ratio: 390 / 792; top: 92px; }
  .st-since-2026, .st-gus-head, .st-cat-season, .st-puff-2, .st-blower, .st-blast-all { display: none; }

  .st-bacc-oval { left: 1.54%; top: 2.27%; width: 16.92%; --base-rot: -16deg; right: auto; }
  .st-puff-1 { left: 20%; top: 9.34%; width: 13.85%; --base-rot: -12deg; right: auto; }
  .st-coin-left { left: -6.67%; top: 18.94%; width: 30.26%; --base-rot: -10deg; right: auto; }
  .st-all-of-them { right: 1.54%; top: 3.28%; width: 28.72%; --base-rot: -7deg; left: auto; }
  .st-blast-all { right: -15%; top: 30%; width: 38.97%; --base-rot: 9deg; left: auto; }
  .st-coin-right { right: 2.05%; top: 31.06%; width: 17.95%; --base-rot: 14deg; left: auto; }
  .st-go-up { left: 1.03%; top: 36.11%; width: 25.64%; --base-rot: 8deg; right: auto; }

  .cards { padding: 0 24px; gap: 12px; grid-template-columns: 1fr; }
  .card { flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 24px; }
  .card-icon { flex-shrink: 0; width: 76px; height: 76px; align-items: center; justify-content: center; }
  .card-icon img { max-height: 74px; }
  .card h3 { padding: 0; font-size: 19px; line-height: 24px; }
  .card-body { display: flex; flex-direction: column; gap: 4px; }
  .card p { font-size: 15px; line-height: 22px; }

  .lore { padding-top: 44px; }
  .lore-band {
    background-image: none;
    background-color: var(--cobalt);
    align-items: flex-start;
    text-align: left;
    padding: 44px 24px 0;
    min-height: 0;
  }
  .lore-label { font-size: 12px; }
  .lore-line { font-size: 31px; line-height: 40px; margin-top: 14px; max-width: 100%; }
  .lore-sub { font-size: 16px; line-height: 24px; margin-top: 14px; max-width: 100%; }
  .lore-art {
    display: block;
    align-self: center;
    width: 300px;
    max-width: 78vw;
    margin: 8px 0 0;
    filter: drop-shadow(0 18px 28px rgba(10, 20, 80, 0.35));
  }

  .facts { padding: 52px 24px 0; }
  .chips { gap: 10px; }
  .chip { padding: 12px 20px; }
  .chip.chip-check { padding: 12px 18px; }
  .chip-num { font-size: 19px; line-height: 24px; }
  .chip-label { font-size: 14px; line-height: 20px; }
  .fine-print { padding-top: 36px; gap: 10px; }
  .fine-print h2 { font-size: 21px; line-height: 28px; }
  .disclaimer { font-size: 13px; line-height: 20px; }

  .footer { padding-top: 56px; }
  .footer-row { padding: 0 24px; justify-content: space-between; text-align: left; }
  .footer-left { align-items: flex-start; gap: 14px; }
  .footer-mark img { width: 38px; height: 38px; }
  .footer-mark span { font-size: 24px; }
  .footer-left p { font-size: 15px; line-height: 24px; max-width: 100%; }
  .footer-links { display: none; }
  .footer-follow { align-items: center; }
  .footer-follow-title { display: none; }

  .watermark-clip { height: 150px; padding-top: 44px; }
  .watermark { font-size: 56px; line-height: 62px; text-align: center; white-space: normal; }
  .wm-break { display: inline; }
}

/* hero video: white field multiplies to nothing on the white page, stickers behind stay visible */
.hero-video { mix-blend-mode: multiply; background: #fff; }

/* layering: video (0) under the sticker field (1), text and CA above both (2), so the
   opaque white video square never hides a sticker and multiply can see the page */
.hero-media { position: relative; z-index: 0; }
.hero-content > :not(.hero-media) { position: relative; z-index: 2; }
