/* CodeLab Development storefront */

:root {
  --bg: #07090d;
  --bg-2: #0b0e14;
  --surface: #10141c;
  --surface-2: #151a24;
  --border: #1d2430;
  --border-2: #2a3342;
  --text: #eef2f8;
  --text-2: #b4bfcf;
  --muted: #7d8899;
  --blue: #1d8cff;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --green: #22c55e;
  --red: #f05252;
  --grad: linear-gradient(135deg, #1d8cff 0%, #7c5cff 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  --nav-h: 72px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: rgba(29, 140, 255, .35); }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; background: var(--blue); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, opacity .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(29, 140, 255, .7); }
.btn--primary:hover { box-shadow: 0 14px 40px -10px rgba(124, 92, 255, .8); filter: brightness(1.08); }
.btn--ghost { background: rgba(255, 255, 255, .04); border-color: var(--border-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #3a4558; }
.btn--light { background: #fff; color: #0b0e14; }
.btn--light:hover { background: #e9eefc; }
.btn--free { background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite;
}
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border-2); cursor: pointer; transition: background .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Eyebrow / section heads */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #cfe3ff; letter-spacing: .02em;
  background: rgba(29, 140, 255, .1); border: 1px solid rgba(29, 140, 255, .25);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.section { padding: 110px 0; position: relative; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; display: grid; justify-items: center; gap: 14px; }
.section__title { font-size: clamp(30px, 4vw, 44px); }
.section__text { color: var(--text-2); font-size: 17px; }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(7, 9, 13, .82); backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 18px; }
.brand__logo { height: 38px; width: auto; }
.nav__links { display: flex; gap: 6px; margin-left: 12px; }
.nav__links a { padding: 8px 14px; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: 15px; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.basket-btn { position: relative; }
.basket-btn__count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; background: #fff; color: #0b0e14;
}
.basket-btn.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
.nav__toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border-2); border-radius: 12px; background: rgba(255, 255, 255, .04); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav__toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: calc(var(--nav-h) + 90px) 0 90px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -200px; top: -300px; pointer-events: none;
  background: radial-gradient(circle, rgba(124, 92, 255, .28), transparent 60%), radial-gradient(circle at 30% 60%, rgba(29, 140, 255, .25), transparent 55%);
  filter: blur(20px);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__copy { display: grid; gap: 24px; justify-items: start; }
.hero__title { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; }
.hero__title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { color: var(--text-2); font-size: 18px; max-width: 540px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 18px 36px; margin: 10px 0 0; padding-top: 22px; border-top: 1px solid var(--border); }
.stats div { display: grid; gap: 2px; }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 20px; }

.feature-card {
  position: relative; border-radius: 22px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border-2); box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .5s ease;
}
.feature-card.skeleton { aspect-ratio: 16 / 11; }
.feature-card:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.feature-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-card__body { padding: 18px 20px 20px; display: flex; align-items: center; gap: 16px; }
.feature-card__info { flex: 1; min-width: 0; }
.feature-card__label { font-size: 12px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: .08em; }
.feature-card__name { font-family: var(--display); font-weight: 700; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feature-card__price { font-family: var(--display); font-weight: 800; font-size: 22px; }
.feature-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), transparent 30%);
}

/* Toolbar & chips */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.toolbar__right { display: flex; gap: 10px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--sub { margin-top: 14px; }
.chips--sub:empty { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-2); color: var(--text-2);
  font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s; white-space: nowrap; flex-shrink: 0;
}
.chip:hover { color: var(--text); border-color: #3a4558; }
.chip.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 24px -10px rgba(29, 140, 255, .8); }
.chip__count { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.chip--small { padding: 6px 12px; font-size: 13px; }
.chip--small.is-active { background: rgba(34, 211, 238, .14); border-color: rgba(34, 211, 238, .5); color: #c9f6ff; box-shadow: none; }
.chips__label { font-size: 13px; color: var(--muted); align-self: center; margin-right: 4px; }

.search, .select {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border-2); color: var(--muted); transition: border-color .2s;
}
.search:focus-within, .select:focus-within { border-color: var(--blue); }
.search input { background: none; border: 0; outline: 0; width: 220px; color: var(--text); }
.search input::placeholder { color: var(--muted); }
.select select { background: none; border: 0; outline: 0; color: var(--text); cursor: pointer; padding-right: 4px; }
.select option { background: var(--surface); }

.results { margin: 26px 0 16px; color: var(--muted); font-size: 14px; min-height: 22px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); transition: transform .25s ease, border-color .25s, box-shadow .25s;
  animation: rise .45s ease both;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.card__media { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; cursor: pointer; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; backdrop-filter: blur(8px); }
.badge--free { background: rgba(34, 197, 94, .9); color: #04210f; }
.badge--cat { background: rgba(7, 9, 13, .7); border: 1px solid rgba(255, 255, 255, .15); }
.badge--sale { background: var(--red); color: #fff; }
.badge--video { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(7, 9, 13, .75); border: 1px solid rgba(255, 255, 255, .15); }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 20px; flex: 1; }
.card__title { font-size: 19px; cursor: pointer; }
.card__title:hover { color: #cfe3ff; }
.card__summary { color: var(--text-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 6px; color: #c9f6ff; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .25); }
.card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { display: grid; line-height: 1.2; }
.price__now { font-family: var(--display); font-weight: 800; font-size: 22px; }
.price__now.is-free { color: var(--green); }
.price__was { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.price__note { color: var(--muted); font-size: 12px; }
.card__actions { display: flex; gap: 8px; }
.card__actions .icon-btn { width: 42px; height: 42px; }

.skeleton { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-height: 380px; }
.feature-card.skeleton { min-height: 0; }
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .05), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.empty { display: grid; justify-items: center; gap: 8px; padding: 60px 20px; text-align: center; color: var(--text-2); border: 1px dashed var(--border-2); border-radius: var(--radius); }
.empty strong { color: var(--text); font-size: 18px; }
.empty .btn { margin-top: 10px; }
.notice { margin-top: 20px; padding: 16px 18px; border-radius: 12px; font-size: 15px; }
.notice--error { background: rgba(240, 82, 82, .1); border: 1px solid rgba(240, 82, 82, .35); color: #ffc9c9; }

/* Showcase */
.showcase { background: linear-gradient(180deg, transparent, rgba(29, 140, 255, .04), transparent); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-2); box-shadow: var(--shadow); background: #000; max-width: 1000px; margin: 0 auto; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { all: unset; position: absolute; inset: 0; cursor: pointer; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
.video__poster:hover img { transform: scale(1.03); filter: brightness(.85); }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 0 0 12px rgba(124, 92, 255, .2), 0 20px 50px rgba(0, 0, 0, .5);
  transition: transform .2s;
}
.video__poster:hover .video__play { transform: scale(1.08); }

/* Why us */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why__item { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 12px; align-content: start; transition: border-color .25s, transform .25s; }
.why__item:hover { border-color: var(--border-2); transform: translateY(-4px); }
.why__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(29, 140, 255, .12); color: #8cc4ff; border: 1px solid rgba(29, 140, 255, .25); }
.why__icon svg { width: 24px; height: 24px; }
.why__item h3 { font-size: 19px; }
.why__item p { color: var(--text-2); font-size: 15px; }

/* FAQ */
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s; }
.faq__item[open] { border-color: var(--border-2); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 17px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .25s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 22px 22px; color: var(--text-2); }
.faq__item a, .prose a, .thanks a { color: #8cc4ff; text-decoration: underline; text-underline-offset: 3px; }

/* Call to action */
.cta { padding-top: 20px; }
.cta__box {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 48px 52px; border-radius: 24px; background: var(--grad); box-shadow: 0 30px 80px -30px rgba(124, 92, 255, .8);
}
.cta__box::before { content: ''; position: absolute; width: 420px; height: 420px; right: -100px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta__box h2 { font-size: clamp(26px, 3vw, 36px); position: relative; }
.cta__box p { color: rgba(255, 255, 255, .85); margin-top: 8px; position: relative; }
.cta__box .btn { position: relative; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0 48px; margin-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.footer__brand .brand__logo { height: 32px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--text-2); }
.footer__links a:hover { color: var(--text); }
.footer__legal { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }

/* Modal */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; }
.modal[hidden], .drawer[hidden] { display: none; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(3, 5, 8, .75); backdrop-filter: blur(6px); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal__panel {
  position: relative; margin: 4vh auto; width: min(1100px, 100% - 32px); max-height: 92vh; overflow: auto;
  display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--border-2);
  box-shadow: var(--shadow); animation: pop .25s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(7, 9, 13, .7); }
.modal__media { padding: 20px; display: grid; gap: 12px; align-content: start; position: sticky; top: 0; }
.gallery__stage { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--border); }
.gallery__stage img, .gallery__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border: 0; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.gallery__thumbs::-webkit-scrollbar, .modal__panel::-webkit-scrollbar, .drawer__items::-webkit-scrollbar { height: 6px; width: 6px; }
.gallery__thumbs::-webkit-scrollbar-thumb, .modal__panel::-webkit-scrollbar-thumb, .drawer__items::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 6px; }
.gallery__thumbs::-webkit-scrollbar-track, .modal__panel::-webkit-scrollbar-track, .drawer__items::-webkit-scrollbar-track { background: transparent; }
.gallery__thumb {
  position: relative; flex: 0 0 96px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; background: #000; padding: 0;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--blue); }
.gallery__thumb .play-mini { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .35); }
.modal__body { padding: 30px 30px 30px 10px; display: grid; gap: 16px; align-content: start; }
.modal__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.modal__title { font-size: 28px; padding-right: 40px; }
.modal__price { display: flex; align-items: baseline; gap: 10px; }
.modal__price .price__now { font-size: 30px; }
.modal__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.prose { color: var(--text-2); font-size: 15px; border-top: 1px solid var(--border); padding-top: 18px; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); font-size: 18px; margin: 20px 0 8px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 10px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 12px; }
.prose li { margin: 4px 0; }
.prose img { border-radius: 10px; margin: 10px 0; }
.prose strong, .prose b { color: var(--text); }

.modal--small .modal__panel { display: block; width: min(480px, 100% - 32px); margin-top: 18vh; }
.thanks { padding: 36px; text-align: center; display: grid !important; gap: 16px; justify-items: center; }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 197, 94, .15); color: var(--green); border: 1px solid rgba(34, 197, 94, .4); }
.thanks h2 { font-size: 24px; }
.thanks p { color: var(--text-2); }
.thanks__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Basket drawer */
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column;
  background: var(--bg-2); border-left: 1px solid var(--border-2); box-shadow: var(--shadow); animation: slide .28s ease;
}
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.drawer__head h2 { font-size: 20px; }
.drawer__user { display: flex; align-items: center; gap: 10px; padding: 12px 24px; font-size: 14px; color: var(--text-2); background: rgba(34, 197, 94, .06); border-bottom: 1px solid var(--border); }
.drawer__user b { color: var(--text); }
.drawer__items { flex: 1; overflow: auto; padding: 16px 24px; display: grid; gap: 12px; align-content: start; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); animation: rise .3s ease; }
.line__img { width: 76px; aspect-ratio: 16 / 9; border-radius: 8px; object-fit: cover; background: var(--bg); }
.line__name { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.line__price { color: var(--text-2); font-size: 14px; margin-top: 2px; }
.line__remove { width: 34px; height: 34px; color: var(--muted); }
.line__remove:hover { color: var(--red); }
.drawer__empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 60px 10px; color: var(--text-2); }
.drawer__empty svg { color: var(--border-2); }
.drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--border); display: grid; gap: 14px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border-2); outline: 0; }
.coupon input:focus { border-color: var(--blue); }
.coupon__list { display: flex; flex-wrap: wrap; gap: 6px; }
.coupon__list:empty { display: none; }
.coupon__pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px; font-size: 13px; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .35); color: #b8f5cd; }
.coupon__pill button { all: unset; cursor: pointer; padding: 0 4px; font-size: 15px; line-height: 1; }
.totals { display: grid; gap: 6px; margin: 0; }
.totals div { display: flex; justify-content: space-between; color: var(--text-2); font-size: 14px; }
.totals dd { margin: 0; }
.totals .total { color: var(--text); font-size: 18px; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--border); }
.drawer__note { font-size: 12.5px; color: var(--muted); text-align: center; }

/* Toasts */
.toasts { position: fixed; z-index: 150; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 10px; width: min(420px, 100% - 32px); }
.toast { padding: 14px 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-2); box-shadow: var(--shadow); font-size: 14.5px; animation: rise .25s ease; }
.toast--success { border-color: rgba(34, 197, 94, .5); }
.toast--error { border-color: rgba(240, 82, 82, .55); }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: all .25s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__feature { max-width: 560px; }
  .feature-card { transform: none; }
  .grid, .why__grid { grid-template-columns: repeat(2, 1fr); }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__media { position: static; }
  .modal__body { padding: 0 24px 28px; }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 2px; margin: 0; padding: 12px 20px 20px;
    background: rgba(7, 9, 13, .97); border-bottom: 1px solid var(--border); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .2s;
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav.is-open { background: rgba(7, 9, 13, .97); }
  .nav__links a { padding: 12px 14px; font-size: 16px; }
  .nav__toggle { display: flex; }
  .nav__discord span, .basket-btn__label { display: none; }
  .toolbar__right, .search { width: 100%; }
  .search input { width: 100%; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero { padding: calc(var(--nav-h) + 50px) 0 60px; }
  .stats { gap: 22px; }
  .grid, .why__grid { grid-template-columns: 1fr; }
  .cta__box { padding: 34px 26px; }
  .footer__inner { grid-template-columns: 1fr; }
  .modal__panel { margin: 0; width: 100%; max-height: 100vh; height: 100%; border-radius: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
