/* =====================
   ROOT VARIABLES
===================== */
:root {
  --bg-main: linear-gradient(180deg, #020617, #000);
  --panel: rgba(2, 6, 23, 0.75);
  --border: rgba(59,130,246,0.25);
  --muted: #9ca3af;
  --accent: #3b82f6;
  --accent-2: #22d3ee;
}

/* =====================
   RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--bg-main);
  color: #fff;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.03;
  pointer-events: none;
}

/* =====================
   HEADER
===================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  background: var(--bg-main);
  box-shadow: 0 0 40px rgba(59,130,246,0.5);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  width: 52px;
  height: 52px;
  padding: 6px;
  border-radius: 14px;
  background: #020617;
  box-shadow: 0 0 12px rgba(59,130,246,0.6),
              0 0 30px rgba(59,130,246,0.4);
  transition: 0.3s ease;
}

.logo:hover {
  box-shadow: 0 0 18px rgba(59,130,246,0.8),
              0 0 40px rgba(59,130,246,0.6);
}

.header h1 {
  color: var(--accent);
  letter-spacing: 2px;
}

.header p {
  color: var(--muted);
  margin-top: 4px;
}

/* =====================
   DISCORD BUTTON
===================== */
.discord-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #020617;
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(59,130,246,0.35);
  box-shadow: 0 0 15px rgba(59,130,246,0.25);
  transition: 0.3s ease;
}

.discord-header-btn:hover {
  box-shadow: 0 0 25px rgba(59,130,246,0.6);
  transform: translateY(-1px);
}

.discord-header-btn img {
  width: 18px;
  filter: invert(1);
}

/* =====================
   HOW TO PANEL
===================== */
.howto {
  background: var(--panel);
  border-radius: 22px;
  padding: 40px;
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.howto h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.online-count {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

#users {
  font-weight: 700;
  color: #22c55e;
}

.online-count #users {
  color: var(--accent);
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.howto ul {
  list-style: none;
  display: grid;
  gap: 16px;
}

.howto li {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
}

.howto li span {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.premium-line a {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: none;
}

.premium-line a:hover {
  text-decoration: underline;
}

/* =====================
   CARDS
===================== */
.cards {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.card {
  flex: 1;
  background: #020617;
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 0 30px rgba(59,130,246,0.3);
}

.card h3 {
  color: var(--accent);
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  margin-bottom: 25px;
}

.card button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #1e3a8a;
  color: #fff;
  font-size: 16px;
  cursor: not-allowed;
}

.card button.active {
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(59,130,246,0.8);
  transition: 0.2s ease;
}

.card button.active:hover {
  transform: translateY(-2px);
}

.card button.active:active {
  transform: scale(0.97);
}

/* =====================
   LOADER
===================== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-content {
  text-align: center;
}

.loader-gif {
  width: 120px;
  margin-bottom: 20px;
  animation: pulseGlow 2.2s ease-in-out infinite;
  border-radius: 22px;
}

@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(59,130,246,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(59,130,246,0.8); }
  100% { transform: scale(1); box-shadow: 0 0 15px rgba(59,130,246,0.4); }
}

.loading-text {
  font-size: 13px;
  color: var(--muted);
  animation: fadeText 1.6s infinite alternate;
}

@keyframes fadeText {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* =====================
   FOOTER
===================== */
.site-footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid rgba(59,130,246,0.2);
}

/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {
  .header {
    padding: 12px 16px;
  }

  .logo {
    width: 34px;
    height: 34px;
  }

  .header p {
    display: none;
  }

  .cards {
    flex-direction: column;
  }

  .howto h2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .loader-gif {
    width: 90px;
  }
}

/* VIDEO SECTION */
.video-section {
  padding: 80px 20px 40px;
  text-align: center;
}

.video-title {
  color: #3b82f6;
  margin-bottom: 30px;
}

/* GRID */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  max-width: 1200px;
  margin: 0 auto;
}

/* CARD */
.video-card {
  background: #020617;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 0 35px rgba(59,130,246,0.35);
}

/* VIDEO */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* MOBILE FIX ASLI */
@media (max-width: 768px) {
  .video-section {
    padding: 30px 16px 20px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card {
    margin-bottom: 16px;
  }
}

/* =====================
   MOBILE VIDEO FIX
===================== */
@media (max-width: 768px) {
  .video-section {
    padding: 40px 16px 24px;
  }

  .video-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.card button {
  position: relative;
  overflow: hidden;
}

/* text */
.card button .btn-text {
  position: relative;
  z-index: 2;
}

/* progress bar */
.progress-btn .btn-progress {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #3b82f6,
    #22d3ee,
    #3b82f6
  );
  transform: scaleX(0);
  transform-origin: left;
  border-radius: inherit;
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
  transition: transform 1s linear;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* when active */
.card button.active .btn-bar {
  display: none;
}

.card button:not(.active) {
  animation: pulseBtn 1.6s infinite;
}

@keyframes pulseBtn {
  50% { box-shadow: 0 0 18px rgba(59,130,246,0.45); }
}

/* PROGRESS BUTTON */
.progress-btn {
  position: relative;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: none;
  background: #1e293b;
  color: #e5e7eb;
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  cursor: not-allowed;
}

/* progress fill */
.progress-btn .btn-progress {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(
    90deg,
    rgba(59,130,246,0.6),
    rgba(34,211,238,0.6)
  );
  transition: width 1s linear;
}

/* text */
.progress-btn .btn-text {
  position: relative;
  z-index: 2;
}

/* READY STATE */
.progress-btn.active {
  background: linear-gradient(135deg, #3b82f6, #22d3ee);
  cursor: pointer;
}

.progress-btn.active .btn-progress {
  display: none;
}

@keyframes pulseBtn {
  50% { box-shadow: 0 0 18px rgba(59,130,246,0.45); }
}

@media (max-width: 768px) {
  .progress-btn {
    height: 52px;
    font-size: 16px;
  }
}

.btn-progress {
  transition: width 0.9s linear;
}

/* =====================
   HEADER ACTION LINKS
===================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* text nav link (Purchase) */
.nav-link {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 6px 2px;
  transition: color 0.25s ease;
}

/* underline glow */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  box-shadow: 0 0 10px rgba(59,130,246,0.8);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: #60a5fa;
}

.nav-link:hover::after {
  width: 100%;
}

/* mobile spacing */
@media (max-width: 768px) {
  .header-actions {
    gap: 16px;
  }

  .nav-link {
    font-size: 14px;
  }
}


/* =====================
   HEADER BUTTONS
===================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* base button */
.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #e5e7eb;
  background: #020617;
  border: 1px solid rgba(59,130,246,0.45);
  box-shadow:
    0 0 15px rgba(59,130,246,0.35),
    inset 0 0 0 rgba(0,0,0,0);
  transition: 0.25s ease;
}

/* hover glow */
.header-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 25px rgba(59,130,246,0.65),
    0 0 50px rgba(34,211,238,0.25);
}

/* purchase highlight */
.purchase-btn {
  background: linear-gradient(135deg, #1e3a8a, #020617);
}

/* discord icon fix */
.discord-btn img {
  width: 18px;
  filter: invert(1);
}

/* mobile */
@media (max-width: 768px) {
  .header-actions {
    gap: 10px;
  }

  .header-btn {
    padding: 9px 16px;
    font-size: 13px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* =====================
   PAYMENT OVERLAY
===================== */
.pay-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.pay-overlay.hidden {
  display: none;
}

.pay-box {
  background: #020617;
  border-radius: 22px;
  padding: 36px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  border: 1px solid rgba(59,130,246,0.3);
  box-shadow: 0 0 45px rgba(59,130,246,0.5);
}

.pay-box h2 {
  color: #3b82f6;
  margin-bottom: 24px;
}

.pay-loading-text {
  color: #9ca3af;
  font-size: 14px;
  animation: fadeText 1.5s infinite alternate;
}

.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pay-methods button {
  padding: 14px;
  border-radius: 14px;
  background: #020617;
  border: 1px solid rgba(59,130,246,0.35);
  color: #e5e7eb;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.pay-methods button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(59,130,246,0.6);
}

/* =====================
   CANCEL BUTTON (PRO)
===================== */
.pay-cancel {
  margin-top: 22px;
  padding: 10px 22px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(59,130,246,0.35);
  color: #9ca3af;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

/* hover */
.pay-cancel:hover {
  color: #e5e7eb;
  box-shadow: 0 0 18px rgba(59,130,246,0.35);
  transform: translateY(-1px);
}

/* active click */
.pay-cancel:active {
  transform: scale(0.97);
}


@media (max-width: 480px) {
  .pay-methods {
    grid-template-columns: 1fr;
  }
}

.pay-box img {
  max-width: 220px;
  border-radius: 16px;
  margin: 16px auto;
  display: block;
}

.pay-links {
  display: grid;
  gap: 12px;
}

.pay-links a {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(59,130,246,0.35);
  text-decoration: none;
  color: #e5e7eb;
  font-weight: 600;
  transition: 0.25s ease;
}

.pay-links a:hover {
  box-shadow: 0 0 25px rgba(59,130,246,0.6);
  transform: translateY(-1px);
}

.wallet {
  font-size: 13px;
  color: #9ca3af;
  word-break: break-all;
  margin-top: 10px;
}


/* =====================
   QRIS IMAGE FIT
===================== */
.qris-wrap {
  width: 100%;
  max-width: 260px;
  margin: 18px auto;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qris-wrap img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  border-radius: 12px;
}

/* Mobile adjustment */
@media (max-width: 480px) {
  .qris-wrap {
    max-width: 220px;
  }

  .qris-wrap img {
    max-height: 260px;
  }
}

/* ===== DESKTOP PAYMENT MODAL SIZE ===== */

@media (min-width: 900px) {
  .pay-box {
    max-width: 900px;
    width: 90%;
  }
}

.pay-box {
  position: relative;
}

.pay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pay-back {
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
  cursor: pointer;
}

.pay-back:hover {
  text-decoration: underline;
}

.pay-close {
  background: none;
  border: none;
  font-size: 18px;          /* smaller */
  font-weight: 300;         /* thinner */
  color: #64748b;           /* slate-500 */
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.pay-close:hover {
  color: #94a3b8;           /* slate-400 */
}

.pay-warning {
  margin-top: 12px;
  font-size: 13px;
  color: #fbbf24; /* amber */
  text-align: center;
  line-height: 1.4;
}

.pay-price.highlight .desc {
  color: #67e8f9;
}

.paypal-link {
  display: block;
  margin: 10px auto 14px;
  padding: 12px 14px;
  max-width: 320px;
  text-align: center;
  border-radius: 14px;
  font-weight: 600;
  color: #3b82f6;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.25);
  text-decoration: none;
}

.paypal-link:hover {
  background: rgba(59,130,246,0.14);
}

@media (max-width: 480px) {
  .pay-links a,
  .paypal-link,
  .buy-btn {
    min-height: 52px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .pay-prices {
    margin: 18px 0;
  }

  .pay-price {
    font-size: 15px;
  }

  .pay-loading-text {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 14px 16px;
  }

  .header-actions {
    gap: 12px;
  }

  .discord-header-btn {
    padding: 12px 18px;   /* taller buttons */
    font-size: 15px;      /* easier to read */
  }
}

@media (max-width: 480px) {
  .header p {
    display: none; /* hides subtitle under THAN HUB */
  }

  .header h1 {
    font-size: 18px;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 480px) {
  .discord-header-btn:active {
    transform: scale(0.97);
    box-shadow: 0 0 12px rgba(59,130,246,0.5);
  }
}

@media (max-width: 480px) {
  .discord-header-btn img {
    width: 20px;
  }
}

@media (max-width: 480px) {
  .header-actions {
    flex-direction: row-reverse;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 12px 14px;
  }

  .logo {
    width: 32px;
    height: 32px;
    padding: 4px;
  }

  .header h1 {
    font-size: 17px;
    letter-spacing: 1.2px;
  }
}

@media (max-width: 480px) {
  .discord-header-btn {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 999px;
  }
}

@media (max-width: 480px) {
  .pay-box {
    padding: 24px 18px;
    max-width: 92vw;
  }

  .pay-box h2 {
    font-size: 18px;
    margin-bottom: 18px;
  }
}

@media (max-width: 480px) {
  .pay-methods button,
  .pay-links a,
  .paypal-link,
  .buy-btn {
    font-size: 15px;
    min-height: 52px;
  }
}

@media (max-width: 480px) {
  .pay-loading-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .pay-warning {
    font-size: 12.5px;
  }
}

.pay-price {
  gap: 12px;
}

@media (max-width: 480px) {
  .pay-box {
    max-height: 88vh;
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .discord-header-btn {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .pay-back,
  .pay-close {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .pay-box {
    border-radius: 22px 22px 0 0;
    margin-top: auto;
  }
}

/* =====================
   SESSION EXPIRED OVERLAY
===================== */
.session-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
}

.session-box {
  background: #020617;
  padding: 28px;
  border-radius: 18px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(59,130,246,0.35);
  box-shadow: 0 0 40px rgba(59,130,246,0.6);
}

.session-box h2 {
  color: #3b82f6;
  margin-bottom: 10px;
}

.session-box p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.5;
}

/* =====================
   SESSION EXPIRED COOLDOWN
===================== */
.session-countdown {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #60a5fa;
}


/* ===== QRIS POSTER ===== */

.qris-poster {
  text-align: center;
  color: #e5e7eb;
}

.qris-header h2 {
  margin: 10px 0 2px;
  color: #3b82f6;
}

.qris-header p {
  font-size: 13px;
  color: #9ca3af;
}

.qris-logo {
  width: 64px;
  margin-bottom: 10px;
}

.qris-merchant {
  margin: 18px 0;
  background: #0f172a;
  padding: 14px;
  border-radius: 14px;
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.qris-merchant span {
  color: #9ca3af;
  margin-right: 6px;
}

.qris-merchant b {
  color: #e5e7eb;
}

.qris-qr {
  background: white;
  padding: 16px;
  border-radius: 18px;
  margin: 20px auto;
  width: fit-content;
}

.qris-qr img {
  width: 240px;
  max-width: 100%;
}

.qris-scan-text {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.qris-prices {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}

.price-card {
  background: #020617;
  border: 1px solid rgba(59,130,246,0.35);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 120px;
}

.price-card b {
  color: #22d3ee;
  display: block;
}

.price-card span {
  font-size: 12px;
  color: #9ca3af;
}

.qris-steps {
  font-size: 13px;
  color: #e5e7eb;
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.qris-trust {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 18px;
}

/* ===== RESPONSIVE QRIS FIX ===== */

@media (min-width: 768px) {
  .qris-poster {
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
  }

  .qris-qr img {
    width: 200px; /* smaller QR for desktop */
  }

  .qris-prices {
    flex-direction: row;
  }

  .qris-steps {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
    gap: 10px;
  }
}

/* ===== QRIS DESKTOP HORIZONTAL LAYOUT ===== */

@media (min-width: 900px) {
  .qris-poster {
    max-width: 820px;
    width: 100%;
  }

  .qris-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    align-items: center;
  }

  .qris-qr img {
    width: 220px;
  }

  .qris-right {
    text-align: left;
  }

  .qris-prices {
    justify-content: flex-start;
  }

  .qris-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .qris-trust {
    text-align: left;
  }

  .buy-btn {
    width: 100%;
  }
}

/* ===== QR ZOOM OVERLAY ===== */

.qr-zoom {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease;
}

.qr-zoom.hidden {
  display: none;
}

.qr-zoom img {
  max-width: 90vw;
  max-height: 85vh;
  background: white;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(59,130,246,0.7);
  animation: zoomIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes zoomIn {
  from { transform: scale(0.9) }
  to { transform: scale(1) }
}

/* ===== SMOOTH COPY FEEDBACK ===== */

button.copied {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  transform: scale(1.05);
}

button {
  transition: background 0.2s ease, transform 0.15s ease;
}

.wallet.copied {
  background: #16a34a;
  color: white;
}

/* ===== MODERN COPY BUTTON ===== */

.copy-btn {
  background: #0f172a;
  border: 1px solid rgba(59,130,246,0.25);
  color: #cbd5f5;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.copy-btn:hover {
  background: #1e293b;
  border-color: #3b82f6;
  box-shadow: 0 0 12px rgba(59,130,246,0.5);
  transform: translateY(-1px);
}

.copy-btn.copied {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #22c55e;
  color: white;
  box-shadow: 0 0 14px rgba(34,197,94,0.6);
  transform: scale(1.05);
}

/* ===== PAYPAL & CRYPTO HORIZONTAL LAYOUT ===== */

.pay-layout {
  display: block;
}

@media (min-width: 900px) {
  .pay-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
  }

  .pay-right {
    background: #0f172a;
    padding: 20px;
    border-radius: 16px;
  }
}

/* ===== PREMIUM PRICE LIST ===== */

.price-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0;
}

.price-box {
  background: radial-gradient(
    circle at top,
    #0b1228,
    #020617
  );
  border-radius: 22px;
  padding: 22px 28px;
  min-width: 220px;
  text-align: center;
  border: 1px solid rgba(59,130,246,0.25);
  box-shadow:
    0 0 35px rgba(59,130,246,0.35),
    inset 0 0 20px rgba(59,130,246,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-box:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 55px rgba(59,130,246,0.6),
    inset 0 0 25px rgba(59,130,246,0.15);
}

.price-amount {
  font-size: 22px;
  font-weight: 800;
  color: #22d3ee;
  margin-bottom: 6px;
}

.price-desc {
  font-size: 13px;
  color: #9ca3af;
}

/* Mobile tuning */
@media (max-width: 480px) {
  .price-box {
    min-width: 180px;
    padding: 18px 22px;
  }

  .price-amount {
    font-size: 20px;
  }
}

/* ===== PREMIUM PRICE CARDS (PAYPAL / CRYPTO) ===== */

/* LEFT COLUMN CARD FIX */
.pay-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

@media (min-width: 900px) {
  .pay-left {
    background: #020617;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(59,130,246,0.25);
    box-shadow: 0 0 35px rgba(59,130,246,0.25);
  }
}

.price-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0;
}

.price-box {
  background: radial-gradient(circle at top, #0b1228, #020617);
  border-radius: 22px;
  padding: 22px 28px;
  min-width: 220px;
  text-align: center;
  border: 1px solid rgba(59,130,246,0.25);
  box-shadow:
    0 0 35px rgba(59,130,246,0.35),
    inset 0 0 20px rgba(59,130,246,0.08);
}

.price-amount {
  font-size: 22px;
  font-weight: 800;
  color: #22d3ee;
  margin-bottom: 6px;
}

.price-desc {
  font-size: 13px;
  color: #9ca3af;
}


/* ===== QR CLICK CAPTION (CLEAN) ===== */

.qr-caption {
  margin-top: 10px;
  font-size: 12px;
  color: #000;
  text-align: center;
  user-select: none;
}

.qris-qr:hover .qr-caption {
  opacity: 1;
}

@keyframes softPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}


/* ===== CRYPTO WALLET CARDS ===== */

.wallet-card {
  width: 100%;
  max-width: 520px;
  background: #020617;
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: 0.2s ease;
}

.wallet-card + .wallet-card {
  margin-top: 14px;
}

.wallet-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 0 18px rgba(59,130,246,0.35);
}

.wallet-header {
  font-size: 13px;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.wallet-address {
  font-size: 12px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  word-break: break-all;
}

.wallet-copy-icon {
  font-size: 14px;
  opacity: 0.7;
}

.wallet-card.copied {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #22c55e;
}

.wallet-card.copied .wallet-address,
.wallet-card.copied .wallet-header {
  color: white;
}

.wallet-section {
  margin-top: 18px;
}

.paypal-section {
  margin-top: 16px;
  text-align: center;
}

.paypal-link {
  display: inline-block;
  margin-bottom: 6px;
}


/* ===== PRICING PLANS ===== */

.pricing {
  max-width: 1100px;
  margin: 80px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.price-card {
  background: linear-gradient(
    180deg,
    rgba(2,6,23,0.95),
    rgba(2,6,23,0.85)
  );
  border-radius: 22px;
  padding: 36px;
  text-align: center;

  /* BASE GLOW (ALL CARDS) */
  border: 1px solid rgba(56,189,248,0.35);
  box-shadow:
    0 0 30px rgba(56,189,248,0.25),
    0 10px 40px rgba(0,0,0,0.6);

  transition: transform .25s ease,
              box-shadow .25s ease,
              border .25s ease;
}

.price-card:hover {
  box-shadow:
    0 0 50px rgba(56,189,248,0.45),
    0 25px 90px rgba(0,0,0,0.9);
  transform: translateY(-6px);
}

.price-card h2 {
  color: #38bdf8;
  margin-bottom: 10px;
}

.price {
  font-size: 38px;
  font-weight: 800;
  margin: 20px 0;
  color: #22d3ee;
}

.price span {
  font-size: 14px;
  color: #9ca3af;
}

.features {
  list-style: none;
  margin: 24px 0;
  display: grid;
  gap: 12px;
  color: #e5e7eb;
}

.features li {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.buy-btn {
  margin-top: 24px;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #fff;
  box-shadow: 0 8px 30px rgba(56,189,248,0.4);
  transition: transform .2s ease, box-shadow .2s ease;
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(56,189,248,0.6);
}

.buy-btn {
  min-height: 48px; /* Apple HIG */
}

.qr-zoom img {
  -webkit-user-select: none;
  user-select: none;
}

/* ===== SCRIPT LOADER ===== */

.script-box {
  margin-top: 40px;
  background: var(--panel);
  border-radius: 22px;
  padding: 36px;
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  text-align: center;
}

.script-box h2 {
  color: var(--accent);
  margin-bottom: 6px;
}

.script-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.script-frame {
  position: relative;
  background: #020617;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(59,130,246,0.35);
  box-shadow: 0 0 35px rgba(59,130,246,0.25);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  overflow: hidden;
}

.script-spacer {
  width: 80px; /* roughly button width */
}

/* animated glow overlay */
.script-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(59,130,246,0.25),
    transparent
  );
  animation: loaderSweep 3s linear infinite;
  pointer-events: none; /* 🔑 IMPORTANT FIX */
}

@keyframes loaderSweep {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* script input */
.script-input {
  background: transparent;
  border: none;
  outline: none;
  color: #e5e7eb;
  font-family: monospace;
  font-size: 13.5px;
  text-align: center;
  cursor: text;
  white-space: nowrap;
}

.script-copy-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(59,130,246,0.45);
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
}



.script-input::selection {
  background: rgba(59,130,246,0.4);
}

/* copy button */
.script-copy-btn {
  position: relative;
  z-index: 2;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(59,130,246,0.45);
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 16px rgba(59,130,246,0.35);
}

.script-copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(59,130,246,0.65);
}

.script-copy-btn.copied {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #22c55e;
  color: #fff;
  box-shadow: 0 0 22px rgba(34,197,94,0.6);
}

/* =====================
   SCRIPT LOADER — MOBILE FRIENDLY
===================== */

@media (max-width: 600px) {

  .script-box {
    padding: 22px 16px;
  }

  .script-frame {
    padding: 14px;
    gap: 12px;
  }

  /* Make script readable + scrollable */
  .script-input {
    font-size: 12.5px;
    line-height: 1.5;
    padding: 10px 8px;
    text-align: left;              /* 👈 better readability */
    overflow-x: auto;              /* 👈 allow horizontal scroll */
    white-space: nowrap;           /* 👈 keep loadstring intact */
    -webkit-overflow-scrolling: touch;
  }

  /* Bigger, thumb-friendly copy button */
  .script-copy-btn {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    margin-top: 4px;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .script-input {
    font-size: 12px;
  }
}