/* ===== AD FULLSCREEN OVERLAY ===== */
.ad-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.ad-fs-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ad-fs-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
}

.ad-fs-label {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 10;
}

.ad-fs-creative {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1a2e, #16213e, #0f3460);
}

.ad-fs-placeholder {
  text-align: center;
  padding: 40px;
}

.ad-fs-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.ad-fs-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.ad-fs-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.ad-fs-cta {
  margin-top: 14px;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 22px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.ad-fs-bottom {
  padding: 20px 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(0,0,0,0.9);
}

.ad-fs-countdown {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-fs-count-num {
  position: absolute;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

.ad-fs-skip-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ===== PAYMENT MODAL ===== */
/* ===== PAYMENT FUNNEL V2 ===== */
.pay-modal-v2 {
  max-width: 360px;
  padding: 36px 24px 20px;
  position: relative;
  text-align: center;
  animation: paySlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes paySlideUp {
  from { transform: translateY(30px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.pay-v2-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  line-height: 1;
}

.pay-v2-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.pay-v2-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.pay-products-modal { max-width: 480px; }
.pay-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
  text-align: left;
}
.pay-product-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  text-align: left;
}
.pay-product-card:hover {
  border-color: rgba(158, 255, 0, .5);
  background: rgba(158, 255, 0, .05);
  transform: translateY(-1px);
}
.pay-product-emoji { font-size: 1.2rem; line-height: 1; }
.pay-product-card b { font-size: .8rem; font-weight: 800; }
.pay-product-desc { font-size: .62rem; color: var(--text-secondary); line-height: 1.4; min-height: 30px; }
.pay-product-price { margin-top: 4px; font-size: .95rem; font-weight: 800; color: var(--accent); }
.pay-checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(158, 255, 0, .22);
  background: var(--accent-soft);
}
.pay-checkout-summary span { font-size: .78rem; font-weight: 700; color: var(--text-primary); }
.pay-checkout-summary b { font-size: 1.1rem; font-weight: 800; color: var(--accent); }
.pay-method-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; text-align: left; }
.pay-method-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  text-align: left;
}
.pay-method-row:hover { border-color: rgba(158, 255, 0, .5); background: rgba(158, 255, 0, .05); transform: translateY(-1px); }
.pay-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  font-size: .95rem;
  font-weight: 800;
  color: var(--text-primary);
  flex: 0 0 auto;
}
.pay-method-name { display: flex; flex-direction: column; font-size: .78rem; font-weight: 800; }
.pay-method-name em { font-style: normal; font-size: .6rem; font-weight: 600; color: var(--text-secondary); margin-top: 2px; }
.pay-method-arrow { margin-left: auto; font-size: 1rem; color: var(--text-secondary); }
.pay-gateway-note {
  margin: 0 0 14px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px dashed rgba(255, 255, 255, .12);
  font-size: .66rem;
  color: var(--text-secondary);
}
.pay-gateway-cta { width: 100%; }

.pay-v2-price-block {
  margin-bottom: 20px;
  padding: 18px 16px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(158, 255, 0, 0.2);
}

.pay-v2-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.pay-v2-original {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.pay-v2-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.pay-v2-perday {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 6px;
  font-weight: 500;
}

.pay-v2-benefits {
  text-align: left;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 8px;
}

.pay-v2-benefit {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.pay-v2-check {
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.pay-v2-social {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.pay-v2-urgency {
  font-size: 0.76rem;
  font-weight: 700;
  color: #ff6b6b;
  margin-bottom: 20px;
}

.pay-v2-cta {
  width: 100%;
  margin-bottom: 10px;
  font-size: 1.02rem;
  font-weight: 800;
  padding: 15px 20px;
}

.pay-v2-cancel-row {
  text-align: center;
}

.pay-v2-cancel {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.2s ease;
}

.pay-v2-cancel:hover {
  color: var(--text-secondary);
}

/* Step-specific accents */
.pay-funnel.pay-step-monthly .pay-v2-price-block {
  background: rgba(158, 255, 0, 0.12);
  border-color: rgba(158, 255, 0, 0.25);
}

.pay-funnel.pay-step-weekly .pay-v2-price-block {
  background: rgba(0, 217, 255, 0.1);
  border-color: rgba(0, 217, 255, 0.2);
}
.pay-funnel.pay-step-weekly .pay-v2-price { color: var(--cyan); }
.pay-funnel.pay-step-weekly .pay-v2-check { color: var(--cyan); }

.pay-funnel.pay-step-daily .pay-v2-price-block {
  background: rgba(255, 149, 0, 0.1);
  border-color: rgba(255, 149, 0, 0.2);
}
.pay-funnel.pay-step-daily .pay-v2-price { color: #ff9500; }
.pay-funnel.pay-step-daily .pay-v2-check { color: #ff9500; }

.pay-funnel.pay-step-single .pay-v2-price-block {
  background: rgba(255, 45, 120, 0.1);
  border-color: rgba(255, 45, 120, 0.2);
}
.pay-funnel.pay-step-single .pay-v2-price { color: var(--pink); }
.pay-funnel.pay-step-single .pay-v2-check { color: var(--pink); }
