/* Guide page styles – minimal and complementary to base.css */
:root {
  --guide-accent: #9b6dff;
  --guide-bg: #0b0b12;
  --guide-panel: #141420;
  --guide-text: #e7e7ef;
  --guide-muted: #bdbdd2;
  --guide-border: rgba(255,255,255,0.08);
}

.guide-hero { position: relative; background: linear-gradient(180deg, rgba(11,11,18,0.6) 0%, rgba(11,11,18,0.9) 100%); color: var(--guide-text); }
.guide-hero .hero-media { max-height: 460px; overflow: hidden; }
.guide-hero img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) contrast(1.1) brightness(0.8); }
.guide-hero .hero-content { position: relative; margin-top: -140px; padding: 24px 16px 32px; background: linear-gradient(180deg, rgba(20,20,32,0.85) 0%, rgba(20,20,32,0.95) 100%); border-top: 1px solid var(--guide-border); border-bottom: 1px solid var(--guide-border); border-radius: 12px; }
.guide-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: 0.2px; }
.guide-hero .subtitle { margin-top: 6px; color: var(--guide-muted); }
.hero-ctas { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--guide-border); color: var(--guide-text); background: transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); border-color: var(--guide-accent); }
.btn.primary { background: linear-gradient(180deg, #6d45ff, #4e2fe6); border-color: transparent; color: #fff; }
.btn.ghost { background: rgba(255,255,255,0.04); }

.quick-links { margin-top: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.quick-links a { color: var(--guide-muted); text-decoration: none; border-bottom: 1px dashed transparent; }
.quick-links a:hover { color: var(--guide-text); border-color: var(--guide-accent); }

.container { max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
.section { margin: 48px auto; background: var(--guide-panel); color: var(--guide-text); border: 1px solid var(--guide-border); border-radius: 12px; padding: 24px; }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-header h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.link.copy-link { font-size: 0.9rem; color: var(--guide-muted); background: transparent; border: none; cursor: pointer; padding: 6px 10px; border-radius: 8px; }
.link.copy-link:hover { color: var(--guide-text); background: rgba(255,255,255,0.06); }

.toc { margin-top: 28px; }
.toc-header { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.guide-search input { width: 100%; max-width: 520px; background: rgba(255,255,255,0.04); border: 1px solid var(--guide-border); color: var(--guide-text); padding: 10px 12px; border-radius: 10px; }
.search-hint { font-size: 0.9rem; color: var(--guide-muted); margin-top: 6px; }
.toc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.toc-list a { display: block; padding: 10px 12px; border: 1px solid var(--guide-border); border-radius: 10px; text-decoration: none; color: var(--guide-text); background: rgba(255,255,255,0.03); }
.toc-list a:hover { border-color: var(--guide-accent); }

.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid.two, .grid.three { grid-template-columns: 1fr; } .guide-hero .hero-content { margin-top: -80px; } }

.card { background: rgba(255,255,255,0.03); border: 1px solid var(--guide-border); border-radius: 12px; padding: 16px; }
.checklist { list-style: none; padding-left: 0; }
.checklist li::before { content: "✔"; color: #6ee7b7; margin-right: 8px; }
.tips-list { display: grid; gap: 8px; padding-left: 18px; }
.media-block { margin: 0; }
.media-block img { width: 100%; border-radius: 10px; border: 1px solid var(--guide-border); }
.media-block figcaption { font-size: 0.9rem; color: var(--guide-muted); margin-top: 6px; }
.note { margin-top: 10px; color: var(--guide-muted); }

.faq-list details { background: rgba(255,255,255,0.03); border: 1px solid var(--guide-border); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.faq-list summary { cursor: pointer; font-weight: 600; }

.platforms .btn { width: 100%; margin-top: 8px; }
.cta-stack { display: flex; flex-direction: column; gap: 10px; }
.resource-list { display: grid; gap: 8px; padding-left: 18px; }

.share { margin: 28px auto 64px; }
.share-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--guide-panel); border: 1px solid var(--guide-border); border-radius: 12px; padding: 16px; }

.back-to-top { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--guide-border); background: rgba(20,20,32,0.9); color: var(--guide-text); display: none; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.back-to-top.show { display: inline-flex; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
