/* Points top-up additions (loaded after styles.css) */
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-gradient); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.hero-art {
  width: 100%; max-width: 480px; aspect-ratio: 1; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 30% 20%, rgba(255,138,101,0.35), rgba(18,22,32,0.9) 70%);
  border: 1px solid var(--card-border); box-shadow: var(--shadow-dark);
  display: flex; align-items: center; justify-content: center; gap: 28px;
  color: var(--gold-primary); position: relative; overflow: hidden;
}
.hero-art > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-label { position: absolute; left: 20px; bottom: 20px; padding: 9px 14px; border-radius: var(--radius-full); background: rgba(10,12,16,.78); backdrop-filter: blur(10px); border: 1px solid rgba(255,138,101,.5); color: var(--gold-light); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.how-section { padding: 70px 24px 20px; max-width: 1100px; margin: 0 auto; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.how-step { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 24px; text-align: center; }
.how-step h4 { margin: 10px 0 6px; color: var(--gold-light); }
.how-step p { color: var(--text-secondary); font-size: 0.9rem; }
.how-num { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-gradient); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.custom-donate {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: var(--card-bg); border: 1px dashed var(--gold-primary); border-radius: var(--radius-md);
  padding: 20px 24px; margin-bottom: 30px;
}
.custom-donate h3 { color: var(--gold-light); font-size: 1.2rem; }
.custom-donate p { color: var(--text-secondary); font-size: 0.85rem; }
.custom-donate-form { display: flex; align-items: center; gap: 8px; }
.custom-donate-form .search-input { width: 110px; }
.currency-prefix { font-weight: 700; color: var(--gold-light); }
.gift-visual { background: radial-gradient(circle at 50% 40%, rgba(255,138,101,0.22), #0d1017 75%); }
.gift-visual .gift-icon { position: absolute; inset: 0; margin: auto; height: 1em; width: 1em; font-size: 4.5rem; color: var(--gold-primary); }
.gift-icon-badge { position: absolute; right: 14px; top: 14px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(10,12,16,.78); border: 1px solid rgba(255,138,101,.45); color: var(--gold-light); backdrop-filter: blur(8px); }
.quickview-img-box { overflow: hidden; border-radius: var(--radius-md); }
.quickview-img-box img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; position: absolute; inset: 0; }
.gift-desc { color: var(--text-secondary); font-size: 0.85rem; margin: 6px 0 14px; }
.cart-item-icon { display: flex; align-items: center; justify-content: center; background: rgba(255,138,101,0.12); color: var(--gold-primary); font-size: 1.6rem; border-radius: var(--radius-sm); }
.freq-toggle { display: flex; gap: 6px; margin-bottom: 12px; }
.freq-btn { flex: 1; padding: 10px; border-radius: var(--radius-full); border: 1px solid var(--card-border); background: transparent; color: var(--text-primary); font-weight: 600; cursor: pointer; font-family: inherit; }
.freq-btn.active { background: var(--gold-gradient); color: #fff; border-color: transparent; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-secondary); margin: 8px 0 12px; cursor: pointer; }
.demo-note { background: rgba(255,138,101,0.1); border: 1px dashed var(--gold-primary); color: var(--gold-light); padding: 10px 12px; border-radius: 8px; font-size: 0.8rem; }

/* ===== Points top-up page ===== */
.page-loader { position: fixed; inset: 0; z-index: 9999; background: var(--bg-primary); display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; color: var(--text-secondary); transition: opacity .4s ease; }
.page-loader.done { opacity: 0; pointer-events: none; }
.loader-spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--card-border); border-top-color: var(--gold-primary); animation: wp-spin .8s linear infinite; }
@keyframes wp-spin { to { transform: rotate(360deg); } }
.points-art { flex-direction: column; gap: 20px; }
.points-orb { width: 150px; height: 150px; border-radius: 50%; background: var(--gold-gradient); color: #fff; display: grid; place-items: center; font-size: 4.5rem; box-shadow: 0 0 60px var(--gold-glow); }
.points-art-text { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.points-art-text strong { color: var(--gold-light); font-size: 1.4rem; }
.points-art-text span { color: var(--text-secondary); font-size: .9rem; }
.pack-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 180px; position: relative; }
.pack-icon { font-size: 2.6rem; color: var(--gold-primary); }
.pack-points { font-size: 2rem; font-weight: 700; color: var(--gold-light); }
.pack-points small { font-size: .9rem; margin-left: 4px; color: var(--text-secondary); font-weight: 500; }
.cart-item-details { min-width: 0; }
@media (max-width: 640px) {
  .custom-donate { padding: 16px; }
  .custom-donate-form { width: 100%; }
  .custom-donate-form .search-input { flex: 1; width: auto; }
  .nav-cta { display: none; }
  .cart-drawer { width: 100%; max-width: 100%; }
  .modal-card { width: calc(100% - 24px); max-height: 92vh; overflow-y: auto; }
}

/* Images */
.points-art { position: relative; justify-content: flex-end; padding-bottom: 28px; }
.points-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.points-art-text { position: relative; z-index: 1; background: rgba(10,12,16,.7); backdrop-filter: blur(8px); padding: 10px 20px; border-radius: var(--radius-md); border: 1px solid var(--card-border); }
.pack-visual { padding: 0; min-height: 0; aspect-ratio: 400 / 340; overflow: hidden; display: block; }
.pack-visual > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pack-visual .pack-points { position: absolute; left: 14px; bottom: 12px; z-index: 2; background: rgba(10,12,16,.75); padding: 4px 12px; border-radius: var(--radius-full); border: 1px solid rgba(255,138,101,.45); font-size: 1.15rem; }
.cart-item-img { width: 64px; height: 64px; flex: none; border-radius: var(--radius-sm); overflow: hidden; background: #0d1017; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-img { width: 100%; border-radius: var(--radius-md); display: block; margin-bottom: 8px; }

.how-img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius-md); display: block; margin: 0 auto 12px; }
.points-art > img { object-fit: contain; padding: 16px 16px 70px; }
