/* The Holo Zone TCG — Home (Figma: Home — TCG Marketplace, node 9:60) */
:root {
  --color-bg-base: #0b0d12;
  --color-bg-surface: #141821;
  --color-bg-input: #141821;
  --color-bg-elevated: #1e2330;
  --color-border-default: #2a3142;
  --color-border-strong: #4a5266;
  --color-text-primary: #f2f4f8;
  --color-text-secondary: #9aa3b5;
  --color-text-on-condition: #0b0d12;
  --color-condition-nm: #3fd68a;
  --color-condition-mp: #f5c542;
  --blue-400: #13aaea;
  --blue-700: #093048;
  --holo-cyan: #3fe0d0;
  --holo-violet: #a86bff;
  --holo-lime: #c8ff6b;
  --holo-pink: #ff6bc8;
  --pink-600: #ea188b;
  --holo-gradient: linear-gradient(90deg, #3fe0d0 0%, #5b8cff 30%, #a86bff 55%, #ff6bc8 80%, #c8ff6b 100%);
  --font-display: 'Anton', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--color-bg-base); }
body { font-family: var(--font-body); color: var(--color-text-primary); -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; border: 0; background: none; }
button { cursor: pointer; }

/* Dotted background pattern (Figma: hex pattern of 2px #9AA3B5 dots, 20%) */
.dots {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(154,163,181,.2) 1px, transparent 1.1px),
    radial-gradient(circle at 1px 1px, rgba(154,163,181,.2) 1px, transparent 1.1px);
  background-size: 10px 8.66px;
  background-position: 0 0, 5px 4.33px;
}

/* ---------- Page frame ---------- */
.page {
  position: relative;
  width: 1440px;
  min-height: 4901px;
  margin: 0 auto;
  overflow: hidden;
  background-color: rgba(11,13,18,.35);
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(180px); }
.glow--teal { left: -294px; top: -285px; width: 619px; height: 619px; background: radial-gradient(circle, #3fe0d0 38%, #0b0d12 100%); }
.glow--lime { left: 1173px; top: -148px; width: 369px; height: 369px; background: radial-gradient(circle, #c8ff6b 28%, #0b0d12 100%); }
.glow--purple { left: 1401px; top: 416px; width: 817px; height: 511px; background: linear-gradient(130deg, #ff6bc8 0%, #0b0d12 100%); }

.container { position: relative; width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; z-index: 10; top: 15px; left: 120px; width: 1200px; height: 43px;
  display: flex; align-items: center; gap: 24px; padding: 4px 12px;
  background: rgba(20,24,33,.75); border-radius: 12px;
}
.brand { width: 66px; }
.brand img { width: 35px; height: 35px; }
.nav { flex: 1; display: flex; align-items: center; gap: 24px; font-size: 12px; line-height: 14px; white-space: nowrap; }
.nav a:hover { color: var(--holo-cyan); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; font-weight: 500; text-transform: capitalize; white-space: nowrap; line-height: normal; }
.btn--sm { padding: 8px 22px; font-size: 11px; }
.btn--md { padding: 12px 32px; font-size: 14px; }
.btn--primary { background: var(--blue-400); color: var(--blue-700); }
.btn--outline { background: rgba(19,170,234,.2); border: 1px solid var(--blue-400); color: var(--blue-400); }
.btn--ghost { color: var(--blue-400); }
.btn--primary:hover { filter: brightness(1.08); }
.btn img { width: 16px; height: 16px; }

/* ---------- Shared type ---------- */
.eyebrow { font-family: var(--font-display); font-size: 24px; line-height: 28px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--holo-cyan); }
.h2 { font-family: var(--font-display); font-size: 64px; line-height: 68px; text-transform: uppercase; }
.holo-text { background: var(--holo-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.body-l { font-size: 18px; line-height: 24px; }
.body-xl { font-size: 22px; line-height: 28px; }

/* ---------- Search field ---------- */
.search {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px; overflow: hidden;
  background: var(--color-bg-input); border: 1px solid var(--color-border-default); border-radius: 8px;
}
.search > img { width: 16px; height: 16px; flex: none; }
.search input { flex: 1; min-width: 0; outline: 0; font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .06px; color: var(--color-text-primary); }
.search input::placeholder { color: var(--color-border-strong); }

/* ---------- Hero ---------- */
.hero { display: flex; gap: 24px; align-items: flex-start; height: 685px; padding: 150px 0 60px; }
.hero__content { width: 587px; padding-left: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.status-badge { display: flex; align-items: center; gap: 10px; padding: 4px 12px; background: var(--color-bg-surface); border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--color-text-secondary); white-space: nowrap; }
.status-badge img { width: 10px; height: 10px; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: 96px; line-height: 96px; text-transform: uppercase; width: 100%; }
.hero h1 span { display: block; }
.hero__lead { width: 485px; }
.hero .search { width: 485px; }
.hero__actions { display: flex; gap: 12px; width: 485px; }
.trust { display: flex; align-items: center; gap: 8px; }
.trust__item { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--color-text-secondary); white-space: nowrap; }
.trust__item img { width: 18px; height: 18px; }
.trust__div { width: 1px; height: 20px; }

.hero__art { position: relative; flex: 1; align-self: stretch; }
.hero__fan { position: absolute; left: -21.86px; top: -.12px; width: 632.08px; height: 474.08px; max-width: none; }
.market-value {
  position: absolute; left: 0; top: 364px; width: 260px; height: 111px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px 21px;
  border: 1px solid rgba(242,244,248,.1); border-radius: 18px; isolation: auto;
}
.market-value::before { content: ""; position: absolute; inset: 0; border-radius: 18px; background: #0b0d12; mix-blend-mode: multiply; pointer-events: none; }
.market-value > * { position: relative; }
.market-value__label { font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .06px; color: #9aa3b5; }
.market-value__amount { font-family: var(--font-mono); font-weight: 700; font-size: 24px; line-height: 16px; white-space: nowrap; }
.market-value__row { display: flex; align-items: center; gap: 6px; }
.trend { display: flex; align-items: center; gap: 2px; font-size: 14px; line-height: 20px; color: #3fd68a; white-space: nowrap; }
.trend img { width: 16px; height: 16.25px; }

/* ---------- Condition badges / pills ---------- */
.cond { display: inline-flex; padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .06px; white-space: nowrap; }
.cond--nm { background: var(--color-condition-nm); color: var(--color-text-on-condition); }
.cond--option { background: var(--color-bg-surface); color: var(--color-text-primary); }
.cond--option.is-active { background: var(--color-condition-nm); color: var(--color-text-on-condition); }

/* ---------- Sell section ---------- */
.sell {
  display: flex; gap: 24px; padding: 24px; height: 470px; align-items: flex-start;
  background: rgba(30,35,48,.2); border-radius: 24px;
  -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
}
.sell__content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.sell__content .h2 span { display: block; }
.sell__desc { padding: 6px 0; width: 562px; }
.steps { display: flex; gap: 10px; }
.step { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px 12px; background: var(--color-bg-surface); border-radius: 12px; }
.step__num { flex: none; padding: 1px 9px; background: var(--color-bg-elevated); border-radius: 26.5px; font-family: var(--font-display); font-size: 20px; line-height: 28px; color: var(--holo-lime); }
.step__title { font-size: 14px; font-weight: 600; line-height: 20px; }
.step__text { font-size: 12px; line-height: 14px; }

.calc { width: 580px; flex: none; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--color-bg-elevated); border-radius: 24px; }
.calc__title { font-family: var(--font-display); font-size: 40px; line-height: 44px; text-transform: uppercase; }
.calc .btn { padding: 10px 28px; font-size: 12px; }
.calc .btn img { width: 18px; height: 18px; }
.calc__cond { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; font-size: 12px; line-height: 14px; }
.calc__options { display: flex; gap: 10px; }
.calc__divider { height: 1px; background: var(--color-border-default); }
.payout { display: flex; gap: 10px; align-items: flex-end; padding: 12px 0; }
.payout__box { display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--color-bg-surface); border-radius: 12px; font-size: 12px; line-height: 14px; }
.payout__box strong { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 44px; }
.payout__note { flex: 1; font-size: 12px; line-height: 14px; }

/* ---------- Section heading ---------- */
.section-head { display: flex; flex-direction: column; padding-top: 24px; }
.section-head__row { display: flex; align-items: flex-end; justify-content: space-between; }
.section-head .btn img { width: 20px; height: 20px; }

/* ---------- Product cards ---------- */
.card-row { display: flex; gap: 24px; height: 555px; padding-top: 8px; overflow: hidden; }
.card-row--offset { padding-left: 12px; }
.product-card {
  width: 282px; height: 527px; flex: none;
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px;
  background: var(--color-bg-surface); border: 1px solid var(--color-border-default); border-radius: 16px;
}
.product-card__img { width: 256px; height: 351px; border-radius: 12px; object-fit: cover; }
.product-card__body { width: 100%; display: flex; flex-direction: column; }
.product-card__tags { display: flex; align-items: stretch; gap: 6px; padding: 6px 0; }
.product-card__tags .cond { font-size: 8px; letter-spacing: .04px; filter: drop-shadow(2px 2px 1px rgba(0,0,0,.25)); }
.pill { display: flex; align-items: center; justify-content: center; height: 24px; padding: 2px 9px; border: 1px solid var(--holo-cyan); border-radius: 11px; font-family: var(--font-mono); font-weight: 500; font-size: 8px; line-height: 16px; text-transform: uppercase; white-space: nowrap; }
.pill--lang { width: 54px; color: var(--color-text-secondary); }
.product-card__info { display: flex; flex-direction: column; gap: 12px; padding: 6px 0; }
.product-card__name { padding-top: 6px; font-family: var(--font-mono); font-weight: 800; font-size: 24px; line-height: 16px; text-transform: uppercase; }
.product-card__set { font-family: var(--font-mono); font-size: 10px; color: var(--color-text-secondary); }
.product-card__buy { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.product-card__stock { font-family: var(--font-mono); font-size: 10px; color: var(--color-condition-mp); text-transform: uppercase; }
.product-card__price { display: flex; gap: 5px; margin-top: 3px; font-family: var(--font-mono); font-weight: 700; font-size: 18px; line-height: 16px; white-space: nowrap; }
.icon-btn { display: flex; padding: 8px; background: var(--holo-cyan); border-radius: 8px; }
.icon-btn img { width: 19px; height: 19px; }

/* ---------- Portfolio ---------- */
.portfolio { display: flex; gap: 24px; padding: 24px; height: 517px; background: var(--color-bg-input); border-radius: 24px; }
.dash { width: 564px; flex: none; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--color-bg-elevated); border-radius: 12px; }
.dash__head { display: flex; gap: 10px; align-items: flex-start; }
.dash__value { flex: 1; font-family: var(--font-display); text-transform: uppercase; }
.dash__value p:last-child { font-size: 64px; line-height: 68px; }
.dash__value small { font-size: 28px; line-height: 28px; }
.dash__controls { display: flex; flex-direction: column; gap: 4px; }
.range { display: flex; gap: 8px; padding: 6px; background: var(--color-bg-surface); border-radius: 12px; }
.range button { padding: 6px; border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 20px; color: #fff; }
.range button.is-active { background: var(--color-bg-elevated); color: var(--holo-cyan); }
.growth { position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 6px; border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--holo-cyan); white-space: nowrap; }
.growth::before { content: ""; position: absolute; inset: 0; border-radius: 6px; background: #3fe0d0; mix-blend-mode: overlay; }
.growth > * { position: relative; }
.growth img { width: 18px; height: 11px; margin: 4px 3px; }
.dash__chart { height: 223px; overflow: hidden; }
.dash__chart img { width: 516px; height: 223px; }
.highlights { display: flex; gap: 10px; }
.highlight { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: var(--color-bg-surface); border-radius: 6px; }
.highlight img { width: 40px; height: 56px; border-radius: 2px; object-fit: cover; }
.highlight__txt { width: 93px; height: 68px; display: flex; flex-direction: column; justify-content: center; gap: 2px; font-size: 12px; line-height: 16px; }
.highlight__txt b { font-weight: 500; letter-spacing: .06px; color: #fff; }
.highlight__txt span { font-family: var(--font-mono); color: #3fe0d0; }

.portfolio__intro { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; justify-content: center; align-items: flex-start; }
.portfolio__intro .h2 span { display: block; }
.benefits { width: 100%; display: flex; flex-direction: column; gap: 10px; padding: 12px; background: var(--color-bg-surface); border-radius: 12px; }
.benefits li { list-style: none; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.benefits img { width: 24px; height: 24px; }

/* ---------- Videos ---------- */
.videos { display: flex; gap: 24px; height: 640px; overflow: hidden; }
.video { position: relative; width: 682px; height: 640px; flex: none; border: 1px solid var(--color-border-default); border-radius: 16px; background: var(--color-bg-surface); overflow: hidden; }
.video__img { position: absolute; left: -1px; top: -1px; height: 640.67px; max-width: none; }
.video__img--full { width: 682.67px; }
.video__img--clip { width: 494.67px; }
.video__shade { position: absolute; inset: 0; background-color: rgba(11,13,18,.35); }
.video__play { position: absolute; left: 304px; top: 283px; width: 72px; height: 72px; }
.video__play img { width: 72px; height: 72px; }
.video__caption { position: absolute; left: 20px; right: 23.84px; top: 532.8px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.live-pill { padding: 3px 9px; border-radius: 99px; background: var(--pink-600); font-size: 10px; font-weight: 700; line-height: 16px; letter-spacing: .05px; color: #fff; }
.video__title { font-family: var(--font-display); font-size: 28px; line-height: 28px; color: #f2f4f8; }
.video__desc { font-size: 14px; line-height: 20px; color: #f2f4f8; }

/* ---------- Placeholders ---------- */
.placeholders { display: flex; gap: 24px; height: 260px; padding-top: 24px; }
.placeholders div { width: 282px; height: 212px; background: #d9d9d9; }
