/* =====================================================
   playground.css — Upsell Playground (physical tiers)
   and order confirmation page. Luxury gothic aesthetic.
   Uses theme.css tokens. Extends app.css.
   ===================================================== */

/* ======= PLAYGROUND LAYOUT ======= */
.playground-main {
  max-width: 1200px;
}

.playground-hero {
  text-align: center;
  padding: 56px 0 48px;
}

.playground-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(194, 24, 91, 0.15);
  border: 1.5px solid var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 24px;
  color: var(--crimson);
}

.playground-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.playground-title em {
  color: var(--crimson);
  font-style: italic;
}

.playground-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ======= TIER GRID ======= */
.playground-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 48px;
}

@media (max-width: 900px) {
  .playground-tiers {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ======= TIER CARD ======= */
.tier-card {
  position: relative;
  background: linear-gradient(145deg, #0F0508, #050205);
  border: 1px solid rgba(122,12,46,0.25);
  border-radius: 20px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

/* Shimmer accent bar at top */
.tier-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--crimson);
  opacity: 0.4;
}

.tier-tease .tier-shimmer { background: linear-gradient(90deg, transparent, rgba(194,24,91,0.7), transparent); }
.tier-tempt .tier-shimmer { background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); opacity: 0.9; }
.tier-indulge .tier-shimmer { background: linear-gradient(90deg, transparent, #d4af37, transparent); opacity: 1; }

/* Featured card (Tempt) */
.tier-featured {
  border-color: rgba(212, 175, 55, 0.25);
  background: linear-gradient(160deg, #0F0508 0%, #050205 100%);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.12), 0 24px 48px rgba(0,0,0,0.4);
}

.tier-popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #d4af37;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 4px 10px;
  border-radius: 99px;
}

/* ======= TIER HEADER ======= */
.tier-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tier-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--crimson);
  background: rgba(194,24,91,0.1);
  border: 1px solid rgba(194,24,91,0.25);
  padding: 4px 10px;
  border-radius: 99px;
}

.tier-badge-gold {
  color: #d4af37;
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.3);
}

.tier-badge-luxury {
  color: #e8c84f;
  background: rgba(232,200,79,0.1);
  border-color: rgba(232,200,79,0.4);
}

.tier-price {
  text-align: right;
}

.tier-amount {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.tier-label {
  font-size: 11px;
  color: var(--fg-muted);
  opacity: 0.7;
}

/* ======= TIER CONTENT ======= */
.tier-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin: 0;
  line-height: 1.2;
}

.tier-tagline {
  font-size: 13px;
  font-style: italic;
  color: var(--fg-muted);
  margin: -8px 0 0;
  opacity: 0.8;
}

.tier-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-muted);
}

.tier-feat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--crimson);
  flex-shrink: 0;
  opacity: 0.7;
}

.tier-tempt .tier-feat-dot { background: #d4af37; }
.tier-indulge .tier-feat-dot { background: #e8c84f; }

.tier-total {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
  margin-top: auto;
}

/* ======= TIER BUTTONS ======= */
.tier-form { margin: 0; }

.tier-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.tier-btn-tease {
  background: rgba(194, 24, 91, 0.12);
  color: var(--crimson);
  border: 1px solid rgba(194, 24, 91, 0.3);
}
.tier-btn-tease:hover {
  background: var(--crimson);
  color: white;
  box-shadow: 0 8px 24px rgba(194,24,91,0.35);
}

.tier-btn-tempt {
  background: linear-gradient(135deg, #c9a227, #d4af37);
  color: #0a0a0a;
}
.tier-btn-tempt:hover {
  background: linear-gradient(135deg, #d4af37, #e8c84f);
  box-shadow: 0 8px 24px rgba(212,175,55,0.4);
  transform: translateY(-1px);
}

.tier-btn-indulge {
  background: linear-gradient(135deg, #b8940e, #d4af37, #e8c84f);
  color: #0a0a0a;
  font-weight: 700;
}
.tier-btn-indulge:hover {
  box-shadow: 0 8px 28px rgba(212,175,55,0.5);
  transform: translateY(-1px);
}

/* ======= SKIP SECTION ======= */
.playground-skip-wrap {
  text-align: center;
  padding: 32px 0 64px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.playground-skip-form { display: inline; }

.playground-skip-btn {
  background: transparent;
  border: none;
  color: var(--fg-muted);
  font-size: 15px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.6;
  transition: opacity 0.2s;
  font-family: inherit;
  padding: 0;
}

.playground-skip-btn:hover {
  opacity: 1;
  color: var(--fg);
}

.playground-skip-note {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.4;
  margin-top: 12px;
}

/* ======= ORDER CONFIRMATION ======= */
.confirm-shell {
  max-width: 560px;
}

.confirm-icon {
  font-size: 48px;
  margin-bottom: 8px;
}

.confirm-items {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
  text-align: left;
}

.confirm-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px;
}

.confirm-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.confirm-digital-icon {
  background: rgba(194,24,91,0.12);
  border: 1px solid rgba(194,24,91,0.2);
}

.confirm-physical-icon {
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.2);
}

.confirm-item-info {
  flex: 1;
}

.confirm-item-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 4px;
}

.confirm-item-desc {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0 0 6px;
  line-height: 1.5;
}

.confirm-item-status {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}

.status-live { color: #4ade80; }
.status-processing { color: #d4af37; }

.confirm-next {
  width: 100%;
  margin: 8px 0 16px;
}

.confirm-next-label {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0 0 12px;
}

.confirm-shipping-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.5;
  margin-top: 8px;
}

.confirm-pending-note {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 16px 0;
}

.confirm-pending-note a {
  color: var(--crimson);
  text-decoration: none;
}

.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

/* ======= SENT PAGE PHYSICAL STATUS ======= */
.sent-physical-status {
  width: 100%;
  margin: 16px 0 0;
  text-align: left;
}
