:root {
  --paper: #f3f1ec; --paper-2: #e9e6df; --ink: #111014; --ink-2: #4a4750; --muted: #7b7782;
  --line: rgba(17, 16, 20, 0.1); --hot: #ff2bd6; --sun: #ff4f2b; --gold: #ffd23f;
  --r-xl: 32px; --r-lg: 22px; --r-md: 14px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; margin: 0; }
.kicker { font: 700 12px var(--mono); letter-spacing: .16em; color: var(--muted); margin: 0 0 10px; }
.section-title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 22px; border-radius: 999px; font: 700 15px var(--body); text-decoration: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn.hot { background: var(--hot); color: #fff; box-shadow: 0 10px 30px rgba(255,43,214,.4); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 3vw, 32px); background: color-mix(in srgb, var(--paper) 85%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 18px var(--display); letter-spacing: -0.02em; }
.logo em { font-style: normal; color: var(--hot); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 14px; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); }
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-links .shop-link { background: var(--ink); color: #fff; font-weight: 700; }
.nav-links .shop-link:hover { background: var(--hot); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

main { max-width: 1240px; margin: 0 auto; padding: 0 clamp(14px, 2.4vw, 24px); }

/* masthead */
.masthead { padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 3vw, 32px); }
.masthead h1 { font-size: clamp(44px, 8vw, 112px); line-height: .9; }
.masthead.small h1 { font-size: clamp(38px, 6vw, 72px); }
.lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 640px; margin: 14px 0 0; }
.empty { color: var(--muted); padding: 40px 0; }

/* cards */
.cover { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); aspect-ratio: 16 / 9; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cover.art { background: radial-gradient(90% 90% at 70% 110%, var(--c2), var(--c3) 70%); container-type: size; }
.cover.art .sun { position: absolute; width: 60cqh; aspect-ratio: 1; border-radius: 50%; left: 50%; bottom: -18cqh; transform: translateX(-50%); background: linear-gradient(180deg, #ffd23f, var(--c1) 55%, var(--c2)); mask: repeating-linear-gradient(180deg, #000 0 6cqh, transparent 6cqh 8.4cqh); -webkit-mask: repeating-linear-gradient(180deg, #000 0 6cqh, transparent 6cqh 8.4cqh); }
.cover.art .kicker-art { position: absolute; left: 6cqw; top: 8cqh; font: 800 13cqh/0.9 var(--display); color: #fff; letter-spacing: -0.03em; text-transform: uppercase; max-width: 70cqw; text-shadow: 0 .6cqh 3cqh rgba(0,0,0,.35); }
.card-link { display: grid; gap: 14px; text-decoration: none; }
.card-link:hover .cover img { transform: scale(1.04); }
.card-link:hover h3, .card-link:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card-body { display: grid; gap: 6px; }
.meta { font: 600 12px var(--mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.meta .cat { color: var(--hot); }
.card h3 { font-size: 21px; line-height: 1.15; letter-spacing: -0.025em; }
.card.big .card-link { grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(18px, 3vw, 40px); }
.card.big .cover { border-radius: var(--r-xl); }
.card.big h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: .98; }
.card.big p { margin: 6px 0 0; color: var(--ink-2); font-size: 17px; }
.lead { padding-bottom: 24px; border-bottom: 1px solid var(--line); }

.block { padding: clamp(36px, 5vw, 64px) 0 8px; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.block > .section-title { margin-bottom: 24px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; text-decoration: none; }
.filters a:hover { border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 18px; }

/* promo */
.promo { margin: 48px 0 0; padding: 26px 28px; border-radius: var(--r-lg); background: linear-gradient(90deg, #ffe7d6, #ffd6f3); display: grid; gap: 10px; justify-items: start; }
.promo h3 { font-size: 26px; line-height: 1.05; }
.promo p { margin: 0; color: var(--ink-2); }
.promo .kicker { margin: 0; }
.side .promo { margin: 0; position: sticky; top: 90px; }

/* article */
.post { padding: clamp(24px, 4vw, 48px) 0 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-head { max-width: 860px; display: grid; gap: 12px; }
.post-head h1 { font-size: clamp(34px, 5.4vw, 68px); line-height: .98; }
.post-head .lede { margin: 0; }
.byline { font-size: 14px; font-weight: 600; }
.post-cover { margin: 28px 0 0; border-radius: var(--r-xl); aspect-ratio: 21 / 9; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); margin-top: 36px; align-items: start; }
.prose { font-size: 18px; line-height: 1.7; max-width: 740px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; margin: 44px 0 12px; }
.prose h3 { font-size: 22px; margin: 32px 0 10px; letter-spacing: -0.02em; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--ink); text-decoration-color: var(--hot); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--hot); }
.prose blockquote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--hot); background: #fff; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 17px; }
.prose code { font: 500 .88em var(--mono); background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.prose img { border-radius: var(--r-md); margin: 24px 0; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 20px; margin: 0 0 28px; font-size: 16px; }
.toc summary { font-weight: 700; cursor: pointer; }
.toc ol { margin: 10px 0 0; }
.toc a { text-decoration: none; }
.sources { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.sources h2 { font-size: 20px; margin: 0 0 8px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.share a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.share a:hover { background: var(--hot); color: #fff; }
.side { display: grid; gap: 18px; }
.page .prose { margin-top: 24px; }

/* ads */
.ad { margin: 28px 0; text-align: center; }
.ad-label { display: block; font: 600 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* footer */
.footer { max-width: 1240px; margin: 72px auto 0; padding: 0 clamp(16px, 2vw, 28px) 28px; }
.foot-word { font: 800 clamp(48px, 13.5vw, 200px)/.8 var(--display); letter-spacing: -0.06em; background: linear-gradient(180deg, var(--ink) 30%, transparent 105%); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; overflow: hidden; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.foot-row p { margin: 0; }
.foot-row nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { text-decoration: underline; }
.legal { font-size: 12px; color: var(--muted); margin: 14px 0 0; max-width: 760px; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr; }
  .side .promo { position: static; }
}
@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .menu-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .card.big .card-link { grid-template-columns: 1fr; }
  .post-cover { aspect-ratio: 16 / 9; }
  .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* locked guides */
.lock-tag { color: var(--ink); }
.locked-banner { display: flex; gap: 14px; align-items: center; margin: 24px 0 0; padding: 18px 22px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.locked-banner .lock { font-size: 26px; }
.locked-banner div { display: grid; gap: 2px; }
.locked-banner span:not(.lock) { color: rgba(255,255,255,.75); font-size: 15px; }
.upcoming { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.upcoming li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.upcoming .lock { font-size: 20px; line-height: 1.2; }
.upcoming li div { display: grid; gap: 4px; }
.upcoming strong { font: 800 18px var(--display); letter-spacing: -0.02em; }
.upcoming span:not(.lock) { color: var(--ink-2); font-size: 14px; }
.trophy-list { display: grid; gap: 8px; margin: 0 0 24px; }
.trophy-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.trophy-row .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); font-size: 18px; flex: none; }
.trophy-row .t { display: grid; gap: 2px; }
.trophy-row .t b { font-family: var(--display); letter-spacing: -0.01em; }
.trophy-row .t span { color: var(--muted); font-size: 14px; }
.trophy-row.blur .t b, .trophy-row.blur .t span { filter: blur(5px); user-select: none; }

/* official gallery link card */
.gallery-card { display: grid; gap: 4px; margin: 36px 0 0; padding: 22px 24px; border-radius: var(--r-lg); text-decoration: none; color: #fff; background: radial-gradient(120% 140% at 100% 100%, #ff2bd6 0%, #5a0f4a 45%, #1a0a1c 100%); box-shadow: 0 18px 40px -18px rgba(90,15,74,.6); transition: transform .25s var(--ease); }
.gallery-card:hover { transform: translateY(-2px); }
.prose .gallery-card, .prose .gallery-card:hover { color: #fff; text-decoration: none; }
.gallery-card .gc-kicker { font: 700 11px var(--mono); letter-spacing: .16em; color: rgba(255,255,255,.7); }
.gallery-card strong { font: 800 clamp(20px, 2.4vw, 26px)/1.1 var(--display); letter-spacing: -0.02em; }
.gallery-card .gc-sub { font-size: 15px; color: rgba(255,255,255,.8); }

/* ---------- extra motion ---------- */
.logo em { animation: neon-flicker 2.6s linear 1 .5s both; }
@keyframes neon-flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { text-shadow: 0 0 10px rgba(255,43,214,.5); opacity: 1; } 20%, 24%, 55% { text-shadow: none; opacity: .35; } }
.logo img { transition: transform .5s var(--ease), filter .5s; }
.logo:hover img { transform: rotate(-10deg) scale(1.08); filter: drop-shadow(0 0 8px rgba(255,43,214,.6)); }
.masthead, .lead, .post-head { animation: fade-up .8s var(--ease) both; }
.grid .card { animation: fade-up .7s var(--ease) both; }
.grid .card:nth-child(2) { animation-delay: .06s; } .grid .card:nth-child(3) { animation-delay: .12s; } .grid .card:nth-child(4) { animation-delay: .18s; } .grid .card:nth-child(5) { animation-delay: .24s; } .grid .card:nth-child(6) { animation-delay: .3s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cover { transition: box-shadow .4s, transform .5s var(--ease); }
.card-link:hover .cover { box-shadow: 0 0 0 2px rgba(255,43,214,.7), 0 18px 40px -12px rgba(255,43,214,.45); transform: translateY(-3px); }
.gallery-card, .promo .btn, .share a { position: relative; overflow: hidden; }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.gallery-card:hover::after { transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) { .logo em, .masthead, .lead, .post-head, .grid .card { animation: none !important; } .gallery-card::after { display: none; } }

/* ---------- retro neon cursor ---------- */
html, body { cursor: url("/cursor.svg") 4 3, auto; }
a, button, summary, label, select, [role="button"], [role="tab"], [data-add], [data-filter], [data-remove], .cat, .quick, .btn, .card-link { cursor: url("/cursor-pointer.svg") 4 3, pointer !important; }
input, textarea, [contenteditable] { cursor: text !important; }

/* FAQ items */
.faq-item { padding: 16px 18px; margin: 0 0 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.faq-item p { margin: 0; }
.faq-item .faq-q { margin-bottom: 6px; font-family: var(--display); font-size: 19px; letter-spacing: -0.01em; }

/* popular guides */
.popular { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }
.popular .kicker { margin: 0 0 10px; }
.popular ol { margin: 0; padding: 0; list-style: none; counter-reset: pop; display: grid; gap: 2px; }
.popular li { counter-increment: pop; display: grid; grid-template-columns: 32px 1fr; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.popular li:first-child { border-top: 0; }
.popular li::before { content: counter(pop, decimal-leading-zero); font: 800 18px var(--display); color: var(--hot); }
.popular a { text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; }
.popular a:hover { color: var(--hot); }
.home-popular .popular ol { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 24px; }
.home-popular .popular li:nth-child(-n+3) { border-top: 0; }
