/* L3TH store — brand: electric blue gradient, white geometric type. */

:root {
  color-scheme: dark;

  --bg: #0a0a0c;
  --bg-raise: #131316;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);

  --text: #ffffff;
  --text-2: #c4c6cc;
  --muted: #85888f;

  --blue: #1677ff;
  --blue-deep: #0646d6;
  --blue-bright: #3b98ff;
  --sky: #8fc4ff;
  --ink-on-white: #0a4be6;

  --ok: #3ddc97;
  --danger: #ff6b81;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
code { font-size: .9em; padding: .1em .35em; border-radius: 6px; background: rgba(255,255,255,.08); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
p { margin: 0; }

svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(50% 35% at 50% -10%, rgba(22, 119, 255, .10), transparent 70%),
    var(--bg);
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(10, 10, 12, .75);
  border-bottom: 1px solid var(--line);
}

.topbar-inner { display: flex; align-items: center; gap: 32px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: .02em; }

.nav { display: flex; gap: 4px; flex: 1; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 500;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--surface-hover); }
.nav a.active { color: var(--text); background: rgba(22, 119, 255, .16); }

.actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.account-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px 0 6px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-weight: 500;
  transition: background .2s, border-color .2s;
}
.account-btn:hover { background: var(--surface-hover); border-color: rgba(255, 255, 255, .22); }
.account-btn .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
}
.account-btn .avatar svg { width: 16px; height: 16px; }

.cart-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink-on-white);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.cart-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(22, 119, 255, .45); }
.cart-btn svg { stroke-width: 2; }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  border: 2px solid var(--bg);
}
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.demo-banner {
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  color: var(--text-2);
  background: rgba(22, 119, 255, .12);
  border-bottom: 1px solid var(--line);
}

main { flex: 1; outline: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, opacity .2s;
}
.btn svg { width: 18px; height: 18px; stroke-width: 2; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.btn-white { background: #fff; color: var(--ink-on-white); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 30, 120, .35); }

.btn-blue { background: linear-gradient(135deg, var(--blue-bright), var(--blue) 55%, var(--blue-deep)); color: #fff; }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(22, 119, 255, .4); }

.btn-glass {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .2); }

.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-hover); }

.btn-block { width: 100%; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-2);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-hover); color: var(--text); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  padding: 96px 32px 88px;
  text-align: center;
  /* The brand backdrop: saturated blue, darker corners, a soft light streak. */
  background:
    radial-gradient(40% 30% at 78% 46%, rgba(170, 210, 255, .55), transparent 70%),
    radial-gradient(30% 22% at 14% 72%, rgba(140, 195, 255, .35), transparent 70%),
    radial-gradient(120% 90% at 50% 120%, rgba(1, 20, 90, .85), transparent 55%),
    radial-gradient(90% 80% at 50% -30%, rgba(1, 20, 90, .7), transparent 55%),
    linear-gradient(115deg, #0a3fd6 0%, #1683ff 45%, #1a8dff 60%, #0a52e8 100%);
}
.hero::before {
  /* diagonal light sweep, like the banner */
  content: '';
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: linear-gradient(160deg, transparent 38%, rgba(190, 220, 255, .35) 50%, transparent 62%);
  filter: blur(40px);
  animation: sweep 14s ease-in-out infinite alternate;
}
.hero::after {
  /* faint grain so the gradient doesn't band */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes sweep { from { transform: translateX(-6%) translateY(2%); } to { transform: translateX(6%) translateY(-2%); } }

.hero-lockup { display: inline-flex; align-items: center; gap: 20px; margin-bottom: 36px; }
.hero-lockup img { width: 72px; height: 72px; filter: drop-shadow(0 8px 24px rgba(0, 20, 90, .35)); }
.hero-lockup span { font-family: var(--font-display); font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: .01em; }

.hero h1 { font-size: clamp(30px, 4.4vw, 52px); max-width: 820px; margin: 0 auto 18px; }
.hero p { font-size: 17px; max-width: 600px; margin: 0 auto; color: rgba(255, 255, 255, .86); }
.hero-cta { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 36px;
  padding: 28px 0 8px;
  color: var(--muted);
  font-size: 14px;
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--sky); }

/* ---------- sections ---------- */

.section { padding: 72px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 34px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 500; white-space: nowrap; }
.link-arrow:hover { color: var(--text); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- product cards ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 20px; }
/* Favorites fill the row: one column per card (--cols, max 4), so 2 or 3 cards span the full width. */
.grid-fav { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.grid-fav .card-title { font-size: 20px; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(59, 152, 255, .45); background: var(--surface-hover); box-shadow: 0 20px 48px rgba(0, 0, 0, .5); }

.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.card-media img.cover { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img.cover { transform: scale(1.04); }

/* Generated artwork when a package has no image */
.art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(50% 40% at var(--gx, 70%) var(--gy, 40%), rgba(170, 210, 255, .5), transparent 70%),
    radial-gradient(100% 80% at 50% 120%, rgba(1, 20, 90, .8), transparent 60%),
    linear-gradient(var(--ga, 125deg), #0a3fd6, #1683ff 60%, #0a52e8);
}
.art span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -.01em;
  text-align: center;
  padding: 0 24px;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgba(0, 20, 90, .35);
}
.art img { position: absolute; right: -18%; bottom: -30%; width: 70%; opacity: .12; }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(10, 10, 12, .55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18);
}
.badge.sale { background: #fff; color: var(--ink-on-white); border-color: transparent; }

.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.card-cat { font-size: 12px; font-weight: 500; color: var(--muted); }
.card-title { font-size: 18px; }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card-desc {
  color: var(--text-2);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.card-foot .btn { position: relative; z-index: 1; }

.price { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.price s { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 6px; }

/* ---------- categories ---------- */

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}
.cat-tile:hover { border-color: rgba(59, 152, 255, .5); background: linear-gradient(160deg, rgba(22, 119, 255, .14), rgba(22, 119, 255, .02) 60%); transform: translateY(-3px); }
.cat-tile h3 { font-size: 20px; }
.cat-tile span { color: var(--muted); font-size: 14px; }
.cat-tile svg { position: absolute; top: 22px; right: 22px; color: var(--sky); transition: transform .3s var(--ease); }
.cat-tile:hover svg { transform: translate(3px, -3px); }

/* ---------- features ---------- */

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
/* One column per review (--cols, max 3) so a short list still fills the row. */
.reviews { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.review {
  position: relative; display: flex; flex-direction: column; gap: 18px; margin: 0;
  padding: 26px 24px 22px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 119, 255, .07), transparent 55%), var(--surface);
  border: 1px solid var(--line);
}
.review::before {
  content: '\201C'; position: absolute; top: -18px; right: 18px;
  font: 700 120px/1 var(--font-display); color: rgba(59, 152, 255, .12); pointer-events: none;
}
.stars { display: flex; gap: 3px; }
.stars span { display: flex; color: rgba(255, 255, 255, .14); }
.stars span.on { color: var(--blue-bright); }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.review blockquote { margin: 0; color: var(--text); font-size: 16px; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; font-size: 15px; }
.review figcaption span span { display: block; color: var(--muted); font-size: 13px; }
.review-avatar {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center; overflow: hidden;
  border-radius: 50%; font: 700 17px var(--font-display); color: #fff;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-pkg {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--text-2); font-size: 12px; font-weight: 500;
}
.review-pkg:hover { color: var(--text); border-color: rgba(59, 152, 255, .45); }
.review-pkg svg { width: 14px; height: 14px; }

.faq { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s var(--ease), background .2s var(--ease); }
.faq-item:hover { background: var(--surface-hover); }
.faq-item[open] { border-color: rgba(59, 152, 255, .45); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; border-radius: var(--radius); }
.faq-item summary svg { flex: none; color: var(--sky); stroke-width: 2; transition: transform .25s var(--ease); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-a { max-width: 820px; padding: 0 22px 20px; color: var(--text-2); }
.faq-a a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }

.feature { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  box-shadow: 0 8px 20px rgba(22, 119, 255, .35);
}
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: 14px; }

/* ---------- CTA band ---------- */

.cta-band {
  margin-top: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(22, 119, 255, .22), transparent 60%),
    var(--bg-raise);
}
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 6px; }
.cta-band p { color: var(--text-2); }

/* ---------- store page ---------- */

.page-head { padding: 48px 0 28px; }
.page-head h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  font-weight: 500;
  font-size: 14px;
  transition: all .2s;
}
.chip:hover { color: var(--text); background: var(--surface-hover); }
.chip.active { background: #fff; color: var(--ink-on-white); border-color: #fff; }

.search {
  position: relative;
  flex: 0 1 280px;
}
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  outline: none;
  transition: border-color .2s, background .2s;
}
.search input:focus { border-color: var(--blue-bright); background: var(--surface-hover); }
.search input::placeholder { color: var(--muted); }

.empty {
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  color: var(--muted);
}
.empty h3 { color: var(--text); font-size: 18px; margin-bottom: 6px; }

/* ---------- package page ---------- */

.crumbs { display: flex; gap: 8px; align-items: center; padding: 32px 0 20px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--text); }

.pkg { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pkg-media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.pkg-media img.cover { width: 100%; height: 100%; object-fit: cover; }
.pkg-media .art span { font-size: clamp(28px, 4vw, 44px); }

.buybox {
  position: sticky;
  top: 96px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.buybox h1 { font-size: clamp(26px, 3vw, 34px); margin: 6px 0 16px; }
.buybox .price { font-size: 32px; }
.buybox-row { display: flex; gap: 10px; margin-top: 24px; }
.buybox-row .btn { flex: 1; }
.buybox-tag { color: var(--text-2); font-size: 15px; margin: -6px 0 20px; }
.specs { margin: 24px 0 0; padding: 4px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(0, 0, 0, .2); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 14px; }
.specs div + div { border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); flex: none; }
.specs dd { margin: 0; color: var(--text); text-align: right; }

.pkg-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); font-size: 14px; font-weight: 500;
}
.pill-link:hover { color: var(--text); border-color: rgba(59, 152, 255, .45); background: var(--surface-hover); }
.pill-link svg { width: 17px; height: 17px; color: var(--sky); }

.pkg-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.hl { padding: 18px 18px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 2px solid rgba(59, 152, 255, .55); }
.hl h3 { font-size: 16px; margin-bottom: 6px; }
.hl p { color: var(--text-2); font-size: 14px; line-height: 1.55; }

.pkg-h { font-size: 24px; margin: 48px 0 16px; }
.bundle-list { display: grid; gap: 10px; }
.bundle-item {
  display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s var(--ease), background .2s var(--ease);
}
.bundle-item:hover { border-color: rgba(59, 152, 255, .45); background: var(--surface-hover); }
.bundle-thumb { position: relative; width: 104px; aspect-ratio: 16 / 9; flex: none; border-radius: 10px; overflow: hidden; }
.bundle-thumb img.cover { width: 100%; height: 100%; object-fit: cover; }
.bundle-text { flex: 1; min-width: 0; }
.bundle-text strong { display: block; font-size: 15px; }
.bundle-text small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 13px; }
.bundle-price { color: var(--text-2); font-size: 14px; white-space: nowrap; }
.bundle-save { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text-2); font-size: 14px; }
.bundle-save svg { width: 16px; height: 16px; color: var(--ok); }
.bundle-save strong { color: var(--ok); }
.pkg .prose { margin-top: 40px; }

.buybox ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--text-2); font-size: 14px; }
.buybox li { display: flex; gap: 10px; align-items: center; }
.buybox li svg { width: 18px; height: 18px; color: var(--sky); flex-shrink: 0; }

.qty {
  display: inline-flex;
  align-items: center;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}
.qty button { width: 40px; height: 100%; display: grid; place-items: center; color: var(--text-2); }
.qty button:hover { color: var(--text); }
.qty button svg { width: 16px; height: 16px; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; }
.qty.sm { height: 32px; }
.qty.sm button { width: 30px; }

.prose { margin-top: 48px; max-width: 760px; color: var(--text-2); }
.prose h1, .prose h2, .prose h3 { color: var(--text); margin: 32px 0 12px; }
.prose > :first-child { margin-top: 0; }
.prose h1 { font-size: 28px; }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin: 28px 0; }
.prose strong { color: var(--text); }
.prose h2 { font-size: 24px; }
.prose h3 { font-size: 18px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--blue-bright); }
.prose a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.prose img, .prose iframe { max-width: 100%; border-radius: var(--radius); margin: 16px 0; }
.prose iframe { aspect-ratio: 16 / 9; width: 100%; height: auto; border: 0; }

/* ---------- thank-you ---------- */

.legal { max-width: 760px; margin: 0 auto; padding-top: 56px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); margin: 10px 0 8px; }
.legal-date { color: var(--muted); font-size: 14px; }
.legal-note { margin-top: 24px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-2); font-size: 14px; }
.legal-note a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.legal .prose { margin-top: 32px; }

.thanks { max-width: 560px; margin: 0 auto; padding: 96px 0 24px; text-align: center; }
.thanks-icon {
  width: 72px; height: 72px;
  margin: 0 auto 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink-on-white);
  box-shadow: 0 0 0 10px rgba(22, 119, 255, .15), 0 0 0 22px rgba(22, 119, 255, .07);
}
.thanks-icon svg { width: 32px; height: 32px; stroke-width: 2.4; }
.thanks h1 { font-size: 36px; margin-bottom: 12px; }
.thanks p { color: var(--text-2); margin-bottom: 32px; }

/* ---------- skeletons ---------- */

.skeleton { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.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%); } }

/* ---------- footer ---------- */

.footer { margin-top: 96px; border-top: 1px solid var(--line); background: #08080a; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 28px; }
.footer-brand { max-width: 380px; }
.footer-brand p { color: var(--muted); font-size: 13px; margin-top: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px 56px; align-content: start; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.footer-links a { color: var(--text-2); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-base { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ---------- cart drawer ---------- */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  animation: fade .25s;
}
@keyframes fade { from { opacity: 0; } }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 60;
  width: min(440px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--bg-raise);
  border-left: 1px solid var(--line-strong);
  box-shadow: -24px 0 64px rgba(0, 0, 0, .45);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s .35s;
}
.drawer.open { transform: none; visibility: visible; transition: transform .35s var(--ease); }

.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .25); }

.account-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.account-card .avatar {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  font-family: var(--font-display);
  font-weight: 700;
}
.account-card .who { flex: 1; min-width: 0; }
.account-card .who strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-card .who small { color: var(--muted); font-size: 12px; }
.accounts { display: grid; gap: 8px; }
.account-card .avatar.cfx { background: #f40552; }
.account-card .avatar.discord { background: #5865f2; }
.account-card .avatar.discord.off { background: rgba(88, 101, 242, .18); color: #a5adff; }
.account-card .avatar svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.account-card.warn { border-color: rgba(59, 152, 255, .4); background: rgba(22, 119, 255, .1); }

.line { display: flex; gap: 14px; align-items: center; }
.line-thumb { position: relative; width: 72px; height: 54px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; }
.line-thumb img.cover { width: 100%; height: 100%; object-fit: cover; }
.line-thumb .art span { font-size: 9px; padding: 0 6px; }
.line-thumb .art img { display: none; }
.line-info { flex: 1; min-width: 0; }
.line-info strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-info .row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.line-price { font-weight: 600; white-space: nowrap; }
.line .icon-btn { width: 32px; height: 32px; }
.line .icon-btn svg { width: 16px; height: 16px; }

.cart-empty { margin: auto 0; text-align: center; padding: 32px 0; color: var(--muted); }
.cart-empty .art-ring {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
  color: var(--sky);
}
.cart-empty h3 { color: var(--text); font-size: 18px; margin-bottom: 6px; }
.cart-empty .btn { margin-top: 20px; }

.codes summary {
  cursor: pointer;
  list-style: none;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.codes summary::-webkit-details-marker { display: none; }
.codes summary svg { width: 16px; height: 16px; transition: transform .2s; }
.codes[open] summary svg { transform: rotate(45deg); }
.code-form { display: flex; gap: 8px; margin-top: 12px; }
.code-form select, .code-form input {
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 0 12px;
  outline: none;
  font: inherit;
  font-size: 14px;
  color: var(--text);
}
.code-form select { flex: 0 0 auto; }
.code-form select option { background: var(--bg-raise); }
.code-form input { flex: 1; min-width: 0; }
.code-form input:focus, .code-form select:focus { border-color: var(--blue-bright); }
.applied { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.applied button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 6px 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(22, 119, 255, .18);
  color: var(--sky);
}
.applied button svg { width: 14px; height: 14px; }

.totals { display: grid; gap: 6px; font-size: 14px; color: var(--text-2); margin-bottom: 18px; }
.totals div { display: flex; justify-content: space-between; }
.totals .total { color: var(--text); font-size: 18px; font-weight: 700; font-family: var(--font-display); margin-top: 6px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.secure-note svg { width: 14px; height: 14px; }

.busy { pointer-events: none; opacity: .6; }

/* ---------- login modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(6px);
  animation: fade .2s;
}
.modal[hidden] { display: none; }
.modal-card {
  position: relative;
  width: min(420px, 100%);
  padding: 40px 32px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(22, 119, 255, .35), transparent 70%),
    var(--bg-raise);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
  animation: rise .3s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-close { position: absolute; top: 14px; right: 14px; }
.modal-mark { margin: 0 auto 20px; }
.modal-card h2 { font-size: 24px; margin-bottom: 8px; }
.modal-card > p.muted { font-size: 14px; }
.providers { display: grid; gap: 10px; margin-top: 28px; }
.provider {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 54px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 600;
  color: #fff;
  transition: transform .2s var(--ease), filter .2s;
}
.provider:hover { transform: translateY(-2px); filter: brightness(1.1); }
.provider svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.provider .go { margin-left: auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .7; }
.provider.fivem { background: #f40552; }
.provider.discord { background: #5865f2; }
.provider.steam { background: #1b2838; border: 1px solid rgba(255,255,255,.15); }
.provider.generic { background: #fff; color: var(--ink-on-white); }
.fineprint { margin-top: 18px; color: var(--muted); font-size: 12px; }
.fineprint:empty { display: none; }
.fineprint a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
button.provider { width: 100%; text-align: left; }

/* ---------- toasts ---------- */

.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 80; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #fff;
  color: #111114;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  animation: rise .3s var(--ease);
}
.toast svg { width: 18px; height: 18px; flex-shrink: 0; stroke-width: 2.2; color: var(--ink-on-white); }
.toast.error svg { color: #e0244a; }
.toast.out { opacity: 0; transform: translateY(8px); transition: all .3s; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  /* One column: image, then price/Add to cart, then the description. */
  .pkg { display: flex; flex-direction: column; gap: 0; }
  .pkg > div:first-child { display: contents; }
  .pkg > div:first-child > * { order: 2; }
  .pkg > div:first-child > .pkg-media { order: 0; }
  .pkg > .buybox { order: 1; margin-top: 20px; }
  .grid-fav, .reviews { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
  .buybox { position: static; }
  .nav { display: none; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .topbar-inner { height: 64px; gap: 12px; }
  .brand-word { font-size: 20px; }
  .account-btn .label { display: none; }
  .account-btn { padding: 0 6px; }
  .hero { padding: 64px 20px 56px; margin-top: 16px; border-radius: 22px; }
  .hero-lockup { gap: 14px; margin-bottom: 28px; }
  .hero-lockup img { width: 48px; height: 48px; }
  .hero-lockup span { font-size: 42px; }
  .hero p { font-size: 15px; }
  .section { padding-top: 56px; }
  .cta-band { padding: 28px 22px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pkg-highlights { grid-template-columns: 1fr; }
  .bundle-thumb { width: 76px; }
  .cat-tile { min-height: 112px; padding: 18px; }
  .cat-tile h3 { font-size: 17px; }
  .features { grid-template-columns: 1fr; }
  .search { flex: 1 1 100%; }
  .modal-card { padding: 36px 20px 24px; }
}

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