:root {
  color-scheme: dark;
  --pink: #d020bd;
  --pink-bright: #e52ed1;
  --yellow: #ffcc0b;
  --white: #f7f7f7;
  --page-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: #000;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

.page-shell {
  width: min(var(--page-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 74px;
}

.hero { text-align: center; }
.hero h1 {
  margin: 0 auto 27px;
  max-width: 1060px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.28;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.hero h1 span, .hero h2 span { color: var(--pink); }
.hero h2 {
  margin: 0 0 24px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.25;
}

.video-frame {
  width: 100%;
  border: 3px solid var(--pink);
  background: #060606;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
}
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Authentic Comic Vault Showcase Frame (Safe Page Hero) */
.showcase-frame {
  width: 100%;
  border: 3px solid var(--pink);
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  border-radius: 12px;
  padding: 18px 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}
.showcase-badge {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  font-size: 11px;
  font-weight: 850;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.showcase-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 10px;
}
.showcase-card {
  width: 28%;
  max-width: 135px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s;
  display: block;
}
.card-center {
  width: 36%;
  max-width: 160px;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(244, 63, 94, 0.4);
  border: 2px solid var(--yellow);
  transform: scale(1.05);
}
.showcase-caption {
  font-size: 13px;
  color: #f8fafc;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.35;
}

.buy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 58px;
  margin: 39px auto 16px;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--yellow);
  color: #050505;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(255, 204, 11, .15);
  transition: transform .18s ease, filter .18s ease;
}
.buy-button:hover { transform: translateY(-2px); filter: brightness(1.06); }

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  margin: 0 auto;
}
.countdown div { display: grid; min-width: 50px; }
.countdown strong { font-size: 2rem; line-height: 1; font-weight: 400; letter-spacing: 1px; }
.countdown small { margin-top: 5px; color: #d9e70f; font-size: .67rem; font-weight: 700; }
.countdown b { font-size: 2rem; line-height: .9; font-weight: 400; }

.section {
  border-top: 1px dashed #aaa;
  padding-top: 36px;
  margin-top: 10px;
}
.section-bar {
  margin: 0 0 24px;
  padding: 8px 12px;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  background: linear-gradient(180deg, #f14cdd 0%, #9f168f 45%, #050005 100%);
}
.benefits { margin: 0 0 29px; }
.benefits p { margin: 5px 0; font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 800; }
.benefits p::first-letter { color: #f1f500; }

.image-grid { display: grid; gap: 20px; }
.sample-grid { grid-template-columns: repeat(3, 1fr); }
.feedback-grid { grid-template-columns: repeat(3, 1fr); }
figure {
  margin: 0;
  border: 3px solid var(--pink);
  border-radius: 9px;
  overflow: hidden;
  background: #080808;
}
.sample-grid figure { aspect-ratio: 768 / 852; }
.feedback-grid figure { aspect-ratio: 635 / 1024; }
figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

.sample-buy { margin-top: 34px; margin-bottom: 18px; }
.feedback { margin-top: 16px; }
.feedback h2 { margin: 0 0 33px; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.25; }
.second-buy { margin-top: 48px; }
.offer-note { margin: -5px 0 12px; text-align: center; font-size: .82rem; }

.faq { margin-top: 42px; padding-bottom: 70px; }
.faq h2 { margin: 22px 0 28px; text-align: center; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.accordion { border: 1px solid #ddd; }
.accordion details { border-bottom: 1px solid #ddd; }
.accordion details:last-child { border-bottom: 0; }
.accordion summary {
  position: relative;
  padding: 16px 18px 16px 42px;
  cursor: pointer;
  color: #f0f0f0;
  font-size: 1rem;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before { content: "+"; position: absolute; left: 14px; top: 13px; font-size: 1.35rem; }
.accordion details[open] summary::before { content: "−"; }
.accordion p { margin: 0; padding: 0 20px 19px 42px; color: #ddd; line-height: 1.55; }

.mobile-cta { display: none; }

/* ========================================================================== */
/* RAZORPAY STANDARD POPUP CHECKOUT (EXACT REPLICA DESIGN)                    */
/* ========================================================================== */
.rzp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  animation: rzpFadeIn 0.2s ease-out;
}
.rzp-backdrop.open { display: flex; }

@keyframes rzpFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.rzp-modal {
  background: #ffffff;
  color: #1e293b;
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
  max-height: 94vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  animation: rzpSlideUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rzpSlideUp {
  from { transform: translateY(20px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Razorpay Header: Premium Royal Blue */
.rzp-header {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #ffffff;
  padding: 16px 18px 14px;
  position: relative;
}

.rzp-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rzp-merchant-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rzp-merchant-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  color: #0c2340;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.rzp-merchant-meta {
  display: flex;
  flex-direction: column;
}

.rzp-merchant-name {
  font-size: 15px;
  font-weight: 750;
  color: #ffffff;
  line-height: 1.25;
}

.rzp-trusted-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #34d399;
  margin-top: 2px;
  font-weight: 600;
}

.rzp-close {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}
.rzp-close:hover { color: #ffffff; }

/* Amount Strip in Header */
.rzp-amount-strip {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rzp-amount-label {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rzp-amount-val {
  font-size: 22px;
  font-weight: 850;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.rzp-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  color: #e2e8f0;
  cursor: pointer;
  transition: background 0.15s;
}
.rzp-user-pill:hover { background: rgba(255, 255, 255, 0.2); }

/* Body Screen Steps */
.rzp-body {
  padding: 18px 20px;
  display: none;
  background: #ffffff;
  flex: 1;
}
.rzp-body.active { display: block; }

.rzp-section-title {
  font-size: 13.5px;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 4px;
}

.rzp-subtext {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.4;
}

/* Form Inputs */
.rzp-input-group {
  margin-bottom: 14px;
}
.rzp-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.rzp-phone-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #f8fafc;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rzp-phone-wrap:focus-within {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.rzp-country-code {
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  border-right: 1px solid #cbd5e1;
}
.rzp-phone-wrap input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 11px 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
}

.rzp-input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rzp-input:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.rzp-primary-btn {
  width: 100%;
  margin-top: 14px;
  padding: 13px 18px;
  border: 0;
  border-radius: 9px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: background 0.15s, transform 0.1s;
}
.rzp-primary-btn:hover { background: #1d4ed8; }
.rzp-primary-btn:active { transform: scale(0.99); }

/* SCREEN 2: YOUPI AUTO-LISTENER & UPI SCREEN */
.rzp-listener-bar {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 9px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #166534;
  margin-bottom: 12px;
}
.rzp-pulse-dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: rzpPulse 1.4s infinite;
  flex-shrink: 0;
}
@keyframes rzpPulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.rzp-timer {
  margin-left: auto;
  font-family: monospace;
  font-weight: 700;
  color: #dc2626;
  background: #fee2e2;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* Razorpay UPI QR Card */
.rzp-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}
.rzp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.rzp-instant-tag {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 750;
}

.rzp-qr-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rzp-qr-frame {
  position: relative;
  background: #ffffff;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
  overflow: hidden;
}
.rzp-qr-frame img { display: block; border-radius: 4px; }
.rzp-qr-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2563eb, transparent);
  box-shadow: 0 0 6px #2563eb;
  animation: rzpScan 2s ease-in-out infinite alternate;
}
@keyframes rzpScan {
  from { top: 6px; }
  to { top: calc(100% - 8px); }
}

.rzp-qr-instructions { flex: 1; }
.rzp-qr-title { font-size: 13.5px; font-weight: 750; color: #0f172a; margin-bottom: 3px; }
.rzp-qr-desc { font-size: 11.5px; color: #64748b; line-height: 1.4; margin-bottom: 8px; }

.rzp-upi-icons { display: flex; gap: 5px; flex-wrap: wrap; }
.upi-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: #334155;
}

/* Pay using UPI App Grid: High-converting 2x2 touch layout */
.rzp-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.rzp-app-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.16s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.rzp-app-item:hover, .rzp-app-item:active {
  border-color: #2563eb;
  background: #f0f7ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.14);
}
.rzp-app-logo-box {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rzp-app-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.rzp-app-name {
  font-size: 13px;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.2;
}
.rzp-app-sub {
  font-size: 10.5px;
  font-weight: 600;
  color: #16a34a;
  margin-top: 1px;
}
.rzp-chevron {
  flex-shrink: 0;
  margin-left: auto;
}

/* Fallback VPA & Manual UTR */
.rzp-fallback-box {
  margin-top: 14px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 10px;
}
.rzp-vpa-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #475569;
  margin-bottom: 8px;
}
.rzp-copy-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.rzp-copy-btn:hover { background: #e2e8f0; }

.rzp-utr-details {
  font-size: 11.5px;
  color: #64748b;
}
.rzp-utr-details summary {
  cursor: pointer;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 6px;
}
.rzp-utr-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.rzp-utr-row input {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
  letter-spacing: 1px;
  outline: none;
}
.rzp-utr-row button {
  background: #0f172a;
  color: #ffffff;
  border: 0;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.rzp-utr-feedback { font-size: 11px; margin-top: 4px; display: none; }

/* SCREEN 3: SUCCESS ANIMATION & UNLOCK */
.rzp-success-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #10b981;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  animation: rzpPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes rzpPop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.rzp-success-title {
  font-size: 21px;
  font-weight: 850;
  color: #0f172a;
  margin: 0 0 4px;
}
.rzp-success-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 18px;
}

.rzp-delivery-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}
.rzp-delivery-head {
  font-size: 11.5px;
  font-weight: 800;
  color: #059669;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.rzp-download-btn {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 8px;
  transition: transform 0.1s, filter 0.15s;
}
.rzp-download-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.rzp-download-btn.mega { background: #dc2626; color: #ffffff; }
.rzp-download-btn.gdrive { background: #2563eb; color: #ffffff; margin-bottom: 0; }

/* Razorpay Footer */
.rzp-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}
.rzp-footer-left { display: flex; align-items: center; gap: 5px; }
.rzp-footer-badges { font-weight: 600; color: #94a3b8; }

/* Mobile responsiveness */
@media (max-width: 700px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .page-shell { width: min(calc(100% - 20px), 560px); padding: 13px 0 30px; }
  .desktop-break { display: none; }
  .hero h1 { font-size: clamp(1.65rem, 8vw, 2rem); line-height: 1.18; margin-bottom: 18px; }
  .hero h2 { font-size: clamp(1rem, 4.5vw, 1.08rem); margin-bottom: 17px; }
  .buy-button { width: 100%; min-height: 56px; margin-top: 22px; padding: 15px 10px; font-size: clamp(.98rem, 4.4vw, 1.12rem); }
  .sample-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .feedback-grid { grid-template-columns: 1fr; gap: 14px; }
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 20;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    min-height: 54px;
    padding: 13px 14px;
    border-radius: 8px;
    background: var(--yellow);
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 6px 30px rgba(0,0,0,.75);
  }

  .rzp-modal {
    max-height: 96vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}
