/* ---------- Theme tokens ---------- */
:root {
  --bg: #f5f6fb;
  --surface: #ffffff;
  --surface-2: #f0f2f8;
  --text: #171a2b;
  --muted: #646b82;
  --border: #e4e7f0;
  --accent: #5b4cf0;
  --accent-2: #c03dd8;
  --accent-text: #ffffff;
  --ok: #12895a;
  --bad: #cf3a2f;
  --warn: #b26b00;
  --star: #f2a100;
  --shadow: 0 1px 2px rgba(20, 22, 40, .05), 0 8px 24px -12px rgba(20, 22, 40, .12);
  --shadow-lg: 0 2px 6px rgba(20, 22, 40, .06), 0 24px 48px -20px rgba(20, 22, 40, .28);
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not(.theme-light) {
    --bg: #0d0f17;
    --surface: #161925;
    --surface-2: #1e2231;
    --text: #eceef6;
    --muted: #9ba1b8;
    --border: #272b3c;
    --accent: #8b80ff;
    --accent-2: #e070f0;
    --ok: #4cd391;
    --bad: #ff7b70;
    --warn: #f0b34a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 48px -20px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root.theme-dark {
  --bg: #0d0f17;
  --surface: #161925;
  --surface-2: #1e2231;
  --text: #eceef6;
  --muted: #9ba1b8;
  --border: #272b3c;
  --accent: #8b80ff;
  --accent-2: #e070f0;
  --ok: #4cd391;
  --bad: #ff7b70;
  --warn: #f0b34a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 48px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; }
code { font-size: .9em; background: var(--surface-2); border-radius: 6px; padding: 1px 6px; }
.icon { flex: none; vertical-align: -3px; }
.no-scroll { overflow: hidden; }
.muted { color: var(--muted); }
.ok { color: var(--ok); }
.bad { color: var(--bad); }
.container { max-width: 1200px; margin: 0 auto; padding: 28px 20px 40px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--accent-text);
  padding: 11px 20px; border-radius: 12px; font: inherit; font-weight: 650;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-big { padding: 15px 30px; font-size: 1.08rem; border-radius: 14px; }
.btn-small { padding: 6px 12px; font-size: .88rem; border-radius: 9px; }
.btn-light { background: var(--surface-2); color: var(--text); }
.btn-glow {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-glow:hover { box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--accent) 85%, transparent); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 0; background: transparent; color: var(--text); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--surface-2); }

/* ---------- Announcement + header ---------- */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 16px; font-size: .9rem; font-weight: 500; text-align: center;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff;
}
.announce a { color: #fff; font-weight: 700; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.brand .logo { width: auto; max-width: 60vw; display: block; object-fit: contain; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.site-nav > a { padding: 8px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 550; font-size: .95rem; }
.site-nav > a:hover { background: var(--surface-2); }
.site-nav > a.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.nav-search { display: flex; align-items: center; gap: 6px; margin-left: 8px; padding: 0 12px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--muted); }
.nav-search input { border: 0; background: none; color: var(--text); font: inherit; font-size: .92rem; width: 160px; outline: none; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.search-link, .menu-toggle { display: none; }
.theme-toggle .when-dark { display: none; }
:root.theme-dark .theme-toggle .when-dark { display: inline; }
:root.theme-dark .theme-toggle .when-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not(.theme-light) .theme-toggle .when-dark { display: inline; }
  :root:not(.theme-light) .theme-toggle .when-light { display: none; }
}
@media (max-width: 960px) {
  .nav-search { display: none; }
  .search-link { display: inline-grid; }
}
@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; }
  .brand { flex: 1 1 0; }
  .brand .logo { max-width: 100%; min-width: 0; }
  .menu-toggle { display: inline-grid; }
  .site-nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; margin: 0; padding: 6px 0 10px; }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 11px 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: calc(var(--radius) + 8px); padding: clamp(40px, 7vw, 84px) 24px; margin-bottom: 28px; text-align: center; color: #fff;
  background:
    radial-gradient(800px 380px at 10% -10%, color-mix(in srgb, var(--accent-2) 70%, transparent), transparent 60%),
    radial-gradient(700px 400px at 100% 120%, color-mix(in srgb, var(--accent) 90%, #000 10%), transparent 60%),
    linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent-2)));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero.has-image { background: linear-gradient(rgba(10, 10, 25, .55), rgba(10, 10, 25, .7)), var(--hero-img) center / cover no-repeat; }
.hero.has-image::after { display: none; }
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25);
}
.hero h1 { margin: 16px 0 10px; font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; letter-spacing: -.035em; }
.hero p { margin: 0 auto; max-width: 560px; font-size: 1.1rem; opacity: .9; }
.hero-search {
  display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 28px auto 0; padding: 6px 6px 6px 18px;
  background: var(--surface); color: var(--muted); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.hero-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 1rem; outline: none; padding: 8px 0; }
.hero-search .btn { padding: 11px 22px; }
.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; font-size: .95rem; opacity: .92; }
.hero-stats strong { font-size: 1.15rem; }

/* ---------- Chips, sections, steps ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 26px; scrollbar-width: thin; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 8px 14px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 550; font-size: .92rem;
  transition: border-color .15s, color .15s;
}
.chip span { font-size: .78rem; padding: 1px 7px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.chip:hover, .chip.active { border-color: var(--accent); color: var(--accent); }
.chip.active { background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.home-section { margin-bottom: 52px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.section-head h2::before {
  content: ""; display: inline-block; width: 6px; height: 22px; margin-right: 10px; vertical-align: -3px; border-radius: 6px;
  background: linear-gradient(var(--accent), var(--accent-2));
}
.section-link { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 650; white-space: nowrap; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: -8px 0 52px; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step strong { display: block; margin-bottom: 2px; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }
.step-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-featured { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.grid-featured .thumb { aspect-ratio: 16 / 10; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.thumb-empty { display: grid; place-items: center; width: 100%; height: 100%; color: var(--muted); opacity: .6; }
.thumb-empty.big { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--surface-2); }
.thumb-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; }
.ribbon {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 99px;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.ribbon-star { margin-left: auto; background: var(--star); padding: 5px; }
.ribbon.big { position: absolute; top: 14px; left: 14px; font-size: .8rem; padding: 6px 12px; }
.product-info { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.product-info h3 { font-size: 1.02rem; margin: 0; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-cat { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); text-decoration: none; }
.card-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; font-size: .84rem; color: var(--muted); }
.free-pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-weight: 700; font-size: .78rem;
  color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent);
}
.free-pill.big { font-size: .9rem; padding: 5px 12px; }
.card-stat { display: inline-flex; align-items: center; gap: 4px; }
.card-go {
  margin-left: auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--surface-2); color: var(--text); transition: background .2s, color .2s;
}
.product-card:hover .card-go { background: var(--accent); color: var(--accent-text); }

/* ---------- Product page ---------- */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text); font-weight: 550; }
.product { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1.1fr 1fr; align-items: start; margin-bottom: 56px; }
.product-media { position: relative; position: sticky; top: 90px; }
.product-media img { border-radius: calc(var(--radius) + 4px); display: block; width: 100%; box-shadow: var(--shadow-lg); }
.product-body h1 { margin: 6px 0 12px; font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.product-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.description { color: color-mix(in srgb, var(--text) 85%, var(--muted)); margin-bottom: 26px; }
.description p:first-child { margin-top: 0; }
.trust { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trust li {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 14px 8px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); font-size: .84rem; font-weight: 600;
}
.trust .icon { color: var(--accent); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.share a, .share button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 11px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; font: inherit; font-size: .88rem; cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 820px) {
  .product { grid-template-columns: 1fr; }
  .product-media { position: relative; top: 0; }
  #unlock-btn { width: 100%; }
}

/* ---------- Page banner, prose, contact ---------- */
.page-banner { padding: 8px 0 22px; }
.page-banner h1 { margin: 0 0 6px; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; }
.page-banner > p { margin: 0; color: var(--muted); }
.page-banner .hero-search { margin: 18px 0 12px; max-width: 640px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 22px; align-items: start; }
.contact-info h2 { margin: 14px 0 8px; }
.contact-info p { color: var(--muted); }
@media (max-width: 820px) { .contact-layout { grid-template-columns: 1fr; } }
.success-state { text-align: center; padding: 20px 0; color: var(--ok); }
.success-state h2 { color: var(--text); margin: 10px 0 6px; }
.success-state p { color: var(--muted); }

/* ---------- Forms ---------- */
.form label { display: block; margin-bottom: 16px; font-weight: 600; font-size: .92rem; }
.form input:not([type=checkbox]):not([type=radio]), .form textarea, .form select {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400;
  background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 12px; transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.alert { padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.alert-bad { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pagination, empty ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; font-weight: 650; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.pagination .disabled { opacity: .4; }
.pagination .gap { border: 0; background: none; min-width: 20px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .icon { opacity: .5; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; background: var(--surface); border-top: 1px solid var(--border); }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 48px 20px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { margin: 4px 0 14px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.footer-grid > div > a:not(.brand) { display: block; padding: 4px 0; color: var(--text); text-decoration: none; font-size: .95rem; }
.footer-grid > div > a:not(.brand):hover { color: var(--accent); }
.footer-brand p { color: var(--muted); max-width: 380px; font-size: .95rem; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface-2); color: var(--text); transition: background .15s, color .15s;
}
.socials a:hover { background: var(--accent); color: var(--accent-text); }
.footer-bottom { border-top: 1px solid var(--border); text-align: center; padding: 18px 20px; color: var(--muted); font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 44px; height: 44px; border-radius: 14px; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-text); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.to-top .icon { transform: rotate(-90deg); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Offer locker ---------- */
.locker {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(8, 10, 20, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .2s;
}
.locker.open { opacity: 1; }
.locker[hidden] { display: none; }
.locker-box {
  position: relative; width: 100%; max-width: 540px; max-height: 92vh; overflow: auto;
  background: var(--surface); border-radius: calc(var(--radius) + 6px); padding: 24px; box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98); transition: transform .25s cubic-bezier(.2, .9, .3, 1.2);
}
.locker.open .locker-box { transform: none; }
.locker-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--surface-2); color: var(--muted); cursor: pointer; }
.locker-close:hover { color: var(--text); }
.locker-head { display: flex; gap: 14px; align-items: center; padding-right: 40px; margin-bottom: 18px; }
.locker-head img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; flex: none; }
.locker-product { font-size: .8rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.locker-head h2 { margin: 2px 0 0; font-size: 1.2rem; }
.locker-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; counter-reset: s; }
.locker-steps li {
  flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; font-size: .82rem; font-weight: 600;
  background: var(--surface-2); color: var(--muted);
}
.locker-steps li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--border); font-size: .75rem; flex: none; }
.locker-steps li.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.locker-steps li.active span { background: var(--accent); color: var(--accent-text); }
.locker-steps li.done { color: var(--ok); }
.locker-steps li.done span { background: var(--ok); color: #fff; }
@media (max-width: 480px) { .locker-steps li { font-size: 0; gap: 0; justify-content: center; } .locker-steps li span { font-size: .75rem; } }
.offers { display: grid; gap: 10px; }
.offer {
  display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px;
  border: 1px solid var(--border); color: var(--text); text-decoration: none; background: var(--surface);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.offer:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow); }
.offer-pic { width: 52px; height: 52px; border-radius: 12px; flex: none; overflow: hidden; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.offer-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.offer-text strong { font-size: .98rem; }
.offer-text span { color: var(--muted); font-size: .84rem; }
.offer-go { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; padding: 8px 16px; border-radius: 10px; font-weight: 700; font-size: .88rem; }
.offer-skeleton { height: 78px; border-radius: 14px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--border) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.locker-error { text-align: center; color: var(--muted); padding: 20px 0; }
.locker-status { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; font-size: .88rem; background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--text); }
.locker-status[hidden] { display: none; }
.locker-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; font-size: .78rem; color: var(--muted); text-align: center; }
.spinner { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.unlocked { text-align: center; padding: 16px 0 8px; color: var(--ok); animation: pop .35s ease; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }
.unlocked-title { font-weight: 800; color: var(--text); font-size: 1.15rem; margin: 8px 0 16px; }
.admin-test { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: .85rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Dark mode: deepen the hero so white text keeps its contrast. */
:root.theme-dark .hero:not(.has-image) { box-shadow: inset 0 0 0 100vmax rgba(5, 6, 15, .38); }
@media (prefers-color-scheme: dark) {
  :root:not(.theme-light) .hero:not(.has-image) { box-shadow: inset 0 0 0 100vmax rgba(5, 6, 15, .38); }
}
