:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --primary: #315efb;
  --navy: #0a1224;
  --ease-out: cubic-bezier(.16,1,.3,1);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #f5f7fb;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; overflow-x: hidden; background: #f5f7fb; }
a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.store-topbar { height: 68px; position: relative; z-index: 10; color: white; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar-inner { width: min(1120px, calc(100% - 40px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-size: 15px; font-weight: 750; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--primary); border-radius: 10px; box-shadow: 0 7px 20px rgba(49,94,251,.38); font-weight: 850; transition: transform .3s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-5deg) scale(1.06); }
.redeem-link { display: flex; align-items: center; gap: 9px; color: #a8b2c5; text-decoration: none; font-size: 11px; }
.redeem-link strong { padding: 8px 11px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; transition: background .2s, transform .2s var(--ease-out); }
.redeem-link:hover strong { background: rgba(255,255,255,.14); transform: translateY(-1px); }
main { width: min(1120px, calc(100% - 40px)); margin: auto; padding-bottom: 55px; }
.store-hero { min-height: 330px; margin: 0 calc((1120px - 100vw) / 2); padding: 70px max(20px, calc((100vw - 1120px) / 2)); position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 82% 26%, rgba(70,104,255,.36), transparent 30%), radial-gradient(circle at 18% 110%, rgba(62,205,190,.13), transparent 28%), linear-gradient(145deg,#101d3b,#07101f); }
.hero-glow { width: 420px; height: 420px; position: absolute; right: 5%; top: -240px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 78px rgba(255,255,255,.025), 0 0 0 155px rgba(255,255,255,.018); animation: float 8s ease-in-out infinite alternate; }
.hero-copy { max-width: 650px; position: relative; z-index: 1; animation: fade-up .7s var(--ease-out) both; }
.eyebrow { margin: 0 0 14px; color: #90a8ff; font-size: 10px; font-weight: 850; letter-spacing: .17em; }
.eyebrow.ink { color: var(--primary); }
.hero-copy h1 { margin: 0; font-size: clamp(35px,6vw,54px); line-height: 1.15; letter-spacing: -.055em; }
.hero-copy > p:last-child { max-width: 570px; margin: 20px 0 0; color: #aab5ca; font-size: 14px; line-height: 1.75; }
.purchase-flow { max-width: 700px; margin: 43px 0 0; padding: 0; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,1fr); list-style: none; animation: fade-up .7s .16s var(--ease-out) both; }
.purchase-flow::before { content: ""; height: 1px; position: absolute; left: 18px; right: 18px; top: 17px; background: rgba(255,255,255,.13); }
.purchase-flow li { position: relative; display: flex; align-items: center; gap: 10px; color: #8592a9; }
.purchase-flow li > span { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; color: #9ba7bd; background: #121f39; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; font-size: 11px; font-weight: 800; }
.purchase-flow li.is-active > span { color: white; background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 6px rgba(49,94,251,.16); }
.purchase-flow strong, .purchase-flow small { display: block; }
.purchase-flow strong { color: #d8deea; font-size: 11px; }
.purchase-flow small { margin-top: 3px; font-size: 9px; }
.store-content { margin-top: -1px; padding: 35px 0 24px; }
.section-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-head h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.secure-note { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.secure-note i { width: 7px; height: 7px; background: #12b76a; border-radius: 50%; box-shadow: 0 0 0 4px rgba(18,183,106,.12); }
.amount-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.amount-card { min-height: 225px; padding: 20px; position: relative; display: flex; flex-direction: column; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 3px 10px rgba(16,24,40,.035); text-decoration: none; animation: card-in .55s var(--ease-out) both; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-out); }
.amount-card:nth-child(2) { animation-delay: .055s; }
.amount-card:nth-child(3) { animation-delay: .11s; }
.amount-card:nth-child(4) { animation-delay: .165s; }
.amount-card:nth-child(5) { animation-delay: .22s; }
.amount-card:nth-child(n+6) { animation-delay: .275s; }
.amount-card:hover { border-color: #aebeff; box-shadow: 0 16px 34px rgba(16,24,40,.1); transform: translateY(-4px); }
.amount-card.is-leaving { animation: card-leave .35s ease-in forwards; }
.amount-card-top { display: flex; align-items: center; justify-content: space-between; color: #667085; font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.arrow { width: 27px; height: 27px; display: grid; place-items: center; color: var(--primary); background: #eef2ff; border-radius: 7px; font-size: 14px; transition: transform .25s var(--ease-out); }
.amount-card:hover .arrow { transform: translate(2px,-2px); }
.amount-card > strong { margin-top: 25px; font-size: 31px; letter-spacing: -.055em; }
.amount-card > p { margin: 7px 0 22px; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.buy-action { min-height: 41px; margin-top: auto; display: grid; place-items: center; color: white; background: var(--primary); border-radius: 9px; box-shadow: 0 5px 14px rgba(49,94,251,.2); font-size: 11px; font-weight: 720; transition: background .2s, box-shadow .2s; }
.amount-card:hover .buy-action { background: #234bdc; box-shadow: 0 8px 18px rgba(49,94,251,.27); }
.amount-skeleton { min-height: 225px; background: linear-gradient(105deg,#fff 30%,#f7f8fb 48%,#fff 66%); background-size: 220% 100%; border: 1px solid var(--line); border-radius: 14px; animation: shimmer 1.2s linear infinite; }
.store-state { min-height: 260px; margin-top: 18px; display: grid; place-content: center; justify-items: center; text-align: center; background: white; border: 1px dashed #d5dae3; border-radius: 14px; }
.store-state > span { width: 46px; height: 46px; display: grid; place-items: center; color: var(--primary); background: #eef2ff; border-radius: 50%; font-weight: 800; }
.store-state h3 { margin: 15px 0 5px; font-size: 15px; }
.store-state p { margin: 0; color: var(--muted); font-size: 11px; }
.store-state button { min-height: 38px; margin-top: 15px; padding: 0 14px; color: white; background: var(--primary); border: 0; border-radius: 8px; cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; }
.error-state > span { color: #b42318; background: #fef3f2; }
.purchase-notice { min-height: 92px; margin-top: 12px; padding: 19px 21px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 14px; color: #344054; background: #fffaf0; border: 1px solid #f5deb1; border-radius: 13px; }
.notice-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #b54708; background: #fff1d5; border-radius: 9px; }
.purchase-notice strong { font-size: 11px; }
.purchase-notice p { margin: 5px 0 0; color: #7a5a33; font-size: 10px; line-height: 1.55; }
.purchase-notice a { padding: 9px 12px; color: #9a4b08; border: 1px solid #e9c785; border-radius: 8px; text-decoration: none; font-size: 10px; font-weight: 750; }
footer { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #98a2b3; border-top: 1px solid #e6e9ef; font-size: 9px; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { to { transform: translate(-18px,20px) scale(1.05); } }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes card-leave { to { opacity: .5; transform: scale(.98); } }
@keyframes shimmer { to { background-position: -220% 0; } }
@media (max-width: 760px) {
  .store-topbar { height: 62px; }
  .topbar-inner, main { width: min(100% - 28px,1120px); }
  .redeem-link > span { display: none; }
  .store-hero { min-height: 345px; margin: 0 -14px; padding: 48px 14px 45px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-copy > p:last-child { font-size: 12px; }
  .purchase-flow { margin-top: 35px; gap: 7px; }
  .purchase-flow li { align-items: flex-start; flex-direction: column; gap: 8px; }
  .purchase-flow li > span { width: 31px; height: 31px; }
  .purchase-flow::before { left: 15px; right: 15px; top: 15px; }
  .purchase-flow small { line-height: 1.35; }
  .store-content { padding-top: 26px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .amount-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .amount-card { min-height: 190px; }
  .amount-card > strong { margin-top: 19px; }
  .amount-skeleton { min-height: 190px; }
  .purchase-notice { grid-template-columns: 38px 1fr; }
  .purchase-notice a { grid-column: 1/-1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
