/* 8xbet India editorial guide direction. Loaded after the legacy theme layer. */
:root {
  --bg: #f4f7f7;
  --bg-soft: #eaf1f1;
  --surface: #ffffff;
  --surface-2: #edf5f4;
  --text: #10272a;
  --muted: #3f5559;
  --line: #cbd9da;
  --gold: #0f766e;
  --gold-strong: #0b5f59;
  --teal: #0369a1;
  --purple: #52667e;
  --shadow: rgba(24, 54, 57, 0.12);
  --container: 1180px;
  --article: 900px;
  --radius: 18px;
}

html {
  background: var(--bg);
}

body {
  color: var(--text);
  background:
    linear-gradient(rgba(15, 118, 110, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
.brand-name {
  color: var(--text);
}

h1,
.article-shell > .wp-block-group__inner-container > h2:first-of-type {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

a {
  color: #0c6f68;
}

a:hover,
a:focus {
  color: #084f4a;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #0284c7;
  outline-offset: 3px;
}

.site-header {
  border-bottom-color: rgba(18, 43, 46, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(24, 54, 57, 0.07);
}

.brand-link,
.brand-name {
  color: var(--text);
}

.brand-logo img {
  border-color: var(--line);
  background: #ffffff;
}

.menu a {
  border-radius: 10px;
  color: #395257;
  font-size: 0.95rem;
}

.menu a:hover,
.menu a:focus,
.current-menu-item > a,
.menu li:last-child a {
  color: #084f4a;
  background: #e6f3f1;
}

.nav-toggle {
  border-color: var(--line);
  background: #ffffff;
}

.nav-toggle__bar {
  background: var(--text);
}

.home-hero {
  border-bottom-color: rgba(18, 43, 46, 0.1);
  background:
    radial-gradient(circle at 87% 18%, rgba(3, 105, 161, 0.11), transparent 23rem),
    radial-gradient(circle at 18% 4%, rgba(15, 118, 110, 0.13), transparent 28rem),
    linear-gradient(145deg, #f8fcfb 0%, #e8f2f1 100%);
}

.hero-copy h1 {
  max-width: 800px;
  font-size: clamp(2.35rem, 5vw, 4.55rem);
}

.hero-copy p,
.home-hero p,
.micro-note,
.score-note,
.visual-game-card small {
  color: var(--muted);
}

.wp-block-button__link,
.entry-button,
.search-submit {
  border-color: var(--gold-strong);
  border-radius: 10px;
  color: #ffffff;
  background: var(--gold);
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.18);
}

.wp-block-button__link:hover,
.wp-block-button__link:focus,
.entry-button:hover,
.entry-button:focus,
.search-submit:hover,
.search-submit:focus {
  color: #ffffff;
  background: var(--gold-strong);
}

.wp-block-button.is-style-outline .wp-block-button__link,
.hero-buttons .is-style-outline .wp-block-button__link {
  border-color: #9fb8ba;
  color: #174b4d;
  background: rgba(255, 255, 255, 0.72);
}

.brand-guide-card,
.page-mini-card,
.summary-table-card,
.bonus-terms-card {
  overflow: hidden;
  border: 1px solid #bdd0d2;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(24, 54, 57, 0.13);
}

.brand-guide-card {
  position: relative;
}

.brand-guide-card::before {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  border-radius: 8px;
  color: #ffffff;
  background: #0f766e;
  content: "ENTRY GUIDE";
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.brand-guide-card img {
  width: 100%;
  aspect-ratio: 14 / 7;
  object-fit: cover;
}

.guide-card-body {
  padding: 24px;
}

.guide-label,
.score-label,
.eyebrow {
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.045em;
}

.guide-card-body h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.guide-index-list {
  display: grid;
  gap: 0;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.guide-index-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e1e9ea;
  color: #3c5559;
  counter-increment: guide-step;
}

.guide-index-list li::before {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  color: #0f625d;
  background: #ddf0ed;
  content: counter(guide-step, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 850;
}

.guide-safety-row {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-left: 4px solid #ca7a14;
  border-radius: 0 10px 10px 0;
  color: #634313;
  background: #fff7e7;
  font-size: 0.9rem;
  font-weight: 700;
}

.guide-card-link {
  font-weight: 800;
}

.section-band {
  border-top: 1px solid rgba(18, 43, 46, 0.07);
}

.quick-access-section,
.how-section {
  background: #f8fbfb;
}

.info-strip-section,
.brand-features-section,
.payment-section,
.summary-section {
  background: #eef5f4;
}

.entry-help-section,
.app-section,
.responsible-section {
  background: #e7f1f0;
}

.games-section,
.reviews-section {
  background: #f7f9fb;
}

.bonus-section {
  background: #fff8eb;
}

.quick-card,
.entry-check-grid article,
.visual-game-card,
.review-card,
.info-card,
.step-card,
.notice-card,
.page-shell__content,
.side-card {
  border-color: #d3dfe0;
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(24, 54, 57, 0.08);
}

.tone-a,
.tone-b,
.tone-c,
.tone-d,
.tone-e,
.tone-f {
  background: #ffffff;
}

.tone-a { border-top: 4px solid #0f766e; }
.tone-b { border-top: 4px solid #0369a1; }
.tone-c { border-top: 4px solid #52667e; }
.tone-d { border-top: 4px solid #ca7a14; }
.tone-e { border-top: 4px solid #7c5b96; }
.tone-f { border-top: 4px solid #287b69; }

.quick-icon {
  border-radius: 12px;
  color: #ffffff;
  background: #0f766e;
  font-size: 0.82rem;
}

.quick-card p,
.visual-game-card p,
.entry-check-grid ul,
.mini-checklist li,
.check-list li,
.review-card > p,
.page-shell__content p,
.side-card p {
  color: var(--muted);
}

.small-cta,
.topic-tag,
.check-tag {
  color: #0b665f;
}

.badge-row span,
.check-tag,
.topic-tag {
  min-height: 32px;
  border-color: #bad4d1;
  color: #0b665f;
  background: #e7f4f2;
  font-size: 0.85rem;
}

.info-strip,
.page-metric-strip {
  border-color: #c6d7d8;
  background: #ffffff;
}

.info-strip div,
.page-metric-strip span {
  color: #28484c;
  background: #edf5f4;
}

.info-strip span,
.summary-row span,
.terms-row span {
  color: #344f53;
  font-size: 0.9rem;
}

.info-strip strong,
.summary-row strong,
.terms-row strong,
.payment-icon-grid strong {
  color: var(--text);
  font-size: 1rem;
}

.summary-row,
.terms-row {
  border-bottom-color: #dfe8e9;
}

.image-frame {
  border-color: #c8d7d8;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(24, 54, 57, 0.11);
}

.payment-icon-grid div {
  border-color: #c9dada;
  background: #ffffff;
}

.payment-icon-grid span {
  color: #ffffff;
  background: #0f766e;
}

.timeline-grid .step-card {
  border-left-color: #0f766e;
}

.avatar-initials {
  display: none;
}

/* Readability repair after the former dark subpage layer. */
.quick-card p,
.info-card p,
.visual-game-card p,
.review-card > p,
.step-card p,
.page-shell__content .visual-game-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.visual-game-card small {
  color: #3f5559;
  font-size: 0.95rem;
}

.page-shell__content {
  color: var(--text);
}

.page-shell__content > p:first-of-type {
  border-color: #e2d3ac;
  color: #243f43;
  background: #fff8e8;
}

.page-shell__content h2 {
  border-top-color: #d6e1e2;
}

.page-shell__content ul:not(.mini-checklist) li,
.page-shell__content ol li {
  border-color: #d8e3e4;
  color: #334d51;
  background: #f7faf9;
}

.page-layout-visual .page-mini-card {
  border-color: #cbdadb;
  background: #ffffff;
}

.page-mini-card--app .mini-checklist li {
  border-color: #d2dfe0;
  color: #28484c;
  background: #f3f8f7;
}

.app-access-grid span,
.app-route-row span {
  color: #35565a;
  font-size: 0.82rem;
}

.app-access-grid strong,
.app-route-row strong {
  color: var(--text);
  font-size: 1rem;
}

.app-route-rail {
  border-color: #e4d2a2;
  border-left-color: #b96c0b;
  color: #604616;
  background: #fff6df;
  font-size: 1rem;
}

.app-phone-top,
.app-phone-top strong {
  color: #0b665f;
}

.app-route-list div {
  border-color: #d5e1e2;
  background: #f7faf9;
}

.app-route-list span {
  color: #ffffff;
  background: #0b665f;
}

.app-route-list p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.page-metric-strip span {
  color: #28484c;
  background: #edf5f4;
  font-size: 0.9rem;
}

.side-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.side-card .score-label {
  color: #0b665f;
  font-size: 0.88rem;
}

.side-link-card a {
  min-height: 44px;
  border-color: #cbdadb;
  color: #075e57;
  background: #edf5f4;
  font-size: 1rem;
}

.side-link-card a:hover,
.side-link-card a:focus {
  border-color: #83aaa7;
  color: #043f3a;
  background: #dcefeb;
}

.side-note-card,
.page-layout-notice .side-note-card {
  border-color: #e5d5aa;
  background: #fff7e7;
}

.responsible-panel {
  border-color: #b9d4d1;
  background: linear-gradient(135deg, #e4f2f0, #f8fbfb);
}

.article-shell {
  padding: 88px 24px;
  color: var(--text);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 470px), rgba(15, 118, 110, 0.08) calc(50% - 470px), rgba(15, 118, 110, 0.08) calc(50% - 466px), transparent calc(50% - 466px)),
    #ffffff;
}

.article-shell p,
.article-shell li {
  color: #40575b;
}

.article-shell h2,
.article-shell h3,
.faq-shell h2 {
  color: var(--text);
}

.editorial-trust {
  border-left: 4px solid #0f766e;
  background: #edf6f4;
}

.guide-contents {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px;
  border: 1px solid #c7d9da;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(24, 54, 57, 0.09);
}

.guide-contents ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 22px 0 0;
  padding-left: 22px;
}

.guide-contents a {
  font-weight: 750;
  text-decoration-thickness: 1px;
}

.faq-shell {
  padding-top: 78px;
  padding-bottom: 88px;
}

.faq-shell details,
.page-shell__content details,
.faq-accordion details {
  border-color: #d0ddde;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(24, 54, 57, 0.06);
}

.faq-shell summary,
.page-shell__content summary,
.faq-accordion summary {
  color: var(--text);
}

.faq-shell details > p,
.page-shell__content details > p,
.faq-accordion details > p {
  color: var(--muted);
}

.page-main {
  background:
    radial-gradient(circle at 88% 6%, rgba(3, 105, 161, 0.08), transparent 28rem),
    radial-gradient(circle at 12% 14%, rgba(15, 118, 110, 0.08), transparent 24rem),
    #f4f7f7;
}

.page-shell__content,
.page-mini-card,
.side-card {
  border-color: #d0dede;
  background: #ffffff;
}

.page-shell__content h2,
.page-shell__content h3,
.page-mini-card h2,
.side-card h2,
.side-card h3 {
  color: var(--text);
}

.app-phone-shell,
.app-route-row,
.app-access-grid div,
.page-layout-trust .page-mini-card .mini-checklist li {
  border-color: #d2dfe0;
  color: var(--text);
  background: #f3f8f7;
}

.site-footer {
  color: #d8e8e7;
  background: #10383a;
}

.site-footer h2,
.site-footer .brand-name {
  color: #ffffff;
}

.site-footer p,
.site-footer li,
.site-footer a,
.footer-menu a {
  color: #c9dddd;
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-link-group h2 {
  font-size: 0.9rem;
}

.site-footer a:hover,
.site-footer a:focus,
.footer-menu a:hover,
.footer-menu a:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer__bottom {
  border-color: rgba(255, 255, 255, 0.14);
  color: #e9f3f2;
  background: rgba(0, 0, 0, 0.12);
}

.floating-entry {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(16, 56, 58, 0.94);
  box-shadow: 0 16px 42px rgba(16, 56, 58, 0.26);
}

.floating-entry__button {
  border-radius: 10px;
  color: #ffffff;
  background: #0f766e;
}

@media (max-width: 980px) {
  .guide-contents ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding-top: 52px;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
  }

  .guide-card-body,
  .guide-contents {
    padding: 22px;
  }

  .guide-contents ol {
    grid-template-columns: 1fr;
  }

  .article-shell {
    padding: 58px 16px;
    background: #ffffff;
  }

  .info-strip,
  .entry-check-grid,
  .payment-icon-grid {
    grid-template-columns: 1fr 1fr;
  }
}
