*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #1a1a1a; --card-bg: #1f1f1f; --border: #272727; --border-h: #353535;
  --text: #e8e8e8; --text-sub: #b0b0b0; --text-muted: #606060;
  --accent: #b08968; --accent-h: #c9a07a; --active-bg: rgba(176,100,55,0.18);
  --active-text: #d4956a; --topbar-bg: #111111; --topbar-h: 52px;
}
body { background:var(--bg); color:var(--text); font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; font-size:14px; line-height:1.6; min-height:100vh; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-h); }

/* topbar */
.topbar { position:fixed; top:0; left:0; right:0; height:var(--topbar-h); background:var(--topbar-bg); border-bottom:1px solid var(--border); display:flex; align-items:center; padding:0 24px; gap:14px; z-index:100; }
.back-link { display:flex; align-items:center; gap:7px; color:var(--text-muted); text-decoration:none; font-size:12.5px; transition:color 0.15s; }
.back-link:hover { color:var(--accent); }
.back-link svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.topbar-divider { width:1px; height:20px; background:var(--border); }
.topbar-title { font-size:13px; font-weight:500; color:var(--text-muted); }
.topbar-nav { margin-left:auto; display:flex; align-items:center; gap:2px; }
.topbar-nav-link { font-size:11px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:var(--text-muted); text-decoration:none; padding:5px 12px; border-radius:4px; transition:color 0.15s,background 0.15s; white-space:nowrap; }
.topbar-nav-link:hover { color:var(--text-sub); background:rgba(255,255,255,0.04); }
.topbar-nav-sep { width:1px; height:14px; background:var(--border); margin:0 2px; flex-shrink:0; }

/* layout */
.page-wrap { max-width:800px; margin:0 auto; padding:calc(var(--topbar-h) + 40px) 24px 80px; }

/* review card */
.review-card { background:var(--card-bg); border:1px solid var(--border); border-radius:10px; padding:32px 36px; margin-bottom:28px; }
.review-headline { font-size:22px; font-weight:700; color:var(--text); line-height:1.3; margin-bottom:20px; }
.review-meta { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:20px; padding-bottom:18px; border-bottom:1px solid var(--border); }
.meta-user { font-size:13px; font-weight:600; color:var(--accent); }
.meta-sep { color:var(--border-h); }
.meta-date { font-size:12px; color:var(--text-muted); }
.meta-title { font-size:12px; color:var(--text-sub); }
.tag { display:inline-block; font-size:11px; font-weight:500; padding:3px 9px; border-radius:20px; margin-right:5px; letter-spacing:0.01em; }
.review-body { font-size:15px; line-height:1.75; color:var(--text-sub); white-space:pre-wrap; }

/* likes */
.likes-row { display:flex; align-items:center; gap:7px; margin-top:22px; padding-top:18px; border-top:1px solid var(--border); color:var(--text-muted); font-size:13px; }
.likes-icon { color:var(--accent); opacity:0.8; display:flex; }
.likes-icon svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.source-link { margin-left:auto; font-size:12px; color:var(--text-muted); text-decoration:none; transition:color 0.15s; }
.source-link:hover { color:var(--accent); }

/* buy button */
.buy-btn { display:inline-flex; align-items:center; gap:8px; margin-top:28px; padding:11px 22px; background:var(--active-bg); border:1px solid rgba(176,100,55,0.35); border-radius:8px; color:var(--active-text); font-size:13px; font-weight:600; text-decoration:none; transition:all 0.18s; }
.buy-btn:hover { background:rgba(176,100,55,0.28); border-color:rgba(176,100,55,0.6); color:var(--accent-h); }
.buy-btn svg { width:13px; height:13px; fill:currentColor; flex-shrink:0; }

/* related */
.section-label { font-size:11px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--text-muted); margin-bottom:14px; opacity:0.7; }
.related-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:10px; }
.related-card { background:var(--card-bg); border:1px solid var(--border); border-radius:8px; padding:14px 16px; text-decoration:none; transition:border-color 0.15s,background 0.15s; display:block; }
.related-card:hover { border-color:var(--border-h); background:#242424; }
.related-hl { font-size:12.5px; color:var(--text); font-weight:500; line-height:1.4; margin-bottom:6px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.related-user { font-size:11px; color:var(--text-muted); }

/* breadcrumbs */
.breadcrumbs { font-size:12px; color:var(--text-muted); margin-bottom:24px; }
.breadcrumbs a { color:var(--text-muted); text-decoration:none; }
.breadcrumbs a:hover { color:var(--accent); }
.breadcrumbs .sep { margin:0 6px; opacity:0.5; }

/* hub page cards */
.product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:14px; margin-bottom:32px; }
.product-card { background:var(--card-bg); border:1px solid var(--border); border-radius:10px; padding:20px 24px; text-decoration:none; display:block; transition:border-color 0.15s,background 0.15s; }
.product-card:hover { border-color:var(--border-h); background:#242424; }
.product-card h3 { font-size:16px; font-weight:600; color:var(--text); margin-bottom:6px; }
.product-card .count { font-size:13px; color:var(--accent); font-weight:500; }
.product-card .cat-tag { font-size:11px; margin-top:8px; display:inline-block; padding:2px 8px; border-radius:12px; }
.product-card .desc { font-size:12.5px; color:var(--text-muted); margin-top:8px; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* review list on hub pages */
.review-list-item { background:var(--card-bg); border:1px solid var(--border); border-radius:8px; padding:18px 22px; margin-bottom:10px; text-decoration:none; display:block; transition:border-color 0.15s,background 0.15s; }
.review-list-item:hover { border-color:var(--border-h); background:#242424; }
.review-list-item h3 { font-size:15px; font-weight:600; color:var(--text); margin-bottom:6px; line-height:1.35; }
.review-list-item .excerpt { font-size:13px; color:var(--text-muted); line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.review-list-item .item-meta { font-size:12px; color:var(--text-muted); margin-top:8px; }
.review-list-item .item-meta .user { color:var(--accent); font-weight:500; }

/* star rating display */
.stars { color:#e8a838; font-size:16px; letter-spacing:1px; }
.aggregate-info { font-size:14px; color:var(--text-sub); margin-top:8px; }
.hub-desc { font-size:15px; line-height:1.7; color:var(--text-sub); margin-bottom:16px; max-width:640px; }

/* editorial summary (AI Overview optimized) */
.editorial-summary { font-size:14px; line-height:1.7; color:var(--text-sub); margin-bottom:24px; max-width:640px; padding:16px 20px; background:var(--card-bg); border:1px solid var(--border); border-radius:8px; border-left:3px solid var(--accent); }

/* last updated */
.last-updated { font-size:12px; color:var(--text-muted); margin-bottom:24px; }

/* FAQ section */
.faq-section { margin-top:40px; padding-top:32px; border-top:1px solid var(--border); }
.faq-item { background:var(--card-bg); border:1px solid var(--border); border-radius:8px; margin-bottom:10px; overflow:hidden; }
.faq-item[open] { border-color:var(--border-h); }
.faq-question { padding:16px 20px; font-size:14px; font-weight:600; color:var(--text); cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; transition:background 0.15s; }
.faq-question:hover { background:rgba(255,255,255,0.02); }
.faq-question::-webkit-details-marker { display:none; }
.faq-question::after { content:"＋"; font-size:16px; color:var(--text-muted); flex-shrink:0; margin-left:12px; transition:transform 0.2s; }
.faq-item[open] .faq-question::after { content:"−"; }
.faq-answer { padding:0 20px 16px; font-size:14px; line-height:1.7; color:var(--text-sub); }

/* related products section */
.related-products-section { margin-top:32px; padding-top:32px; border-top:1px solid var(--border); }
.related-products-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:12px; }
.related-product-card { background:var(--card-bg); border:1px solid var(--border); border-radius:8px; padding:16px 20px; text-decoration:none; display:block; transition:border-color 0.15s,background 0.15s; }
.related-product-card:hover { border-color:var(--border-h); background:#242424; }
.related-product-card h4 { font-size:13.5px; font-weight:600; color:var(--text); margin-bottom:6px; line-height:1.35; }
.related-product-card .rp-count { font-size:12px; color:var(--accent); font-weight:500; }
.related-product-card .rp-desc { font-size:12px; color:var(--text-muted); margin-top:6px; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* pagination */
.pagination { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:32px; padding-top:24px; border-top:1px solid var(--border); }
.page-link, .page-current { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:6px; font-size:13px; font-weight:500; text-decoration:none; transition:all 0.15s; }
.page-link { color:var(--text-muted); background:var(--card-bg); border:1px solid var(--border); }
.page-link:hover { color:var(--text); border-color:var(--border-h); background:#242424; }
.page-current { color:var(--active-text); background:var(--active-bg); border:1px solid rgba(176,100,55,0.35); }

/* footer */
.page-footer { text-align:center; margin-top:48px; padding-top:24px; border-top:1px solid var(--border); font-size:12px; color:var(--text-muted); }
.page-footer a { color:var(--text-muted); text-decoration:none; }
.page-footer a:hover { color:var(--accent); }

/* about page */
.about-entity h2 { font-size:20px; font-weight:700; margin:32px 0 12px; color:var(--text); }
.about-entity h3 { font-size:16px; font-weight:600; margin:20px 0 10px; color:var(--text); }
.about-entity p { font-size:14px; line-height:1.75; color:var(--text-sub); margin-bottom:14px; max-width:680px; }
.about-lead { font-size:16px !important; line-height:1.7 !important; margin-bottom:24px !important; }
.evidence-block { background:var(--card-bg); border:1px solid var(--border); border-radius:10px; padding:24px 28px; margin:20px 0 28px; border-left:3px solid var(--accent); }
.evidence-block ul { padding-left:20px; margin:8px 0 0; }
.evidence-block li { font-size:14px; line-height:1.7; color:var(--text-sub); margin-bottom:8px; }
.stats-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px; margin:16px 0 28px; }
.stat-card { background:var(--card-bg); border:1px solid var(--border); border-radius:8px; padding:20px; text-align:center; }
.stat-number { font-size:24px; font-weight:700; color:var(--accent); margin-bottom:4px; }
.stat-desc { font-size:12px; color:var(--text-muted); }
.category-stats { margin:12px 0 28px; }
.stat-row { display:flex; justify-content:space-between; padding:8px 16px; border-bottom:1px solid var(--border); font-size:13px; }
.stat-label { color:var(--text-sub); }
.stat-value { color:var(--accent); font-weight:500; }
.top-products { padding-left:20px; margin:8px 0 28px; }
.top-products li { font-size:14px; line-height:1.8; color:var(--text-sub); margin-bottom:4px; }

/* ── Animations ── */

/* Page fade-in */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: pageFadeIn 0.3s ease-out; }

/* Topbar slide-down */
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.topbar { animation: slideDown 0.35s ease-out; }

/* Content area stagger entrance */
@keyframes contentUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-wrap { animation: contentUp 0.4s ease-out 0.1s both; }

/* Card / list item hover lift */
.review-card,
.product-card,
.review-list-item,
.faq-item,
.related-product-card,
.glossary-item,
.featured-card,
.ranking-row,
.stat-card {
  transition: border-color 0.18s, background 0.18s, transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover,
.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.product-card:hover,
.related-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* Review body smooth expand */
.review-body { transition: max-height 0.3s ease; }

/* Search glow (if future subpages add search) */
input:focus {
  box-shadow: 0 0 0 3px rgba(176,100,55,0.08), 0 0 12px rgba(176,100,55,0.05);
}

/* Like heart pulse */
@keyframes heartPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.likes-row:hover .likes-icon {
  animation: heartPulse 0.3s ease;
}

/* Stats bar fill animation */
@keyframes barGrow {
  from { width: 0; }
}
.stat-bar-fill {
  animation: barGrow 0.6s ease-out 0.2s both;
}

/* Stat number count-up feel */
@keyframes numberFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-number {
  animation: numberFade 0.4s ease-out 0.15s both;
}

/* FAQ accordion smooth */
.faq-answer {
  transition: padding 0.2s ease;
}

/* Back link hover arrow nudge */
.back-link:hover svg {
  transform: translateX(-3px);
  transition: transform 0.2s ease;
}
.back-link svg {
  transition: transform 0.2s ease;
}

/* Buy button pulse on hover */
.buy-btn:hover {
  box-shadow: 0 0 0 3px rgba(176,100,55,0.1);
}

/* Breadcrumb fade */
.breadcrumbs {
  animation: contentUp 0.3s ease-out 0.05s both;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* responsive */
@media (max-width: 600px) {
  .page-wrap { padding-left:16px; padding-right:16px; }
  .review-card { padding:24px 20px; }
  .product-grid { grid-template-columns:1fr; }
  .related-products-grid { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .topbar-nav { display:none; }
}
