/* ===== Premium: rounded + glass + motion ===== */
body, body.halloween { --radius: 22px; --radius-sm: 16px; }

.ds-page button, .ds-page input, .ds-page .ds-card, .ds-page .ds-co-card, .ds-page .ds-signed,
.ds-page .ds-line, .ds-page .ds-cur-menu, .ds-page .ds-notice, .ds-page .ds-lines,
.modal-content, .ds-page [class*="ds-buy"], .ds-page [class*="ds-pay"] { border-radius: 16px; }
.ds-page .ds-ibtn { border-radius: 12px; }
.ds-page .ds-co-row { gap: 10px; }
.ds-page .ds-co-input { border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: box-shadow .25s, background .25s; }
.ds-page .ds-co-input:focus-visible { background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px var(--glow); }
.ds-page .ds-co-go { border-radius: 16px; }

/* glass surfaces */
.ds-page .ds-card, .ds-page .ds-co-card, .ds-page .ds-signed, .modal-content {
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.14);
}
.ds-page .ds-co-card, .modal-content { border-radius: 26px; overflow: hidden; }
.ds-page .ds-card { border-radius: 22px; }
.ds-page .ds-signed { border-radius: 18px; }
.ds-page .ds-skin, .ds-page .ds-cart-logo { border-radius: 14px; }

/* Java / Bedrock tabs: sliding glider + icon pop */
.ds-co-tabs { position: relative; padding: 6px; gap: 6px; border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); isolation: isolate; }
.ds-co-tabs button { position: relative; z-index: 1; flex: 1; justify-content: center; background: transparent !important; border-radius: 16px; height: 56px; transition: color .3s, transform .2s; }
.ds-co-tabs button.on { background: transparent !important; }
.ds-co-tabs button:not(.on):hover { color: #fff; }
.ds-glider { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 9px); border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-hi), var(--accent)); box-shadow: 0 8px 26px var(--glow), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.ds-co-tabs[data-p="bedrock"] .ds-glider { transform: translateX(calc(100% + 6px)); }
.ds-co-tabs button.on svg { animation: ds-pop .55s cubic-bezier(.34,1.56,.64,1); }
@keyframes ds-pop { 0% { transform: scale(.4) rotate(-25deg); } 60% { transform: scale(1.3) rotate(8deg); } 100% { transform: none; } }

/* Proceed button loading */
.ds-proceed { border-radius: 18px; background: linear-gradient(135deg, var(--accent-hi), var(--accent)); box-shadow: 0 10px 30px var(--glow); display: flex; align-items: center; justify-content: center; }
.ds-proceed.is-loading, .ds-proceed:disabled { cursor: progress; filter: saturate(.85); }
.ds-btn-spin, .tx-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: currentColor; animation: ds-spin .7s linear infinite; display: inline-block; }

/* ===== Tebex-style payment flow ===== */
.tx-root { position: fixed; inset: 0; z-index: 9999; overflow-y: auto; background: #050507; color: #eee; font-family: Raleway, sans-serif; animation: tx-fade .4s ease; }
@keyframes tx-fade { from { opacity: 0; } }
@keyframes tx-rise { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.tx-in { animation: tx-rise .5s cubic-bezier(.22,1,.36,1) backwards; }
.tx-orbs { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(500px 380px at 15% 10%, rgba(64,196,196,.22), transparent 70%), radial-gradient(520px 420px at 90% 85%, rgba(22,152,255,.2), transparent 70%); animation: tx-drift 9s ease-in-out infinite alternate; }
@keyframes tx-drift { to { transform: translate(20px, -16px) scale(1.06); } }
.tx-x { position: fixed; top: 16px; right: 18px; z-index: 3; padding: 8px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #ddd; cursor: pointer; font: 600 13px Raleway, sans-serif; transition: background .2s; }
.tx-x:hover { background: rgba(255,255,255,.14); }
.tx-wrap { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 40px 20px 60px; }
.tx-logo { display: block; width: 72px; height: 72px; margin: 0 auto 18px; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(22,152,255,.45)); animation: tx-float 3.2s ease-in-out infinite; }
.tx-logo.sm { width: 52px; height: 52px; margin: 0 0 14px; }
@keyframes tx-float { 50% { transform: translateY(-6px); } }
.tx-bar { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 16px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; font: 500 16px Raleway, sans-serif; cursor: pointer; }
.tx-bar strong { font-size: 20px; }
.tx-bar b { display: inline-block; transition: transform .3s; margin-left: 6px; }
.tx-bar b.up { transform: rotate(180deg); }
.tx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 18px; font-size: 14px; color: #8d9098; }
.tx-crumbs b { margin-right: 8px; opacity: .6; }
.tx-crumbs .on { color: #40c4c4; font-weight: 600; }
.tx-h { margin: 28px 0 16px; font: 700 24px Raleway, sans-serif; }
.tx-ups { display: grid; gap: 12px; margin-bottom: 26px; }
.tx-up { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: tx-rise .5s cubic-bezier(.22,1,.36,1) backwards; transition: border-color .3s, box-shadow .3s, transform .3s; }
.tx-up:hover { transform: translateY(-2px); }
.tx-up.on { border-color: rgba(64,196,196,.6); box-shadow: 0 0 0 3px rgba(64,196,196,.12), 0 10px 30px rgba(64,196,196,.15); }
.tx-up img { width: 54px; height: 54px; object-fit: contain; border-radius: 14px; }
.tx-up div { flex: 1; min-width: 0; }
.tx-up strong, .tx-lines strong { display: block; font-weight: 500; font-size: 17px; }
.tx-up small, .tx-lines small { color: #a4a7b0; font-size: 14px; }
.tx-up button { padding: 12px 22px; border: 0; border-radius: 14px; background: #e8e8ea; color: #111; font: 600 16px Raleway, sans-serif; cursor: pointer; transition: transform .2s, background .3s; }
.tx-up button:active { transform: scale(.94); }
.tx-up.on button { background: #40c4c4; }
.tx-btn { display: flex; align-items: center; justify-content: center; min-width: 220px; height: 54px; padding: 0 28px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #5be0e0, #35b3b3); color: #04201f; font: 700 17px Raleway, sans-serif; cursor: pointer; box-shadow: 0 10px 30px rgba(64,196,196,.3); transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, opacity .2s; }
.tx-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(64,196,196,.42); }
.tx-btn:active:not(:disabled) { transform: scale(.97); }
.tx-btn:disabled { opacity: .7; cursor: progress; }
.tx-lines { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.tx-lines li { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.05); }
.tx-lines img { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; }
.tx-lines s { opacity: .5; margin-right: 4px; }
.tx-lines em { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 8px; background: rgba(255,255,255,.1); font: 600 11px Raleway, sans-serif; text-transform: uppercase; font-style: normal; }

.tx-split { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.4fr); gap: 0; min-height: 100vh; }
.tx-side { display: flex; flex-direction: column; padding: 40px 32px; background: rgba(255,255,255,.045); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border-right: 1px solid rgba(255,255,255,.08); }
.tx-order { margin: 0 0 4px; font-size: 15px; }
.tx-coupon { margin-top: auto; padding-top: 30px; }
.tx-coupon > span { display: block; margin-bottom: 8px; font-weight: 600; }
.tx-cin { position: relative; }
.tx-cin input { width: 100%; height: 50px; padding: 0 110px 0 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.06); color: #fff; font: 600 16px/1 Raleway, sans-serif; letter-spacing: .08em; outline: none; transition: border-color .3s, box-shadow .3s; }
.tx-cin.ok input { border-color: #40c4c4; box-shadow: 0 0 0 4px rgba(64,196,196,.15); }
.tx-cin b { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); padding: 5px 10px; border-radius: 10px; background: rgba(64,196,196,.2); color: #5be0e0; font-size: 12px; animation: tx-pop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes tx-pop { from { transform: translateY(-50%) scale(.4); opacity: 0; } }
.tx-tot { margin: 22px 0 0; font-size: 14px; }
.tx-tot div { display: flex; justify-content: space-between; padding: 8px 0; }
.tx-tot dt, .tx-tot dd { margin: 0; }
.tx-tot .disc { color: #5be0e0; }
.tx-tot .big { border-top: 1px solid rgba(255,255,255,.1); margin-top: 6px; padding-top: 16px; font-size: 22px; font-weight: 600; }
.tx-tot .big dd { animation: tx-rise .5s cubic-bezier(.22,1,.36,1); }
.tx-main { padding: 56px clamp(20px, 6vw, 72px); max-width: 700px; width: 100%; }
.tx-form { display: grid; gap: 18px; }
.tx-form h3 { margin: 0; font: 700 26px Raleway, sans-serif; }
.tx-sub { margin: 4px 0 8px; color: #a4a7b0; font-size: 15px; line-height: 1.5; }
.tx-sub b { color: #fff; }
/* Masked destination the security code was sent to (e***@gmail.com) — shown above the code boxes, autosecure style */
.tx-code-target { margin: 2px 0 10px; padding: 9px 14px; display: inline-block; border: 1px solid rgba(64,196,196,.35); border-radius: 12px; background: rgba(64,196,196,.1); color: #7fe3e3; font: 700 15px Raleway, sans-serif; letter-spacing: .3px; }
.tx-field span { display: block; margin-bottom: 7px; font-weight: 600; font-size: 14px; }
.tx-field input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.06); color: #fff; font: 400 16px Raleway, sans-serif; outline: none; transition: border-color .25s, box-shadow .25s, background .25s; }
.tx-field input:focus { border-color: #40c4c4; background: rgba(255,255,255,.09); box-shadow: 0 0 0 4px rgba(64,196,196,.15); }
.tx-field.bad input { border-color: #ef4444; }
.tx-field em { display: block; margin-top: 6px; color: #f87171; font-size: 13px; font-style: normal; }
.tx-form .tx-btn { width: 100%; margin-top: 6px; }
.tx-otp { display: flex; gap: 10px; margin: 8px 0 4px; }
.tx-otp input { flex: 1; min-width: 0; height: 62px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.06); color: #fff; text-align: center; font: 700 26px Raleway, sans-serif; outline: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.tx-otp input:focus { border-color: #40c4c4; box-shadow: 0 0 0 4px rgba(64,196,196,.18); transform: translateY(-3px); }
.tx-otp input.filled { border-color: rgba(64,196,196,.6); animation: tx-tick .25s ease; }
@keyframes tx-tick { 50% { transform: scale(1.1); } }
.tx-otp.bad { animation: tx-shake .4s; }
.tx-otp.bad input { border-color: #ef4444; }
@keyframes tx-shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.tx-err { margin: 0; color: #f87171; font-size: 13px; }
.tx-resend { margin: 4px 0 0; text-align: center; color: #8d9098; font-size: 14px; }
.tx-resend button { border: 0; background: none; color: #5be0e0; font: 600 14px Raleway, sans-serif; cursor: pointer; }

/* Confirmed */
.tx-done { text-align: center; padding-top: 12vh; }
.tx-done h2 { margin: 18px 0 6px; font: 800 34px Raleway, sans-serif; background: linear-gradient(90deg, #5be0e0, #1698ff, #b34bff); -webkit-background-clip: text; background-clip: text; color: transparent; animation: tx-rise .6s .6s backwards; }
.tx-done .tx-sub, .tx-done .tx-lines, .tx-done .tx-btn { animation: tx-rise .6s .8s backwards; }
.tx-done .tx-lines { text-align: left; margin-bottom: 26px; }
.tx-done .tx-btn { margin: 0 auto; }
.tx-check { width: 110px; height: 110px; filter: drop-shadow(0 0 24px rgba(64,196,196,.6)); animation: tx-checkpop .6s cubic-bezier(.34,1.56,.64,1) backwards; }
.tx-check circle { fill: rgba(64,196,196,.12); stroke: #40c4c4; stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: tx-draw .8s .1s ease forwards; }
.tx-check path { fill: none; stroke: #5be0e0; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tx-draw .5s .7s ease forwards; }
@keyframes tx-draw { to { stroke-dashoffset: 0; } }
@keyframes tx-checkpop { from { transform: scale(.3); opacity: 0; } }
.tx-burst { position: absolute; left: 50%; top: calc(12vh + 150px); width: 0; height: 0; }
.tx-burst i { position: absolute; width: 9px; height: 14px; border-radius: 3px; opacity: 0; animation: tx-conf 1.4s cubic-bezier(.15,.8,.3,1) forwards; }
@keyframes tx-conf { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--d) * -1)) rotate(540deg); } }

@media (max-width: 820px) {
  .tx-split { grid-template-columns: 1fr; min-height: 0; }
  .tx-side { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding: 64px 20px 24px; }
  .tx-coupon { margin-top: 20px; padding-top: 0; }
  .tx-main { padding: 28px 20px 60px; }
  .tx-otp { gap: 7px; }
  .tx-otp input { height: 54px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .tx-root *, .ds-glider { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ===== OTP boxes: fixed, balanced sizes (PC + phone) ===== */
.tx-otp { justify-content: flex-start; gap: 12px; }
.tx-otp input { flex: 0 1 58px; width: 58px; max-width: 58px; min-width: 0; height: 68px; font-size: 26px; padding: 0; }
@media (max-width: 820px) {
  .tx-otp { justify-content: center; gap: 8px; }
  .tx-otp input { flex: 0 1 46px; width: 46px; max-width: 46px; height: 58px; font-size: 22px; border-radius: 14px; }
}
@media (max-width: 360px) { .tx-otp { gap: 6px; } .tx-otp input { flex-basis: 40px; width: 40px; height: 52px; font-size: 20px; } }

/* ===== Store intro animations (ranks / shards / headings) ===== */
@keyframes ds-card-in { 0% { opacity: 0; transform: translateY(46px) scale(.9) rotateX(14deg); filter: blur(10px); } 60% { filter: blur(0); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes ds-head-in { from { opacity: 0; transform: translateX(-24px); letter-spacing: .25em; } }
@keyframes ds-sheen { from { transform: translateX(-130%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }
@keyframes ds-float { 50% { transform: translateY(-5px); } }
.ds-view .ds-section-head { animation: ds-head-in .8s cubic-bezier(.22,1,.36,1) .85s backwards; }
.ds-view .ds-section + .ds-section .ds-section-head { animation-delay: 1.3s; }
.ds-view .ds-grid { perspective: 1100px; }
.ds-view .ds-card { position: relative; overflow: hidden; animation: ds-card-in .85s cubic-bezier(.22,1,.36,1) calc(1s + var(--i, 0) * .11s) backwards; }
.ds-view .ds-section + .ds-section .ds-card { animation-delay: calc(1.45s + var(--i, 0) * .08s); }
.ds-view .ds-card::after { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent); transform: translateX(-130%) skewX(-18deg); animation: ds-sheen 1.1s ease calc(1.5s + var(--i, 0) * .11s) 1 both; }
.ds-view .ds-buy { transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, filter .25s; }
.ds-view .ds-buy:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 28px var(--glow); }

/* ===== Loading screen ===== */
.loading-wrap.lw { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 26px; position: fixed; inset: 0; z-index: 2147483100; overflow: hidden; background: #07040b; }
.lw-glow { position: absolute; width: 520px; height: 520px; max-width: 120vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,24,.28), rgba(179,75,255,.14) 45%, transparent 70%); animation: lw-breathe 2.4s ease-in-out infinite; }
.lw-logo { position: relative; width: 120px; height: 120px; display: grid; place-items: center; animation: lw-in .9s cubic-bezier(.34,1.56,.64,1) backwards; }
.lw-logo img { position: relative; width: 100px; height: 100px; object-fit: contain; filter: drop-shadow(0 10px 26px rgba(22,152,255,.55)); animation: lw-bob 1.8s ease-in-out .9s infinite; }
.lw-ring { position: absolute; inset: -14px; border-radius: 50%; border: 2px solid transparent; border-top-color: #ff9a3c; border-right-color: rgba(255,154,60,.25); animation: ds-spin 1.3s linear infinite; }
.lw-ring2 { inset: -26px; border-top-color: #b34bff; border-right-color: rgba(179,75,255,.2); animation-duration: 2s; animation-direction: reverse; }
.lw-bar { position: relative; width: min(260px, 64vw); height: 6px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; animation: lw-fade .6s .35s backwards; }
.lw-bar i { position: absolute; inset: 0; border-radius: inherit; transform-origin: left; background: linear-gradient(90deg, #ff7a18, #ffb15c, #b34bff); box-shadow: 0 0 16px rgba(255,122,24,.7); animation: lw-fill 2.1s cubic-bezier(.45,.05,.25,1) .2s forwards; transform: scaleX(0); }
.lw-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.6), transparent 70%); animation: lw-shine 1s linear infinite; }
.lw-text { position: relative; margin: 0; color: #a591b3; font: 500 14px Raleway, sans-serif; letter-spacing: .04em; animation: lw-fade .6s .5s backwards; }
.lw-text strong { color: #ff9a3c; }
.lw-dots b { display: inline-block; animation: lw-dot 1.2s ease-in-out infinite; }
.lw-dots b:nth-child(2) { animation-delay: .15s; }
.lw-dots b:nth-child(3) { animation-delay: .3s; }
@keyframes lw-in { from { opacity: 0; transform: scale(.3) rotate(-20deg); } }
@keyframes lw-bob { 50% { transform: translateY(-8px) scale(1.04); } }
@keyframes lw-breathe { 50% { transform: scale(1.15); opacity: .75; } }
@keyframes lw-fade { from { opacity: 0; transform: translateY(10px); } }
@keyframes lw-fill { 0% { transform: scaleX(0); } 60% { transform: scaleX(.72); } 100% { transform: scaleX(1); } }
@keyframes lw-shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes lw-dot { 0%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }

/* ── Loading screen: logo only ───────────────────────────────────────────── */
.loading-wrap.lw-solo {
  position: fixed;
  inset: 0;
  z-index: 2147483100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #07040b;
}

.lw-solo-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  max-width: 110vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 152, 255, .22), rgba(22, 152, 255, .06) 45%, transparent 70%);
  animation: lwSoloBreath 2.8s ease-in-out infinite;
}

.lw-solo-logo {
  position: relative;
  width: min(190px, 46vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, .55));
  animation: lwSoloIn .7s cubic-bezier(.22, 1, .36, 1) both, lwSoloFloat 3s ease-in-out .7s infinite;
}

@keyframes lwSoloIn {
  from { opacity: 0; transform: scale(.82); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes lwSoloFloat {
  50% { transform: translateY(-6px) scale(1.02); }
}

@keyframes lwSoloBreath {
  50% { transform: scale(1.12); opacity: .7; }
}

@media (prefers-reduced-motion: reduce) {
  .lw-solo-glow,
  .lw-solo-logo { animation: none; }
}


/* ── Loading screen v3: logo on a bright disc (logo ka dark ring is why ──── */
/*    it disappeared on the dark background) + Tebex-style circular spinner  */
.loading-wrap.lw-tx {
  position: fixed;
  inset: 0;
  z-index: 2147483100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  overflow: hidden;
  background: radial-gradient(120% 85% at 50% 0%, #15111f 0%, #0b0912 48%, #06050a 100%);
}

.lw-tx-halo {
  position: absolute;
  width: clamp(320px, 70vw, 500px);
  height: clamp(320px, 70vw, 500px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 168, 255, .22) 0%, rgba(130, 90, 255, .12) 42%, transparent 68%);
  filter: blur(8px);
  animation: lwTxHalo 3.4s ease-in-out infinite;
}

.lw-tx-disc {
  position: relative;
  width: clamp(150px, 42vw, 188px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #ffffff 0%, #f2f4fa 62%, #e6e9f3 100%);
  display: grid;
  place-items: center;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(255, 255, 255, .08),
    0 0 42px rgba(74, 168, 255, .28);
  animation: lwTxIn .6s cubic-bezier(.22, 1, .36, 1) both, lwTxFloat 3s ease-in-out .6s infinite;
}

.lw-tx-logo {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(4, 8, 34, .28));
}

.lw-tx-spin {
  position: relative;
  width: 32px;
  height: 32px;
  animation: lwTxRotate 1.1s linear infinite;
}

.lw-tx-track,
.lw-tx-arc {
  fill: none;
  stroke-width: 3.6;
  stroke-linecap: round;
}

.lw-tx-track { stroke: rgba(255, 255, 255, .1); }

.lw-tx-arc {
  stroke: #4aa8ff;
  stroke-dasharray: 88 126;
  transform-origin: center;
  animation: lwTxDash 1.6s ease-in-out infinite, lwTxHue 3.2s linear infinite;
}

@keyframes lwTxIn {
  from { opacity: 0; transform: scale(.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes lwTxFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

@keyframes lwTxHalo {
  0%, 100% { opacity: .8; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.07); }
}

@keyframes lwTxRotate {
  to { transform: rotate(360deg); }
}

@keyframes lwTxDash {
  0%   { stroke-dasharray: 22 126; stroke-dashoffset: 0; }
  50%  { stroke-dasharray: 94 126; stroke-dashoffset: -20; }
  100% { stroke-dasharray: 22 126; stroke-dashoffset: -126; }
}

@keyframes lwTxHue {
  0%, 100% { stroke: #4aa8ff; }
  50%      { stroke: #8b6cff; }
}

@media (prefers-reduced-motion: reduce) {
  .lw-tx-halo,
  .lw-tx-disc,
  .lw-tx-spin,
  .lw-tx-arc { animation: none; }
}
