:root {
  --reb1-primary: #6a4910;
  --reb1-primary-light: #8e651c;
  --reb1-accent: #369f9b;
  --reb1-bg: #0f1115;
  --reb1-surface: #1a1d24;
  --reb1-surface-hover: #252a34;
  --reb1-border: #2d3340;
  --reb1-text: #f0f2f5;
  --reb1-text-muted: #a0a6b5;
  --reb1-radius: 8px;
  --reb1-font-heading: 'Playfair Display', serif;
  --reb1-font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background-color: var(--reb1-bg);
  color: var(--reb1-text);
  font-family: var(--reb1-font-body);
  font-size: 15px;
  line-height: 1.6;
  max-width: 100vw;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.reb1-header-mobile {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  background: var(--reb1-surface);
  border-bottom: 1px solid var(--reb1-border);
}

.reb1-logo {
  font-family: var(--reb1-font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--reb1-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  text-shadow: 0 0 10px rgba(54, 159, 155, 0.3);
}

.reb1-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.reb1-rail {
  background: var(--reb1-surface);
  border-bottom: 1px solid var(--reb1-border);
  position: relative;
  z-index: 10;
}

.reb1-rail-inner {
  display: flex;
  flex-direction: column;
}

.reb1-desktop-logo-wrapper { display: none; }

.reb1-nav {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  padding: 12px 16px;
  gap: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reb1-nav::-webkit-scrollbar { display: none; }

.reb1-nav-link {
  display: block;
  padding: 8px 16px;
  border-radius: var(--reb1-radius);
  background: var(--reb1-bg);
  color: var(--reb1-text-muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  border: 1px solid var(--reb1-border);
}
.reb1-nav-link:hover {
  background: var(--reb1-surface-hover);
  color: var(--reb1-accent);
  border-color: var(--reb1-accent);
}

.reb1-stream {
  flex: 1;
  min-width: 0;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Ticker */
.reb1-ticker-wrapper {
  display: flex;
  align-items: center;
  background: var(--reb1-surface);
  border: 1px solid var(--reb1-border);
  border-radius: var(--reb1-radius);
  overflow: hidden;
}
.reb1-ticker-label {
  background: var(--reb1-primary);
  color: #fff;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  z-index: 2;
}
.reb1-ticker-track {
  display: flex;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 16px;
}
.reb1-ticker-item {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  color: var(--reb1-text-muted);
  transition: color 0.3s;
}
.reb1-ticker-item:hover { color: var(--reb1-accent); }

/* Hero */
.reb1-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--reb1-surface);
  border: 1px solid var(--reb1-border);
}
.reb1-hero-img-wrap { width: 100%; height: 300px; overflow: hidden; }
.reb1-hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.reb1-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 24px;
  background: linear-gradient(to top, var(--reb1-bg) 10%, transparent);
}
.reb1-hero-title {
  font-family: var(--reb1-font-heading);
  font-size: 28px;
  color: var(--reb1-accent);
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.reb1-hero-desc {
  font-size: 15px;
  max-width: 600px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Stats */
.reb1-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.reb1-stat-card {
  background: var(--reb1-surface);
  border: 1px solid var(--reb1-border);
  border-radius: var(--reb1-radius);
  padding: 20px;
  text-align: center;
}
.reb1-stat-num {
  font-family: var(--reb1-font-heading);
  font-size: 32px;
  color: var(--reb1-primary-light);
  margin-bottom: 4px;
}
.reb1-stat-label {
  font-size: 13px;
  color: var(--reb1-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Headings */
.reb1-section-title {
  font-family: var(--reb1-font-heading);
  font-size: 24px;
  color: var(--reb1-text);
  margin-bottom: 24px;
  border-left: 4px solid var(--reb1-primary);
  padding-left: 12px;
}

/* Tabs */
.reb1-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.reb1-tab-btn {
  background: var(--reb1-surface);
  color: var(--reb1-text-muted);
  border: 1px solid var(--reb1-border);
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.reb1-tab-btn:hover { border-color: var(--reb1-accent); color: var(--reb1-text); }
.reb1-tab-btn.reb1-active {
  background: var(--reb1-primary);
  color: #fff;
  border-color: var(--reb1-primary);
}
.reb1-tab-content { display: none; }
.reb1-tab-content.reb1-active { display: block; }

/* Cards */
.reb1-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.reb1-card {
  background: var(--reb1-surface);
  border: 1px solid var(--reb1-border);
  border-radius: var(--reb1-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.reb1-hover-glow:hover {
  box-shadow: 0 0 15px rgba(106, 73, 16, 0.5);
  border-color: var(--reb1-primary-light);
  transform: translateY(-3px);
}
.reb1-card-img-wrap { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.reb1-card-img { width: 100%; height: 100%; object-fit: cover; }
.reb1-card-content { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.reb1-badge-chip {
  align-self: flex-start;
  background: rgba(54, 159, 155, 0.15);
  color: var(--reb1-accent);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid rgba(54, 159, 155, 0.3);
}
.reb1-card-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--reb1-text);
}
.reb1-card-sub {
  font-size: 14px;
  color: var(--reb1-text-muted);
  margin-top: auto;
}

/* Benefits */
.reb1-benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.reb1-benefit-card {
  background: var(--reb1-surface);
  padding: 24px;
  border-radius: var(--reb1-radius);
  border: 1px solid var(--reb1-border);
}
.reb1-benefit-title {
  font-size: 18px;
  color: var(--reb1-accent);
  margin-bottom: 10px;
}
.reb1-benefit-desc { font-size: 15px; color: var(--reb1-text-muted); }

/* Steps */
.reb1-steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.reb1-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--reb1-surface);
  padding: 20px;
  border-radius: var(--reb1-radius);
  border: 1px solid var(--reb1-border);
}
.reb1-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--reb1-primary);
  color: #fff;
  font-family: var(--reb1-font-heading);
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}
.reb1-step-text { font-size: 15px; color: var(--reb1-text-muted); }
.reb1-step-text strong { display: block; color: var(--reb1-text); font-size: 16px; margin-bottom: 4px; }

/* Payments */
.reb1-payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.reb1-pay-chip {
  background: var(--reb1-surface);
  border: 1px solid var(--reb1-border);
  padding: 12px 20px;
  border-radius: var(--reb1-radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--reb1-text-muted);
}

/* Comparison */
.reb1-table-wrapper { overflow-x: auto; border-radius: var(--reb1-radius); border: 1px solid var(--reb1-border); }
.reb1-compare-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  background: var(--reb1-surface);
}
.reb1-compare-table th, .reb1-compare-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--reb1-border);
}
.reb1-compare-table th {
  background: var(--reb1-surface-hover);
  color: var(--reb1-accent);
  font-weight: 600;
}
.reb1-compare-table td { font-size: 15px; color: var(--reb1-text-muted); }
.reb1-compare-table tr:last-child td { border-bottom: none; }

/* Article */
.reb1-article-wrapper { background: var(--reb1-surface); padding: 32px 24px; border-radius: var(--reb1-radius); border: 1px solid var(--reb1-border); }
.reb1-article { font-size: 15px; color: var(--reb1-text-muted); }
.reb1-article h2, .reb1-article h3, .reb1-article h4 {
  font-family: var(--reb1-font-heading);
  color: var(--reb1-text);
  margin: 28px 0 14px;
}
.reb1-article h2 { font-size: 24px; }
.reb1-article h3 { font-size: 20px; }
.reb1-article p { margin-bottom: 16px; }
.reb1-article ul, .reb1-article ol { margin: 0 0 16px 20px; padding-left: 20px; }
.reb1-article li { margin-bottom: 8px; }
.reb1-article strong { color: var(--reb1-text); }
.reb1-article a { color: var(--reb1-accent); text-decoration: underline; }

/* Page specific */
.reb1-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--reb1-text-muted);
}
.reb1-crumb-link { transition: color 0.2s; }
.reb1-crumb-link:hover { color: var(--reb1-accent); }
.reb1-crumb-link:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: 0.5; }

.reb1-page-title { font-family: var(--reb1-font-heading); font-size: 32px; color: var(--reb1-text); margin-bottom: 12px; }
.reb1-meta-desc { font-size: 16px; color: var(--reb1-text-muted); max-width: 800px; }

/* FAQ */
.reb1-faq-list { display: flex; flex-direction: column; gap: 12px; }
.reb1-faq-item {
  background: var(--reb1-surface);
  border: 1px solid var(--reb1-border);
  border-radius: var(--reb1-radius);
  overflow: hidden;
}
.reb1-faq-summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--reb1-text);
  cursor: pointer;
  list-style: none;
  position: relative;
}
.reb1-faq-summary::-webkit-details-marker { display: none; }
.reb1-faq-summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--reb1-accent);
}
.reb1-faq-item[open] .reb1-faq-summary::after { content: "-"; }
.reb1-faq-body {
  padding: 0 20px 20px;
  font-size: 15px;
  color: var(--reb1-text-muted);
  border-top: 1px solid var(--reb1-border);
  margin-top: 4px;
  padding-top: 16px;
}

/* Pager */
.reb1-pagination {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--reb1-border);
  padding-top: 24px;
}
.reb1-pager-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--reb1-surface);
  border: 1px solid var(--reb1-border);
  border-radius: var(--reb1-radius);
  color: var(--reb1-text);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}
.reb1-pager-link:hover { border-color: var(--reb1-accent); color: var(--reb1-accent); }

/* Footer */
.reb1-footer {
  border-top: 1px solid var(--reb1-border);
  padding-top: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reb1-footer-links a {
  display: inline-block;
  margin: 0 12px;
  font-size: 14px;
  color: var(--reb1-text-muted);
  transition: color 0.3s;
}
.reb1-footer-links a:hover { color: var(--reb1-accent); }
.reb1-footer-legal, .reb1-copyright { font-size: 13px; color: var(--reb1-text-muted); max-width: 800px; margin: 0 auto; }

/* Scroll Anim */
.reb1-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reb1-anim.reb1-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Desktop */
@media (min-width: 900px) {
  body { font-size: 16px; }
  .reb1-header-mobile { display: none; }
  .reb1-layout { flex-direction: row; }
  .reb1-rail {
    flex: 0 0 260px;
    height: 100vh;
    position: sticky;
    top: 0;
    border-bottom: none;
    border-right: 1px solid var(--reb1-border);
    overflow-y: auto;
  }
  .reb1-desktop-logo-wrapper {
    display: block;
    padding: 32px 24px;
    border-bottom: 1px solid var(--reb1-border);
  }
  .reb1-nav {
    flex-direction: column;
    padding: 24px;
    overflow-x: visible;
  }
  .reb1-nav-link {
    padding: 12px 16px;
  }
  .reb1-stream {
    padding: 32px 48px;
  }
  .reb1-stats { grid-template-columns: repeat(4, 1fr); }
  .reb1-benefit-grid, .reb1-steps-list { grid-template-columns: repeat(3, 1fr); }
  .reb1-hero-img-wrap { height: 400px; }
  .reb1-hero-title { font-size: 36px; }
  .reb1-article { font-size: 16px; }
}

/* v2fix-center: 扫查发现内容列未居中（margin 冲突/缺失）*/
footer.reb1-footer,
header.reb1-page-header.reb1-anim,
section.reb1-article-wrapper.reb1-anim,
section.reb1-benefits.reb1-anim,
section.reb1-comparison.reb1-anim,
section.reb1-faq-section.reb1-anim,
section.reb1-games.reb1-anim,
section.reb1-hero.reb1-anim,
section.reb1-payments.reb1-anim,
section.reb1-stats.reb1-anim,
section.reb1-steps.reb1-anim
{margin-inline:auto !important;}
