/* ===== site.css — shared across every page, vsbet6686.com ===== */
:root {
  --bg-black: #0a0a0a;
  --bg-panel: #151515;
  --bg-card: #1a1a1a;
  --red-primary: #e10600;
  --red-dark: #8b0000;
  --gold: #d4af37;
  --text-light: #f0f0f0;
  --text-body: #c9c9c9;
  --text-muted: #888;
  --border-dark: #2a2a2a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.85; color: var(--text-body); background: var(--bg-black); font-size: 16px; width: 100%; overflow-x: hidden;
  word-break: break-word; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- Hero ---- */
.hero { background: radial-gradient(ellipse at top, #1a0000 0%, #000 65%); padding: 55px 0 40px; text-align: center; border-bottom: 2px solid var(--red-primary); }
.breadcrumb { font-size: 0.85rem; color: #888; margin-bottom: 14px; }
.breadcrumb a { color: #bbb; text-decoration: none; }
.breadcrumb a:hover { color: var(--red-primary); }
.hero h1 { color: #fff; font-size: clamp(1.4rem, 4.5vw, 2.5rem); margin-bottom: 18px; line-height: 1.3; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; }
.hero p { color: #bbb; max-width: 850px; margin: 0 auto; font-size: clamp(0.95rem, 2.2vw, 1.1rem); }
.hero-img-wrap { margin-top: 26px; }
.hero-img-wrap img { border-radius: 10px; box-shadow: 0 14px 40px rgba(225,6,0,0.25); border: 1px solid var(--border-dark); margin: 0 auto; }

/* ---- TOC ---- */
.toc-box { background: var(--bg-panel); border: 1px solid var(--border-dark); border-left: 4px solid var(--red-primary); border-radius: 8px; padding: 24px 28px; margin: 30px auto 0; }
.toc-title { color: #fff; font-size: clamp(1.05rem, 2.5vw, 1.3rem); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.toc-box ol { columns: 2; column-gap: 30px; margin: 0; padding-left: 20px; }
.toc-box li { margin-bottom: 8px; break-inside: avoid; }
.toc-box a { color: #ccc; text-decoration: none; font-weight: 600; }
.toc-box a:hover { color: var(--red-primary); text-decoration: underline; }

/* ---- Article ---- */
.main-article { background: var(--bg-card); border: 1px solid var(--border-dark); padding: 45px; border-radius: 10px; margin: 35px auto; }
.section-block { margin-bottom: 42px; scroll-margin-top: 20px; }
.section-title { color: #fff; font-size: clamp(1.25rem, 3.2vw, 1.8rem); border-bottom: 2px solid var(--red-primary); display: inline-block; padding-bottom: 8px; margin-bottom: 22px; font-weight: 800; }
.sub-title { color: var(--gold); font-size: clamp(1.05rem, 2.5vw, 1.3rem); margin: 22px 0 12px; font-weight: 700; }
p { margin-bottom: 16px; text-align: justify; color: var(--text-body); }
ul, ol { margin: 0 0 18px 24px; }
li { margin-bottom: 9px; }
strong { color: #fff; }

.content-row { display: flex; gap: 36px; align-items: center; margin: 26px 0; }
.content-row.reverse { flex-direction: row-reverse; }
.content-text { flex: 1.2; min-width: 0; }
.content-media { flex: 0.8; text-align: center; min-width: 0; }
.content-media img { border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.5); border: 1px solid var(--border-dark); margin: 0 auto; }
.img-caption { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; font-style: italic; display: block; }

.section-image { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 8px; margin: 20px auto; box-shadow: 0 6px 20px rgba(0,0,0,0.5); border: 1px solid var(--border-dark); }

.highlight-box { background: #1a0000; border-left: 4px solid var(--red-primary); padding: 22px; border-radius: 6px; margin: 22px 0; }
.warn-box { background: #1a1500; border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 6px; margin: 22px 0; }
.step-card { background: var(--bg-panel); border-left: 4px solid var(--red-primary); border-radius: 6px; padding: 18px 22px; margin-bottom: 16px; }
.step-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }

table { width: 100%; border-collapse: collapse; }
th { background: var(--red-dark); color: #fff; padding: 12px; text-align: left; border: 1px solid var(--border-dark); }
td { padding: 12px; border: 1px solid var(--border-dark); color: var(--text-body); }
.table-wrap { overflow-x: auto; margin: 20px 0; }
.table-wrap table { min-width: 560px; }
.stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
blockquote { border-left: 3px solid var(--red-primary); padding: 12px 20px; margin: 18px 0; color: #aaa; font-style: italic; }
.author-byline { color: var(--text-muted); font-size: 0.85rem; margin: -10px 0 20px; }
.mini-note { background: var(--bg-panel); border: 1px solid var(--border-dark); border-radius: 6px; padding: 14px 18px; font-size: 0.9rem; color: var(--text-muted); margin: 18px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
.testimonial-card { background: var(--bg-panel); border: 1px solid var(--border-dark); border-left: 3px solid var(--red-primary); border-radius: 8px; padding: 22px; }
.testimonial-card p { color: var(--text-body); font-style: italic; margin-bottom: 12px; text-align: left; }
.testimonial-card .t-author { color: var(--gold); font-size: 0.88rem; font-weight: 700; }
.license-badge { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--bg-panel); border: 2px dashed var(--border-dark); border-radius: 8px; padding: 14px 22px; color: var(--text-muted); font-size: 0.85rem; margin-top: 14px; max-width: 100%; }

/* ---- FAQ ---- */
.faq-block { background: var(--bg-card); border: 1px solid var(--border-dark); padding: 40px; border-radius: 10px; margin-bottom: 35px; }
.faq-block h2 { text-align: center; color: #fff; font-size: clamp(1.3rem, 3.5vw, 2rem); margin-bottom: 30px; text-transform: uppercase; }
.faq-card { border-bottom: 1px solid var(--border-dark); padding: 18px 0; }
.faq-card:last-child { border-bottom: none; }
.faq-card h3 { color: var(--gold); font-size: clamp(1rem, 2.3vw, 1.15rem); margin-bottom: 8px; }
.faq-card p { margin-bottom: 0; color: var(--text-body); }

/* ---- Related links ---- */
.related-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.related-link-card { display: block; text-align: center; padding: 18px 12px; background: var(--bg-panel); border: 1px solid var(--border-dark); border-radius: 8px; color: #fff; font-weight: 700; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.related-link-card:hover { transform: translateY(-3px); border-color: var(--red-primary); color: var(--red-primary); }

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .content-row, .content-row.reverse { flex-direction: column; }
  .content-media { width: 100%; }
  .main-article, .faq-block { padding: 28px 20px; border-radius: 0; }
  .container { padding: 0 16px; }
  .hero { padding: 40px 0 30px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .main-article, .faq-block { padding: 20px 14px; }
  .container { padding: 0 12px; }
  .toc-box { padding: 18px; border-radius: 0; }
  .toc-box ol { columns: 1; }
  p { text-align: left; }
  .section-image { border-radius: 6px; margin: 16px auto; }
  .table-wrap table { min-width: 480px; font-size: 0.88rem; }
  th, td { padding: 9px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 14px; }
  .testimonial-card { padding: 16px; }
  .related-links-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .related-link-card { padding: 14px 8px; font-size: 0.88rem; }
}

@media (max-width: 400px) {
  .hero { padding: 30px 0 22px; }
  .main-article, .faq-block { padding: 16px 12px; }
  .license-badge { padding: 12px 16px; font-size: 0.8rem; }
  .step-card, .highlight-box, .warn-box, .mini-note { padding: 14px 16px; }
}
