/* PuppetV product page + itch-style download modal */
.puppetv-wrap { max-width: 1040px; margin: 0 auto; padding: 0 3rem 7rem; }
.puppetv-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin-bottom: 3rem; }
.puppetv-preview {
  aspect-ratio: 1; display: grid; place-items: center;
  background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); border-radius: 2px;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.03) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.03) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}
.puppetv-preview img { width: 68%; filter: drop-shadow(0 16px 32px rgba(0,0,0,0.55)); }
.puppetv-lede { font-size: 1rem; line-height: 1.9; color: rgba(242,237,228,0.62); margin-bottom: 1.25rem; }
.puppetv-btns { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1rem; }
.btn-pro-glow {
  background: linear-gradient(135deg, #7dffb8, #22d3ee);
  color: #0a1210;
  border: none;
  font-weight: 700;
}
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0 3rem; }
.plan-card {
  padding: 1.5rem; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.02);
  border-radius: 2px;
}
.plan-card.pro { border-color: rgba(125,255,184,0.35); box-shadow: inset 0 0 0 1px rgba(125,255,184,0.08); }
.plan-card h3 { font-family: var(--font-d); font-size: 1.4rem; margin: 0 0 0.35rem; color: var(--white); }
.plan-price { font-family: var(--font-m); font-size: 1.25rem; color: var(--accent); margin-bottom: 0.75rem; }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.plan-list li { font-size: 0.88rem; color: rgba(242,237,228,0.55); padding-left: 1.1rem; position: relative; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: #7dffb8; font-weight: 700; }
.plan-list li.soon::before { content: "◷"; color: var(--warning, #f59e0b); }
.feature-grid-pv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.feature-pv { padding: 1rem; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.015); }
.feature-pv h4 { font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.4rem; }
.feature-pv p { margin: 0; font-size: 0.85rem; color: rgba(242,237,228,0.5); line-height: 1.6; }

/* itch-style modal (light card on dark site) */
.itch-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.78); display: none; align-items: center; justify-content: center; padding: 1rem;
}
.itch-modal-overlay.open { display: flex; }
.itch-modal {
  width: min(500px, 100%); max-height: 92vh; overflow: auto;
  background: #fff; color: #222; border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  position: relative;
}
.itch-modal-close {
  position: absolute; right: 0.75rem; top: 0.5rem; border: none; background: none;
  font-size: 1.5rem; color: #888; cursor: pointer; line-height: 1;
}
.itch-modal-head { display: flex; gap: 1rem; padding: 1.25rem 1.25rem 0.75rem; align-items: flex-start; }
.itch-modal-thumb { width: 80px; height: 80px; object-fit: contain; background: #f0f0f0; border: 1px solid #ddd; border-radius: 4px; }
.itch-modal-head h2 { margin: 0; font-size: 1.3rem; color: #111; font-family: Inter, system-ui, sans-serif; }
.itch-modal-head p { margin: 0.2rem 0 0; font-size: 0.85rem; color: #666; }
.itch-modal-body { padding: 0 1.25rem 1.25rem; font-family: Inter, system-ui, sans-serif; }
.itch-modal-body > p { font-size: 0.9rem; color: #444; margin: 0 0 0.75rem; line-height: 1.55; }
.itch-skip { display: inline-block; margin-bottom: 0.85rem; padding: 0; border: none; background: none;
  color: #e8384f; font-size: 0.88rem; cursor: pointer; font-family: inherit; text-align: left; }
.itch-skip:hover { text-decoration: underline; }
.itch-amount {
  display: flex; align-items: center; border: 2px solid #ccc; border-radius: 4px;
  padding: 0.35rem 0.75rem; margin-bottom: 1rem; font-size: 1.65rem; font-weight: 700;
}
.itch-amount span { color: #888; margin-right: 0.2rem; }
.itch-amount input { border: none; outline: none; width: 100%; font: inherit; color: #111; }
.itch-files-title { font-size: 0.78rem; color: #888; margin: 0 0 0.35rem; }
.itch-file-list { list-style: none; margin: 0 0 1rem; padding: 0; border-top: 1px dotted #ccc; }
.itch-file-list li {
  display: flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0;
  border-bottom: 1px dotted #ddd; font-size: 0.86rem;
}
.itch-file-list a { color: #e8384f; font-weight: 600; text-decoration: none; }
.itch-file-list a:hover { text-decoration: underline; }
.itch-file-size { margin-left: auto; color: #888; font-size: 0.78rem; }
.itch-tip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0 1rem; }
.itch-tip-btn {
  border: none; background: #7bbf4e; color: #fff; border-radius: 3px;
  padding: 0.35rem 0.6rem; font-size: 0.8rem; cursor: pointer; font-family: inherit;
}
.itch-pay {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; border: none; border-radius: 3px; padding: 0.85rem;
  font-size: 0.95rem; font-weight: 700; cursor: pointer; margin-bottom: 0.5rem; font-family: inherit; color: #fff;
}
.itch-pay-paypal { background: #0070ba; }
.itch-pay-gumroad { background: #e8384f; }
.itch-already {
  display: block; width: 100%; text-align: center; margin-top: 0.5rem;
  border: none; background: none; color: #e8384f; font-size: 0.86rem; cursor: pointer; font-family: inherit;
}
.itch-download-panel { display: none; }
.itch-download-panel.visible { display: block; }
.itch-pay-section.hidden { display: none; }

@media (max-width: 860px) {
  .puppetv-wrap { padding: 0 1.5rem 5rem; }
  .puppetv-hero, .compare-grid, .feature-grid-pv { grid-template-columns: 1fr; }
}
