/* hbt - Hermes Casino FR */
:root {
  --hbt-bg: #161616;
  --hbt-bg-alt: #1e1e1e;
  --hbt-card: #1a191f;
  --hbt-surface: #222222;
  --hbt-primary: #dc6422;
  --hbt-primary-h: #e87a3a;
  --hbt-accent: #c18733;
  --hbt-accent-h: #d49a42;
  --hbt-cta: #29a546;
  --hbt-cta-h: #33b854;
  --hbt-body-text: #ffffff;
  --hbt-body-text-s: #b0b0b0;
  --hbt-body-text-m: #777777;
  --hbt-border: #333333;
  --hbt-border-l: #444444;
  --hbt-font: 'Plus Jakarta Sans', sans-serif;
  --hbt-font-h: 'Lexend', sans-serif;
  --hbt-radius: 4px;
  --hbt-card-r: 6px;
  --hbt-btn-r: 2px;
  --hbt-gap: 26px;
  --hbt-cw: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.hbt-body {
  font-family: var(--hbt-font);
  background: var(--hbt-bg);
  color: var(--hbt-body-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.hbt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--hbt-bg);
  border-bottom: 1px solid var(--hbt-border);
  padding: 12px 0;
}
.hbt-header-inner {
  max-width: var(--hbt-cw);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hbt-logo-link { display: flex; align-items: center; text-decoration: none; }
.hbt-logo-img { height: 48px; width: auto; }
.hbt-nav { display: flex; gap: 24px; }
.hbt-nav-link {
  color: var(--hbt-body-text-s);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.hbt-nav-link:hover, .hbt-nav-active {
  color: var(--hbt-primary);
}
.hbt-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hbt-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--hbt-body-text);
  transition: all 0.3s;
}

/* Container */
.hbt-cage {
  max-width: var(--hbt-cw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hbt-opening {
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--hbt-bg) 0%, var(--hbt-surface) 100%);
}
.hbt-opening-split {
  max-width: var(--hbt-cw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hbt-opening-h1 {
  font-family: var(--hbt-font-h);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--hbt-body-text);
}
.hbt-opening-abstract {
  font-size: 1rem;
  color: var(--hbt-body-text-s);
  margin-bottom: 24px;
  line-height: 1.8;
}
.hbt-opening-figure {
  width: 100%;
  height: auto;
  border-radius: var(--hbt-card-r);
  
}
.hbt-opening-art { display: block; }

/* CTA Button */
.hbt-proceed-btn {
  display: inline-block;
  background: var(--hbt-cta);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--hbt-btn-r);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 28px;
}
.hbt-proceed-btn:hover {
  background: var(--hbt-cta-h);
  transform: translateY(-2px);
}

/* TOC */
.hbt-agenda {
  max-width: var(--hbt-cw);
  margin: 0 auto;
  padding: 30px 20px;
}
.hbt-agenda-title {
  font-family: var(--hbt-font-h);
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--hbt-primary);
}
.hbt-agenda-ol {
  list-style: decimal;
  padding-left: 24px;
}
.hbt-agenda-ol li {
  margin-bottom: 8px;
}
.hbt-agenda-a {
  color: var(--hbt-body-text-s);
  text-decoration: none;
  transition: color 0.2s;
}
.hbt-agenda-a:hover {
  color: var(--hbt-primary);
}

/* Sections */
.hbt-sector {
  padding: 50px 0;
}
.hbt-sector:nth-child(even) {
  background: var(--hbt-bg-alt);
}
.hbt-sector-h2 {
  font-family: var(--hbt-font-h);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--hbt-body-text);
}
.hbt-division {
  padding: 40px 0;
}
.hbt-division-h3 {
  font-family: var(--hbt-font-h);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--hbt-accent);
}
.hbt-body-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--hbt-body-text-s);
  margin-bottom: 16px;
}

/* Steps */
.hbt-checklist {
  padding-left: 28px;
  margin: 20px 0;
  counter-reset: hbt-check-item;
  list-style: none;
}
.hbt-check-item {
  counter-increment: hbt-check-item;
  position: relative;
  padding: 12px 0 12px 48px;
  border-left: 2px solid var(--hbt-primary);
  margin-bottom: 4px;
}
.hbt-check-item::before {
  content: counter(hbt-check-item);
  position: absolute;
  left: -14px;
  top: 10px;
  width: 28px;
  height: 28px;
  background: var(--hbt-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Game Cards */
.hbt-portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hbt-gap);
  margin: 24px 0;
}
.hbt-portfolio-entry {
  background: var(--hbt-card);
  border-radius: var(--hbt-card-r);
  overflow: hidden;
  border: none;
  transition: transform 0.3s;
}
.hbt-portfolio-entry:hover {
  transform: translateY(-4px);
}
.hbt-portfolio-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border: none;
}
.hbt-portfolio-label {
  display: block;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  color: var(--hbt-body-text);
}

/* Bonus Cards */
.hbt-perk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--hbt-gap);
  margin: 20px 0;
}
.hbt-perk-item {
  background: var(--hbt-card);
  border-radius: var(--hbt-card-r);
  overflow: hidden;
  border: none;
}
.hbt-perk-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border: none;
}

/* Split Block */
.hbt-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 24px 0;
}
.hbt-view-img {
  width: 100%;
  height: auto;
  border-radius: var(--hbt-card-r);
  border: 2px solid var(--hbt-border);
}

/* Payment Table */
.hbt-transaction-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}
.hbt-transaction-table th,
.hbt-transaction-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hbt-border);
}
.hbt-transaction-table th {
  background: var(--hbt-surface);
  color: var(--hbt-primary);
  font-weight: 600;
}
.hbt-transaction-table td {
  color: var(--hbt-body-text-s);
}

/* FAQ */
.hbt-qa-pair {
  border: 1px solid var(--hbt-border);
  border-radius: var(--hbt-radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.hbt-qa-pair summary {
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hbt-qa-pair summary::-webkit-details-marker { display: none; }
.hbt-qa-pair summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--hbt-primary);
  font-weight: 700;
}
.hbt-qa-pair[open] summary::after { content: '-'; }
.hbt-qa-prompt {
  font-family: var(--hbt-font-h);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hbt-body-text);
  margin: 0;
}
.hbt-qa-response {
  padding: 0 20px 16px;
  color: var(--hbt-body-text-s);
}

/* Author */
.hbt-contributor {
  padding: 50px 0;
  background: var(--hbt-surface);
}
.hbt-contributor-card {
  max-width: var(--hbt-cw);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.hbt-contributor-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--hbt-primary);
}
.hbt-contributor-name {
  display: block;
  font-family: var(--hbt-font-h);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.hbt-contributor-role {
  display: block;
  color: var(--hbt-primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.hbt-contributor-desc {
  color: var(--hbt-body-text-s);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Breadcrumbs */
.hbt-waybar {
  max-width: var(--hbt-cw);
  margin: 0 auto;
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--hbt-body-text-m);
}
.hbt-waybar a {
  color: var(--hbt-primary);
  text-decoration: none;
}

/* Footer */
.hbt-footer {
  background: var(--hbt-bg);
  border-top: 1px solid var(--hbt-border);
  padding: 40px 0 30px;
}
.hbt-footer-inner {
  max-width: var(--hbt-cw);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.hbt-footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hbt-footer-nav a {
  color: var(--hbt-body-text-s);
  text-decoration: none;
  font-size: 0.9rem;
}
.hbt-footer-nav a:hover { color: var(--hbt-primary); }
.hbt-footer-payments {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hbt-footer-legal {
  color: var(--hbt-body-text-m);
  font-size: 0.8rem;
}
.hbt-footer-legal p { margin-bottom: 8px; }

/* Legal Pages */
.hbt-statute-block {
  padding: 60px 0;
}
.hbt-statute-h1 {
  font-family: var(--hbt-font-h);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
}

/* Inner page hero */
.hbt-page-opening {
  padding: 40px 20px;
}
.hbt-opening-media {
  display: flex;
  justify-content: center;
}

/* Mobile */
@media (max-width: 768px) {
  .hbt-opening-split,
  .hbt-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hbt-portfolio {
    grid-template-columns: repeat(2, 1fr);
  }
  .hbt-opening-h1 { font-size: 1.6rem; }
  .hbt-sector-h2 { font-size: 1.4rem; }
  .hbt-nav { display: none; }
  .hbt-nav.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--hbt-bg); padding: 20px; border-bottom: 1px solid var(--hbt-border); }
  .hbt-burger { display: flex; }
  .hbt-footer-nav { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .hbt-portfolio { grid-template-columns: 1fr; }
  .hbt-perk-grid { grid-template-columns: 1fr; }
  .hbt-opening-h1 { font-size: 1.35rem; }
  .hbt-proceed-btn { width: 100%; text-align: center; }
  .hbt-transaction-table { font-size: 0.8rem; }
  .hbt-transaction-table th, .hbt-transaction-table td { padding: 8px; }
}

@media (min-width: 1024px) {
  .hbt-portfolio { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1440px) {
  .hbt-opening-h1 { font-size: 2.6rem; }
  .hbt-sector-h2 { font-size: 2rem; }
}


/* QA fix 2026-06-05: TOC visual emphasis + table overflow */
.hbt-agenda {
  background: var(--hbt-surface, rgba(255,255,255,0.04));
  border-radius: var(--hbt-radius, 8px);
  border-left: 4px solid var(--hbt-primary, #dc6422);
  padding: 1.25rem 1.5rem;
}
.hbt-transaction-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1rem; }
.hbt-transaction-table { min-width: 480px; }

/* payment-icon QA 2026-06-05 */
[class*="-payment"] img, [class*="-payments"] img { background:#fff; border-radius:4px; padding:6px; width:48px; height:32px; object-fit:contain; }
