/* ============================================================
   SearchLayered — Stylesheet
   Font: Manrope (Google Fonts)
   Add this to your WordPress theme or enqueue via functions.php
   ============================================================ */

/* ---------- Google Font Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --bg:       #F2F2F2;
  --ink:      #0E1116;
  --ink-2:    #1B2230;
  --muted:    #6A6F78;
  --line:     #D5D5D5;
  --orange:   #E84F1A;
  --orange-2: #F26C2E;
  --yellow:   #ECEE9A;
  --yellow-2: #E7EE85;
  --cream:    #E8E2D1;
  --black:    #15171B;
  --white:    #ffffff;
}

/* ---------- Reset & Base ---------- */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 32px;
}

/* ---------- Layout Stage ---------- */
.stage {
  width: 100%;
  max-width: 1200px;
}

/* ============================================================
   TOP ROW
   ============================================================ */

.top {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: start;
}

/* --- Headline --- */
.headline {
  font-weight: 700;
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
  color: var(--ink);
}

.headline span {
  display: block;
}

/* --- CTA Row --- */
.cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 56px;
}

.btn {
  appearance: none;
  border: 0;
  background: var(--orange);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.005em;
  padding: 22px 38px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  white-space: nowrap;
}

.btn:hover {
  background: var(--orange-2);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* --- Price --- */
.price {
  display: flex;
  align-items: center;
  gap: 16px;
}

.price .amount {
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.price .divider {
  width: 1px;
  height: 30px;
  background: #B9B9B9;
}

.price .meta {
  font-size: 13px;
  line-height: 1.2;
  color: #5C6068;
  font-weight: 500;
}

/* ============================================================
   HERO COMPOSITION (right column)
   ============================================================ */

.hero {
  position: relative;
  height: 540px;
}

/* Portrait card */
.portrait {
  position: absolute;
  right: 90px;
  top: 60px;
  width: 360px;
  height: 400px;
  border-radius: 28px;
  overflow: hidden;
  background: #C9C2B3;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Black card with bars */
.black-card {
  position: absolute;
  right: 0;
  top: 60px;
  width: 280px;
  height: 200px;
  background: var(--black);
  border-radius: 28px;
  overflow: hidden;
}

.bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 28px 36px 30px;
}

.bars i {
  display: block;
  width: 14px;
  background: #2A2D33;
  border-radius: 6px 6px 2px 2px;
  font-style: normal;
}

.bars i:nth-child(1) { height: 38%; }
.bars i:nth-child(2) { height: 22%; }
.bars i:nth-child(3) { height: 70%; }
.bars i:nth-child(4) { height: 84%; background: #F0EFE6; }
.bars i:nth-child(5) { height: 30%; }
.bars i:nth-child(6) { height: 50%; }

/* Price tag pill */
.pricetag {
  position: absolute;
  left: 70px;
  top: 0;
  width: 92px;
}

.pricetag .pin {
  width: 92px;
  height: 92px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
}

.pricetag .coin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px #fff;
}

.pricetag .coin svg {
  display: block;
}

.pricetag .val {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.pricetag .stem {
  width: 1px;
  height: 80px;
  margin: 0 auto;
  background-image: linear-gradient(to bottom, #9a9a9a 50%, transparent 50%);
  background-size: 1px 6px;
}

.pricetag .stem-end {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  margin: -2px auto 0;
}

/* "It's perfect time" label */
.perfect {
  position: absolute;
  left: 195px;
  top: 22px;
  font-weight: 800;
  font-size: 22px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
}

.perfect span {
  display: block;
}

/* Bowtie decoration */
.bowtie {
  position: absolute;
  left: 158px;
  top: 268px;
  width: 22px;
  height: 12px;
  color: var(--ink);
}

/* Dotted vertical stem left of portrait */
.dot-stem {
  position: absolute;
  left: 168px;
  top: 100px;
  width: 1px;
  height: 170px;
  background-image: linear-gradient(to bottom, #9a9a9a 50%, transparent 50%);
  background-size: 1px 6px;
}

/* Star pill */
.star-pill {
  position: absolute;
  right: 45px;
  top: 168px;
  background: #F2F1E5;
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.star-pill svg {
  width: 14px;
  height: 14px;
}

/* Yellow "Did you catch that?" pill */
.catch {
  position: absolute;
  left: 320px;
  top: 380px;
  background: var(--yellow);
  border-radius: 24px;
  padding: 18px 28px;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.catch::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  display: inline-block;
}

/* Right-side dotted stem */
.right-stem {
  position: absolute;
  right: 30px;
  top: 220px;
  width: 14px;
  text-align: center;
}

.right-stem .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  margin: 0 auto 10px;
}

.right-stem .line {
  width: 1px;
  height: 60px;
  margin: 0 auto;
  background-image: linear-gradient(to bottom, #9a9a9a 50%, transparent 50%);
  background-size: 1px 6px;
}

.right-stem .icon {
  margin-top: 12px;
  color: var(--ink);
}

/* ============================================================
   BOTTOM ROW
   ============================================================ */

.bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 90px;
  align-items: start;
}

/* NFT pill */
.nft-block {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.nft {
  flex: 0 0 auto;
  width: 64px;
  text-align: center;
  margin-top: 8px;
}

.nft .pill {
  width: 64px;
  height: 56px;
  background: #fff;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nft .stem {
  width: 1px;
  height: 36px;
  margin: 4px auto 0;
  background-image: linear-gradient(to bottom, #9a9a9a 50%, transparent 50%);
  background-size: 1px 6px;
}

.nft .end {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  margin: 4px auto 0;
}

/* Cream player card */
.player-card {
  flex: 1;
  background: var(--cream);
  border-radius: 22px;
  padding: 26px 30px 28px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.player-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toggle {
  width: 64px;
  height: 34px;
  background: var(--black);
  border-radius: 999px;
  position: relative;
  display: flex;
  align-items: center;
}

.toggle .knob {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 28px;
  height: 28px;
  background: var(--yellow-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.toggle .knob svg {
  width: 10px;
  height: 10px;
}

.player-top .label {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

.player-bottom {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin-top: 28px;
}

/* Team block */
.team {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.team-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.chip {
  border: 1px solid #BFBFBF;
  background: transparent;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.avatars {
  display: flex;
}

.avatars .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #B7B0A1;
  border: 2px solid var(--bg);
  overflow: hidden;
  margin-left: -10px;
}

.avatars .av:first-child {
  margin-left: 0;
}

.avatars .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-copy {
  color: var(--ink-2);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.005em;
  max-width: 520px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .top {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 520px;
  }

  .bottom {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
