/* Imperium Kart — landing page
   Layout is tuned 1:1 to the 1122px-wide mockup; everything scales down from there. */

:root {
  --bg: #090c14;
  --bg-hero: #0b0f1c;
  --panel: #12172a;
  --lime: #d9f93b;
  --lime-ink: #0b0d12;
  --text: #ffffff;
  --muted: #c3c8d8;
  --dim: #8a90a6;
  --line: rgba(255, 255, 255, .10);
  --font-head: "Sofia Sans Extra Condensed", "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
  --w: 1122px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 50px; position: relative; }

h1, h2 { font-family: var(--font-head); font-weight: 900; line-height: 1; }
h2 { font-size: 44px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 45px; padding: 0 24px; border-radius: 9px;
  font-weight: 600; font-size: 14px; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn .ico { width: 15px; height: 15px; }
.btn-lime {
  background: var(--lime); color: var(--lime-ink);
  box-shadow: 0 12px 30px -14px rgba(217, 249, 59, .75);
}
.btn-lime:hover { transform: translateY(-1px); background: #e4ff5a; }
.btn-ghost {
  background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.btn-sm { height: 33px; padding: 0 18px; font-size: 13px; border-radius: 8px; }

/* ---------- header ---------- */
.site-header { height: 55px; display: flex; align-items: center; background: var(--bg-hero); position: relative; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; gap: 44px; width: 100%; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 17px; letter-spacing: 1px; text-transform: uppercase;
}
.brand svg { width: 26px; height: 26px; flex-shrink: 0; }
.brand span { white-space: nowrap; }
.nav { display: flex; gap: 32px; font-size: 14px; color: #e8eaf2; }
.nav a:hover { color: var(--lime); }
.site-header .btn { margin-left: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 460px; overflow: hidden;
  background:
    radial-gradient(60% 80% at 62% 40%, rgba(70, 90, 200, .28), transparent 60%),
    radial-gradient(40% 60% at 90% 30%, rgba(210, 80, 220, .14), transparent 60%),
    radial-gradient(50% 50% at 75% 100%, rgba(40, 200, 255, .16), transparent 60%),
    radial-gradient(45% 60% at 18% 95%, rgba(80, 90, 180, .16), transparent 60%),
    linear-gradient(180deg, #0b0f1c 0%, #0a0d17 100%);
}
/* faint prismatic rays */
.hero::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none;
  background:
    repeating-linear-gradient(112deg, transparent 0 90px, rgba(255, 255, 255, .03) 90px 93px, transparent 93px 210px),
    linear-gradient(112deg, transparent 22%, rgba(120, 160, 255, .10) 36%, rgba(255, 120, 220, .07) 44%, rgba(255, 240, 120, .05) 50%, transparent 62%),
    linear-gradient(118deg, transparent 8%, rgba(60, 220, 255, .07) 16%, transparent 24%);
}
/* floor glow */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(60, 90, 160, .14));
}
.hero .wrap { height: 100%; }

.hero-copy { position: relative; z-index: 3; max-width: 540px; padding-top: 42px; }
.eyebrow { color: var(--lime); font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; }
.hero h1 { font-size: 76px; font-weight: 800; line-height: .88; letter-spacing: -.5px; margin-top: 24px; text-shadow: 0 6px 30px rgba(0, 0, 0, .5); }
.lead { margin-top: 14px; font-size: 19px; line-height: 1.32; color: #e3e6f0; }
.hero-actions { display: flex; gap: 16px; margin-top: 16px; }

.hero-visual { position: absolute; right: 0; top: 0; width: 67.9%; aspect-ratio: 762 / 435; z-index: 1; }
.hero-visual .pika {
  position: absolute; left: 1.6%; top: 8.5%; width: 26.2%; z-index: 1;
  transform: rotate(-12deg); border-radius: 5%;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .65));
}
.fan-wrap {
  position: absolute; left: 20.5%; top: 0; width: 79.5%; height: 95.4%; z-index: 2;
  /* cut along Lewandowski's left/top frame and LeBron's left frame so the clean Pikachu shows behind */
  clip-path: polygon(0.40% 7.95%, 22.11% 7.95%, 22.77% 1.69%, 100% 0, 100% 100%, 9% 100%, 1.10% 80%);
  -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
}
.fan-wrap .fan {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 76%, rgba(0, 0, 0, .55) 87%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 76%, rgba(0, 0, 0, .55) 87%, transparent 100%);
}

.hero-side {
  position: absolute; right: 28px; top: 7px; z-index: 3; width: 80px;
  font-size: 9px; font-weight: 500; letter-spacing: 2.4px; line-height: 1.45; text-transform: uppercase; color: #d5d9e6;
}
.hero-side::after { content: ""; display: block; width: 24px; height: 2px; background: var(--lime); margin: 9px 0 0 auto; }

.hero-hand {
  position: absolute; right: 26px; bottom: 20px; z-index: 3;
  font-family: var(--font-hand); font-weight: 600; font-size: 34px; line-height: .86; color: #fff;
  transform: rotate(-9deg); text-align: center; text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
.hero-hand span { display: block; }
.hero-hand span + span { margin-left: 14px; }
.hero-hand::after {
  content: ""; position: absolute; left: 38%; right: -4%; bottom: -8px; height: 3px;
  background: var(--lime); border-radius: 2px; transform: rotate(-3deg);
}

.hero-caption {
  position: absolute; left: 50px; bottom: 28px; z-index: 3; display: flex; gap: 16px;
  font-size: 9px; font-weight: 500; letter-spacing: 3px; line-height: 1.55; color: #a2a8bb; text-transform: uppercase;
}
.hero-caption::before { content: ""; width: 2px; background: var(--lime); }

/* ---------- generic section bits ---------- */
.section { position: relative; padding-top: 34px; }
.sec-head { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sec-head h2 { white-space: nowrap; flex-shrink: 0; }
.side-text {
  position: absolute; right: 50px; font-size: 9px; font-weight: 500; letter-spacing: 2.4px; line-height: 1.55;
  text-transform: uppercase; color: var(--dim); text-align: left;
}

/* ---------- collections ---------- */
.collections {
  background:
    radial-gradient(50% 60% at 15% 60%, rgba(70, 90, 200, .12), transparent 60%),
    radial-gradient(40% 60% at 80% 40%, rgba(60, 140, 220, .10), transparent 60%),
    var(--bg);
}
.pills { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.pill {
  height: 36px; padding: 0 16px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .14);
  background: #12162a; color: #e8eaf2; font-size: 13px; display: inline-flex; align-items: center; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.pill:hover { border-color: rgba(255, 255, 255, .3); }
.pill.active { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(4, 215px); gap: 13px; margin-top: 22px; }
.card { transition: opacity .2s, transform .2s; }
.card.is-dim { opacity: .28; }
.card img { width: 100%; border-radius: 12px; box-shadow: 0 22px 44px -20px rgba(0, 0, 0, .85); }
.card:hover img { transform: translateY(-3px); transition: transform .2s; }
.card h3 { margin-top: 9px; font-size: 15px; font-weight: 600; }
.card small { display: block; font-size: 9px; letter-spacing: 3px; color: var(--dim); text-transform: uppercase; margin-top: 1px; }
.side-text--collections { top: 290px; width: 100px; }
.note { text-align: center; color: var(--dim); font-size: 13px; padding: 12px 0 0; }

/* ---------- how it works ---------- */
.how { padding-top: 6px; }
.steps-tag {
  display: flex; align-items: center; gap: 14px;
  font-size: 9px; font-weight: 500; letter-spacing: 3px; color: var(--dim); text-transform: uppercase;
}
.steps-tag::before { content: ""; width: 110px; height: 1px; background: rgba(255, 255, 255, .2); }

.steps { display: flex; align-items: flex-start; gap: 8px; margin-top: 24px; }
.step { display: grid; grid-template-columns: 26px 1fr; column-gap: 20px; row-gap: 6px; flex: 0 0 auto; }
.step:first-child { width: 230px; }
.step-2 { width: 250px; }
.step-3 { width: 240px; }
.num {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--lime); color: var(--lime);
  font-size: 12px; font-weight: 600; display: grid; place-items: center; grid-row: 1 / 3;
}
.step h3 { font-size: 17px; font-weight: 600; line-height: 26px; }
.step p { grid-column: 2; font-size: 13px; color: #b7bccd; line-height: 1.55; }
.phone { flex: 0 0 204px; margin-top: -14px; }
.arrow { flex: 0 0 24px; text-align: center; color: #9aa0b4; font-size: 22px; line-height: 1; margin-top: 88px; }

.recog {
  grid-column: 2; margin-top: 16px; width: 204px;
  display: flex; align-items: center; gap: 12px;
  background: #0f1322; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; padding: 7px 12px 7px 7px;
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .8);
}
.recog img { width: 54px; height: 60px; object-fit: cover; border-radius: 5px; }
.recog b { display: block; font-size: 14px; font-weight: 600; }
.recog span { display: block; font-size: 11px; color: var(--dim); }
.recog i { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 11px; color: var(--lime); margin-top: 3px; white-space: nowrap; }
.recog i svg { width: 14px; height: 14px; }

.album-ico { grid-column: 2; justify-self: start; width: 76px; height: 80px; margin: 8px 0 0 44px; }

/* ---------- trade ---------- */
.trade {
  position: relative; margin-top: 4px; height: 147px; overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .06); background: #0a0d17;
}
.trade .wrap { height: 100%; display: flex; align-items: center; }
.trade-copy { position: relative; z-index: 2; width: 440px; }
.trade h2 { font-size: 40px; }
.trade p { margin-top: 12px; font-size: 15px; line-height: 1.5; color: #d3d7e4; }
.trade-img {
  position: absolute; left: 450px; top: 0; height: 100%; width: 490px; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 96%, transparent 100%);
}
.trade-img img { height: 100%; width: 100%; object-fit: cover; }
.side-text--trade { top: 28px; width: 170px; z-index: 2; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .08); height: 57px; display: flex; align-items: center; background: var(--bg); }
.site-footer .wrap { display: flex; align-items: center; gap: 48px; width: 100%; }
.site-footer .tagline { font-size: 12px; color: var(--dim); }
.site-footer .ver { margin-left: 8px; font-size: 10px; color: rgba(255, 255, 255, .3); letter-spacing: .5px; }
.site-footer .nav { margin-left: auto; font-size: 12px; gap: 40px; }
.site-footer .btn { margin-left: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .wrap { padding: 0 28px; }
  .hero { height: auto; padding-bottom: 32px; }
  .hero-copy { max-width: none; padding-top: 34px; }
  .hero h1 { font-size: 58px; }
  .hero-visual { position: relative; width: 100%; margin-top: 28px; }
  .hero-side, .hero-hand, .hero-caption, .side-text { display: none; }
  .sec-head { flex-wrap: wrap; }
  .sec-head h2 { white-space: normal; }
  .pills { flex-shrink: 1; min-width: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { flex-wrap: wrap; row-gap: 28px; }
  .arrow { display: none; }
  .phone { margin-top: 0; }
  .trade { height: auto; }
  .trade .wrap { flex-direction: column; align-items: flex-start; padding-top: 28px; }
  .trade-copy { width: auto; }
  .trade-img { position: relative; left: 0; width: 100%; height: 160px; margin-top: 20px; }
  .site-footer { height: auto; padding: 18px 0; }
  .site-footer .wrap { flex-wrap: wrap; gap: 16px 28px; }
  .site-footer .nav { margin-left: 0; }
}
@media (max-width: 640px) {
  .site-header .nav { display: none; }
  .hero h1 { font-size: 46px; }
  .lead { font-size: 16px; }
  .lead br, .step p br { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  h2 { font-size: 32px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .step:first-child, .step-2, .step-3 { width: 100%; }
  .steps-tag::before { display: none; }
}
