/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ---------- Typography ---------- */
body {
  font-family: Rubik, sans-serif;
  background-color: #191a1d;
  color: #ebebeb;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Rubik, sans-serif;
  color: #ebebeb;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: #ffd95f;
  transition: color 0.15s ease;
}

a:hover,
a:focus {
  color: #e6b61e;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Buttons ---------- */
.cta-button {
  display: inline-block;
  background-color: #00ffff;
  color: #0c0e12;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  text-align: center;
  transition: background-color 0.15s ease;
}

.cta-button:hover,
.cta-button:focus {
  background-color: #00e0e0;
  color: #0c0e12;
}

.secondary-button {
  display: inline-block;
  background-color: #00000000;
  color: #ebebeb;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  border: 1px solid #3d3e46;
  text-align: center;
  transition: background-color 0.15s ease;
}

.secondary-button:hover,
.secondary-button:focus {
  background-color: #00ffff1a;
  color: #ebebeb;
}

/* ---------- Header ---------- */
.site-header {
  background-color: #191a1d;
  border-bottom: 1px solid #3d3e46;
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
}

.header-logo img {
  height: 36px;
  width: auto;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  padding: 4px;
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ebebeb;
  border-radius: 2px;
}

.primary-nav {
  display: none;
}

.primary-nav .nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.primary-nav .nav-list a {
  display: block;
  padding: 10px 0;
  color: #ebebeb;
  border-bottom: 1px solid #3d3e46;
}

.primary-nav .nav-list a:hover,
.primary-nav .nav-list a:focus {
  color: #ffd95f;
}

.header-cta {
  margin-top: 12px;
  width: 100%;
}

.site-header.is-open .primary-nav {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #191a1d;
  border-bottom: 1px solid #3d3e46;
  padding: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #33353d;
  border-top: 1px solid #3d3e46;
  padding: 32px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo img {
  height: 30px;
  width: auto;
}

.footer-nav .nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav .nav-list a {
  color: #ebebeb;
}

.footer-nav .nav-list a:hover,
.footer-nav .nav-list a:focus {
  color: #ffd95f;
}

.footer-legal {
  color: #ebebeb;
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-legal p {
  margin: 0 0 4px;
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-nav .nav-list {
    flex-direction: row;
    gap: 24px;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .site-header.is-open .primary-nav,
  .site-header .primary-nav {
    position: static;
    background: none;
    border: none;
    padding: 0;
  }

  .primary-nav .nav-list {
    flex-direction: row;
    gap: 20px;
  }

  .primary-nav .nav-list a {
    padding: 0;
    border-bottom: none;
  }

  .header-cta {
    margin-top: 0;
    width: auto;
  }

  .footer-inner {
    flex-wrap: nowrap;
  }
}

/* ---------- Page main / article (added for "/" page) ---------- */
.page-main {
  padding: 32px 0 56px;
}

.page-head h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.byline p {
  margin: 0 0 4px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.toc-box {
  margin-top: 20px;
  border: 1px solid #3d3e46;
  border-radius: 8px;
  padding: 16px 20px;
  background-color: #33353d;
}

.toc-label {
  margin: 0 0 8px;
  font-weight: 600;
  color: #ebebeb;
}

.toc-box ul {
  display: grid;
  gap: 6px;
}

.toc-box li {
  position: relative;
  padding-left: 16px;
  font-size: 0.95rem;
}

.toc-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffd95f;
}

.intro {
  margin-top: 32px;
}

.promo-banner {
  margin-top: 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3d3e46;
}

.article-body section {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid #3d3e46;
}

.article-body > section:first-child {
  border-top: none;
}

.article-body h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.article-body h3 {
  font-size: 1.15rem;
  margin: 20px 0 8px;
}

.article-body p,
.article-body li {
  color: #ebebeb;
}

.article-body ul,
.article-body ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body code {
  background-color: #33353d;
  border: 1px solid #3d3e46;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.9em;
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0 20px;
  border: 1px solid #3d3e46;
  border-radius: 8px;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #3d3e46;
  font-size: 0.92rem;
  vertical-align: top;
}

.table-wrap th {
  background-color: #33353d;
  color: #ebebeb;
  font-weight: 600;
}

.table-wrap tbody tr:last-child td {
  border-bottom: none;
}

.key-facts table {
  min-width: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cta-wrap {
  text-align: center;
  margin: 24px 0 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid #3d3e46;
  border-radius: 8px;
  padding: 12px 16px;
  background-color: #33353d;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  display: inline;
  margin: 0;
  font-size: 1.02rem;
}

.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1em;
  margin-right: 8px;
  color: #ffd95f;
  font-weight: 600;
}

.faq-item[open] summary::before {
  content: "\2212";
}

.faq-item p {
  margin: 10px 0 0;
}

@media (min-width: 768px) {
  .toc-box ul {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
}

@media (min-width: 1024px) {
  .page-head h1 {
    font-size: 2.4rem;
  }
}

/* ---------- Added for /payments page ---------- */
.inline-promo {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid #3d3e46;
  background-color: #33353d;
}

.inline-promo-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline-promo-icon {
  color: #ffd95f;
  font-size: 0.7rem;
}

.inline-promo-heading {
  font-weight: 600;
  font-size: 1rem;
}

.step-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 14px;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #00ffff;
  color: #0c0e12;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-text {
  padding-top: 4px;
}

.secondary-image {
  margin: 32px 0;
  text-align: center;
}

.secondary-image img {
  margin: 0 auto 16px;
  border-radius: 10px;
  border: 1px solid #3d3e46;
}

@media (min-width: 768px) {
  .inline-promo {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Added for /contacts page ---------- */
.breadcrumb {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 4px 0 0;
}

.breadcrumb a {
  color: #ebebeb;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
  color: #ffd95f;
}

/* ---------- Added for /enter page ---------- */
.article-body h4 {
  font-size: 1rem;
  margin: 24px 0 8px;
  color: #ebebeb;
}

/* ---------- Added for /bets page ---------- */
.toc-box li .toc-check {
  margin-right: 6px;
  color: #ffd95f;
}

.article-body h3 {
  color: #ebebeb;
}

/* ---------- Added for the 404 page ---------- */
.not-found {
  text-align: center;
}

.not-found-code {
  margin: 0 0 8px;
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffd95f;
  line-height: 1;
}