/* =========================================================================
   CBA WORLD — SHOP / STORY / WAITLIST / FOOTER
   ========================================================================= */

.section { position: relative; z-index: 10; padding: clamp(60px,9vw,130px) var(--pad); scroll-margin-top: 80px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  margin-bottom: 54px;
}
.section-head h2 { font-size: clamp(40px,8vw,92px); margin-top: 10px; }
.section-head p { max-width: 360px; font-size: 14px; line-height: 1.7; color: var(--text-dimmer); }

/* ---- PRODUCT GRID ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 22px; }

.product-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(26,12,42,.55), rgba(10,4,20,.55));
  backdrop-filter: blur(6px);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s ease;
}
.product-card:hover { border-color: rgba(203,107,255,.55); }

.pc-tag {
  position: absolute; top: 14px; left: 14px; z-index: 4;
  padding: 5px 11px; border-radius: 2px; font-size: 10px; letter-spacing: .18em; font-weight: 600;
}
.pc-tag.new { background: var(--ac); color: #0b0012; }
.pc-tag.soon { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: #cdbbe0; }

.pc-hint {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  display: flex; align-items: center; gap: 5px;
  padding: 5px 9px; border-radius: 2px;
  background: rgba(8,2,16,.6); border: 1px solid rgba(176,38,255,.2);
  font-size: 9px; letter-spacing: .14em; color: #cdbbe0;
}

.pc-imgbox {
  position: relative; aspect-ratio: 1/1;
  background: radial-gradient(circle at 50% 38%, rgba(176,38,255,.18), transparent 60%);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
}
.pc-imgbox .glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 62%; height: 62%; border-radius: 50%;
  background: radial-gradient(circle, var(--ac) 0%, transparent 68%);
  filter: blur(26px); opacity: .4;
}
.pc-imgbox img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 24px;
  transition: opacity .5s ease;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.6));
}
.pc-imgbox img.face-back { opacity: 0; }
.product-card.flipped .pc-imgbox img.face-front { opacity: 0; }
.product-card.flipped .pc-imgbox img.face-back { opacity: 1; }
.product-card.flipped .pc-imgbox { transform: scale(1.05); }

.pc-swatches { display: flex; gap: 8px; padding: 0 20px; margin-top: -4px; }
.pc-swatches button {
  width: 22px; height: 22px; border-radius: 50%; transition: transform .15s ease;
}
.pc-swatches button:hover { transform: scale(1.12); }

.pc-info {
  padding: 16px 20px 20px;
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid rgba(176,38,255,.12);
  margin-top: auto;
}
.pc-info h3 { font-family: var(--f-body); font-weight: 600; font-size: 15px; letter-spacing: .04em; color: #fff; text-transform: none; }
.pc-info .pc-sub { font-size: 12px; color: var(--text-dimmer); font-style: italic; min-height: 17px; }
.pc-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 12px; }
.pc-price { font-family: var(--f-display); font-size: 18px; letter-spacing: .03em; color: #fff; }
.pc-price.soon { color: #8a7ba0; font-size: 13px; letter-spacing: .1em; }
.pc-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px; font-weight: 700; font-size: 11px; letter-spacing: .16em; border-radius: 2px;
}
.pc-cta.buy { background: var(--ac); border: 1px solid var(--ac); color: #0b0012; box-shadow: 0 8px 26px -8px var(--ac); }
.pc-cta.notify { background: transparent; border: 1px solid rgba(255,255,255,.22); color: #d9c9ee; }

/* ---- STORY ---- */
.story-head { max-width: 880px; margin: 0 auto; text-align: center; }
.story-head h2 { font-size: clamp(38px,7.5vw,88px); margin: 14px 0 0; }
.story-head p { margin: 26px auto 0; max-width: 640px; font-size: 15px; line-height: 1.85; color: var(--text-dim); }

.story-scene {
  position: relative;
  aspect-ratio: 16/9; max-height: 620px;
  margin: 50px auto 0; max-width: 1100px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(176,38,255,.22);
  box-shadow: 0 30px 90px -30px rgba(176,38,255,.5);
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(176,38,255,.22), transparent 60%),
    radial-gradient(80% 60% at 50% 0%, rgba(176,38,255,.12), transparent 70%),
    linear-gradient(180deg, #150826, #06020c 80%);
}
.story-scene .scene-floor-glow {
  position: absolute; left: 50%; bottom: -10%; transform: translateX(-50%);
  width: 70%; height: 40%;
  background: radial-gradient(circle, rgba(176,38,255,.35), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.story-scene img.char {
  position: absolute; bottom: -1%;
  z-index: 2;
  transform-origin: bottom center;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.6));
  pointer-events: none;
}
.story-scene img.char1 { left: clamp(0px,4vw,70px); height: clamp(170px,68%,480px); animation: strutL 2.6s ease-in-out infinite; }
.story-scene img.char2 { right: clamp(0px,4vw,70px); height: clamp(180px,72%,500px); animation: strutR 2.9s ease-in-out infinite; transform: scaleX(-1); }
.story-scene-text {
  position: absolute; left: 0; right: 0; top: 0;
  padding: clamp(16px,3.2vw,32px); text-align: center; z-index: 3; pointer-events: none;
}
.story-scene-text .kicker { font-size: 10px; letter-spacing: .34em; color: var(--ac2); }
.story-scene-text p { font-family: var(--f-display); font-size: clamp(19px,3vw,40px); line-height: 1; margin-top: 6px; text-transform: uppercase; color: #fff; }
.story-scene-tag {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 3; font-style: italic; font-size: 12px; color: #cdbbe0; letter-spacing: .06em; pointer-events: none;
}

/* ---- WAITLIST ---- */
.waitlist-box {
  max-width: 760px; margin: 0 auto; text-align: center;
  border: 1px solid rgba(176,38,255,.2); border-radius: 12px;
  padding: clamp(34px,5vw,60px);
  background: radial-gradient(110% 120% at 50% 0%, rgba(176,38,255,.14), rgba(10,4,20,.5));
  backdrop-filter: blur(6px);
}
.waitlist-box h2 { font-size: clamp(30px,5.5vw,58px); margin: 12px 0 0; }
.waitlist-box p { margin: 16px auto 26px; max-width: 460px; font-size: 14px; line-height: 1.7; color: #a99bc0; }
.waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 520px; margin: 0 auto; }
.waitlist-form input { flex: 1; min-width: 220px; padding: 15px 18px; letter-spacing: .04em; }

/* ---- FOOTER ---- */
.footer {
  position: relative; z-index: 10;
  padding: clamp(60px,8vw,110px) var(--pad) 40px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, transparent, rgba(176,38,255,.05));
  text-align: center;
}
.footer-coin-wrap { perspective: 600px; display: inline-block; }
.footer-coin { width: 62px; height: 62px; margin-bottom: 18px; animation-duration: 8s; }
.footer h2 { font-size: clamp(48px,14vw,150px); }
.footer-tag { margin: 14px 0 30px; font-size: 12px; letter-spacing: .3em; color: #8a7ba0; }
.footer-socials { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }
.footer-copy { font-size: 11px; letter-spacing: .2em; color: var(--text-faint); }
