/* ── PAYMENT TABS / FEE BREAKDOWN / BSC ── */
.payment-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.payment-tab {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-family-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  min-height: 44px;
}
.payment-tab:hover {
  border-color: var(--accent-primary);
  color: var(--text-emphasis);
}
.payment-tab.active {
  border-color: var(--accent-primary);
  background: rgba(212, 168, 67, 0.1);
  color: var(--accent-primary);
}
.payment-tab-content {
  display: none;
}
.payment-tab-content.active {
  display: block;
}
.fee-breakdown {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  margin-bottom: 15px;
}
.fee-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-primary);
}
.fee-row.fee-total {
  border-top: 1px solid var(--glass-border);
  margin-top: 6px;
  padding-top: 10px;
  font-weight: 700;
  color: var(--text-emphasis);
}
.bsc-wallet-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.bsc-wallet-box code {
  flex: 1;
  font-size: 12px;
  color: var(--accent-primary);
  word-break: break-all;
  font-family: monospace;
}

/* ── PREMIUM FULLSCREEN LOCK PAYWALL OVERLAY ── */
.paywall-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(8, 9, 15, 0.96);
  backdrop-filter: blur(24px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition:
    transform 0.8s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.8s ease;
}
[data-theme='bright'] .paywall-overlay {
  background-color: rgba(247, 245, 240, 0.97);
}
.paywall-overlay.dismissed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.paywall-overlay.modal.active {
  background-color: rgba(8, 9, 15, 0.75);
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.paywall-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.paywall-close:hover {
  color: var(--text-emphasis);
}
.paywall-content {
  position: relative;
  text-align: center;
  max-width: 600px;
  padding: 40px;
  width: 100%;
  border: 1px solid var(--accent-primary);
  box-shadow: 0 20px 50px rgba(212, 168, 67, 0.15);
}
.paywall-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 25px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.paywall-intro,
.paywall-payment {
  min-width: 0;
}
.paywall-brand-ar {
  font-family: var(--font-family-arabic);
  font-size: 72px;
  color: var(--accent-primary);
  margin-bottom: 10px;
  text-shadow: 0 0 35px rgba(212, 168, 67, 0.45);
  font-weight: 800;
  line-height: 1.2;
}
.paywall-brand-en {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--text-emphasis);
  margin-bottom: 25px;
  font-weight: 300;
}
.paywall-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 35px;
}
.price-card {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--accent-primary);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 35px;
}
[data-theme='bright'] .price-card {
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.price-title {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent-primary);
  margin-bottom: 10px;
  font-weight: 700;
}
.price-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-emphasis);
  margin-bottom: 10px;
}
.price-features {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 2;
  margin-top: 15px;
  border-top: 1px solid var(--glass-border);
  padding-top: 15px;
  text-align: left;
  display: inline-block;
}

@media (min-width: 769px) {
  .paywall-overlay {
    padding: 32px;
  }
  .paywall-content {
    width: min(1180px, calc(100vw - 64px));
    max-width: none;
    min-height: min(560px, calc(100vh - 64px));
    max-height: calc(100vh - 64px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 28px;
    align-items: center;
    overflow-y: auto;
  }
  .paywall-cover {
    height: clamp(110px, 14vh, 160px);
    margin-bottom: 14px;
  }
  .paywall-brand-ar {
    font-size: clamp(46px, 4.4vw, 72px);
    margin-bottom: 6px;
  }
  .paywall-brand-en {
    margin-bottom: 14px;
  }
  .paywall-description {
    margin-bottom: 18px;
  }
  .paywall-disclaimer {
    margin-bottom: 0 !important;
  }
  .price-card {
    padding: 22px;
    margin-bottom: 20px !important;
  }
  .price-amount {
    font-size: 44px;
  }
  .payment-tabs {
    margin-bottom: 18px;
  }
}

/* Loading Spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--accent-primary);
  animation: spin 1s ease-in-out infinite;
  display: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .paywall-content {
    max-height: 100%;
    overflow-y: auto;
    padding: 20px;
  }
  .paywall-cover {
    height: 100px;
    margin-bottom: 16px;
  }
  .price-card {
    padding: 16px;
    margin-bottom: 20px !important;
  }
  .price-amount {
    font-size: 32px;
  }
  .price-features {
    font-size: 11px;
  }
}
