/* ============================================================
   GiverGames Price Check -- pc.css
   Builds on dnd.css (marquee, gate, result, code box, sparks).
   ============================================================ */

.pc-page .marquee-title .mt-deal,
.pc-page .marquee-title .mt-nodeal { font-size: clamp(2.2rem, 8vw, 3.4rem); }


/* ============================================================
   BASKET + GUESS
   ============================================================ */
.pc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.pc-layout > * { min-width: 0; }

.pc-basket {
  border-radius: var(--r-card);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-lg);
  animation: rise 0.45s ease both;
}
.pc-photo { position: relative; background: #0A1C20; }
.pc-photo::before { content: ''; display: block; padding-top: 62%; }
.pc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-photo.empty { display: none; }

.pc-basket-body { padding: 20px 22px 24px; }
.pc-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(253,205,44,0.16);
  color: var(--yellow);
}
.pc-basket-body h2 { font-size: 1.5rem; margin-bottom: 12px; }
.pc-items { list-style: none; display: grid; gap: 6px; }
.pc-items li {
  position: relative;
  padding: 7px 12px 7px 32px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.pc-items li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--teal);
}

.pc-guess {
  position: sticky;
  top: 84px;
  padding: 24px 22px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, #1F3A40, var(--charcoal));
  box-shadow: 0 0 0 2px rgba(253,205,44,0.45), var(--shadow-lg);
  text-align: center;
}
.pc-guess-label { display: block; font-size: 1.2rem; font-weight: 800; margin-bottom: 14px; }
.pc-money {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.3);
  border: 2px solid rgba(253,205,44,0.5);
}
.pc-money span { font-size: 2.2rem; font-weight: 900; color: var(--yellow); }
.pc-money input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 8px 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.pc-money input::placeholder { color: rgba(255,255,255,0.25); }
.pc-money:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(253,205,44,0.15); }
.pc-help { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 10px; }
.pc-guess .gate-error { text-align: center; }

.pc-lock { width: 100%; font-size: 1.2rem !important; padding: 16px 10px !important; }
.pc-confirm { animation: rise 0.3s ease both; }
.pc-confirm p { margin-bottom: 12px; color: rgba(255,255,255,0.85); }
.pc-confirm strong { color: var(--yellow); }
.pc-confirm-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.pc-confirm-btns button { font-size: 1rem; padding: 14px 8px; }
.pc-confirm-btns button:disabled { opacity: 0.6; cursor: wait; }

.pc-bands {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 20px;
}
.pc-bands li {
  padding: 7px 4px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
}
.pc-bands b { display: block; font-size: 1.1rem; color: var(--yellow); }


/* ============================================================
   THE REVEAL
   ============================================================ */
.pc-reveal { margin-bottom: 22px; }
.pc-reveal-label {
  font-size: 0.75rem !important;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px !important;
}
.pc-price {
  font-size: clamp(3rem, 14vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 8px !important;
  background: linear-gradient(180deg, #FFF3B0 0%, var(--yellow) 50%, #D49A00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(253,205,44,0.4));
  font-variant-numeric: tabular-nums;
}
.pc-price.drum { animation: drum 0.12s linear infinite; }
@keyframes drum {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}
.pc-yours { color: rgba(255,255,255,0.8); margin-bottom: 14px !important; }
.pc-yours strong { color: var(--white); }
.pc-band {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 14px;
  font-size: 1.5rem !important;
  font-weight: 900;
  color: var(--charcoal);
  background: linear-gradient(180deg, #FFE27A, var(--yellow) 50%, #D9A300);
  box-shadow: 0 8px 24px rgba(253,205,44,0.35);
  margin-bottom: 0 !important;
  transform: rotate(-3deg);
}
.pc-band.landed { animation: stamp 0.5s cubic-bezier(.2,1.6,.4,1) both; }

/* Bits that appear after the reveal */
.pc-later { animation: rise 0.45s ease both; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .pc-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pc-guess { position: static; }
  .pc-money span { font-size: 1.9rem; }
  .pc-money input { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-price.drum, .pc-band.landed, .pc-later { animation: none !important; }
}
