:root {
  --page-bg: #8F8F8F;
  --cream: #f7f2e6;
  --cream-strong: #fff8e6;
  --ink: #151818;
  --ink-soft: #2c3030;
  --gold: #fbce13;
  --gold-dark: #d5aa00;
  --white: #ffffff;
  --line: rgba(21, 24, 24, 0.22);
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background: var(--page-bg);
  font-family: Arial, Helvetica, sans-serif;
}

body.home-page {
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
}

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

a {
  color: inherit;
}

.page-shell {
  width: min(var(--max-width), calc(100% - 28px));
  margin: 0 auto;
}

.home-page .page-shell {
  min-height: 100svh;
  height: auto;
  padding: clamp(10px, 1.6vw, 20px) 0 clamp(22px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.4vw, 16px);
}

.standard-page-shell {
  padding: 18px 0 34px;
}

.site-header {
  position: relative;
  width: 100%;
  padding: clamp(6px, 1.1vw, 12px) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-page .site-header {
  flex: 0 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 24px);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  text-decoration: none;
}

.brand-logo {
  width: clamp(82px, 10vw, 124px);
  height: clamp(62px, 8vw, 96px);
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-name-logo {
  width: min(66vw, 720px);
  height: clamp(70px, 10.5vw, 150px);
  object-fit: contain;
  object-position: center center;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  flex: 0 0 auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.home-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.3vw, 16px);
}

.action-grid {
  flex: 0 0 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, clamp(150px, 20.5vw, 255px)));
  gap: clamp(10px, 1.6vw, 22px);
  align-items: stretch;
  justify-content: center;
}

.action-card,
.panel,
.joe-copy,
.contact-strip {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.action-card {
  min-width: 0;
  min-height: 0;
  width: 100%;
  padding: clamp(10px, 1.8vw, 22px);
  display: grid;
  grid-template-rows:
    clamp(46px, 6vw, 76px)
    minmax(clamp(2.2rem, 3.3vw, 3.6rem), auto)
    minmax(clamp(3.1rem, 5vw, 4.8rem), 1fr)
    auto;
  gap: clamp(6px, 0.9vw, 10px);
  align-items: center;
  aspect-ratio: 1 / 1.18;
  overflow: visible;
  text-align: center;
}

.action-card h1,
.action-card h2,
.action-card p,
.joe-copy p,
.contact-strip p,
.panel h1,
.panel h2,
.panel p {
  margin-top: 0;
}

.action-card h1,
.action-card h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1rem, 2.1vw, 1.75rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.action-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(0.72rem, 1.05vw, 0.92rem);
  line-height: 1.25;
}

.card-mark {
  min-height: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ebay-wordmark {
  gap: 0.01em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.8rem, 5.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.82;
}

.ebay-wordmark span:nth-child(1) { color: #e53238; }
.ebay-wordmark span:nth-child(2) { color: #0064d2; }
.ebay-wordmark span:nth-child(3) { color: #f5af02; }
.ebay-wordmark span:nth-child(4) { color: #86b817; }

.tcg-wordmark {
  color: #1c6fb8;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 3.1vw, 2.15rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.tcg-wordmark span {
  color: #f58220;
}

.tcg-logo-mark {
  min-height: 0;
}

.tcgplayer-logo {
  width: min(100%, 190px);
  max-height: clamp(42px, 6vw, 72px);
  object-fit: contain;
  margin: 0 auto;
}

.collection-mark {
  color: var(--gold);
  background: transparent;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(1.1rem, 2.9vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.12em;
}

.tiktok-logo-mark {
  min-height: 0;
}

.tiktok-logo {
  width: min(100%, 170px);
  max-height: clamp(34px, 5.4vw, 66px);
  object-fit: contain;
  margin: 0 auto;
}

.action-card .button {
  align-self: end;
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(36px, 4.5vw, 48px);
  padding: 0.62em 1em;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-size: clamp(0.78rem, 1.25vw, 0.92rem);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.18);
}

.button.dark {
  color: var(--white);
  background: var(--ink);
}

.button.gold {
  color: var(--ink);
  background: var(--gold);
}

.full-width {
  width: 100%;
}

.joe-copy {
  flex: 0 0 auto;
  min-height: clamp(36px, 5vw, 64px);
  padding: clamp(8px, 1.2vw, 14px) clamp(12px, 2vw, 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.joe-copy p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(0.76rem, 1.25vw, 0.98rem);
  line-height: 1.25;
}

.contact-strip {
  flex: 0 0 auto;
  padding: clamp(8px, 1.2vw, 14px) clamp(12px, 2vw, 22px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.contact-line {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(0.82rem, 1.3vw, 1rem);
}

.contact-line a {
  color: var(--ink);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.social-links a {
  padding: 6px 10px;
  color: var(--ink);
  background: transparent;
  border-radius: 0;
  font-size: clamp(0.72rem, 1.1vw, 0.88rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.standard-main {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.panel {
  padding: clamp(22px, 4vw, 46px);
}

.hero-panel {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel h1 {
  max-width: 900px;
  margin-bottom: 14px;
  color: var(--ink);
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(2.1rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.lead,
.panel p,
.panel li {
  max-width: 850px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.55;
}

.panel h2 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1.35rem, 2.7vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.content-panel h2:first-child {
  margin-top: 0;
}

.callout {
  margin-top: 26px;
  padding: clamp(18px, 3vw, 28px);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.callout .button {
  width: auto;
}


@media (max-width: 980px) and (min-width: 821px) {
  .action-grid {
    grid-template-columns: repeat(2, minmax(0, clamp(210px, 38vw, 285px)));
  }

  .action-card {
    aspect-ratio: 1.4 / 1;
    grid-template-rows:
      58px
      minmax(2.4rem, auto)
      minmax(3.2rem, 1fr)
      auto;
  }
}

@media (max-width: 820px) {
  .home-page .page-shell {
    width: min(100% - 18px, var(--max-width));
    gap: 8px;
    padding: 8px 0;
  }

  .brand-logo {
    width: clamp(62px, 18vw, 84px);
    height: clamp(48px, 14vw, 66px);
  }

  .brand-name-logo {
    width: min(72vw, 560px);
    height: clamp(52px, 17vw, 86px);
  }

  .action-grid {
    flex: 0 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .action-card {
    border-radius: 0;
    padding: 9px;
    gap: 5px;
    aspect-ratio: auto;
    min-height: clamp(178px, 27svh, 220px);
    grid-template-rows:
      34px
      minmax(2rem, auto)
      minmax(2.8rem, 1fr)
      auto;
  }

  .card-mark {
    min-height: 0;
  }

  .tcgplayer-logo {
    width: min(100%, 140px);
    max-height: 34px;
  }

  .tiktok-logo {
    width: min(100%, 128px);
    max-height: 34px;
  }

  .action-card h1,
  .action-card h2 {
    font-size: clamp(0.92rem, 4.8vw, 1.28rem);
  }

  .action-card p {
    font-size: clamp(0.66rem, 3vw, 0.78rem);
  }

  .button {
    min-height: 32px;
    padding: 0.45em 0.7em;
    font-size: clamp(0.66rem, 3vw, 0.78rem);
  }

  .joe-copy,
  .contact-strip {
    border-radius: 0;
    padding: 7px 9px;
  }

  .joe-copy p {
    font-size: clamp(0.62rem, 2.7vw, 0.76rem);
  }

  .contact-strip {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .social-links {
    justify-content: center;
    gap: 5px;
  }

  .social-links a {
    padding: 5px 7px;
    font-size: clamp(0.6rem, 2.55vw, 0.72rem);
  }

  .standard-page-shell {
    width: min(100% - 20px, var(--max-width));
    padding-top: 10px;
  }

  .standard-page-shell .site-header {
    align-items: center;
    flex-direction: column;
  }

  .site-nav {
    position: static;
    transform: none;
    width: 100%;
  }

  .site-nav a {
    width: 100%;
  }
}

@media (max-height: 720px) and (min-width: 821px) {
  .brand-logo {
    width: 92px;
    height: 70px;
  }

  .brand-name-logo {
    height: clamp(60px, 8.8vw, 116px);
  }

  .action-card {
    padding: 12px;
    gap: 6px;
    grid-template-rows:
      50px
      minmax(2.1rem, auto)
      minmax(2.7rem, 1fr)
      auto;
  }

  .joe-copy,
  .contact-strip {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (max-width: 520px), (max-height: 640px) and (max-width: 820px) {
  body.home-page {
    height: auto;
    min-height: 100svh;
    overflow-y: auto;
  }

  .home-page .page-shell {
    height: auto;
    min-height: 100svh;
    padding-bottom: 28px;
  }

  .brand-logo {
    width: 54px;
    height: 42px;
  }

  .brand-name-logo {
    width: min(70vw, 360px);
    height: 48px;
  }

  .action-card {
    min-height: 186px;
    grid-template-rows:
      30px
      minmax(1.7rem, auto)
      minmax(2.5rem, 1fr)
      auto;
  }

  .action-card p {
    display: block;
    font-size: 0.62rem;
    line-height: 1.12;
  }

  .tcgplayer-logo {
    max-height: 30px;
  }

  .tiktok-logo {
    max-height: 28px;
  }

  .joe-copy p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.future-copy {
  min-height: 1em;
}


.legal-footer {
  flex: 0 0 auto;
  margin-top: clamp(10px, 1.6vw, 20px);
  padding: clamp(8px, 1.2vw, 14px) clamp(12px, 2vw, 22px) 0;
  color: var(--ink);
  text-align: center;
  font-size: clamp(0.62rem, 1vw, 0.82rem);
  line-height: 1.35;
}

.legal-footer p {
  margin: 0 0 4px;
}

.legal-footer p:first-child {
  font-weight: 900;
}

.home-page .legal-footer {
  margin-top: 0;
}

@media (max-width: 820px) {
  .legal-footer {
    padding: 6px 9px 0;
    font-size: clamp(0.56rem, 2.35vw, 0.68rem);
  }
}
