/* Musor Drop landing — shared base (tokens from musor10.best) */
:root {
  --bg: #100F12;
  --island: #16141A;
  --island-2: #1C1A21;
  --stroke: #312F35;
  --stroke-soft: rgba(235, 240, 247, .06);
  --text: #F6F2FA;
  --text-2: rgba(246, 242, 250, .66);
  --text-3: rgba(246, 242, 250, .42);
  --accent: #A060FE;
  --lilac: #BA90F9;
  --lilac-2: #CCB1FF;
  --lime: #B6EE5F;
  --blue: #3D7BFF;
  --orange: #F08A2E;
  --btn: radial-gradient(734.62% 100% at 0% 50%, #6945AD 0%, #7B4BD4 100%);
  --btn-stroke: #966EE5;
  --modal: radial-gradient(59.85% 62.2% at 0% 100%, rgba(233, 216, 255, .05) 0%, rgba(233, 216, 255, 0) 100%),
           radial-gradient(89.27% 67.96% at 0% 0%, rgba(233, 216, 255, .06) 0%, rgba(233, 216, 255, 0) 100%),
           radial-gradient(68.42% 106.76% at 100% 100%, rgba(233, 216, 255, .05) 0%, rgba(233, 216, 255, 0) 100%),
           #141217;
  --t-blue: #4B69FF;
  --t-purple: #8847FF;
  --t-pink: #D32CE6;
  --t-red: #EB4B4B;
  --t-gold: #E4AE39;
  --display: "Anton", "Santa Maria Sans", Impact, "Arial Narrow", sans-serif;
  --font: "SF Pro Rounded", ui-rounded, "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .wrap { padding-left: 24px; padding-right: 24px; } }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.c-purple { color: var(--lilac); }
.c-lime { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 24px; border-radius: 14px;
  background: var(--btn); border: 1px solid var(--btn-stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 28px -12px rgba(160, 96, 254, .8);
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  transition: filter .2s, transform .15s;
}
.btn:hover { filter: brightness(.88); }
.btn:active { transform: translateY(1px); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 13px; border-radius: 12px; }
.btn--lime { background: linear-gradient(180deg, #c9ff7a, #9fdc45); border-color: #d9ff9f; color: #15180f; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 28px -12px rgba(182, 238, 95, .8); }
.btn--ghost { background: rgba(233, 216, 255, .06); border-color: rgba(235, 240, 247, .1); box-shadow: none; }
.btn--ghost:hover { filter: none; background: rgba(233, 216, 255, .12); }
.btn--game { --h: 58px; min-width: 200px; padding: 0 36px; font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: .04em; border-radius: 16px; }

/* ---------- Header ---------- */
.header { position: relative; z-index: 40; background: rgba(16, 15, 18, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--stroke-soft); }
.header__row { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 34px; height: 34px; }
.logo span { font-family: var(--display); font-size: 27px; line-height: 1; letter-spacing: .01em; }
.logo b { font-weight: 400; color: var(--lilac); }
.hnav { display: none; align-items: center; gap: 6px; }
.hnav a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 12px; color: var(--text-2); font-size: 12px; font-weight: 700; transition: color .2s, background .2s; }
.hnav a svg { width: 22px; height: 22px; }
.hnav a:hover { color: var(--text); background: rgba(233, 216, 255, .05); }
.header__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.age { display: inline-grid; place-items: center; min-width: 40px; height: 32px; padding: 0 10px; border-radius: 10px; font-weight: 900; font-size: 13px; background: rgba(235, 75, 75, .12); border: 1px solid rgba(235, 75, 75, .35); color: #ffabab; }
.promo-pill {
  display: none; align-items: center; gap: 10px; height: 42px; padding: 0 6px 0 14px; border-radius: 14px;
  background: radial-gradient(178.96% 80% at 20% 50%, rgba(115, 76, 187, .05) 10.96%, #734CBB 100%), rgba(115, 76, 187, .05);
  border: 1px solid rgba(150, 110, 229, .55); font-weight: 800; font-size: 14px;
}
.promo-pill b { font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.promo-pill i { font-style: normal; display: grid; place-items: center; height: 30px; padding: 0 10px; border-radius: 9px; background: rgba(16, 15, 18, .55); font-size: 13px; }
@media (min-width: 640px) { .promo-pill { display: inline-flex; } }
@media (min-width: 1100px) { .hnav { display: flex; } }

/* ---------- Dumpster (case) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.dm { --dm1: #5a35a6; --dm2: #b98cff; display: block; width: 100%; height: auto; overflow: visible; }
.dm .dm-lid { transform-origin: 120px 68px; transition: transform .5s cubic-bezier(.2, .9, .3, 1.2); }
.dm .dm-glow, .dm .dm-beam { opacity: .35; transition: opacity .45s; }
.is-open .dm .dm-lid, .dm-hover:hover .dm .dm-lid { transform: translateY(-34px) rotate(-7deg); }
.is-open .dm .dm-glow, .dm-hover:hover .dm .dm-glow, .is-open .dm .dm-beam, .dm-hover:hover .dm .dm-beam { opacity: 1; }
.dm--purple { --dm1: #5b36a8; --dm2: #c4a0ff; }
.dm--lime { --dm1: #4e7f21; --dm2: #d4ff8c; }
.dm--blue { --dm1: #24509f; --dm2: #8fc2ff; }
.dm--orange { --dm1: #a9561e; --dm2: #ffc078; }
.dm--dark { --dm1: #2c2a33; --dm2: #b98cff; }
.levitate { animation: levitate 4s ease-in-out infinite; }
@keyframes levitate { 50% { transform: translateY(-10px); } }

/* ---------- Skin card (live feed / reel style) ---------- */
.sk { --c: var(--t-blue); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden; border-radius: 14px; background: radial-gradient(70% 70% at 50% 0%, color-mix(in srgb, var(--c) 55%, transparent), transparent 75%), var(--island); border: 1px solid var(--stroke-soft); }
.sk img { object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.sk b { display: block; max-width: 100%; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk span { display: block; max-width: 100%; color: var(--text-3); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Live feed */
.live { position: relative; z-index: 30; background: #0d0c0f; border-bottom: 1px solid var(--stroke-soft); }
.live__row { display: flex; gap: 8px; height: 96px; padding-top: 8px; padding-bottom: 8px; }
.live__on { flex: none; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 76px; border-radius: 14px; background: rgba(48, 196, 120, .1); border: 1px solid rgba(70, 220, 140, .3); color: #8AFFC7; font-weight: 900; font-size: 12px; letter-spacing: .06em; }
.live__on svg { width: 20px; height: 20px; }
.live__track { flex: 1; display: flex; gap: 8px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.live .sk { flex: none; width: 116px; padding: 4px 8px 6px; }
.live .sk img { width: 72px; height: 44px; margin-bottom: 2px; }
.live .sk b { font-size: 11px; line-height: 1.2; }
.live .sk span { font-size: 10px; line-height: 1.2; }
.live .sk.is-new { animation: feedIn .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes feedIn { from { width: 0; opacity: 0; padding-left: 0; padding-right: 0; } }

/* ---------- Promo code box ---------- */
.code { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 60px; padding: 0 7px 0 18px; border-radius: 16px; border: 1.5px dashed rgba(182, 238, 95, .6); background: rgba(16, 15, 18, .6); }
.code code { font-family: var(--display); font-size: 32px; letter-spacing: .14em; color: var(--lime); }
.code .btn { --h: 44px; padding: 0 16px; font-size: 13px; }

/* ---------- Dialogs ---------- */
.dlg { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.dlg.is-open { display: flex; }
.dlg__bg { position: absolute; inset: 0; background: rgba(9, 9, 9, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade .25s; }
.dlg__box { position: relative; width: 100%; max-width: 520px; max-height: calc(100svh - 32px); overflow: auto; padding: 32px 24px 24px; border-radius: 28px; background: var(--modal); border: 1px solid var(--stroke); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .85); text-align: center; animation: pop .4s cubic-bezier(.2, .9, .3, 1.25); }
.dlg__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(233, 216, 255, .06); }
.dlg__x:hover { background: rgba(233, 216, 255, .12); }
.dlg__x svg { width: 18px; height: 18px; }
.dlg__title { font-family: var(--display); font-size: 44px; line-height: 1; text-transform: uppercase; }
.dlg__sub { margin-top: 8px; color: var(--text-2); font-size: 17px; font-weight: 700; }
.dlg__act { margin-top: 22px; display: grid; gap: 10px; }
.dlg__note { margin-top: 14px; font-size: 12px; color: var(--text-3); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }

/* ---------- Footer + SEO text ---------- */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--stroke-soft); background: #0d0c0f; padding: 32px 0 40px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-bottom: 24px; border-bottom: 1px solid var(--stroke-soft); }
.footer__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--text-3); font-size: 14px; font-weight: 600; }
.footer__meta a:hover { color: var(--text); }
.seo { position: relative; margin-top: 28px; }
.seo__body { position: relative; max-height: 300px; overflow: hidden; transition: max-height .5s ease; }
.seo__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, #0d0c0f); pointer-events: none; transition: opacity .3s; }
.seo.is-open .seo__body { max-height: none; }
.seo.is-open .seo__body::after { opacity: 0; }
.seo__cols { display: grid; gap: 0 48px; }
@media (min-width: 960px) { .seo__cols { grid-template-columns: 1fr 1fr; } }
.seo h2 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; margin: 28px 0 10px; }
.seo__cols > div > h2:first-child { margin-top: 0; }
.seo h3 { font-size: 17px; font-weight: 900; margin: 18px 0 8px; }
.seo p { color: var(--text-2); font-size: 15px; line-height: 1.7; margin: 0 0 12px; }
.seo ul, .seo ol { margin: 0 0 14px; display: grid; gap: 6px; }
.seo li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.seo ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.seo ol { counter-reset: n; }
.seo ol li { padding-left: 30px; }
.seo ol li::before { counter-increment: n; content: counter(n) "."; position: absolute; left: 0; color: var(--lilac); font-weight: 900; }
.seo strong { color: var(--text); }
.seo code { font-family: var(--display); color: var(--lime); letter-spacing: .08em; font-size: 1.1em; }
.seo a { color: var(--lilac); text-decoration: underline; text-underline-offset: 3px; }
.seo details { border-radius: 14px; background: var(--island); border: 1px solid var(--stroke-soft); margin-bottom: 8px; }
.seo summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; position: relative; font-weight: 800; }
.seo summary::-webkit-details-marker { display: none; }
.seo summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--lilac); font-weight: 900; }
.seo details[open] summary::after { content: "–"; }
.seo details > p { padding: 0 16px 14px; margin: 0; }
.seo__more { display: flex; align-items: center; gap: 8px; margin: 16px auto 0; height: 44px; padding: 0 20px; border-radius: 12px; background: rgba(233, 216, 255, .06); border: 1px solid rgba(235, 240, 247, .1); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.seo__more:hover { background: rgba(233, 216, 255, .12); }
.seo__more svg { width: 16px; height: 16px; transition: transform .3s; }
.seo.is-open .seo__more svg { transform: rotate(180deg); }
.footer__legal { margin-top: 24px; font-size: 13px; color: var(--text-3); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 14px; background: #1f1c25; border: 1px solid rgba(182, 238, 95, .35); font-weight: 800; font-size: 14px; transition: opacity .25s, transform .25s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Signed-in badge ---------- */
.authed { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); min-height: 40px; padding: 5px 14px 5px 6px; border-radius: 12px; background: #1f1c25; border: 1px solid rgba(182, 238, 95, .35); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .9); font-weight: 800; animation: fade .3s; }
.authed img, .authed svg { flex: none; width: 28px; height: 28px; border-radius: 8px; }
.authed svg { padding: 5px; background: rgba(182, 238, 95, .16); color: var(--lime); }
.authed span { display: grid; min-width: 0; line-height: 1.2; }
.authed b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.authed small { font-size: 13px; }
.authed b + small { font-size: 11px; font-weight: 700; color: var(--lime); }

/* 404 */
.nf { min-height: 70svh; display: grid; place-items: center; text-align: center; padding-top: 64px; padding-bottom: 64px; }
.nf__code { font-family: var(--display); font-size: clamp(120px, 22vw, 220px); line-height: 1; color: var(--lilac); }
.nf p { color: var(--text-2); margin: 8px 0 24px; }

/* Reduced motion (also on by default on Windows Server): stop decorative loops only,
   the case reel and card flips still animate because they are the content */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .levitate, .dust, .dmx__rays, .spark, .fc__open { animation: none !important; }
}
