:root {
  --bg: #0d0820; --panel: #170e36; --panel2: #1f1347; --line: #3b2a7a; --text: #f3efff; --soft: #b9addf; --dim: #8579b8;
  --pink: #ff3fd1; --violet: #8b4dff; --cyan: #3ff0ff; --gold: #ffcf3a; --green: #43d96b; --red: #ff4a5a;
  --head: "Lilita One", "Arial Black", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg) url("/img/pattern.png") repeat; background-size: 130px;
  color: var(--text); font: 600 16px/1.5 Nunito, Arial, sans-serif; min-height: 100vh; display: flex; flex-direction: column;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1200px 600px at 15% -10%, #4b1a9a99, transparent 60%), radial-gradient(900px 600px at 100% 30%, #0b4a7a77, transparent 60%), #0d0820e6; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; letter-spacing: .5px; margin: 0 0 .4em; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px); background: #0d0820d9; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 26px var(--head); letter-spacing: 2px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; transform: skew(-8deg);
  background: linear-gradient(135deg, var(--pink), var(--violet)); box-shadow: 0 0 18px #ff3fd166; }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a { text-decoration: none; padding: 8px 14px; border-radius: 12px; color: var(--soft); font-weight: 800; }
nav a:hover, nav a.on { color: #fff; background: var(--panel2); }
.nav-account { border: 2px solid var(--violet); color: #fff !important; }
.nav-account.in { border-color: var(--green); }

main { flex: 1; width: min(1180px, 100%); margin: 0 auto; padding: 28px clamp(16px, 4vw, 40px) 60px; }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; padding: 28px; border-radius: 28px;
  background: linear-gradient(135deg, #3a0f7acc, #12164acc); border: 2px solid var(--line); overflow: hidden; position: relative; }
.hero img.logo { width: min(520px, 100%); filter: drop-shadow(0 10px 30px #ff3fd155); }
.hero p { color: var(--soft); font-size: 18px; max-width: 520px; }
.hero .noxy { width: min(340px, 90%); justify-self: center; animation: float 3.6s ease-in-out infinite; filter: drop-shadow(0 0 24px #8b4dff88); }
@keyframes float { 50% { transform: translateY(-14px) rotate(-2deg); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font: 400 20px var(--head); letter-spacing: .5px; color: #fff; padding: 12px 26px; border-radius: 14px; transform: skew(-6deg);
  background: linear-gradient(#ffd84d, #f39a12); color: #3a1d00; box-shadow: 0 5px 0 #a35a00, 0 8px 18px #0006; transition: transform .1s; }
.btn > * { transform: skew(6deg); }
.btn:active { transform: skew(-6deg) translateY(3px); box-shadow: 0 2px 0 #a35a00; }
.btn.blue { background: linear-gradient(#5fb4ff, #2a6ff0); color: #fff; box-shadow: 0 5px 0 #173f9a, 0 8px 18px #0006; }
.btn.green { background: linear-gradient(#6cf08a, #23b04a); color: #06300f; box-shadow: 0 5px 0 #13702c, 0 8px 18px #0006; }
.btn.ghost { background: var(--panel2); color: var(--soft); box-shadow: 0 5px 0 #0a0620; }
.btn[disabled] { filter: grayscale(.8) brightness(.7); cursor: not-allowed; }
.row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.section { margin-top: 42px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-head a { color: var(--cyan); font-weight: 800; text-decoration: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }

.news-card { background: var(--panel); border: 2px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  transition: transform .15s, border-color .15s; }
.news-card:hover { transform: translateY(-4px); border-color: var(--violet); }
.news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.news-card .meta { display: flex; justify-content: space-between; padding: 12px 16px 0; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.news-card h3 { padding: 4px 16px 16px; font-size: 22px; }
.cat-update { color: var(--green); } .cat-shop { color: var(--gold); } .cat-season { color: var(--pink); }
.date { color: var(--dim); }
.article { background: var(--panel); border: 2px solid var(--line); border-radius: 24px; overflow: hidden; }
.article img { width: 100%; max-height: 460px; object-fit: cover; display: block; }
.article .inner { padding: 24px 28px 30px; }
.article p { color: var(--soft); font-size: 18px; }

.faq details { background: var(--panel); border: 2px solid var(--line); border-radius: 16px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font: 400 21px var(--head); padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--cyan); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--soft); margin: 0 0 16px; }

.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.pack { position: relative; text-align: center; padding: 22px 14px 18px; border-radius: 22px; background: linear-gradient(#2a6ff0, #16338f);
  border: 3px solid #7fb6ff; box-shadow: 0 6px 0 #0c1d55; }
.pack img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 6px 10px #0008); }
.pack .amount { font: 400 30px var(--head); margin: 6px 0 12px; }
.pack .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%) skew(-8deg); background: var(--red); padding: 2px 12px;
  border-radius: 8px; font: 400 15px var(--head); white-space: nowrap; }
.pack.picked { border-color: var(--gold); box-shadow: 0 0 0 4px #ffcf3a55, 0 6px 0 #0c1d55; }

.note { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 18px; background: #3a1050; border: 2px solid var(--pink); margin-bottom: 22px; }
.note img { width: 72px; }
.note.ok { background: #0f3a28; border-color: var(--green); }

.card { background: var(--panel); border: 2px solid var(--line); border-radius: 24px; padding: 26px; max-width: 560px; margin: 0 auto; }
.card label { display: block; color: var(--soft); font-weight: 800; margin: 14px 0 6px; }
.card input { width: 100%; font: 800 20px Nunito, sans-serif; color: #fff; background: #0d0820; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; outline: none; }
.card input:focus { border-color: var(--violet); }
.code-input { letter-spacing: 12px; text-align: center; font-size: 30px !important; }
.err { color: var(--red); font-weight: 800; min-height: 24px; margin-top: 10px; }
.idline { font: 400 34px var(--head); color: var(--gold); letter-spacing: 2px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 16px 0; color: var(--soft); }
.kv b { color: #fff; }

.foot { display: flex; align-items: center; gap: 14px; justify-content: center; padding: 22px; color: var(--dim); border-top: 1px solid var(--line); }
.foot b { color: var(--soft); }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: #05030fcc; padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { position: relative; max-width: 440px; width: 100%; text-align: center; background: var(--panel); border: 2px solid var(--violet); border-radius: 26px; padding: 90px 24px 24px; }
.modal-noxy { position: absolute; top: -64px; left: 50%; transform: translateX(-50%); height: 140px; width: auto; }
.modal-card p, .modal-text { color: var(--soft); }
.modal-text { margin: 0 0 8px; }
.modal-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-inline: auto; }
  .row { justify-content: center; }
  .top { flex-direction: column; }
}

/* ---------- Noxy over the page ---------- */
.noxy-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 40; pointer-events: none; }
html.noxy-over, html.noxy-over * { cursor: grab !important; }
html.noxy-held, html.noxy-held * { cursor: grabbing !important; user-select: none; }
.noxy-bubble { position: fixed; left: 0; top: 0; z-index: 41; max-width: min(320px, 80vw); padding: 10px 16px 11px; border-radius: 20px;
  background: #fff; color: #1b0d3a; font: 800 16px/1.3 Nunito, sans-serif; border: 3px solid #1b0d3a; box-shadow: 0 5px 0 #1b0d3a, 0 10px 24px #0007;
  pointer-events: none; opacity: 0; transition: opacity .15s; }
.noxy-bubble.on { opacity: 1; animation: bubble-pop .25s cubic-bezier(.3, 1.6, .5, 1); }
.noxy-bubble::after { content: ""; position: absolute; left: var(--tail, 50%); bottom: -14px; width: 18px; height: 18px; margin-left: -9px;
  background: #fff; border-right: 3px solid #1b0d3a; border-bottom: 3px solid #1b0d3a; transform: rotate(45deg); }
.noxy-bubble.below::after { bottom: auto; top: -12px; transform: rotate(225deg); }
@keyframes bubble-pop { from { scale: .6; } to { scale: 1; } }
.noxy-toggle { margin-left: auto; background: none; border: 2px solid var(--line); color: var(--soft); border-radius: 12px; padding: 6px 12px;
  font: 800 13px Nunito, sans-serif; cursor: pointer; }
.noxy-toggle:hover { color: #fff; border-color: var(--violet); }
.noxy-toggle + .noxy-toggle { margin-left: 8px; }
@media (max-width: 640px) {
  .foot { flex-wrap: wrap; row-gap: 12px; column-gap: 8px; padding: 18px 14px; }
  .foot > div { flex: 1 1 calc(100% - 80px); }
  .foot .noxy-toggle, .foot .noxy-toggle + .noxy-toggle { margin-left: 0; padding: 6px 9px; font-size: 12px; }
}

/* ---------- shop: special offers, daily gift, offer window ---------- */
.soft { color: var(--soft); }
.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin: 14px 0 10px; }
.promo { --c: #8b4dff; position: relative; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; align-items: center;
  min-height: 430px; padding: 16px 14px 18px; border-radius: 26px; text-align: center; isolation: isolate;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 55%, white) 0%, var(--c) 45%, color-mix(in srgb, var(--c) 35%, black) 100%);
  border: 4px solid color-mix(in srgb, var(--c) 40%, white); box-shadow: 0 8px 0 color-mix(in srgb, var(--c) 40%, black), 0 14px 30px #0008;
  transition: transform .15s; }
.promo:hover { transform: translateY(-6px) rotate(-.5deg); }
.promo.picked { outline: 5px solid var(--gold); outline-offset: 3px; }
.promo::after { content: ""; position: absolute; inset: -50% auto -50% -60%; width: 40%; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, transparent, #ffffff66, transparent); transform: rotate(20deg); animation: shine 4.6s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.rays { position: absolute; left: 50%; top: 42%; width: 640px; height: 640px; margin: -320px 0 0 -320px; z-index: -1; opacity: .35;
  background: repeating-conic-gradient(from 0deg, #fff 0 9deg, transparent 9deg 22.5deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 65%); mask: radial-gradient(circle, #000 0, transparent 65%); animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.promo h3 { width: calc(100% + 28px); margin: -16px -14px 8px; padding: 12px 10px 10px; font-size: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 3px 0 #0007;
  background: color-mix(in srgb, var(--c) 45%, black); transform: skewY(-2deg); }
.deal { position: absolute; top: 58px; left: 10px; z-index: 2; width: 84px; height: 84px; border-radius: 50%; display: grid; place-content: center;
  background: var(--red); border: 4px solid #fff; transform: rotate(12deg); box-shadow: 0 4px 0 #0006; animation: pulse 1.4s ease-in-out infinite; }
.deal b { font: 400 24px var(--head); }
.deal.value { background: var(--gold); color: #4a1c00; } .deal.value b { font-size: 28px; line-height: 1; } .deal small { font-size: 10px; font-weight: 800; text-transform: uppercase; }
@keyframes pulse { 50% { transform: rotate(12deg) scale(1.07); } }
.timer { position: absolute; top: 62px; right: 12px; z-index: 2; padding: 3px 10px; border-radius: 12px; background: #0008; font-weight: 800; font-size: 14px; }
.timer::before { content: "⏱ "; }
.goods { flex: 1; display: grid; place-items: center; width: 100%; margin-top: 18px; }
.goods .skinart { width: 100%; max-height: 220px; object-fit: contain; filter: drop-shadow(0 10px 14px #0008); animation: float 3.6s ease-in-out infinite; }
.rw { position: relative; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #0004; }
.rw img { width: 62px; height: 62px; object-fit: contain; filter: drop-shadow(0 4px 6px #0008); }
.rw b { position: absolute; bottom: -10px; font: 400 18px var(--head); text-shadow: 0 2px 0 #000, 0 0 6px #000; white-space: nowrap; }
.rw.big { width: 170px; height: 170px; background: none; } .rw.big img { width: 160px; height: 160px; animation: float 3.2s ease-in-out infinite; }
.rw.big b { font-size: 34px; bottom: 0; right: -6px; }
.more { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 10px 0 14px; }
.price { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.price s { background: #0009; padding: 0 10px; border-radius: 10px; }
.price s, .was s { color: #ffd7dc; text-decoration-color: var(--red); text-decoration-thickness: 3px; font: 400 20px var(--head); }
.price .btn { min-width: 170px; font-size: 24px; }

.daily { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; padding: 20px 26px; margin: 10px 0 28px; border-radius: 26px;
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #6b1fd1, #2c1580 55%, #0e4a8a); border: 3px solid #b48bff; box-shadow: 0 8px 0 #1b0b4a, 0 14px 30px #0008; }
.daily .gift { position: relative; display: grid; place-items: center; height: 200px; }
.daily .gift img { width: 190px; animation: float 3s ease-in-out infinite; filter: drop-shadow(0 10px 16px #0009); }
.daily .gift .rays { opacity: .45; top: 50%; }
.daily small { color: var(--cyan); font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.daily h2 { font-size: 32px; margin: 2px 0 0; } .daily .more { justify-content: flex-start; }
.daily.done .gift img { filter: grayscale(.4) drop-shadow(0 10px 16px #0009); }

.detail { --c: #8b4dff; position: relative; text-align: left; padding-top: 6px; }
.detail .deal { top: -92px; left: -10px; width: 74px; height: 74px; }
.detail .timer { position: static; display: inline-block; margin-bottom: 10px; }
.items { display: flex; flex-direction: column; gap: 8px; }
.item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 14px;
  background: color-mix(in srgb, var(--c) 22%, #0d0820); border: 2px solid color-mix(in srgb, var(--c) 45%, transparent); }
.item img { width: 56px; height: 56px; object-fit: contain; }
.item b { color: #fff; display: block; } .item small { color: var(--soft); }
.item span { font: 400 22px var(--head); color: var(--gold); }
.was { margin: 12px 0 0; } .was b { color: var(--green); font: 400 22px var(--head); }
@media (max-width: 760px) { .daily { grid-template-columns: 1fr; text-align: center; } .daily .more { justify-content: center; } }

.sent{color:var(--soft);margin:0 0 12px}.sent b{color:#fff}.sent code{background:#2a1850;padding:2px 6px;border-radius:6px;color:#ffe45c}
.loading{display:grid;place-items:center;gap:10px;padding:120px 0;color:var(--soft)}.loading img{width:72px;animation:bob 1s ease-in-out infinite alternate}@keyframes bob{to{transform:translateY(-10px)}}
