/* ===========================
   PAYMENT MODAL — CRYPTO
   =========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: #0d1320;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 2rem 2rem 1.5rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 60px rgba(0,245,160,0.05);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 32px; height: 32px;
  border: none; background: rgba(255,255,255,0.06);
  border-radius: 50%; color: #8896b0;
  font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

.modal-product-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,245,160,0.1);
  border: 1px solid rgba(0,245,160,0.25);
  color: #00f5a0;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.modal-product-badge.blue { background: rgba(0,170,255,0.1); border-color: rgba(0,170,255,0.25); color: #00aaff; }

.modal-price {
  font-size: 2.4rem; font-weight: 900;
  color: #f0f4ff; margin-bottom: 0.2rem; line-height: 1;
}
.modal-price sup { font-size: 1.1rem; font-weight: 700; vertical-align: super; }
.modal-onetime { font-size: 0.78rem; color: #8896b0; margin-bottom: 1.25rem; font-weight: 600; }

/* Order Code Box */
.order-code-box {
  background: rgba(255, 210, 0, 0.06);
  border: 1px solid rgba(255, 210, 0, 0.2);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}
.order-code-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #ffd200; margin-bottom: 0.5rem;
}
.order-code-row {
  display: flex; align-items: center; gap: 0.6rem;
}
.order-code-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem; font-weight: 700; color: #fff;
  letter-spacing: 0.12em; flex: 1;
}
.order-code-hint {
  font-size: 0.74rem; color: #8896b0; margin-top: 0.5rem; line-height: 1.5;
}

/* Exact amount sub-box */
.exact-amount-box {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(0,170,255,0.07);
  border: 1px solid rgba(0,170,255,0.25);
  border-radius: 10px;
}
.exact-amount-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #00aaff; margin-bottom: 0.3rem;
}
.exact-amount-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem; font-weight: 900; color: #fff;
  margin-bottom: 0.3rem;
}
.exact-amount-hint {
  font-size: 0.72rem; color: #4a5568; line-height: 1.5;
}

/* Copy buttons */
.copy-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: #8896b0; border-radius: 8px;
  padding: 0.3rem 0.65rem; font-size: 0.82rem;
  cursor: pointer; transition: all 0.2s;
  font-family: 'Outfit', sans-serif; white-space: nowrap;
  flex-shrink: 0;
}
.copy-btn:hover { background: rgba(255,255,255,0.13); color: #fff; border-color: rgba(255,255,255,0.2); }
.copy-btn-green {
  background: rgba(0,245,160,0.12);
  border-color: rgba(0,245,160,0.3);
  color: #00f5a0; font-weight: 700;
  padding: 0.3rem 0.9rem;
}
.copy-btn-green:hover { background: rgba(0,245,160,0.2); border-color: rgba(0,245,160,0.5); color: #00f5a0; }

.modal-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: #4a5568; margin-bottom: 0.75rem;
}

/* Wallet Accordion */
.wallets-list { display: flex; flex-direction: column; gap: 0.5rem; }

.wallet-row {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s;
}
.wallet-row.open { border-color: rgba(255,255,255,0.15); }

.wallet-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.wallet-header:hover { background: rgba(255,255,255,0.04); }

.wallet-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; flex-shrink: 0;
}
.wallet-info { flex: 1; }
.wallet-name { font-weight: 700; font-size: 0.9rem; color: #f0f4ff; display: block; }
.wallet-symbol { font-size: 0.75rem; color: #4a5568; font-weight: 600; }

.wallet-chevron {
  color: #4a5568; font-size: 1rem;
  transition: transform 0.2s;
}
.wallet-row.open .wallet-chevron { transform: rotate(180deg); color: #8896b0; }

.wallet-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
  padding: 0 1rem;
}
.wallet-row.open .wallet-body {
  max-height: 420px;
  padding: 0 1rem 1rem;
}

.wallet-addr-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: #4a5568; margin-bottom: 0.35rem;
}
.wallet-addr-row {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(0,0,0,0.3); border-radius: 8px;
  padding: 0.5rem 0.65rem;
}
.wallet-addr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; color: #c9d4e8;
  word-break: break-all; flex: 1; line-height: 1.4;
}
.memo-row { border-color: rgba(255,210,0,0.2); background: rgba(255,210,0,0.05); }
.memo-field { color: #ffd200; font-weight: 700; }
.wallet-note {
  font-size: 0.75rem; color: #4a5568; margin-top: 0.6rem; line-height: 1.5;
}

/* QR Code panel */
.qr-btn {
  background: rgba(0,245,160,0.08);
  border-color: rgba(0,245,160,0.2);
  color: #00f5a0;
  font-size: 0.75rem;
}
.qr-btn:hover { background: rgba(0,245,160,0.15); border-color: rgba(0,245,160,0.4); color: #00f5a0; }

.qr-panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.qr-panel.open { max-height: 260px; padding: 0.75rem 0 0.25rem; }

.qr-img {
  width: 160px; height: 160px;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  display: block;
}
.qr-hint {
  font-size: 0.72rem; color: #4a5568; text-align: center;
}


/* Discord note */
.modal-discord-note {
  margin-top: 1.25rem;
  font-size: 0.8rem; color: #4a5568; line-height: 1.6;
  background: rgba(255,255,255,0.03);
  border-radius: 10px; padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.modal-discord-note strong { color: #c9d4e8; }
.modal-discord-note a { color: #00f5a0; text-decoration: none; }
.modal-discord-note a:hover { text-decoration: underline; }

.delivery-title {
  font-weight: 800; font-size: 0.85rem; color: #f0f4ff;
  margin-bottom: 0.75rem;
}
.delivery-step {
  display: flex; align-items: flex-start; gap: 0.6rem;
  text-align: left; margin-bottom: 0.5rem; font-size: 0.8rem; color: #8896b0;
}
.delivery-num {
  background: rgba(0,245,160,0.15); color: #00f5a0;
  border-radius: 50%; width: 20px; height: 20px; min-width: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; margin-top: 0.05rem;
}
.delivery-alt {
  margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem; color: #4a5568; line-height: 1.6;
}
.delivery-alt a { color: #00aaff; text-decoration: none; font-weight: 700; }
.delivery-alt a:hover { text-decoration: underline; }


/* ===========================

   COOKIE CONSENT BANNER
   =========================== */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem;
  max-width: 420px;
  background: #111827;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 1.5rem;
  z-index: 1500;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
}
#cookie-banner.hidden {
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
}
.cookie-icon { font-size: 1.8rem; margin-bottom: 0.75rem; display: block; }
.cookie-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; color: #f0f4ff; }
.cookie-text { font-size: 0.82rem; color: #8896b0; line-height: 1.6; margin-bottom: 1.25rem; }
.cookie-text a { color: #00f5a0; text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-accept {
  flex: 1; padding: 0.65rem 1rem;
  background: linear-gradient(135deg, #00f5a0, #00d9f5);
  color: #030a05; font-weight: 700; font-size: 0.88rem;
  border: none; border-radius: 100px; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cookie-accept:hover { box-shadow: 0 4px 20px rgba(0,245,160,0.4); transform: translateY(-1px); }
.cookie-decline {
  padding: 0.65rem 1rem;
  background: transparent;
  color: #8896b0; font-size: 0.88rem;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: border-color 0.2s, color 0.2s;
}
.cookie-decline:hover { border-color: rgba(255,255,255,0.25); color: #f0f4ff; }
