/* NEW ANGEL - the home page's experience features (loaded after site.css). */

/* ---- your server name */
.name-lab { display: grid; grid-template-columns: 360px 1fr; gap: 30px; align-items: center; max-width: 1060px; margin: 0 auto; }
.name-input { margin: 0; }
.name-input input { font-size: 18px; font-weight: 700; letter-spacing: 0.04em; }
.name-status { min-height: 22px; margin: 10px 0 12px; font-weight: 700; font-size: 13px; }
.name-status.free { color: var(--exc); }
.name-status.taken { color: var(--bad); }
.name-status.dim { color: var(--dim); }
.name-preview { display: flex; flex-direction: column; gap: 18px; align-items: center; min-width: 0; }
.name-brand { display: flex; align-items: center; gap: 4px; max-width: 100%; }
.name-brand .logo-wing { width: clamp(60px, 9vw, 120px); height: clamp(24px, 3.6vw, 48px); }
.name-brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1; min-width: 0; }
.name-brand-text small { font: 700 13px/1 var(--f-ui); letter-spacing: 0.6em; color: var(--ice); margin-bottom: 4px; }
.name-brand-text b { font: 900 clamp(30px, 5vw, 58px)/1.05 var(--f-title); letter-spacing: 0.05em; max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; filter: drop-shadow(0 0 16px rgba(110, 176, 255, 0.35)); }
.name-brand-text em { font: 700 11px/1 var(--f-ui); font-style: normal; letter-spacing: 0.5em; color: var(--label); margin-top: 6px; }
.name-servers { width: min(440px, 100%); }
.name-servers .kicker { text-align: center; margin-bottom: 10px; }
.srv { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px; margin-bottom: 8px; border-style: solid; border-color: transparent; border-width: 12px 18px; border-image: url("../ui/btn-off.png") 18 26 fill stretch; font-size: 13px; color: var(--text); transition: filter 0.2s; }
.srv:first-of-type { border-image-source: url("../ui/btn.png"); }
.srv:hover { border-image-source: url("../ui/btn-hot.png"); filter: drop-shadow(0 0 8px rgba(110, 176, 255, 0.45)); }
.srv b { color: #fff; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srv i { font-style: normal; color: var(--label); font-size: 11.5px; }
.srv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--exc); box-shadow: 0 0 8px var(--exc); flex: none; animation: slotGlow 1.6s ease-in-out infinite; }
.name-ini { width: min(440px, 100%); margin: 0; }
.name-ini span { color: #fff; font-weight: 700; }
.name-lab.typed [data-name-out] { animation: namePop 0.35s ease-out; }
@keyframes namePop { from { filter: brightness(2.2); } to { filter: none; } }

/* ---- the two tooltips */
.tt-compare { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; flex-wrap: wrap; }
.tt-compare .tooltip-box { margin: 0; width: min(420px, 100%); }
.tt-plain { opacity: 0.8; }
.tt-white-name { color: #fff !important; animation: none !important; text-shadow: none !important; }
.tt-grey { color: #9aa3b0 !important; }
.tt-vs { font: 900 26px/1 var(--f-title); color: var(--ice); text-shadow: 0 0 14px rgba(110, 176, 255, 0.7); }

/* ---- before / after */
.ba { position: relative; width: min(400px, 100%); aspect-ratio: 400 / 500; margin: 0 auto 30px; touch-action: pan-y; user-select: none; cursor: url("../ui/cursor-hand.png") 8 3, ew-resize; }
.ba-pane { position: absolute; inset: 0; background: center / 100% 100% no-repeat; padding: 17% 9% 0; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)); }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-title { position: absolute; top: 4.6%; left: 0; right: 0; text-align: center; font: 700 13px/1 var(--f-ui); letter-spacing: 0.14em; text-transform: uppercase; margin: 0; }
.ba-before .ba-title { color: #e9d9a8; letter-spacing: 0.06em; text-transform: none; font-size: 14px; top: 4.2%; }
.ba-rows { display: flex; flex-direction: column; gap: 8px; }
.ba-after .ba-row { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px; font-size: 13px; color: var(--label); }
.ba-after .ba-row b { color: var(--ice); text-shadow: 0 0 8px rgba(110, 176, 255, 0.5); }
.ba-before .ba-rows { gap: 14px; padding-top: 4px; }
.ba-before .ba-row { display: flex; gap: 8px; font: 400 13px/1.2 Tahoma, Arial, sans-serif; color: #d8d8d8; padding: 0 6px; }
.ba-before .ba-row b { color: #fff; font-weight: 400; }
.ba-pips { display: flex; justify-content: center; gap: 6px; margin: 16px 0 12px; }
.ba-pips img { width: 15px; height: 15px; }
.ba-btn { pointer-events: none; }
.ba-btn-plain { display: block; margin: 30px auto 0; width: 120px; text-align: center; padding: 6px 0; background: #2a2a2a; border: 1px solid #555; color: #ccc; font: 400 12px/1 Tahoma, sans-serif; }
.ba-handle { position: absolute; top: -10px; bottom: -10px; left: var(--pos); width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent, var(--ice) 10%, var(--ice) 90%, transparent); box-shadow: 0 0 12px rgba(150, 218, 255, 0.9); z-index: 3; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; background: url("../ui/slot-blue.png") center / contain no-repeat; }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 12px; height: 18px; margin-top: -9px; background: url("../ui/arrow-l.png") center / contain no-repeat; }
.ba-handle span::before { left: 6px; }
.ba-handle span::after { right: 6px; background-image: url("../ui/arrow-r.png"); }
.ba-handle:focus-visible span { filter: drop-shadow(0 0 8px var(--ice)); }
.ba-label { position: absolute; bottom: -34px; font: 700 11px/1 var(--f-ui); letter-spacing: 0.24em; text-transform: uppercase; color: var(--label); }
.ba-l { left: 0; }
.ba-r { right: 0; color: var(--ice); }

/* ---- the scroll cinematic */
.cine { position: relative; height: 100vh; height: 100svh; min-height: 520px; background: #000; }
.cine-stick { position: relative; height: 100%; overflow: hidden; cursor: pointer; }
.cine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cine-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, transparent 35%, rgba(2, 4, 8, 0.75) 100%), linear-gradient(180deg, var(--ink) 0%, transparent 14%, transparent 70%, rgba(2, 4, 8, 0.85) 100%); pointer-events: none; }
.cine-lines { position: absolute; left: 0; right: 0; bottom: 15%; text-align: center; pointer-events: none; }
.cine-line { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; opacity: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; will-change: opacity, transform; }
.cine-line .kicker { margin: 0; }
.cine-line b { font: 900 clamp(30px, 5.4vw, 70px)/1.05 var(--f-title); letter-spacing: 0.03em; filter: drop-shadow(0 4px 20px #000); }
.cine-bar { position: absolute; left: 50%; bottom: 6%; width: min(420px, 70vw); height: 4px; transform: translateX(-50%); background: rgba(255, 255, 255, 0.1); }
.cine-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4f9ae8, var(--ice)); box-shadow: 0 0 10px var(--ice); }

/* ---- sale timer (the in-game Event Timer look) */
.sale-timer { max-width: 760px; margin: 0 auto 34px; padding: 64px 22px 36px; }
.sale-body { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.sale-text { display: flex; flex-direction: column; }
.sale-pct { font: 900 38px/1 var(--f-title); color: var(--exc); text-shadow: 0 0 16px rgba(96, 232, 136, 0.5); }
.sale-text span { color: var(--label); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.sale-clock { display: flex; gap: 8px; margin-left: auto; }
.sale-clock span { display: flex; flex-direction: column; align-items: center; min-width: 62px; border-style: solid; border-width: 10px; border-color: transparent; border-image: url("../ui/inset.png") 10 fill stretch; padding: 2px 0 4px; }
.sale-clock b { font: 700 26px/1.1 Consolas, monospace; color: var(--ice); text-shadow: 0 0 10px rgba(110, 176, 255, 0.7); }
.sale-clock small { color: var(--label); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.sale-timer.ending .sale-clock b { color: var(--warn); text-shadow: 0 0 10px rgba(255, 172, 64, 0.8); }
.plan-old { text-align: center; margin: 10px 0 0; color: var(--dim); font-size: 15px; }
.plan-off { display: inline-block; margin-left: 6px; padding: 1px 7px; background: rgba(96, 232, 136, 0.12); border: 1px solid rgba(96, 232, 136, 0.5); color: var(--exc); font-weight: 700; font-size: 12px; }
.plan-price.plan-price-sale { color: var(--exc); text-shadow: 0 0 18px rgba(96, 232, 136, 0.45); margin-top: 4px; }
.announce-sale { background: linear-gradient(90deg, #04140a, #0d3a1d, #04140a); color: #bff5cf; border-bottom-color: rgba(96, 232, 136, 0.35); }
.announce-sale b { color: var(--exc); }
.announce-sale a { color: #fff; text-decoration: underline; }
.coupon-field { display: flex; align-items: center; gap: 10px; }
.coupon-field span { font: 700 11px/1 var(--f-ui); color: var(--label); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.coupon-field input { width: 170px; text-transform: uppercase; }

/* ---- Chaos Machine */
.chaos { max-width: 860px; margin: 0 auto 40px; padding: 64px 26px 38px; }
.chaos-intro { text-align: center; color: var(--text); margin-bottom: 18px; }
.chaos-grid { display: grid; grid-template-columns: 1fr 230px; gap: 26px; align-items: center; }
.chaos-q > p { margin: 0 0 8px; font: 700 12px/1.3 var(--f-ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
.chaos-opts { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.jewel { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; border: 0; background: none; color: var(--text); font: 700 11.5px/1.2 var(--f-ui); }
.jewel small { font-size: 11.5px; }
.jewel .slot { transition: transform 0.15s, filter 0.15s; }
.jewel:hover .slot { transform: translateY(-3px); filter: brightness(1.2); }
.jewel.on .slot { filter: drop-shadow(0 0 10px rgba(150, 218, 255, 0.9)); }
.jewel.on .slot::before { opacity: 1; animation: glowframe 1.1s steps(18) infinite; }
.jewel.on small { color: var(--ice); }
.chaos-mix { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.mix-btn { position: relative; width: 132px; height: 105px; border: 0; padding: 0; background: none; transition: transform 0.15s, filter 0.2s; }
.mix-btn img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mix-btn [data-on] { opacity: 0; transition: opacity 0.25s; }
.chaos.ready .mix-btn [data-on] { opacity: 1; }
.chaos.ready .mix-btn { animation: breatheBtn 1.6s ease-in-out infinite; }
@keyframes breatheBtn { 0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 160, 60, 0.3)); } 50% { filter: drop-shadow(0 0 16px rgba(255, 160, 60, 0.75)); } }
.mix-btn:disabled { cursor: not-allowed; }
.chaos.mixing .mix-btn { animation: mixSpin 0.45s linear infinite; }
@keyframes mixSpin { 0% { transform: rotate(0deg) scale(1); } 25% { transform: rotate(4deg) scale(1.04); } 75% { transform: rotate(-4deg) scale(1.04); } 100% { transform: rotate(0deg) scale(1); } }
.chaos.mixing .jewel.on .slot { animation: suck 0.9s ease-in forwards; }
@keyframes suck { to { transform: scale(0.3) translateX(160px); opacity: 0.2; } }
.chaos.success { animation: chaosFlash 1.4s ease-out; }
@keyframes chaosFlash {
  0% { filter: drop-shadow(0 0 0 rgba(96, 232, 136, 0)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
  20% { filter: drop-shadow(0 0 3px rgba(96, 232, 136, 1)) drop-shadow(0 0 34px rgba(96, 232, 136, 0.8)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
  100% { filter: drop-shadow(0 0 0 rgba(96, 232, 136, 0)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
}
.chaos-bar { width: 200px; max-width: 100%; }
.chaos-bar span { width: 0; animation: none; }
.chaos-out { min-height: 46px; margin: 0; font-size: 13px; }
.chaos-out .btn { margin-top: 10px; }
.plan.chaos-pick { animation: chaosPick 1.4s ease-in-out 3; }
@keyframes chaosPick {
  0%, 100% { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
  50% { filter: drop-shadow(0 0 2px rgba(96, 232, 136, 1)) drop-shadow(0 0 26px rgba(96, 232, 136, 0.65)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
}

/* ---- Mystery Box */
.mystery { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mystery-box { position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.mystery-glow { position: absolute; inset: 0; background: url("../ui/glowframe.png") 0 0 / 3600px 200px no-repeat; animation: glowframeBig 1.3s steps(18) infinite; mix-blend-mode: screen; }
@keyframes glowframeBig { from { background-position: 0 0; } to { background-position: -3600px 0; } }
.mystery-q { position: relative; width: 120px; height: 120px; filter: drop-shadow(0 0 16px rgba(110, 176, 255, 0.6)); animation: floatQ 3s ease-in-out infinite; }
@keyframes floatQ { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.mystery.opening .mystery-q { animation: shake 0.12s linear infinite; filter: drop-shadow(0 0 30px rgba(150, 218, 255, 1)) brightness(1.4); }
@keyframes shake { 0% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-4px, 2px) rotate(-6deg); } 50% { transform: translate(3px, -3px) rotate(5deg); } 75% { transform: translate(-2px, -2px) rotate(-4deg); } 100% { transform: translate(0, 0) rotate(0); } }
.mystery.opening .mystery-glow { animation-duration: 0.4s; filter: brightness(1.8); }
.mystery.open .mystery-q { animation: none; opacity: 0; transform: scale(2.2); transition: transform 0.5s ease-out, opacity 0.5s; }
.mystery-burst { position: absolute; inset: 0; pointer-events: none; }
.mystery-burst img { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 0; }
.mystery.open .mystery-burst img { animation: burstOut 1.4s cubic-bezier(.2,.8,.2,1) forwards; }
.mystery.open .mystery-box { height: 120px; transition: height 0.6s ease 0.8s; }
@keyframes burstOut {
  0% { opacity: 1; transform: rotate(var(--a)) translateY(0) rotate(calc(-1 * var(--a))) scale(0.4); }
  55% { opacity: 1; transform: rotate(var(--a)) translateY(-110px) rotate(calc(-1 * var(--a))) scale(1.1); }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(-130px) rotate(calc(-1 * var(--a))) scale(0.9); }
}
.mystery.open .mystery-glow { animation: flashOut 0.9s ease-out forwards; }
@keyframes flashOut { 0% { filter: brightness(3); transform: scale(1); } 100% { filter: brightness(1); transform: scale(1.6); opacity: 0; } }
.mystery-prize { width: min(420px, 100%); text-align: center; padding: 70px 24px 38px; margin: 0; }
.mystery-prize.reveal { animation: prizeIn 0.7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes prizeIn { from { opacity: 0; transform: scale(0.7) translateY(20px); } to { opacity: 1; transform: none; } }
.mystery-big { font: 900 28px/1.2 var(--f-title); margin-bottom: 10px; text-shadow: 0 0 14px rgba(96, 232, 136, 0.5); }
.mystery-code { font-size: 16px; color: #fff; }

/* ---- achievements */
/* !important: site.css forces `position: relative; z-index: 1` on every direct child of body.public */
.ach-dock { position: fixed !important; left: 16px; bottom: 16px; z-index: 70 !important; }
.ach-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 4px; border-style: solid; border-color: transparent; border-width: 11px 16px; border-image: url("../ui/btn-off.png") 18 26 fill stretch; background: none; color: var(--text); font: 700 11.5px/1 var(--f-ui); letter-spacing: 0.06em; text-transform: uppercase; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6)); }
.ach-pill img { width: 26px; height: 26px; margin: -8px 0; }
.ach-pill b { color: var(--ice); }
.ach-pill:hover { border-image-source: url("../ui/btn.png"); color: #fff; }
.ach-pill.ping { animation: ping 0.9s ease-out; }
@keyframes ping {
  0% { filter: drop-shadow(0 0 0 rgba(96, 232, 136, 0)); transform: scale(1); }
  30% { filter: drop-shadow(0 0 16px rgba(96, 232, 136, 1)); transform: scale(1.12); }
  100% { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6)); transform: scale(1); }
}
.ach-dock.done .ach-pill { border-image-source: url("../ui/btn-hot.png"); }
.ach-win { position: absolute; left: 0; bottom: 52px; width: 330px; margin: 0; padding: 62px 14px 34px; }
.ach-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ach-list li { display: flex; align-items: center; gap: 10px; padding: 2px 6px; border-style: solid; border-width: 6px; border-color: transparent; border-image: url("../ui/field.png") 6 fill stretch; opacity: 0.55; }
.ach-list li.on { opacity: 1; }
.ach-list li > img:first-child { width: 28px; height: 28px; }
.ach-list li div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.ach-list li b { font-size: 12.5px; }
.ach-list li.on b { color: var(--exc); }
.ach-list small { color: var(--label); font-size: 11px; }
.ach-st { width: 18px; height: 18px; }
.ach-reward { margin: 12px 0 0; font-size: 12.5px; color: var(--label); text-align: center; }
.ach-reward .btn { margin-top: 8px; }

/* ---- toasts: "achievement unlocked" */
.toasts { position: fixed !important; right: 16px; bottom: 16px; z-index: 90 !important; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 360px; padding: 10px 14px; border-style: solid; border-width: 10px; border-color: transparent; border-image: url("../ui/inset.png") 10 fill stretch; background: rgba(2, 6, 12, 0.92); background-clip: padding-box; filter: drop-shadow(0 0 1px rgba(96, 232, 136, 0.9)) drop-shadow(0 0 16px rgba(96, 232, 136, 0.35)); transform: translateX(120%); opacity: 0; transition: transform 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.45s; pointer-events: auto; }
.toast.in { transform: none; opacity: 1; }
.toast > img { width: 40px; height: 40px; flex: none; }
.toast small { display: block; color: var(--exc); font: 700 10.5px/1.2 var(--f-ui); letter-spacing: 0.1em; text-transform: uppercase; }
.toast b { display: block; font-size: 15px; color: #fff; }
.toast p { margin: 6px 0 0; font-size: 12.5px; }
.toast .btn { margin-top: 6px; }

/* ---- portal intro */
.portal { position: absolute; inset: -30%; background: center / cover no-repeat; opacity: 0.55; animation: portalSpin 9s linear infinite; filter: saturate(1.3) brightness(0.9); }
@keyframes portalSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.loader-in { position: relative; z-index: 2; }
.loader-in::before { content: ""; position: absolute; inset: -90px -140px; z-index: -1; background: radial-gradient(ellipse, rgba(2, 5, 10, 0.88) 0%, rgba(2, 5, 10, 0.55) 45%, transparent 72%); }
.logo-text b { white-space: nowrap; }
.portal-flash { position: absolute; inset: 0; z-index: 3; background: radial-gradient(circle, #e9f7ff 0%, rgba(150, 218, 255, 0.6) 30%, transparent 70%); opacity: 0; pointer-events: none; }
.loader.warp .portal { animation: portalPull 0.9s cubic-bezier(.6,0,.9,.5) forwards; }
@keyframes portalPull { from { transform: rotate(0deg) scale(1); } to { transform: rotate(220deg) scale(4); opacity: 1; filter: brightness(1.6) saturate(1.5); } }
.loader.warp .loader-in { transition: transform 0.8s ease-in, opacity 0.6s; transform: scale(0.4); opacity: 0; }
.loader.warp .portal-flash { animation: portalFlash 0.9s ease-in 0.45s forwards; }
@keyframes portalFlash { 0% { opacity: 0; transform: scale(0.2); } 60% { opacity: 1; transform: scale(1.5); } 100% { opacity: 1; transform: scale(3); } }

.rune-ticker {
  position: relative; z-index: 3; overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(3, 10, 18, 0.92), rgba(8, 24, 44, 0.72), rgba(3, 10, 18, 0.92));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rune-track { display: flex; gap: 42px; width: max-content; animation: runeSlide 48s linear infinite; }
.rune-track span {
  white-space: nowrap; font: 700 11px/1 var(--f-ui); letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--label);
}
.rune-track span::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 14px;
  background: url("../ui/pip-on.png") center / contain no-repeat; vertical-align: -1px;
  filter: drop-shadow(0 0 5px rgba(150, 218, 255, 0.7));
}
@keyframes runeSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.steps { position: relative; }
.steps::before {
  content: ""; position: absolute; top: 82px; left: 16%; right: 16%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice-a), transparent); pointer-events: none;
}

@media (max-width: 960px) {
  .name-lab { grid-template-columns: 1fr; }
  .chaos-grid { grid-template-columns: 1fr; }
  .sale-clock { margin-left: 0; }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  .ach-dock { left: 10px; bottom: 10px; }
  .ach-pill span { font-size: 10.5px; }
  .ach-win { width: calc(100vw - 20px); }
  .toasts { right: 10px; left: 10px; bottom: 62px; align-items: stretch; }
  .toast { min-width: 0; max-width: none; }
  .sale-clock span { min-width: 52px; }
  .sale-clock b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cine { height: 70vh; min-height: 420px; }
  .cine-line:last-child { opacity: 1 !important; }
}

/* ================================================================ top bar v2
   Glass instead of a slab, one hairline instead of the ornament, text links with
   an underline, and a single button. (Mobile menu layout is untouched.) */
body.public .topnav {
  background: linear-gradient(180deg, rgba(3, 7, 14, 0.8), rgba(3, 7, 14, 0.42));
  box-shadow: none;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  transition: background 0.35s, box-shadow 0.35s;
}
body.public .topnav.solid, body.public:not(.home) .topnav {
  background: rgba(4, 9, 17, 0.88);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}
body.public .topnav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; opacity: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(150, 218, 255, 0.26) 16%, rgba(150, 218, 255, 0.72) 50%, rgba(150, 218, 255, 0.26) 84%, transparent);
}
.topnav .logo::before { width: 56px; height: 38px; }

.topnav .navlinks .btn {
  --bh: 36px; height: 36px; padding: 0 20px; border: 1px solid rgba(150, 218, 255, 0.55); border-image: none; border-radius: 2px;
  background: linear-gradient(180deg, rgba(88, 160, 255, 0.4), rgba(34, 92, 168, 0.5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 22px rgba(110, 176, 255, 0.22);
  color: #fff; font: 700 11px/1 var(--f-ui); letter-spacing: 0.18em; text-shadow: none; filter: none;
  transition: background 0.25s, box-shadow 0.25s, transform 0.15s;
}
.topnav .navlinks .btn:hover {
  border-image: none; filter: none; transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(120, 185, 255, 0.55), rgba(50, 115, 200, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(130, 200, 255, 0.45);
}
.topnav .navlinks .btn:active { transform: none; filter: none; }

@media (min-width: 961px) {
  .topnav .navlinks { flex: 1; justify-content: flex-end; gap: 32px; }
  .topnav .navlinks a:not(.btn) {
    padding: 10px 0; color: #9fb0c8; font: 600 11.5px/1 var(--f-ui); letter-spacing: 0.18em; transition: color 0.2s;
  }
  .topnav .navlinks a:not(.btn):hover { color: #fff; }
  .topnav .navlinks a.spy-on:not(.btn) { color: var(--ice); }
  .topnav .navlinks a:not(.btn)::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 1px; width: auto; height: 1px; margin: 0; border: 0;
    background: linear-gradient(90deg, transparent, var(--ice), transparent);
    opacity: 0; transform: scaleX(0.2); transition: opacity 0.25s, transform 0.4s cubic-bezier(.2, .8, .2, 1);
  }
  .topnav .navlinks a:not(.btn):hover::before, .topnav .navlinks a.spy-on:not(.btn)::before { opacity: 1; transform: none; }
  .topnav .navlinks .nav-licenses {
    min-height: 0; padding: 10px 0 !important; border: 0; background: none; box-shadow: none; text-shadow: none;
    color: var(--ice) !important;
  }
  .topnav .navlinks .nav-licenses::before { display: block; opacity: 0.45; transform: none; }
  .topnav .navlinks .nav-licenses:hover { color: #fff !important; border: 0; background: none; text-shadow: none; }
  .topnav .navlinks .nav-licenses:hover::before { opacity: 1; }
  .topnav .navlinks .nav-licenses.spy-on { border: 0; box-shadow: none; }
  .topnav .navsep { height: 18px; margin: 0 -6px; }
}

/* ================================================================ the way to the checkout */
.steps-mini { display: flex; justify-content: center; gap: 0; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: st; }
.steps-mini li {
  counter-increment: st; display: flex; align-items: center; gap: 8px; color: var(--dim);
  font: 700 10.5px/1 var(--f-ui); letter-spacing: 0.18em; text-transform: uppercase;
}
.steps-mini li::before {
  content: counter(st); display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--line-2);
  border-radius: 50%; font-size: 10px; letter-spacing: 0;
}
.steps-mini li + li::after { content: none; }
.steps-mini li + li { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); }
.steps-mini li.on { color: var(--ice); }
.steps-mini li.on::before { background: var(--ice); border-color: var(--ice); color: #03101e; box-shadow: 0 0 12px rgba(150, 218, 255, 0.6); }
.steps-mini li.done { color: var(--exc); }
.steps-mini li.done::before { content: "\2713"; border-color: var(--exc); color: var(--exc); }

.order-chip {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 18px; padding: 12px 16px;
  border: 1px solid var(--ice-a); background: linear-gradient(90deg, rgba(60, 130, 220, 0.18), rgba(60, 130, 220, 0.04));
}
.order-chip span { color: var(--label); font: 700 10.5px/1 var(--f-ui); letter-spacing: 0.16em; text-transform: uppercase; }
.order-chip b { color: #fff; font-size: 15px; }
.order-chip em { color: var(--label); font-style: normal; font-size: 12px; }
.order-chip strong { margin-left: auto; color: var(--ice); font: 900 20px/1 var(--f-title); }
.order-chip s { color: var(--dim); font-weight: 400; font-size: 13px; margin-right: 4px; }

.field > span.pw-wrap { display: flex; font: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.pw-wrap input { flex: 1; min-width: 0; }
.pw-toggle {
  margin-left: 8px; padding: 0 14px; border: 1px solid var(--line-2); background: rgba(10, 20, 36, 0.8); color: var(--label);
  font: 700 11px/1 var(--f-ui); letter-spacing: 0.1em; text-transform: uppercase;
}
.pw-toggle:hover { color: #fff; border-color: var(--ice); }

.plan-monthly { margin: 2px 0 8px; text-align: center; color: var(--label); font-size: 12.5px; }
.plan-monthly b { color: var(--exc); }
.trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 34px 0 0; padding: 0; list-style: none;
  color: var(--label); font-size: 12.5px;
}
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 9px; height: 9px; background: url("../ui/pip-on.png") center / contain no-repeat; filter: drop-shadow(0 0 5px rgba(150, 218, 255, 0.8)); }
.trust a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin: 22px 0 0; color: var(--text); }

.funnel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 6px 0 12px; }
.funnel-step {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 12px;
  border: 1px solid var(--line-2); background: rgba(8, 18, 32, 0.6);
}
.funnel-step small { color: var(--label); font: 700 10.5px/1.2 var(--f-ui); letter-spacing: 0.14em; text-transform: uppercase; }
.funnel-step b { color: #fff; font: 900 28px/1 var(--f-title); }
.funnel-step em { color: var(--dim); font-style: normal; font-size: 11.5px; }
.funnel-step:last-child b { color: var(--exc); }
@media (max-width: 760px) { .funnel { grid-template-columns: repeat(2, 1fr); } }

/* ---- real proof, only when the owner has filled it in (Admin > Settings > Social proof) */
.proof { padding: 46px 0 6px; text-align: center; position: relative; z-index: 2; }
.proof-num { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin: 0 0 18px; }
.proof-num b { font: 900 clamp(40px, 6vw, 68px)/1 var(--f-title); }
.proof-num span { color: var(--label); font: 700 12px/1.3 var(--f-ui); letter-spacing: 0.22em; text-transform: uppercase; }
.proof-quote { max-width: 720px; margin: 0 auto; }
.proof-quote p { margin: 0; color: var(--title); font: 600 clamp(17px, 2.2vw, 22px)/1.5 var(--f-ui); }
.proof-quote cite { display: block; margin-top: 12px; color: var(--ice); font: 700 11.5px/1 var(--f-ui); letter-spacing: 0.2em; text-transform: uppercase; font-style: normal; }
