/* ============================================================
   GT Seats — Additional feature styles
   (affiliate banner, account currency + progress, checkout receipt)
   ============================================================ */

/* ---------- Home: affiliate program banner ---------- */
.home-affiliate{margin-top:80px;padding:0;border-radius:24px;overflow:hidden;position:relative;background:linear-gradient(135deg,#0f172a 0%,#1e293b 50%,#0f172a 100%);border:1px solid rgba(255,255,255,0.08)}
.home-affiliate::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:radial-gradient(ellipse at 20% 20%,rgba(182,155,98,0.15) 0%,transparent 50%),radial-gradient(ellipse at 80% 80%,rgba(182,155,98,0.08) 0%,transparent 40%);pointer-events:none}
.home-affiliate::after{content:'';position:absolute;inset:0;border-radius:24px;border:1px solid rgba(255,255,255,0.06);pointer-events:none}
.home-affiliate-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:48px;padding:56px 48px}
.home-affiliate-copy{flex:1;min-width:280px}
.home-affiliate-eyebrow{color:rgba(182,155,98,0.9)!important}
.home-affiliate-copy h2{font-size:2.5rem;font-weight:900;line-height:1.1;letter-spacing:-0.5px;color:#fff;margin-bottom:20px;position:relative}
.home-affiliate-copy h2::after{content:'';position:absolute;bottom:-10px;left:0;width:60px;height:3px;background:linear-gradient(90deg,#b69b62,transparent);border-radius:999px}
.home-affiliate-copy>p{font-size:1.05rem;line-height:1.7;color:rgba(255,255,255,0.65);margin-bottom:32px;max-width:440px}
.home-affiliate-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:32px}
.home-aff-tier{display:grid;gap:4px;padding:20px 16px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.08);border-radius:16px;text-align:center;transition:all 0.3s ease;position:relative;overflow:hidden}
.home-aff-tier::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0.04),transparent);pointer-events:none}
.home-aff-tier:hover{transform:translateY(-3px);background:rgba(255,255,255,0.1);border-color:rgba(182,155,98,0.3);box-shadow:0 12px 32px rgba(0,0,0,0.3)}
.home-aff-tier.is-mid{border-color:rgba(182,155,98,0.25);background:rgba(182,155,98,0.08)}
.home-aff-tier.is-top{border-color:rgba(182,155,98,0.4);background:rgba(182,155,98,0.12)}
.home-aff-tier-label{font-size:0.65rem;font-weight:900;letter-spacing:0.15em;text-transform:uppercase;color:rgba(255,255,255,0.45)}
.home-aff-tier.is-mid .home-aff-tier-label{color:rgba(182,155,98,0.7)}
.home-aff-tier.is-top .home-aff-tier-label{color:#b69b62}
.home-aff-tier strong{font-size:1.8rem;font-weight:900;color:#fff;letter-spacing:-0.02em;line-height:1.1}
.home-aff-tier.is-mid strong{color:#f0d68a}
.home-aff-tier.is-top strong{color:#f5deb3}
.home-aff-tier-meta{font-size:0.7rem;font-weight:700;color:rgba(255,255,255,0.4);text-transform:uppercase;letter-spacing:0.08em}
.home-aff-tier em{font-style:normal;font-size:0.72rem;color:rgba(255,255,255,0.35)}
.home-affiliate-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.home-affiliate-actions .btn{background:linear-gradient(135deg,#b69b62,#c9a84f)!important;color:#0f172a!important;border:none!important;font-weight:900!important;box-shadow:0 12px 28px rgba(182,155,98,0.35)}
.home-affiliate-actions .btn:hover{box-shadow:0 16px 36px rgba(182,155,98,0.5);transform:translateY(-2px)}
.home-affiliate-note{font-size:0.78rem;color:rgba(255,255,255,0.4);font-weight:600}
.home-affiliate-art{flex:0 0 280px;height:280px;position:relative;display:grid;place-items:center}
.home-affiliate-banner-img{width:90%;height:90%;object-fit:contain;border-radius:50%;filter:drop-shadow(0 16px 40px rgba(0,0,0,0.35));transition:transform 0.4s cubic-bezier(.2,.7,.2,1),filter 0.4s ease}
.home-affiliate-banner-img:hover{transform:scale(1.04) rotate(-2deg);filter:drop-shadow(0 20px 50px rgba(0,0,0,0.45))}

/* ---------- Account: currency preference (custom picker) ---------- */
.acc-settings .setting-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 6px 0 12px;
}
.setting-label { display: flex; flex-direction: column; }
.setting-label strong { font-size: 15px; color: #111417; }
.setting-label span { font-size: 12px; color: #8a8f98; }

.cur-wrap { position: relative; }
.cur-trigger {
  display: inline-flex; align-items: center; gap: 10px; min-width: 160px;
  padding: 11px 14px; border-radius: 12px; border: 1px solid rgba(15,19,23,.14);
  background: #fff; color: #111417; font-size: 14px; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 12px rgba(20,27,34,.06); transition: border-color .2s, box-shadow .2s;
}
.cur-trigger:hover { border-color: #b08e48; }
.cur-trigger[aria-expanded="true"] { border-color: #b08e48; box-shadow: 0 0 0 3px rgba(176,142,72,.16); }
.cur-chev { width: 8px; height: 8px; border-right: 2px solid #8a8f98; border-bottom: 2px solid #8a8f98; transform: rotate(45deg); margin-left: auto; transition: transform .2s; }
.cur-trigger[aria-expanded="true"] .cur-chev { transform: rotate(-135deg); }

.cur-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  width: 300px; max-width: 82vw; background: #fff;
  border: 1px solid rgba(15,19,23,.10); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(20,27,34,.20); padding: 10px;
  animation: curPop .18s ease;
}
@keyframes curPop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cur-search {
  width: 100%; box-sizing: border-box; height: 40px; border-radius: 10px;
  border: 1px solid rgba(15,19,23,.12); padding: 0 12px; font-size: 14px;
  background: #f6f7f9; color: #111417; margin-bottom: 8px; font-family: inherit;
}
.cur-search:focus { outline: none; border-color: #b08e48; background: #fff; box-shadow: 0 0 0 3px rgba(176,142,72,.16); }
.cur-list { max-height: 264px; overflow: auto; display: grid; gap: 2px; }
.cur-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: transparent; border: 0; border-radius: 10px; padding: 9px 10px;
  cursor: pointer; font-family: inherit;
}
.cur-item:hover { background: rgba(176,142,72,.10); }
.cur-item.is-selected { background: linear-gradient(180deg, #fff5e3, #ffe9c4); }
.cur-code { font-weight: 850; color: #111417; font-size: 13px; }
.cur-name { font-size: 11.5px; color: #8a8f98; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.cur-check { color: #b0761f; font-weight: 900; font-size: 13px; }

/* ---------- Account: affiliate progress bar ---------- */
.aff-progress { margin: 18px 0 4px; }
.aff-progress-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.aff-rate { font-size: 20px; font-weight: 950; color: #b08e48; letter-spacing: -.01em; }
.aff-rate small { font-size: 11px; font-weight: 700; color: #8a8f98; letter-spacing: .03em; margin-left: 5px; text-transform: uppercase; }
.aff-uses { font-size: 13px; font-weight: 700; color: #64717c; }

.aff-bar { position: relative; height: 14px; border-radius: 999px; background: rgba(17,20,23,.07); box-shadow: inset 0 1px 2px rgba(17,20,23,.06); margin: 8px 14px 4px; }
.aff-bar-fill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 999px; width: 0%; background: linear-gradient(90deg, #b08e48, #ffb340); box-shadow: 0 2px 8px rgba(176,142,72,.40); transition: width .7s cubic-bezier(.2,.8,.2,1); }
.aff-node { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid rgba(17,20,23,.12); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #8a8f98; box-shadow: 0 2px 5px rgba(20,27,34,.12); }
.aff-node i { font-style: normal; }
.aff-node:last-child { color: #b0761f; border-color: rgba(176,142,72,.35); }

.aff-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.aff-tier { text-align: center; padding: 11px 6px; border-radius: 12px; background: rgba(17,20,23,.04); border: 1px solid rgba(17,20,23,.06); transition: all .25s ease; }
.aff-tier b { display: block; font-size: 16px; color: #36424c; font-weight: 950; }
.aff-tier span { font-size: 10.5px; color: #8a8f98; }
.aff-tier.is-active { background: linear-gradient(180deg, #fff5e3, #ffe9c4); border-color: #e7c277; box-shadow: 0 8px 20px rgba(176,142,72,.18); }
.aff-tier.is-active b { color: #b0761f; }
.aff-tier-note { font-size: 12.5px; color: #64717c; margin: 12px 0 0; line-height: 1.5; }

/* ---------- Account: customise affiliate code ---------- */
.aff-custom { margin-top: 18px; border-top: 1px solid rgba(15,19,23,.08); padding-top: 16px; }
.aff-custom-row { display: flex; gap: 8px; margin: 10px 0 4px; }
.aff-custom-row input {
  flex: 1; background: #fff; color: #111417; border: 1px solid rgba(15,19,23,.14);
  border-radius: 11px; padding: 11px 13px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; font-family: inherit;
}
.aff-custom-row input:focus { outline: none; border-color: #b08e48; box-shadow: 0 0 0 3px rgba(176,142,72,.16); }

/* ---------- Account: PayPal payout ---------- */
.paypal-row { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; padding: 10px 12px; background: rgba(0,156,222,.06); border: 1px solid rgba(0,156,222,.18); border-radius: 12px; }
.paypal-logo { height: 22px; width: auto; display: block; }
.paypal-row span { font-size: 13px; font-weight: 800; color: #0070ba; letter-spacing: .01em; }

/* ---------- Checkout: receipt download ---------- */
.checkout-receipt { margin-top: 16px; }
.checkout-receipt .checkout-note { margin-top: 8px; }

/* Tablet (721–1080px): tighten affiliate card, keep tiers in a readable row */
@media (max-width: 1080px) and (min-width: 721px) {
  .home-affiliate-card { gap: 32px; padding: 40px 32px; }
  .home-affiliate-art { flex: 0 0 200px; height: 200px; }
  .home-affiliate-banner-img { max-width: 200px; max-height: 200px; }
  .home-affiliate-copy h2 { font-size: 2rem; }
  .home-affiliate-copy > p { font-size: 0.95rem; }
  .home-affiliate-tiers { gap: 10px; }
  .home-aff-tier strong { font-size: 1.5rem; }
  .home-aff-tier-label { font-size: 0.58rem; }
  .home-aff-tier-meta { font-size: 0.62rem; }
  .home-aff-tier em { font-size: 0.66rem; }
}

/* Mobile (≤720px): stack everything, generous spacing */
@media (max-width: 720px) {
  .home-affiliate-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; }
  .home-affiliate-art { order: -1; min-height: 220px; flex: 0 0 220px; height: 220px; }
  .home-affiliate-banner-img { max-width: 220px; max-height: 220px; width: 100%; height: 100%; }
  .home-affiliate-copy h2 { font-size: 1.5rem; }
  .home-affiliate-copy > p { font-size: 0.88rem; line-height: 1.6; }
  .home-affiliate-tiers { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .home-aff-tier { padding: 14px 16px; text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
  .home-aff-tier-label { flex: 0 0 auto; }
  .home-aff-tier strong { font-size: 1.4rem; }
  .home-aff-tier-meta { flex: 0 0 auto; }
  .home-aff-tier em { flex: 1 1 100%; margin-top: 2px; }
  .home-affiliate-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .home-affiliate-actions .btn { width: 100%; text-align: center; }
  .cur-panel { left: 0; right: 0; width: auto; }
}

/* Account affiliate progress + tiers — tablet */
@media (max-width: 1080px) and (min-width: 721px) {
  .aff-tiers { gap: 6px; }
  .aff-tier { padding: 10px 4px; }
  .aff-tier b { font-size: 14px; }
  .aff-tier span { font-size: 9.5px; }
  .aff-progress-head { gap: 8px; }
  .aff-rate { font-size: 17px; }
  .aff-rate small { font-size: 10px; }
  .aff-uses { font-size: 12px; }
  .aff-tier-note { font-size: 11.5px; }
}

/* Account affiliate progress + tiers — mobile */
@media (max-width: 720px) {
  .aff-tiers { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
  .aff-tier { padding: 10px 4px; }
  .aff-tier b { font-size: 14px; }
  .aff-tier span { font-size: 9.5px; }
  .aff-progress-head { flex-wrap: wrap; gap: 6px; }
  .aff-rate { font-size: 17px; }
  .aff-rate small { font-size: 10px; margin-left: 3px; }
  .aff-uses { font-size: 12px; }
  .aff-tier-note { font-size: 11.5px; line-height: 1.45; margin-top: 8px; }
  .aff-bar { margin: 8px 8px 4px; }
  .aff-custom-row { flex-direction: column; gap: 6px; }
  .aff-code-row { flex-direction: column; gap: 8px; text-align: center; }
  .earn-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .earn-stats strong { font-size: 0.95rem; }
  .earn-stats span { font-size: 0.56rem; }
  /* Checkout affiliate mobile */
  .checkout-affiliate { padding: 12px; border-radius: 12px; }
  .affiliate-row { flex-direction: column; gap: 6px; }
  .affiliate-row input { height: 44px; }
}

/* Checkout affiliate — tablet */
@media (max-width: 1080px) and (min-width: 721px) {
  .checkout-affiliate { padding: 12px; }
  .affiliate-row input { height: 42px; }
}

/* Payment method selector — mobile */
@media (max-width: 720px) {
  .payment-method-tab { padding: .55rem .5rem; font-size: .76rem; gap: .35rem; }
  .crypto-asset-options { gap: .3rem; }
  .crypto-asset-btn { padding: .35rem .55rem; font-size: .72rem; }
  .crypto-qr-wrap { margin-bottom: .4rem; }
  .crypto-qr, .crypto-qr-img { width: 150px; height: 150px; }
  .crypto-detail-row { padding: .4rem .5rem; }
  .crypto-detail-label { font-size: .7rem; }
  .crypto-detail-value { font-size: .74rem; }
  .crypto-address { max-width: 160px; font-size: .62rem; }
  .crypto-trust-note { font-size: .62rem; gap: .3rem; padding: .3rem .5rem; }
}

/* Payment method selector — tablet */
@media (max-width: 1080px) and (min-width: 721px) {
  .payment-method-tab { padding: .6rem .7rem; font-size: .8rem; }
}
