/* ==========================================================================
   WGM2020 — design system (black & blue, premium)
   ========================================================================== */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/Poppins-Light.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/Poppins-Regular.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/Poppins-Medium.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/Poppins-Bold.woff') format('woff'); }

:root {
  --bg: #05070d;
  --bg-1: #080b14;
  --bg-2: #0b1020;
  --bg-3: #101729;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.05);
  --line: rgba(122, 152, 255, 0.14);
  --line-2: rgba(122, 152, 255, 0.28);
  --text: #e7ecf5;
  --text-2: #b6c0d3;
  --muted: #8592ab;
  --faint: #5c6a85;
  --blue: #2f6bff;
  --blue-2: #5b8dff;
  --blue-3: #8fb3ff;
  --blue-deep: #1a44c9;
  --blue-glow: rgba(47, 107, 255, 0.45);
  --blue-soft: rgba(47, 107, 255, 0.14);
  --gold: #f4c445;
  --gold-2: #ffe28a;
  --gold-3: #c9951f;
  --gold-soft: rgba(244, 196, 69, 0.14);
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.14);
  --red: #f0506e;
  --red-soft: rgba(240, 80, 110, 0.14);
  --amber: #f5a524;
  --amber-soft: rgba(245, 165, 36, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 7px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line);
  --shadow-glow: 0 10px 40px -10px var(--blue-glow);
  --font: 'Poppins', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 72px;
  --container: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
body.has-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(47, 107, 255, 0.18), transparent 60%),
    radial-gradient(700px 400px at 90% 10%, rgba(26, 68, 201, 0.14), transparent 60%),
    var(--bg);
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-2); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--blue-3); }
h1, h2, h3, h4 { color: var(--text); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
small, .small { font-size: 0.86rem; }
::selection { background: rgba(47, 107, 255, 0.4); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: 0.1em 0.4em; border-radius: 4px; font-size: 0.9em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.container.mid { max-width: 960px; }

/* Utilities ---------------------------------------------------------------- */
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.text-blue { color: var(--blue-2); }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2.5rem; }
.flex { display: flex; gap: 0.75rem; align-items: center; }
.flex.wrap { flex-wrap: wrap; }
.flex.between { justify-content: space-between; }
.flex.col { flex-direction: column; align-items: stretch; }
.grow { flex: 1 1 auto; }
.stack > * + * { margin-top: 1rem; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.gradient-text {
  background: linear-gradient(100deg, #ffffff 0%, #bcd0ff 45%, var(--blue-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gold-text {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 50%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -0.2em; }
.icon.fill { fill: currentColor; stroke: none; }
.icon-lg { width: 1.5em; height: 1.5em; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.25rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: inherit; font-weight: 500; font-size: 0.93rem; line-height: 1.2; cursor: pointer;
  color: var(--text); background: var(--surface-2); white-space: nowrap; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.15s;
  user-select: none;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn-primary { background: linear-gradient(135deg, #4a86ff 0%, var(--blue) 45%, var(--blue-deep) 100%); box-shadow: 0 8px 24px -8px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.18); color: #fff; }
.btn-primary:hover { box-shadow: 0 14px 34px -8px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text-2); }
.btn-ghost:hover { border-color: var(--blue-2); background: var(--blue-soft); }
.btn-soft { background: var(--blue-soft); color: var(--blue-3); border-color: rgba(47, 107, 255, 0.25); }
.btn-soft:hover { background: rgba(47, 107, 255, 0.24); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: #241a00; font-weight: 600; box-shadow: 0 8px 24px -10px rgba(244, 196, 69, 0.6); }
.btn-gold:hover { color: #241a00; box-shadow: 0 12px 30px -8px rgba(244, 196, 69, 0.7); }
.btn-danger { background: var(--red-soft); color: #ff8aa0; border-color: rgba(240, 80, 110, 0.3); }
.btn-danger:hover { background: rgba(240, 80, 110, 0.28); }
.btn-success { background: var(--green-soft); color: #6ee7a0; border-color: rgba(34, 197, 94, 0.3); }
.btn-success:hover { background: rgba(34, 197, 94, 0.28); }
.btn-whatsapp { background: #1f9e56; color: #fff; }
.btn-telegram { background: #2a8fd6; color: #fff; }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.84rem; border-radius: var(--radius-xs); }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { padding: 0.5rem; }
.btn-group { display: inline-flex; flex-wrap: wrap; gap: 0.5rem; }
form.inline { display: inline; }

/* Badges & pills ----------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.22rem 0.6rem; border-radius: 999px;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap;
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line);
}
.badge-blue { background: var(--blue-soft); color: var(--blue-3); border-color: rgba(47, 107, 255, 0.3); }
.badge-gold { background: var(--gold-soft); color: var(--gold); border-color: rgba(244, 196, 69, 0.35); }
.badge-green { background: var(--green-soft); color: #6ee7a0; border-color: rgba(34, 197, 94, 0.3); }
.badge-red { background: var(--red-soft); color: #ff8aa0; border-color: rgba(240, 80, 110, 0.3); }
.badge-amber { background: var(--amber-soft); color: #ffc46b; border-color: rgba(245, 165, 36, 0.3); }
.badge-dark { background: rgba(0, 0, 0, 0.5); color: var(--text-2); border-color: rgba(255, 255, 255, 0.1); }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.9rem; border-radius: 999px;
  font-size: 0.85rem; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); transition: all 0.15s;
}
.pill:hover { border-color: var(--line-2); color: var(--text); }
.pill.active { background: var(--blue-soft); border-color: rgba(47, 107, 255, 0.45); color: #fff; }

/* Verified star ------------------------------------------------------------ */
.vstar { display: inline-flex; align-items: center; justify-content: center; width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: 0 0 auto; filter: drop-shadow(0 0 6px rgba(244, 196, 69, 0.55)); }
.vstar svg { width: 100%; height: 100%; }
.verified-tag { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 500; color: var(--gold); }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(5, 7, 13, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, background 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(5, 7, 13, 0.86); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand:hover { color: #fff; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #4a86ff, var(--blue-deep)); box-shadow: 0 6px 18px -6px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.brand-mark svg { width: 22px; height: 22px; }
.brand span em { font-style: normal; color: var(--blue-2); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; margin-left: 0.5rem; }
.nav-links a { padding: 0.5rem 0.8rem; border-radius: var(--radius-xs); color: var(--text-2); font-weight: 500; font-size: 0.92rem; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: var(--surface-2); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid var(--line-2); color: var(--text); border-radius: var(--radius-xs); padding: 0.45rem; cursor: pointer; }
.nav-toggle .icon { width: 1.4em; height: 1.4em; }
.user-menu { position: relative; }
.user-menu > button { display: inline-flex; align-items: center; gap: 0.55rem; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 0.3rem 0.8rem 0.3rem 0.3rem; cursor: pointer; font: inherit; font-size: 0.9rem; }
.user-menu > button:hover { border-color: var(--line-2); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 600; color: #fff; background: linear-gradient(135deg, #4a86ff, var(--blue-deep)); flex: 0 0 auto; }
.avatar.lg { width: 56px; height: 56px; font-size: 1.1rem; }
.avatar.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: #241a00; }
.dropdown { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); padding: 0.4rem; display: none; z-index: 60; }
.dropdown.open { display: block; }
.dropdown .dd-head { padding: 0.6rem 0.75rem 0.5rem; border-bottom: 1px solid var(--line); margin-bottom: 0.3rem; }
.dropdown .dd-head strong { display: block; color: var(--text); font-weight: 500; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: 0.55rem; width: 100%; text-align: left; padding: 0.55rem 0.75rem; border-radius: 8px; color: var(--text-2); background: none; border: 0; font: inherit; font-size: 0.9rem; cursor: pointer; }
.dropdown a:hover, .dropdown button:hover { background: var(--surface-2); color: #fff; }

.mobile-nav { display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: rgba(5, 7, 13, 0.96); backdrop-filter: blur(20px); padding: 1rem 20px 2rem; overflow-y: auto; }
.mobile-nav.open { display: block; }
.mobile-nav a, .mobile-nav button.linklike { display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 0.6rem; border-bottom: 1px solid var(--line); color: var(--text); font-size: 1.05rem; font-weight: 500; width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; font-family: inherit; cursor: pointer; text-align: left; }
.mobile-nav .mn-actions { display: grid; gap: 0.6rem; margin-top: 1.2rem; }

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Announcement bar ---------------------------------------------------------- */
.announce { background: linear-gradient(90deg, rgba(47, 107, 255, 0.25), rgba(26, 68, 201, 0.25)); border-bottom: 1px solid var(--line); text-align: center; font-size: 0.85rem; padding: 0.45rem 20px; color: var(--text); }

/* Flash messages ----------------------------------------------------------- */
.flashes { position: relative; z-index: 40; }
.alert { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.8rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--text); margin: 1rem 0; font-size: 0.92rem; }
.alert .icon { margin-top: 0.15rem; }
.alert-success { border-color: rgba(34, 197, 94, 0.4); background: var(--green-soft); }
.alert-error { border-color: rgba(240, 80, 110, 0.45); background: var(--red-soft); }
.alert-warning { border-color: rgba(245, 165, 36, 0.45); background: var(--amber-soft); }
.alert-info { border-color: rgba(47, 107, 255, 0.45); background: var(--blue-soft); }
.alert .close { margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; opacity: 0.7; padding: 0; }
.alert .close:hover { opacity: 1; }

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 520px at 50% -15%, rgba(47, 107, 255, 0.32), transparent 65%),
    radial-gradient(600px 400px at 85% 30%, rgba(26, 68, 201, 0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg) 90%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.35; pointer-events: none;
  background-image: linear-gradient(rgba(122, 152, 255, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 152, 255, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.9rem 0.35rem 0.5rem; border-radius: 999px; border: 1px solid rgba(47, 107, 255, 0.35); background: rgba(47, 107, 255, 0.1); color: var(--blue-3); font-size: 0.8rem; font-weight: 500; margin-bottom: 1.4rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.25); }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 640px; margin: 0 auto 2rem; font-weight: 300; }
.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.hero-search { max-width: 640px; margin: 2rem auto 0; display: flex; gap: 0.5rem; padding: 0.4rem; border-radius: 14px; background: rgba(8, 11, 20, 0.85); border: 1px solid var(--line-2); box-shadow: var(--shadow-glow); }
.hero-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; padding: 0.6rem 0.8rem; }
.hero-search input:focus { outline: none; }
.hero-search .btn { border-radius: 10px; }
.hero-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.hero-tags a { font-size: 0.8rem; color: var(--muted); padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); }
.hero-tags a:hover { color: var(--text); border-color: var(--line-2); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 3.5rem; }
.stat { background: var(--bg-1); padding: 1.3rem 1rem; text-align: center; }
.stat strong { display: block; font-size: 1.7rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; }
.stat span { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sections ----------------------------------------------------------------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: linear-gradient(180deg, var(--bg-1), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.section-head .kicker { display: inline-block; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 0.6rem; }
.section-head .kicker.gold { color: var(--gold); }
.section-head h2 { margin-bottom: 0.4rem; }
.section-head p { margin: 0; max-width: 560px; color: var(--muted); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* Cards & grids ------------------------------------------------------------ */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, background 0.2s;
}
.card.hover:hover, a.card:hover { transform: translateY(-3px); border-color: rgba(122, 152, 255, 0.45); box-shadow: 0 24px 50px -24px rgba(47, 107, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05); background: var(--surface-2); }
.card.glow::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(122, 152, 255, 0.5), transparent 40%, transparent 60%, rgba(244, 196, 69, 0.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.card.gold-border { border-color: rgba(244, 196, 69, 0.35); }
.card.gold-border:hover { border-color: rgba(244, 196, 69, 0.6); box-shadow: 0 24px 50px -24px rgba(244, 196, 69, 0.35); }
.card-title { font-size: 1.05rem; margin: 0.2rem 0 0.35rem; color: var(--text); }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--blue-3); }
.card p { color: var(--muted); font-size: 0.92rem; }
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } .grid-auto { grid-template-columns: minmax(0, 1fr); } }
.grid-side { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 900px) { .grid-side { grid-template-columns: minmax(0, 1fr); } }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; } }
.cat-card { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.3rem; }
.cat-card .cat-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(47, 107, 255, 0.28), rgba(26, 68, 201, 0.12)); border: 1px solid rgba(47, 107, 255, 0.3); color: var(--blue-3); }
.cat-card .cat-icon .icon { width: 22px; height: 22px; }
.cat-card strong { color: var(--text); font-weight: 500; font-size: 0.98rem; }
.cat-card span { color: var(--muted); font-size: 0.8rem; }
.cat-card:hover .cat-icon { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; }
@media (max-width: 640px) { .cat-card { padding: 1rem; } .cat-card p { display: none; } }

/* Product cards */
.product-card { display: flex; flex-direction: column; gap: 0.6rem; padding: 0; overflow: hidden; }
.product-card .pc-media { position: relative; height: 150px; background: linear-gradient(135deg, rgba(47, 107, 255, 0.22), rgba(8, 11, 20, 0.6) 60%), var(--bg-2); display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.product-card .pc-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card .pc-media .icon { width: 44px; height: 44px; color: var(--blue-3); opacity: 0.8; }
.product-card .pc-media .badges { position: absolute; top: 0.8rem; left: 0.8rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.product-card .pc-body { padding: 0.5rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-card .pc-seller { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--muted); }
.product-card .pc-seller a { color: var(--text-2); }
.product-card .pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.price { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.price small { color: var(--muted); font-weight: 400; }
.pc-lock { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5, 7, 13, 0.55); backdrop-filter: blur(3px); }
.pc-lock .lock-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgba(244, 196, 69, 0.15); border: 1px solid rgba(244, 196, 69, 0.4); color: var(--gold); font-size: 0.8rem; font-weight: 500; }

/* Seller cards */
.seller-card { display: flex; flex-direction: column; gap: 0.75rem; }
.seller-card .sc-head { display: flex; align-items: center; gap: 0.9rem; }
.logo-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 600; color: #fff; background: linear-gradient(135deg, #2f6bff, #1a44c9); flex: 0 0 auto; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.logo-tile.lg { width: 84px; height: 84px; border-radius: 20px; font-size: 1.6rem; }
.logo-tile img { width: 100%; height: 100%; object-fit: cover; }
.logo-tile.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: #241a00; }
.seller-card .sc-meta { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.82rem; }
.seller-card .sc-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }

/* Premium / CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid rgba(122, 152, 255, 0.3); background: linear-gradient(135deg, rgba(47, 107, 255, 0.22), rgba(8, 11, 20, 0.9) 55%, rgba(244, 196, 69, 0.1)); }
.cta-band::before { content: ''; position: absolute; width: 480px; height: 480px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 107, 255, 0.35), transparent 65%); pointer-events: none; }
.cta-band .cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; position: relative; }
@media (max-width: 800px) { .cta-band .cta-grid { grid-template-columns: 1fr; } }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.benefits li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-2); }
.benefits li .icon { color: var(--gold); margin-top: 0.2rem; }
.benefits.blue li .icon { color: var(--blue-2); }
.benefits li .icon.faint { color: var(--faint); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem; }
.step .num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; font-weight: 600; margin-bottom: 1rem; box-shadow: 0 8px 18px -8px var(--blue-glow); }
.step h3 { font-size: 1.05rem; }

/* Feature list (trust) */
.feature { display: flex; gap: 1rem; }
.feature .f-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); border: 1px solid rgba(47, 107, 255, 0.3); color: var(--blue-3); flex: 0 0 auto; }
.feature .f-icon .icon { width: 22px; height: 22px; }
.feature h4 { margin-bottom: 0.25rem; }
.feature p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* Page header ------------------------------------------------------------- */
.page-head { padding: clamp(2.2rem, 5vw, 3.5rem) 0 1.5rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(47, 107, 255, 0.08), transparent); }
.page-head h1 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 0.4rem; }
.page-head p { color: var(--muted); margin: 0; max-width: 640px; }
.breadcrumb { display: flex; gap: 0.4rem; flex-wrap: wrap; font-size: 0.82rem; color: var(--faint); margin-bottom: 0.8rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }

/* Toolbar / filters ------------------------------------------------------- */
.toolbar { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; margin: 1.5rem 0; }
.toolbar form.search { display: flex; gap: 0.5rem; flex: 1 1 320px; }
.toolbar .pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.toolbar select { width: auto; }
.result-count { color: var(--muted); font-size: 0.88rem; }
.pagination { display: flex; gap: 0.4rem; justify-content: center; margin: 2rem 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 0.7rem; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-xs); border: 1px solid var(--line); color: var(--text-2); font-size: 0.9rem; }
.pagination a:hover { border-color: var(--blue-2); color: #fff; }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Forms ------------------------------------------------------------------- */
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: rgba(8, 11, 20, 0.8); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem; transition: border-color 0.15s, box-shadow 0.15s; -webkit-appearance: none; appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.22); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; padding: 0; accent-color: var(--blue); -webkit-appearance: auto; appearance: auto; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238592ab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; padding-right: 2.4rem; }
textarea { min-height: 130px; resize: vertical; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.86rem; font-weight: 500; color: var(--text); }
.field label .req { color: var(--red); }
.field .hint { font-size: 0.8rem; color: var(--faint); }
.field.error input, .field.error textarea, .field.error select { border-color: var(--red); }
.field .err { font-size: 0.8rem; color: #ff8aa0; }
.field.check { flex-direction: row; align-items: center; gap: 0.6rem; }
.field.check label { font-weight: 400; color: var(--text-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; margin-top: 0.5rem; }
.input-group { position: relative; }
.input-group .toggle-pw { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0.3rem; }
.input-group .toggle-pw:hover { color: var(--text); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Auth pages ------------------------------------------------------------- */
.auth-wrap { min-height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: 1.1fr 1fr; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }
.auth-side { position: relative; overflow: hidden; padding: clamp(2rem, 6vw, 5rem); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); background: radial-gradient(800px 500px at 20% 10%, rgba(47, 107, 255, 0.3), transparent 60%), var(--bg-1); }
.auth-side h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 480px; }
.auth-side .eyebrow { align-self: flex-start; }
.auth-side .benefits { max-width: 440px; margin-top: 1.5rem; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 6vw, 4rem) 20px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 0.3rem; }
.auth-card .sub { color: var(--muted); margin-bottom: 1.6rem; }

/* Detail pages ------------------------------------------------------------ */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; padding: 2rem 0 3rem; align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }
.detail-media { height: 280px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(47, 107, 255, 0.25), rgba(8, 11, 20, 0.7) 60%), var(--bg-2); display: grid; place-items: center; margin-bottom: 1.5rem; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-media .icon { width: 72px; height: 72px; color: var(--blue-3); opacity: 0.8; }
.detail h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.prose { color: var(--text-2); }
.prose p { margin-bottom: 1em; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.features li { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: 0.92rem; }
.features li .icon { color: var(--blue-2); margin-top: 0.15rem; }
.sidebar-card { position: sticky; top: calc(var(--nav-h) + 1rem); }
.contact-list { display: grid; gap: 0.6rem; }
.contact-list .btn { justify-content: flex-start; }
.contact-list .btn .icon { width: 1.25em; height: 1.25em; }
.locked { position: relative; border-radius: var(--radius-sm); overflow: hidden; min-height: 230px; }
.locked .blur { filter: blur(7px); opacity: 0.35; pointer-events: none; user-select: none; }
.locked .lock-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; text-align: center; padding: 1.2rem 1rem; background: linear-gradient(180deg, rgba(5, 7, 13, 0.25), rgba(5, 7, 13, 0.7) 40%, rgba(5, 7, 13, 0.8)); border: 1px dashed rgba(244, 196, 69, 0.35); border-radius: var(--radius-sm); }
.locked .lock-overlay strong { color: var(--text); }
.lock-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); border: 1px solid rgba(244, 196, 69, 0.4); color: var(--gold); }
.meta-list { display: grid; gap: 0.5rem; font-size: 0.9rem; }
.meta-list div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.meta-list div:last-child { border-bottom: 0; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; color: var(--text); text-align: right; overflow-wrap: anywhere; }
.tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* Tables ------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
th, td { text-align: left; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
td.muted, td.nowrap { white-space: nowrap; }
th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; background: rgba(0, 0, 0, 0.25); }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }
td .sub { display: block; color: var(--faint); font-size: 0.8rem; }
td.actions { white-space: nowrap; text-align: right; }
td.actions form { display: inline; }

/* Dashboard / admin layout ------------------------------------------------ */
.panel-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 2rem; padding: 2rem 0 3rem; align-items: start; max-width: 1400px; }
.panel-nav { position: sticky; top: calc(var(--nav-h) + 1rem); display: flex; flex-direction: column; gap: 0.2rem; }
.panel-nav .pn-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); padding: 0.4rem 0.8rem; margin-top: 0.5rem; }
.panel-nav a { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.8rem; border-radius: var(--radius-xs); color: var(--text-2); font-size: 0.92rem; font-weight: 500; }
.panel-nav a:hover { background: var(--surface-2); color: #fff; }
.panel-nav a.active { background: var(--blue-soft); color: #fff; border: 1px solid rgba(47, 107, 255, 0.3); }
.panel-nav a .count { margin-left: auto; font-size: 0.72rem; background: var(--red); color: #fff; padding: 0.05rem 0.45rem; border-radius: 999px; }
@media (max-width: 900px) {
  .panel-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-top: 1rem; }
  .panel-nav { position: static; flex-direction: row; max-width: 100%; overflow-x: auto; gap: 0.4rem; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .panel-nav::-webkit-scrollbar { display: none; }
  .panel-nav .pn-title { display: none; }
  .panel-nav a { white-space: nowrap; border: 1px solid var(--line); padding: 0.5rem 0.8rem; font-size: 0.85rem; }
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.panel-head h1 { font-size: 1.6rem; margin: 0; }
.panel-head p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.9rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 1000px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat-card { padding: 1.1rem 1.2rem; }
.stat-card .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; }
.stat-card .value { display: block; font-size: 1.9rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; line-height: 1.2; margin-top: 0.3rem; }
.stat-card .delta { display: block; font-size: 0.8rem; color: var(--muted); }
.membership-card { background: linear-gradient(135deg, rgba(47, 107, 255, 0.2), rgba(8, 11, 20, 0.6) 60%); }
.membership-card.premium { background: linear-gradient(135deg, rgba(244, 196, 69, 0.18), rgba(8, 11, 20, 0.7) 60%); border-color: rgba(244, 196, 69, 0.4); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: 0.35rem; }
.status-dot.green { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.status-dot.amber { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.status-dot.red { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 0.8rem; align-items: center; font-size: 0.9rem; overflow-wrap: anywhere; }
.list-plain li:last-child { border-bottom: 0; }
.list-plain li > span:not(.when):not(.badge) { flex: 1 1 auto; min-width: 0; }
.list-plain .sub { display: block; color: var(--faint); font-size: 0.78rem; }
.list-plain .when { margin-left: auto; color: var(--faint); font-size: 0.78rem; white-space: nowrap; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty .icon { width: 42px; height: 42px; margin: 0 auto 0.8rem; color: var(--faint); }
.empty h3 { color: var(--text); font-size: 1.1rem; }
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.2rem; }
.filters input, .filters select { width: auto; min-width: 160px; }
.message-box { white-space: pre-wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; font-size: 0.93rem; }

/* Footer ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-1); padding: 3.5rem 0 2rem; margin-top: 2rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer ul a { color: var(--text-2); }
.site-footer ul a:hover { color: #fff; }
.footer-about p { color: var(--muted); max-width: 380px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--faint); font-size: 0.8rem; }
.age-badge { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--muted); color: var(--muted); font-size: 0.7rem; font-weight: 700; }
.disclaimer { font-size: 0.78rem; color: var(--faint); margin-top: 1rem; max-width: 900px; }

/* Reveal animation --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* Misc --------------------------------------------------------------------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0.9rem 0; background: var(--bg-1); }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.marquee-track span .icon { color: var(--blue-2); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; background: var(--surface); margin-bottom: 0.6rem; }
.faq summary { cursor: pointer; font-weight: 500; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue-2); font-size: 1.2rem; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.92rem; }
.notice { font-size: 0.8rem; color: var(--faint); }
.copy-btn { cursor: pointer; }
.error-page { text-align: center; padding: clamp(4rem, 12vw, 8rem) 20px; }
.error-page .code { font-size: clamp(4rem, 15vw, 8rem); font-weight: 700; line-height: 1; letter-spacing: -0.05em; }
pre.trace { text-align: left; font-size: 0.75rem; overflow: auto; background: var(--surface); padding: 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); color: #ff8aa0; }
