:root {
  --purple: #3b1d8f;
  --purple-2: #5229c2;
  --yellow: #ffd400;
  --pink: #ff3d7f;
  --pink-dark: #e0225f;
  --paper: #ffffff;
  --mist: #f5f3ff;
  --ink: #1d1530;
  --muted: #625a78;
  --line: #e6e1f5;
  --radius: 18px;
  --max: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { line-height: 1.05; margin: 0 0 .5em; font-weight: 900; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: .8em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 32em; }

.announce { margin: 0; background: var(--yellow); color: var(--ink); text-align: center; font-weight: 800; font-size: .86rem; padding: 8px 16px; }

.btn { display: inline-block; padding: .85em 1.6em; border-radius: 12px; background: var(--pink); color: #fff; font: inherit; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--pink-dark); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-full { width: 100%; text-align: center; }
.btn:focus-visible, .filter:focus-visible, .buy:focus-visible, .cart:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.05em; color: var(--purple); }
.wordmark b { color: var(--pink); }
.wordmark-light { color: #fff; }
.wordmark-light b { color: var(--yellow); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--purple); }
.cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mist); }
.cart svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.800; stroke-linejoin: round; stroke-linecap: round; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--purple); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.cart-count.has-items { background: var(--pink); }

.hero { padding: 56px 0 64px; background: radial-gradient(circle at 15% 20%, var(--purple-2), var(--purple) 60%); color: #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.hero .hl { color: var(--yellow); display: block; }
.hero .lead { color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.today { background: #fff; color: var(--ink); border-radius: 26px; padding: 26px; box-shadow: 0 30px 60px rgba(20,8,60,.45); transform: rotate(1.500deg); }
.today-label { display: inline-block; margin: 0 0 12px; background: var(--ink); color: var(--yellow); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .35em .8em; border-radius: 8px; }
.today-art { position: relative; background: var(--mist); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.today-art svg { width: 100%; max-width: 200px; aspect-ratio: 1; margin: 0 auto; }
.burst { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 74px; height: 74px; background: var(--yellow); color: var(--purple); font-weight: 900; font-size: 1.2rem; clip-path: polygon(50% 0, 61% 12%, 76% 6%, 79% 22%, 95% 24%, 89% 39%, 100% 50%, 89% 61%, 95% 76%, 79% 78%, 76% 94%, 61% 88%, 50% 100%, 39% 88%, 24% 94%, 21% 78%, 5% 76%, 11% 61%, 0 50%, 11% 39%, 5% 24%, 21% 22%, 24% 6%, 39% 12%); transform: rotate(-8deg); }
.today h2 { font-size: 1.35rem; margin-bottom: .3em; }
.price { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.now { font-size: 1.45rem; font-weight: 900; color: var(--pink-dark); letter-spacing: -0.02em; }
.price s { color: var(--muted); font-size: .9rem; }
.price-big .now { font-size: 2.2rem; }
.timer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 14px 0 16px; padding: 12px 14px; background: var(--mist); border-radius: 12px; }
.timer-label { font-weight: 700; color: var(--muted); font-size: .92rem; }
.clock { font-variant-numeric: tabular-nums; font-weight: 900; font-size: 1.3rem; color: var(--purple); }
.clock b { display: inline-block; min-width: 1.6em; text-align: center; background: var(--purple); color: #fff; border-radius: 6px; padding: 2px 4px; }

.section { padding: 76px 0; }
.section-alt { background: var(--mist); }

.deals-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.deals-head h2 { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font: inherit; font-weight: 700; font-size: .88rem; padding: .5em 1em; border-radius: 999px; background: #fff; color: var(--ink); border: 2px solid var(--line); cursor: pointer; }
.filter:hover { border-color: var(--purple-2); }
.filter.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }

.deals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.deal { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 14px; transition: border-color .15s, transform .15s; }
.deal:hover { border-color: var(--purple-2); transform: translateY(-3px); }
.deal-art { position: relative; background: var(--mist); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.deal-art svg { width: 100%; max-width: 140px; aspect-ratio: 1; margin: 0 auto; }
.off { position: absolute; top: 10px; left: 10px; background: var(--pink); color: #fff; font-weight: 900; font-size: .86rem; padding: .25em .6em; border-radius: 8px; }
.deal-cat { margin: 0 0 .2em; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-2); }
.deal h3 { margin-bottom: .6em; }
.deal-foot { margin-top: auto; display: grid; gap: 10px; }
.buy:not(.btn) { font: inherit; font-weight: 800; font-size: .88rem; padding: .6em; border-radius: 10px; background: var(--purple); color: #fff; border: 0; cursor: pointer; }
.buy:not(.btn):hover { background: var(--purple-2); }

.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px 22px; }
.steps p { margin: 0; color: var(--muted); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); color: var(--purple); font-weight: 900; font-size: 1.3rem; margin-bottom: 14px; }

.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.faq .lead { margin-bottom: 1.4em; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--mist); border-radius: 14px; padding: 2px 20px; }
.faq-list summary { cursor: pointer; font-weight: 800; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--pink); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: 0 0 16px; color: var(--muted); }

.newsletter { background: var(--purple); color: #fff; text-align: center; }
.newsletter .lead { color: rgba(255,255,255,.8); margin: 0 auto 1.5em; }
.news-inner { display: flex; flex-direction: column; align-items: center; }
.news-inner img { margin-bottom: 16px; }
.news-form { display: flex; gap: 10px; width: 100%; max-width: 480px; }
.news-form input { flex: 1; min-width: 0; font: inherit; padding: .85em 1em; border-radius: 12px; border: 0; }

.site-footer { background: var(--ink); color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer-inner p { margin: 0; }

@media (max-width: 1040px) {
  .deals { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .cart { margin-left: auto; }
  .hero-inner, .faq { grid-template-columns: 1fr; gap: 36px; }
  .today { max-width: 420px; width: 100%; margin: 0 auto; transform: none; }
  .deals { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .announce { font-size: .78rem; }
  .deals { gap: 10px; }
  .deal { padding: 10px; }
  .deal h3 { font-size: .94rem; }
  .now { font-size: 1.2rem; }
  .news-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
