/* iBET Packs, ibetpacks.com. One dark look on purpose: the app's ink ground, violet as the accent, gold for money
   and value. Section labels are the logo's slanted gold tag. Layout: a single 1120px column; the hero splits into
   copy and a fan of real packs, and every grid stacks under 760px. */
:root {
  --ink: #0c0e2c;
  --ink-2: #14173d;
  --ink-3: #1d2154;
  --line: #2b2f66;
  --text: #ecebf7;
  --muted: #a9a8c9;
  --violet: #8b5cf6;
  --violet-soft: #b9a3ff;
  --gold: #f5b83a;
  --gold-deep: #d99a1e;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-soft); }
a:focus-visible, .btn:focus-visible, .store:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 12px; font-weight: 700; z-index: 20; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(12, 14, 44, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 28px; padding-block: 12px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.brand img { height: 34px; width: auto; }
.menu { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.menu a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.menu a:hover { color: var(--text); }
.head-cta { white-space: nowrap; }
@media (max-width: 980px) { .menu { display: none; } .head-cta { margin-left: auto; } }
@media (max-width: 420px) { .brand img { height: 26px; } .head-cta { padding: 8px 14px; font-size: 14px; } }

/* buttons and the store badges */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 15px var(--body); text-decoration: none; padding: 10px 18px; border-radius: 8px; }
.btn-gold { background: linear-gradient(90deg, var(--violet), var(--gold)); color: #fff; text-shadow: 0 1px 1px rgba(12, 14, 44, .35); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-width: 190px; padding: 10px 18px; border-radius: 10px; background: #000; color: #fff; border: 1px solid #3a3d6b; text-decoration: none; line-height: 1.15; font-weight: 700; font-size: 19px; }
.store small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .02em; color: #cfd0e6; }
.store svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store.is-soon { opacity: .72; cursor: default; }

/* section label: the logo's slanted gold tag */
.tag { display: inline-block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 3px 20px 2px 14px; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: .01em; }
h1 { font-style: italic; font-weight: 800; font-size: clamp(44px, 7vw, 82px); }
h2 { font-size: clamp(32px, 4.4vw, 48px); }
h3 { font-size: 24px; }
p { margin: 0; }
.lead { font-size: 20px; color: var(--muted); max-width: 58ch; }
.gold { color: var(--gold); }

/* sections */
.sec { padding-block: 84px; border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-bottom: 40px; max-width: 760px; }

/* hero */
.hero { padding-block: 72px 88px; background: radial-gradient(60% 70% at 78% 45%, rgba(139, 92, 246, .32), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; min-width: 0; }
.hero-note { font-size: 14px; color: var(--muted); }
.fan { position: relative; height: 470px; min-width: 0; }
.fan img { position: absolute; top: 40px; width: 250px; border-radius: 6px; box-shadow: 0 26px 50px rgba(0, 0, 0, .55); transition: transform .35s ease; }
.fan img:nth-child(1) { left: 6%; transform: rotate(-11deg); }
.fan img:nth-child(2) { left: 30%; top: 8px; z-index: 2; transform: rotate(0deg); }
.fan img:nth-child(3) { left: 54%; transform: rotate(11deg); }
.fan:hover img:nth-child(2) { transform: translateY(-14px); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .fan { height: 330px; }
  .fan img { width: 180px; }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; counter-increment: s; min-width: 0; }
.steps li::before { content: counter(s); font-family: var(--display); font-style: italic; font-weight: 800; font-size: 44px; line-height: 1; color: var(--gold); }
.steps p { color: var(--muted); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.choice span { background: var(--ink-3); border-radius: 8px; padding: 10px 12px; font-size: 15px; }
.choice b { display: block; color: var(--text); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* the four packs */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.tier img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.tier div { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.tier .price { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 34px; color: var(--gold); line-height: 1; }
.tier .range { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .tiers { grid-template-columns: repeat(2, 1fr); } }

/* tables */
.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--ink-2); margin-top: 28px; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 16px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
td.band { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 19px; letter-spacing: .03em; }
td.pct { color: var(--gold); font-weight: 700; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 80ch; }

/* bands of colour */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.panel p { color: var(--muted); }
.panel.free { background: linear-gradient(135deg, rgba(139, 92, 246, .28), rgba(245, 184, 58, .14)); border-color: #4a3f8f; }
.big { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 64px; line-height: .9; color: var(--gold); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.points div { border-top: 3px solid var(--violet); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.points p { color: var(--muted); }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }

.get { text-align: center; padding-block: 90px; background: radial-gradient(50% 80% at 50% 100%, rgba(139, 92, 246, .3), transparent 70%); border-top: 1px solid var(--line); }
.get .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.get img.icon { width: 112px; border-radius: 26px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }

/* inner pages */
.page-head { padding-block: 64px 28px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.prose { padding-block: 10px 80px; }
.prose .wrap { max-width: 820px; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: 30px; margin-top: 18px; }
.prose p, .prose li { color: var(--muted); }
.prose ol, .prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--text); }
.faq details p { margin-top: 10px; }
.mail { font-weight: 700; color: var(--text); user-select: all; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 44px 36px; background: #090a22; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.foot-brand img { height: 28px; width: auto; align-self: flex-start; object-fit: contain; }
.foot-brand p, .foot-small p { color: var(--muted); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.foot-small { margin-top: 28px; display: flex; flex-direction: column; gap: 6px; }

/* phone and tablet menu: a disclosure under 980px, where the bar has no room for the links */
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.mnav[open] summary { border-color: var(--violet); }
.mnav nav { position: absolute; right: 0; top: 52px; min-width: 220px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.mnav nav a { color: var(--text); text-decoration: none; font-weight: 600; padding: 12px 14px; border-radius: 8px; }
.mnav nav a:hover { background: var(--ink-3); }
@media (max-width: 980px) { .mnav { display: block; } }

/* tap targets the phone checks ask for */
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.btn { min-height: 44px; }
.btn-line { border: 1px solid var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--violet); }

/* breadcrumb, jump links, row heads */
.crumbs { padding-block: 18px 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-block; padding-block: 10px; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); display: inline-block; padding-block: 10px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; }
.jump a span { color: var(--gold); font-variant-numeric: tabular-nums; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.row-head .sec-head { margin-bottom: 0; }
.row-title { margin-bottom: 24px; }
.more { color: var(--violet-soft); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.more::after { content: "\2192"; margin-left: 6px; }
.cat-block { padding-block: 56px; }
.cat-list { padding-block: 10px 80px; }
.cat-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.cat-links a { color: var(--violet-soft); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* set tiles and card tiles */
.set-grid, .card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.set-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.card-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.set-tile, .card-tile { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 12px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s ease, transform .2s ease; min-width: 0; }
.set-tile:hover, .card-tile:hover { border-color: var(--violet); transform: translateY(-3px); }
.set-art, .card-art { display: flex; align-items: center; justify-content: center; aspect-ratio: 5 / 7; border-radius: 8px; background: var(--ink-3); overflow: hidden; margin-bottom: 4px; }
/* The card supplier serves every sports card squeezed into 705x1200; stretched back to 5:7 it is a card again,
   which is how the app draws them too. Pokemon scans are 5:7 already. */
.set-art img, .card-art img { width: 100%; height: 100%; object-fit: fill; }
.tile-val { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.1; color: var(--gold); }
.set-top { font-size: 14px; font-weight: 700; color: var(--gold); }
.set-top b { font-family: var(--display); font-size: 17px; }
.set-name, .card-name { font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.set-count, .card-meta { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.chip { align-self: flex-start; margin-top: auto; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--gold); padding: 3px 10px; border-radius: 999px; }
.rc { font-size: 11px; color: var(--ink); background: var(--violet-soft); padding: 1px 6px; border-radius: 4px; vertical-align: 2px; }
@media (max-width: 420px) { .set-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .set-tile, .card-tile { padding: 10px; } }

/* one card */
.card-page { padding-block: 26px 70px; }
.card-layout { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 44px; align-items: start; }
.card-figure img { width: 100%; height: auto; aspect-ratio: 5 / 7; object-fit: fill; border-radius: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); }
.card-value { display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--gold-deep); }
.card-value small { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card-value b { font-family: var(--display); font-size: clamp(38px, 5vw, 56px); line-height: 1; color: var(--gold); }
.card-value span { font-size: 14px; color: var(--muted); }
.top-strip { padding-block: 10px 30px; }
.top-strip .card-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.card-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; min-width: 0; }
.card-copy h1 { font-size: clamp(32px, 4.6vw, 52px); }
.card-copy h2 { font-size: 28px; margin-top: 10px; }
.card-copy > p { color: var(--muted); max-width: 62ch; }
.card-copy .table { margin-top: 0; width: 100%; }
.card-copy table { min-width: 520px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; width: 100%; }
.facts div { border-top: 1px solid var(--line); padding-top: 8px; min-width: 0; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 860px) { .card-layout { grid-template-columns: 1fr; gap: 28px; } .card-figure { max-width: 360px; margin: 0 auto; } }

/* phone fit: the logo link is a full tap target, the breadcrumb stays compact, the card picture leaves room for its name */
.brand { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 860px) {
  .crumbs a, .crumbs [aria-current] { padding-block: 6px; }
  .card-figure { max-width: 240px; }
}
