:root {
  --bq-bg: #12081f;
  --bq-bg-soft: #1c1030;
  --bq-surface: rgba(255, 255, 255, 0.06);
  --bq-border: rgba(255, 120, 180, 0.22);
  --bq-pink: #ff3d8a;
  --bq-pink-soft: #ff6ba8;
  --bq-coral: #ff5e62;
  --bq-lavender: #c9a0ff;
  --bq-mint: #7ef0d8;
  --bq-text: #f4eef8;
  --bq-muted: #b8a8c8;
  --bq-nav-h: 58px;
  --bq-radius: 18px;
  --bq-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  --bq-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--bq-font);
  background: var(--bq-bg);
  color: var(--bq-text);
  line-height: 1.82;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(255, 61, 138, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(201, 160, 255, 0.12), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(255, 94, 98, 0.08), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 120, 180, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

a { color: var(--bq-pink-soft); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--bq-lavender); }

img { max-width: 100%; height: auto; display: block; }

.bq-wrap { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; padding: 0 16px 64px; }

/* Header */
.bq-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(18, 8, 31, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bq-border);
}

.bq-header-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--bq-nav-h);
}

.bq-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--bq-text);
  font-weight: 700;
  font-size: 1.05rem;
}

.bq-brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(255, 61, 138, 0.35);
}

.bq-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.bq-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bq-pink);
  border-radius: 2px;
  transition: transform 0.25s;
}

.bq-nav {
  position: fixed;
  top: var(--bq-nav-h);
  left: 0;
  right: 0;
  background: rgba(18, 8, 31, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bq-border);
  padding: 12px 16px 18px;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 190;
}

.bq-nav.is-open { transform: translateY(0); opacity: 1; }

.bq-nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.bq-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--bq-muted);
  font-size: 0.95rem;
}

.bq-nav a:hover, .bq-nav a.is-active {
  background: rgba(255, 61, 138, 0.12);
  color: var(--bq-pink-soft);
}

.bq-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--bq-pink), var(--bq-coral));
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(255, 61, 138, 0.4);
  white-space: nowrap;
}

.bq-dl-btn:hover { color: #fff !important; filter: brightness(1.08); }

/* Sticky ads bar */
.bq-ads-float {
  position: fixed;
  top: var(--bq-nav-h);
  left: 0;
  right: 0;
  z-index: 180;
  background: rgba(18, 8, 31, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bq-border);
  padding: 8px 10px;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.bq-ads-float.is-show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#ads, #ads-sticky {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  background: transparent;
  margin: 0;
  gap: 6px 4px;
}

#ads > div, #ads-sticky > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(25% - 4px);
  box-sizing: border-box;
}

#ads img, #ads-sticky img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s;
  border: 1px solid rgba(255, 120, 180, 0.2);
}

#ads a, #ads-sticky a { display: inline-block; border-radius: 14px; text-decoration: none; }
#ads img:hover, #ads-sticky img:hover { transform: translateY(-3px) scale(1.04); }

#ads figcaption, #ads-sticky figcaption,
#ads .caption, #ads-sticky .caption {
  height: 14px;
  font-size: 10px;
  color: var(--bq-muted);
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}

.bq-ads-top { padding: 12px 0 4px; }

/* Hero */
.bq-hero {
  padding: 28px 0 20px;
  text-align: center;
}

.bq-hero-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 61, 138, 0.15);
  border: 1px solid rgba(255, 61, 138, 0.35);
  color: var(--bq-pink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.bq-hero h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.35;
  background: linear-gradient(135deg, #fff 30%, var(--bq-pink-soft) 70%, var(--bq-lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.bq-hero-lead {
  color: var(--bq-muted);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0 auto 20px;
}

.bq-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Sections */
.bq-section { padding: 32px 0 8px; }

.bq-section-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bq-pink);
  margin-bottom: 6px;
}

.bq-section h2 {
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  margin-bottom: 14px;
  color: #fff;
}

.bq-section h3 {
  font-size: 1.05rem;
  margin: 18px 0 8px;
  color: var(--bq-lavender);
}

.bq-prose p {
  margin-bottom: 14px;
  color: var(--bq-muted);
  font-size: 0.94rem;
  text-align: justify;
}

.bq-prose strong { color: var(--bq-text); font-weight: 600; }

/* Cards */
.bq-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0;
}

.bq-card {
  background: var(--bq-surface);
  border: 1px solid var(--bq-border);
  border-radius: var(--bq-radius);
  padding: 18px 16px;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s;
}

.bq-card:hover {
  border-color: rgba(255, 61, 138, 0.45);
  transform: translateY(-2px);
}

.bq-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 61, 138, 0.25), rgba(201, 160, 255, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.bq-card h3 { margin: 0 0 8px; font-size: 1rem; color: #fff; }
.bq-card p { font-size: 0.88rem; color: var(--bq-muted); margin: 0; line-height: 1.7; }

/* Media blocks */
.bq-media {
  margin: 20px 0;
  border-radius: var(--bq-radius);
  overflow: hidden;
  border: 1px solid var(--bq-border);
  box-shadow: var(--bq-shadow);
}

.bq-media img { width: 100%; }

.bq-media figcaption {
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.82rem;
  color: var(--bq-muted);
  text-align: center;
}

.bq-media-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0;
}

.bq-media-row .bq-prose { margin: 0; }

/* Split layout */
.bq-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 20px 0;
  align-items: start;
}

/* Feature list */
.bq-feat-list {
  list-style: none;
  margin: 14px 0;
}

.bq-feat-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 0.9rem;
  color: var(--bq-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bq-feat-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--bq-pink);
  font-size: 0.6rem;
  top: 12px;
}

/* Breadcrumb */
.bq-crumb {
  padding: 14px 0 6px;
  font-size: 0.82rem;
  color: var(--bq-muted);
}

.bq-crumb a { color: var(--bq-muted); }
.bq-crumb a:hover { color: var(--bq-pink-soft); }
.bq-crumb span { color: var(--bq-pink-soft); }

/* Page header */
.bq-page-head {
  padding: 20px 0 10px;
  border-bottom: 1px solid var(--bq-border);
  margin-bottom: 20px;
}

.bq-page-head h1 { font-size: 1.5rem; color: #fff; margin-bottom: 6px; }
.bq-page-head p { font-size: 0.9rem; color: var(--bq-muted); }

/* FAQ */
.bq-faq-item {
  border: 1px solid var(--bq-border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bq-surface);
}

.bq-faq-q {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  cursor: pointer;
}

.bq-faq-a {
  padding: 0 16px 14px;
  font-size: 0.88rem;
  color: var(--bq-muted);
}

/* Footer */
.bq-footer {
  margin-top: 48px;
  padding: 28px 16px;
  border-top: 1px solid var(--bq-border);
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
}

.bq-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 14px;
}

.bq-footer-nav a { font-size: 0.85rem; color: var(--bq-muted); }
.bq-footer-copy { font-size: 0.78rem; color: rgba(184, 168, 200, 0.6); }

/* Error pages */
.bq-error {
  text-align: center;
  padding: 60px 16px;
}

.bq-error-code {
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--bq-pink), var(--bq-lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.bq-error h1 { font-size: 1.3rem; margin: 16px 0 10px; }
.bq-error p { color: var(--bq-muted); font-size: 0.9rem; margin-bottom: 24px; }

/* Tablet+ */
@media (min-width: 640px) {
  .bq-cards { grid-template-columns: repeat(2, 1fr); }
  .bq-split { grid-template-columns: 1fr 1fr; }
  .bq-media-row { grid-template-columns: 1fr 1.2fr; }
  .bq-media-row.reverse { grid-template-columns: 1.2fr 1fr; }
  .bq-media-row.reverse .bq-media { order: 2; }
  .bq-media-row.reverse .bq-prose { order: 1; }

  .bq-nav {
    position: static;
    transform: none;
    opacity: 1;
    background: none;
    border: none;
    padding: 0;
    pointer-events: auto;
  }

  .bq-nav ul { flex-direction: row; gap: 2px; }
  .bq-nav a { padding: 6px 12px; font-size: 0.88rem; }
  .bq-menu-btn { display: none; }

  .bq-header-inner { gap: 20px; }

  #ads > div, #ads-sticky > div { width: calc(12.5% - 4px); }
  #ads img, #ads-sticky img { width: 65px; height: 65px; }
}

@media (min-width: 920px) {
  .bq-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
