/* ============================================================
   Move2bet — palette & layout tokens
   ============================================================ */
:root {
  --c-bg: #2D3943;
  --c-bg-deep: #1E2E45;
  --c-surface: #435161;
  --c-mint: #54BFA2;
  --c-violet: #B35DFE;
  --c-text: #EDF2F4;
  --c-text-dim: #B7C2CC;
  --c-border: rgba(255, 255, 255, 0.08);

  --font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: 'Sora', var(--font-body);

  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --r-pill: 99px;

  --wrap: 1180px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
ol, ul { padding-left: 1.3em; }

::selection { background: var(--c-mint); color: #102019; }

.m2b-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ============================================================
   Top navigation
   ============================================================ */
.m2b-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(30, 46, 69, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.m2b-nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
}
.m2b-nav__logo img { height: 38px; }
.m2b-nav__links {
  display: flex;
  gap: 22px;
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}
.m2b-nav__links a { color: var(--c-text-dim); transition: color .15s; }
.m2b-nav__links a:hover { color: var(--c-mint); }
.m2b-nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.m2b-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-text);
  place-items: center;
}

.m2b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .12s, filter .15s;
}
.m2b-btn:active { transform: translateY(1px); }
.m2b-btn--primary {
  background: linear-gradient(135deg, var(--c-mint), #3fa389);
  color: #0c2018;
  box-shadow: 0 10px 24px rgba(84, 191, 162, .25);
}
.m2b-btn--primary:hover { filter: brightness(1.07); }
.m2b-btn--ghost {
  border-color: var(--c-border);
  color: var(--c-text);
  background: transparent;
}
.m2b-btn--ghost:hover { border-color: var(--c-mint); color: var(--c-mint); }
.m2b-btn--lg { height: 54px; padding: 0 32px; font-size: 16px; }

/* ============================================================
   Hero
   ============================================================ */
.m2b-hero {
  padding: 64px 0 48px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(179, 93, 254, 0.16), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(84, 191, 162, 0.12), transparent 45%),
    var(--c-bg-deep);
}
.m2b-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  background: linear-gradient(135deg, var(--c-text), var(--c-mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.m2b-hero p {
  max-width: 70ch;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-text-dim);
}

/* ============================================================
   Sections & content
   ============================================================ */
.m2b-section { padding: 56px 0; }
.m2b-section--alt { background: var(--c-bg-deep); }
.m2b-section h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0 0 22px;
}
.m2b-section h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 28px 0 12px;
  color: var(--c-mint);
}
.m2b-section p {
  color: var(--c-text-dim);
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 16px;
}
.m2b-section ol {
  color: var(--c-text-dim);
  font-size: 17px;
  line-height: 1.85;
}
.m2b-section ol li { margin-bottom: 8px; }
.m2b-section-banner {
  width: 100%;
  height: auto;
  max-height: 420px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  margin: 0 0 24px;
}

/* ============================================================
   Info / data tables
   ============================================================ */
.m2b-table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--c-border); }
.m2b-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.m2b-table th, .m2b-table td {
  text-align: left;
  padding: 14px 18px;
  font-size: 15.5px;
  border-bottom: 1px solid var(--c-border);
}
.m2b-table th {
  background: var(--c-surface);
  color: var(--c-text);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: .06em;
}
.m2b-table td { color: var(--c-text-dim); }
.m2b-table tr:last-child td { border-bottom: none; }
.m2b-table tbody tr:hover { background: rgba(84, 191, 162, 0.05); }

/* ============================================================
   Games carousel
   ============================================================ */
.m2b-games-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.m2b-games-ctrls { display: flex; gap: 8px; }
.m2b-arrow {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  display: grid; place-items: center;
  transition: border-color .15s, color .15s;
}
.m2b-arrow:hover { border-color: var(--c-violet); color: var(--c-violet); }

.m2b-track-mask { overflow: hidden; }
.m2b-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.m2b-track::-webkit-scrollbar { display: none; }

.m2b-card {
  flex: 0 0 auto;
  width: 180px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m2b-card-thumb {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.m2b-card-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.m2b-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.08), rgba(12, 18, 28, 0.72));
  opacity: 0;
  transition: opacity .18s ease;
}
.m2b-card-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.94);
  z-index: 2;
  min-width: 112px;
  height: 42px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--c-mint), #3fa389);
  color: #0c2018;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(84, 191, 162, .28);
  transition: opacity .18s ease, transform .18s ease;
}
.m2b-card:hover .m2b-card-thumb::after,
.m2b-card:focus-within .m2b-card-thumb::after,
.m2b-card.is-armed .m2b-card-thumb::after {
  opacity: 1;
}
.m2b-card:hover .m2b-card-cta,
.m2b-card:focus-within .m2b-card-cta,
.m2b-card.is-armed .m2b-card-cta {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.m2b-live-tag {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 8px;
  border-radius: var(--r-sm);
  background: rgba(30, 46, 69, .85);
  border: 1px solid var(--c-violet);
  color: var(--c-violet);
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.m2b-live-tag .dotpulse { width: 6px; height: 6px; border-radius: 50%; background: var(--c-violet); animation: m2bpulse 1.6s infinite; }
@keyframes m2bpulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.m2b-card-name { font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.m2b-card-prov { font-size: 13.5px; color: var(--c-text-dim); line-height: 1.45; }

/* ============================================================
   Feature grid (USP cards)
   ============================================================ */
.m2b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.m2b-feature {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.m2b-feature h3 { margin-top: 0; color: var(--c-text); }
.m2b-feature p { margin: 0; font-size: 16px; line-height: 1.75; }

.m2b-provider-logos {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}
.m2b-provider-logos img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--r-md);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 16px 12px;
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.m2b-faq { display: flex; flex-direction: column; gap: 10px; }
.m2b-faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface);
  overflow: hidden;
}
.m2b-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--c-text);
  font-size: 15.5px;
  font-weight: 700;
  text-align: left;
}
.m2b-faq-q .m2b-faq-icon { color: var(--c-mint); transition: transform .2s; flex: 0 0 auto; }
.m2b-faq-item.is-open .m2b-faq-q .m2b-faq-icon { transform: rotate(45deg); color: var(--c-violet); }
.m2b-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.m2b-faq-a-inner { padding: 0 20px 20px; color: var(--c-text-dim); font-size: 16px; line-height: 1.75; }

/* ============================================================
   CTA banner
   ============================================================ */
.m2b-cta-banner {
  text-align: center;
  border-radius: var(--r-lg);
  padding: 40px 24px;
  background: linear-gradient(135deg, rgba(179, 93, 254, 0.18), rgba(84, 191, 162, 0.14));
  border: 1px solid var(--c-border);
}
.m2b-cta-banner h2 { margin-bottom: 12px; }
.m2b-cta-banner p { margin: 0 auto 22px; }

/* ============================================================
   Footer
   ============================================================ */
.m2b-footer {
  background: var(--c-bg-deep);
  border-top: 1px solid var(--c-border);
  margin-top: 40px;
}
.m2b-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 52px 0 32px;
}
.m2b-footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-text-dim);
  margin: 0 0 16px;
}
.m2b-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.m2b-footer ul a { color: var(--c-text-dim); font-size: 15px; }
.m2b-footer ul a:hover { color: var(--c-mint); }
.m2b-footer-brand img { height: 34px; margin-bottom: 14px; }
.m2b-footer-brand p { color: var(--c-text-dim); font-size: 14.5px; line-height: 1.7; max-width: 38ch; }
.m2b-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.m2b-pay-chip {
  height: 30px; padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--c-text-dim);
}
.m2b-footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  padding: 0 0 24px;
}
.m2b-footer-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .95;
  transition: opacity .15s ease, transform .15s ease;
}
.m2b-footer-badges a:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.m2b-footer-badges img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 170px;
}
.m2b-footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 20px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--c-text-dim);
}
.m2b-age {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-text);
}
.m2b-age span.circle {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--c-violet);
  display: grid; place-items: center; font-size: 11px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .m2b-nav__links { display: none; }
  .m2b-burger { display: grid; }
  .m2b-grid { grid-template-columns: repeat(2, 1fr); }
  .m2b-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .m2b-grid { grid-template-columns: 1fr; }
  .m2b-footer-grid { grid-template-columns: 1fr; }
  .m2b-wrap { padding: 0 16px; }
  .m2b-nav__cta .m2b-btn--ghost { display: none; }
  .m2b-section { padding: 44px 0; }
  .m2b-games-head {
    align-items: flex-start;
    gap: 14px;
  }
  .m2b-games-head h2 {
    max-width: 230px;
  }
  .m2b-provider-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .m2b-provider-logos img {
    height: 68px;
    padding: 14px 10px;
  }
  .m2b-footer-badges {
    justify-content: flex-start;
    gap: 18px;
  }
  .m2b-footer-badges img {
    height: 40px;
    max-width: 140px;
  }
  .m2b-table-wrap {
    overflow: visible;
    border: none;
    border-radius: 0;
  }
  .m2b-table,
  .m2b-table thead,
  .m2b-table tbody,
  .m2b-table tr,
  .m2b-table th,
  .m2b-table td {
    display: block;
  }
  .m2b-table {
    min-width: 0;
  }
  .m2b-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .m2b-table tbody {
    display: grid;
    gap: 14px;
  }
  .m2b-table tr {
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    background: rgba(67, 81, 97, 0.8);
    padding: 14px;
  }
  .m2b-table td {
    border: none;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--c-text);
    overflow-wrap: anywhere;
  }
  .m2b-table td + td {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--c-border);
  }
  .m2b-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--c-mint);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
}

/* ============================================================
   Mobile dropdown menu
   ============================================================ */
.m2b-mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--c-bg-deep);
  border-bottom: 1px solid var(--c-border);
  flex-direction: column;
  padding: 12px 24px 20px;
  gap: 14px;
  min-height: calc(100vh - var(--nav-h));
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  z-index: 70;
}
.m2b-mobile-menu.is-open { display: flex; }

body.m2b-menu-open {
  overflow: hidden;
}
.m2b-mobile-menu a { font-size: 15px; font-weight: 600; color: var(--c-text-dim); }
.m2b-mobile-menu a:hover { color: var(--c-mint); }
