/* ==========================================================================
   Mostbet México — landing page theme
   Built on the supplied "MOSTBET-INSPIRED DESIGN SYSTEM" v1.0 tokens.
   Token values are visual approximations of m.mostbet.com, not extracted
   source styles. Every rule is scoped to .mxb-page (set on <body>), so
   nothing leaks into other pages, themes or admin UI.
   ========================================================================== */

:root {
  /* COLOR TOKENS */
  --mxb-bg: #082e59;
  --mxb-bg-deep: #062448;
  --mxb-surface: #104d91;
  --mxb-surface-hover: #165a9f;
  --mxb-surface-raised: #123d70;
  --mxb-header: #082e59;
  --mxb-nav: #104d91;
  --mxb-accent: #ff6500;
  --mxb-accent-hover: #ec5900;
  --mxb-accent-active: #d64f00;
  --mxb-link: #69aaff;
  --mxb-blue-action: #5199f2;
  --mxb-text: #ffffff;
  --mxb-text-muted: #bacce0;
  --mxb-text-dark: #172a40;
  --mxb-border: #28609a;
  --mxb-border-subtle: rgba(255, 255, 255, .13);
  --mxb-light: #f1f3f5;
  --mxb-success: #37bd79;
  --mxb-warning: #ffc247;
  --mxb-error: #fa6262;
  --mxb-focus: #ffe29b;

  /* TYPE */
  --mxb-font: Arial, Helvetica, sans-serif;
  --mxb-font-body: 16px;
  --mxb-font-small: 13px;
  --mxb-font-xs: 12px;
  --mxb-font-h1: clamp(28px, 3.2vw, 42px);
  --mxb-font-h2: clamp(23px, 2.3vw, 30px);
  --mxb-font-h3: clamp(18px, 1.7vw, 22px);
  --mxb-line-body: 1.6;
  --mxb-line-head: 1.2;

  /* SHAPE AND SPACING */
  --mxb-radius-sm: 6px;
  --mxb-radius: 10px;
  --mxb-radius-lg: 14px;
  --mxb-radius-pill: 999px;
  --mxb-space-2: 8px;
  --mxb-space-3: 12px;
  --mxb-space-4: 16px;
  --mxb-space-5: 20px;
  --mxb-space-6: 24px;
  --mxb-space-8: 32px;
  --mxb-space-10: 40px;
  --mxb-header-height: 64px;
  --mxb-container-width: 1180px;
  --mxb-shadow-card: 0 6px 20px rgba(0, 0, 0, .14);
  --mxb-shadow-cta: 0 3px 10px rgba(255, 101, 0, .22);
  --mxb-transition: 180ms ease;
}

/* ==========================================================================
   Core / safety
   ========================================================================== */
.mxb-page, .mxb-page *, .mxb-page *::before, .mxb-page *::after { box-sizing: border-box; }

body.mxb-page { margin: 0; }

.mxb-page {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  color: var(--mxb-text);
  background: var(--mxb-bg);
  font: var(--mxb-font-body)/var(--mxb-line-body) var(--mxb-font);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.mxb-page img, .mxb-page video, .mxb-page svg { max-width: 100%; height: auto; }
.mxb-page img { display: block; }
.mxb-page a { color: var(--mxb-link); text-decoration: none; transition: color var(--mxb-transition); }
.mxb-page a:hover { color: #b7d8ff; }
.mxb-page :focus-visible { outline: 3px solid var(--mxb-focus); outline-offset: 3px; }
.mxb-page button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.mxb-page .mxb-container { width: min(calc(100% - 40px), var(--mxb-container-width)); margin-inline: auto; min-width: 0; }

.mxb-page .mxb-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  padding: 10px 16px; background: var(--mxb-accent); color: #fff; font-weight: 700;
  border-radius: 0 0 var(--mxb-radius-sm) 0;
}
.mxb-page .mxb-skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   Typography
   ========================================================================== */
.mxb-page h1, .mxb-page h2, .mxb-page h3, .mxb-page h4 {
  margin: 0 0 16px; color: var(--mxb-text); font-family: var(--mxb-font);
  font-weight: 700; line-height: var(--mxb-line-head); overflow-wrap: anywhere;
}
.mxb-page h1 { font-size: var(--mxb-font-h1); }
.mxb-page h2 { font-size: var(--mxb-font-h2); }
.mxb-page h3 { font-size: var(--mxb-font-h3); }
.mxb-page p { margin: 0 0 16px; color: var(--mxb-text); }
.mxb-page small, .mxb-page .mxb-muted { font-size: var(--mxb-font-small); color: var(--mxb-text-muted); }
.mxb-page strong { font-weight: 700; }
.mxb-page ul, .mxb-page ol { padding-left: 24px; margin: 0 0 20px; }
.mxb-page li { margin-bottom: 8px; padding-left: 3px; }
.mxb-page li::marker { color: var(--mxb-accent); font-weight: 700; }

.mxb-page .mxb-page-title { margin: 28px 0 0; }

/* Section headings: uppercase like the reference lobby titles,
   with a short orange accent bar */
.mxb-page .mxb-section h2 {
  display: flex; align-items: center; gap: 12px;
  text-transform: uppercase; letter-spacing: .01em;
}
.mxb-page .mxb-section h2::before {
  content: ""; flex: 0 0 4px; align-self: stretch; min-height: 1em;
  border-radius: 2px; background: var(--mxb-accent);
}
.mxb-page .mxb-article h3 { margin-top: 1.6em; }

/* ==========================================================================
   Header + flat navigation (sticky, as before)
   ========================================================================== */
.mxb-page .mxb-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--mxb-header);
  border-bottom: 1px solid var(--mxb-border);
}
.mxb-page .mxb-header-inner {
  min-height: var(--mxb-header-height);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mxb-page .mxb-logo { display: inline-flex; align-items: center; flex-shrink: 0; max-width: 160px; }
.mxb-page .mxb-logo img { max-height: 40px; width: auto; object-fit: contain; }

.mxb-page .mxb-menu { flex: 1; min-width: 0; }
.mxb-page .mxb-nav-list {
  display: flex; align-items: stretch; gap: 2px;
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.mxb-page .mxb-nav-list::-webkit-scrollbar { display: none; }
.mxb-page .mxb-nav-list li { flex: 0 0 auto; margin: 0; padding: 0; list-style: none; }
.mxb-page .mxb-nav-link {
  display: flex; align-items: center; justify-content: center;
  min-height: var(--mxb-header-height); padding: 10px 14px;
  color: var(--mxb-text); font-weight: 700; font-size: 14px;
  text-transform: uppercase; white-space: nowrap;
  border-bottom: 3px solid transparent; border-top: 3px solid transparent;
}
.mxb-page .mxb-nav-link:hover,
.mxb-page .mxb-nav-link[aria-current="page"] {
  color: var(--mxb-accent); background: rgba(255, 255, 255, .05); border-bottom-color: var(--mxb-accent);
}

.mxb-page .mxb-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.mxb-page .mxb-gift {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--mxb-radius-sm);
  background: var(--mxb-surface); color: var(--mxb-warning);
  border: 1px solid var(--mxb-border);
  transition: background var(--mxb-transition);
}
.mxb-page .mxb-gift:hover { background: var(--mxb-surface-hover); color: var(--mxb-warning); }

.mxb-page .mxb-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: var(--mxb-radius-sm);
  background: var(--mxb-surface);
}
.mxb-page .mxb-burger span {
  display: block; width: 20px; height: 2px; margin: 0 auto; background: #fff;
  transition: transform var(--mxb-transition), opacity var(--mxb-transition);
}
.mxb-page .mxb-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mxb-page .mxb-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mxb-page .mxb-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mxb-page .mxb-drawer {
  display: none; max-height: 0; overflow: hidden;
  background: var(--mxb-nav); transition: max-height var(--mxb-transition);
}
.mxb-page .mxb-drawer.is-open { max-height: 80vh; overflow-y: auto; border-top: 1px solid var(--mxb-border); }
.mxb-page .mxb-drawer-list { list-style: none; margin: 0; padding: 4px 20px; }
.mxb-page .mxb-drawer-item { margin: 0; padding: 0; border-bottom: 1px solid var(--mxb-border-subtle); }
.mxb-page .mxb-drawer-link {
  display: flex; align-items: center; min-height: 48px; padding: 0 4px;
  color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase;
}
.mxb-page .mxb-drawer-link:hover { color: var(--mxb-accent); }
.mxb-page .mxb-drawer-actions { display: flex; gap: 10px; padding: 16px 20px 20px; }
.mxb-page .mxb-drawer-actions .mxb-btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; white-space: normal; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.mxb-page .mxb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 22px;
  border: 1px solid transparent; border-radius: var(--mxb-radius-pill);
  font: 700 14px/1.25 var(--mxb-font); text-align: center; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
  transition: background var(--mxb-transition), transform var(--mxb-transition), border-color var(--mxb-transition);
}
.mxb-page .mxb-btn:hover { transform: translateY(-1px); }
.mxb-page .mxb-btn-primary { background: var(--mxb-accent); color: #fff; box-shadow: var(--mxb-shadow-cta); }
.mxb-page .mxb-btn-primary:hover { background: var(--mxb-accent-hover); color: #fff; }
.mxb-page .mxb-btn-primary:active { background: var(--mxb-accent-active); transform: none; }
.mxb-page .mxb-btn-secondary { background: var(--mxb-blue-action); color: #fff; }
.mxb-page .mxb-btn-secondary:hover { background: #3f85d9; color: #fff; }
.mxb-page .mxb-btn-outline { background: var(--mxb-surface-raised); border-color: var(--mxb-border); color: #fff; }
.mxb-page .mxb-btn-outline:hover { background: var(--mxb-surface); color: #fff; }
.mxb-page .mxb-btn-full { width: 100%; }

/* Registration buttons: light sweep ("shimmer") across the orange fill */
.mxb-page .mxb-btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.mxb-page .mxb-btn-shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; z-index: -1;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: mxb-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}
.mxb-page .mxb-btn-shine.mxb-btn-primary { background: linear-gradient(90deg, var(--mxb-accent) 0%, #ff8a2b 50%, var(--mxb-accent) 100%); background-size: 200% 100%; animation: mxb-flow 3s linear infinite; }
.mxb-page .mxb-btn-shine.mxb-btn-primary:hover { background: linear-gradient(90deg, var(--mxb-accent-hover) 0%, #ff7a14 50%, var(--mxb-accent-hover) 100%); background-size: 200% 100%; }
@keyframes mxb-shine {
  0% { left: -75%; }
  55%, 100% { left: 130%; }
}
@keyframes mxb-flow {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}


/* ==========================================================================
   Hero / promo — banner image + welcome-bonus panel (panel fixed left)
   ========================================================================== */
.mxb-page .mxb-promo { padding: 24px 0 8px; }

.mxb-page .mxb-hero {
  position: relative; display: flex; align-items: center;
  min-height: clamp(260px, 28vw, 340px);
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--mxb-border); border-radius: var(--mxb-radius-lg);
  background: linear-gradient(120deg, var(--mxb-bg-deep), var(--mxb-surface));
  overflow: hidden;
}
.mxb-page .mxb-hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
}
.mxb-page .mxb-hero--left { justify-content: flex-start; }
.mxb-page .mxb-hero--center { justify-content: center; }
.mxb-page .mxb-hero--right { justify-content: flex-end; }

.mxb-page .mxb-hero-panel {
  position: relative; width: 100%; max-width: 420px;
  padding: 24px; border-radius: var(--mxb-radius-lg);
  background: rgba(6, 36, 72, .84);
  border: 1px solid var(--mxb-border);
  box-shadow: var(--mxb-shadow-card);
}
.mxb-page .mxb-hero-offer { margin-bottom: 20px; }
/* Bonus name on top (large, white), bonus amount under it (yellow);
   every word capitalised — visual only, source text unchanged */
.mxb-page .mxb-hero-eyebrow {
  display: block; margin-bottom: 8px;
  font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.2;
  text-transform: capitalize; color: #fff;
}
.mxb-page .mxb-hero-value {
  display: block;
  font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; line-height: 1.3;
  text-transform: capitalize; color: var(--mxb-warning);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.mxb-page .mxb-section { padding-block: var(--mxb-space-10); background: var(--mxb-bg); }
.mxb-page .mxb-section--alt { background: var(--mxb-bg-deep); }
.mxb-page .mxb-section--raised { background: var(--mxb-surface-raised); }
.mxb-page .mxb-section--updated { padding-block: 24px; }
.mxb-page .mxb-section > .mxb-container > h2 { margin-bottom: 24px; }

.mxb-page .mxb-article { min-width: 0; }
.mxb-page .mxb-article--after-grid { margin-top: 32px; }
.mxb-page .mxb-article a { text-decoration: underline; text-underline-offset: 2px; }

.mxb-page .mxb-screenshot {
  width: 100%; height: auto; margin-bottom: 24px;
  border: 1px solid var(--mxb-border); border-radius: var(--mxb-radius-lg);
  box-shadow: var(--mxb-shadow-card);
}

.mxb-page .mxb-updated { margin: 0; }
.mxb-page .mxb-align-left { text-align: left; justify-content: flex-start; align-items: flex-start; }
.mxb-page .mxb-align-center { text-align: center; justify-content: center; align-items: center; }
.mxb-page .mxb-align-right { text-align: right; justify-content: flex-end; align-items: flex-end; }

/* ==========================================================================
   Tables — wrapper is the scroll container
   ========================================================================== */
.mxb-page .mxb-table-wrap {
  width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--mxb-border); border-radius: var(--mxb-radius);
  margin: 18px 0 24px;
}
.mxb-page .mxb-table {
  width: 100%; min-width: 520px; border-collapse: collapse;
  color: var(--mxb-text); font-size: 14px; line-height: 1.5;
}
.mxb-page .mxb-table th {
  background: var(--mxb-surface); padding: 13px 16px; text-align: left;
  font-weight: 700; border-bottom: 2px solid var(--mxb-accent); white-space: nowrap;
}
.mxb-page .mxb-table td {
  background: var(--mxb-bg); padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--mxb-border); vertical-align: top; overflow-wrap: break-word;
}
.mxb-page .mxb-table tbody tr:nth-child(even) td { background: var(--mxb-surface-raised); }
.mxb-page .mxb-table tbody tr:last-child td { border-bottom: 0; }
.mxb-page .mxb-table tbody tr:hover td { background: var(--mxb-surface-hover); }
.mxb-page .mxb-section--alt .mxb-table td { background: var(--mxb-bg-deep); }
.mxb-page .mxb-section--alt .mxb-table tbody tr:nth-child(even) td { background: var(--mxb-surface-raised); }
.mxb-page .mxb-section--alt .mxb-table tbody tr:hover td { background: var(--mxb-surface-hover); }

/* ==========================================================================
   Popular slots — lobby-style tiles
   ========================================================================== */
.mxb-page .mxb-slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mxb-page .mxb-slot {
  min-width: 0; overflow: hidden;
  background: var(--mxb-surface-raised);
  border: 1px solid var(--mxb-border); border-radius: var(--mxb-radius-lg);
  box-shadow: var(--mxb-shadow-card);
  transition: transform var(--mxb-transition), border-color var(--mxb-transition);
}
.mxb-page .mxb-slot:hover { transform: translateY(-3px); border-color: #4280bc; }
.mxb-page .mxb-slot-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mxb-bg-deep); }
.mxb-page .mxb-slot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--mxb-transition), filter var(--mxb-transition); }
.mxb-page .mxb-slot-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(6, 36, 72, .55); opacity: 0; transition: opacity var(--mxb-transition);
}
.mxb-page .mxb-slot-play-icon {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: var(--mxb-accent); box-shadow: var(--mxb-shadow-cta);
  transform: scale(.8); transition: transform var(--mxb-transition);
}
.mxb-page .mxb-slot-play-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-35%, -50%);
  border-style: solid; border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.mxb-page .mxb-slot:hover .mxb-slot-media img,
.mxb-page .mxb-slot:focus-within .mxb-slot-media img { transform: scale(1.05); filter: brightness(.8); }
.mxb-page .mxb-slot:hover .mxb-slot-play,
.mxb-page .mxb-slot-play:focus-visible { opacity: 1; }
.mxb-page .mxb-slot:hover .mxb-slot-play-icon,
.mxb-page .mxb-slot-play:focus-visible .mxb-slot-play-icon { transform: scale(1); }
.mxb-page .mxb-slot-body { padding: 12px 14px 14px; }
.mxb-page .mxb-slot-name {
  margin: 0 0 6px; font-size: 15px; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mxb-page .mxb-slot-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mxb-page .mxb-slot-provider {
  min-width: 0; font-size: var(--mxb-font-xs); font-weight: 700; text-transform: uppercase;
  color: var(--mxb-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mxb-page .mxb-slot-rtp {
  flex-shrink: 0; padding: 3px 8px; border-radius: var(--mxb-radius-pill);
  background: var(--mxb-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.4;
}

/* ==========================================================================
   Bonus cards
   ========================================================================== */
.mxb-page .mxb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--mxb-space-4); }
.mxb-page .mxb-bonus-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 32px; }

.mxb-page .mxb-card {
  min-width: 0; padding: 20px;
  border: 1px solid var(--mxb-border); border-radius: var(--mxb-radius);
  background: var(--mxb-surface-raised); box-shadow: var(--mxb-shadow-card);
  transition: border-color var(--mxb-transition);
}
.mxb-page .mxb-card:hover { border-color: #4280bc; }
.mxb-page .mxb-card-media {
  aspect-ratio: 4 / 3; margin-bottom: 16px; overflow: hidden;
  background: var(--mxb-bg-deep); border-radius: var(--mxb-radius-sm);
}
.mxb-page .mxb-card-media img { width: 100%; height: 100%; object-fit: cover; }
.mxb-page .mxb-bonus-card { display: flex; flex-direction: column; padding: 12px 12px 18px; border-top: 3px solid var(--mxb-accent); }
.mxb-page .mxb-bonus-card .mxb-card-media { margin-bottom: 14px; }
.mxb-page .mxb-card-body { padding: 0 6px; }
.mxb-page .mxb-bonus-name {
  margin: 0 0 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--mxb-text-muted);
}
.mxb-page .mxb-bonus-value {
  margin: 0 0 8px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; line-height: 1.1; color: var(--mxb-accent);
}
.mxb-page .mxb-bonus-extra { margin: 0 0 10px; font-weight: 700; color: #fff; }
.mxb-page .mxb-bonus-note { margin: 0; padding-top: 10px; border-top: 1px solid var(--mxb-border-subtle); }

/* ==========================================================================
   Provider & payment logos — light chips (logo art is dark)
   ========================================================================== */
.mxb-page .mxb-logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 4px 0 24px; }
.mxb-page .mxb-logo-chip {
  display: flex; align-items: center; justify-content: center;
  min-height: 72px; padding: 14px;
  background: var(--mxb-light); border-radius: var(--mxb-radius);
  border: 1px solid transparent;
  transition: border-color var(--mxb-transition), transform var(--mxb-transition);
}
.mxb-page .mxb-logo-chip:hover { transform: translateY(-2px); border-color: var(--mxb-accent); }
.mxb-page .mxb-logo-chip img { max-height: 32px; width: auto; object-fit: contain; }

.mxb-page .mxb-pay-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mxb-page .mxb-pay {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 12px; text-align: center;
  background: var(--mxb-light); border-radius: var(--mxb-radius);
  border-bottom: 3px solid var(--mxb-blue-action);
  transition: transform var(--mxb-transition);
}
.mxb-page .mxb-pay:hover { transform: translateY(-2px); }
.mxb-page .mxb-pay-media { height: 40px; display: flex; align-items: center; }
.mxb-page .mxb-pay-media img { max-height: 40px; max-width: 100%; object-fit: contain; }
.mxb-page .mxb-pay-name { font-size: 13px; font-weight: 700; color: var(--mxb-text-dark); }

/* ==========================================================================
   FAQ — ARIA button accordion (existing JS)
   ========================================================================== */
.mxb-page .mxb-faq { display: grid; gap: 10px; }
.mxb-page .mxb-faq-item {
  overflow: hidden; background: var(--mxb-surface-raised);
  border: 1px solid var(--mxb-border); border-radius: var(--mxb-radius);
}
.mxb-page .mxb-faq-head { margin: 0; font-size: inherit; }
.mxb-page .mxb-faq-toggle {
  width: 100%; min-height: 52px; padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; font-size: 16px; font-weight: 700; line-height: 1.35; color: #fff;
}
.mxb-page .mxb-faq-toggle:focus-visible { outline-offset: -3px; }
.mxb-page .mxb-faq-item.is-open .mxb-faq-toggle { color: var(--mxb-warning); border-bottom: 1px solid var(--mxb-border); }
.mxb-page .mxb-faq-icon { position: relative; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--mxb-accent); }
.mxb-page .mxb-faq-icon::before, .mxb-page .mxb-faq-icon::after {
  content: ""; position: absolute; top: 11px; left: 6px; width: 12px; height: 2px; background: #fff;
  transition: transform var(--mxb-transition);
}
.mxb-page .mxb-faq-icon::after { transform: rotate(90deg); }
.mxb-page .mxb-faq-toggle[aria-expanded="true"] .mxb-faq-icon::after { transform: rotate(0deg); }
.mxb-page .mxb-faq-answer {
  max-height: 0; overflow: hidden; padding: 0 18px;
  color: var(--mxb-text-muted); font-size: 15px;
  transition: max-height var(--mxb-transition), padding var(--mxb-transition);
}
.mxb-page .mxb-faq-answer p { color: inherit; }
.mxb-page .mxb-faq-item.is-open .mxb-faq-answer { padding-top: 16px; padding-bottom: 16px; }
.mxb-page .mxb-faq-answer > :last-child { margin-bottom: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.mxb-page .mxb-footer {
  padding: 40px 0 28px; background: var(--mxb-bg-deep);
  border-top: 1px solid var(--mxb-border); color: var(--mxb-text-muted); font-size: 13px;
}
.mxb-page .mxb-footer a { color: #d5e7ff; }
.mxb-page .mxb-footer a:hover { color: var(--mxb-accent); }
.mxb-page .mxb-footer-top {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px;
  padding-bottom: 28px; border-bottom: 1px solid var(--mxb-border-subtle);
}
.mxb-page .mxb-footer-brand .mxb-logo { margin-bottom: 16px; }
.mxb-page .mxb-footer-mails, .mxb-page .mxb-footer-col ul {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px;
}
.mxb-page .mxb-footer-mails li, .mxb-page .mxb-footer-col li { margin: 0; padding: 0; }
.mxb-page .mxb-footer-mails a, .mxb-page .mxb-footer-col a {
  display: inline-flex; align-items: center; min-height: 32px; font-size: 14px;
}
.mxb-page .mxb-footer-col h3 {
  margin-bottom: 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #fff;
}
.mxb-page .mxb-footer-legal { display: flex; flex-direction: column; gap: 14px; padding: 24px 0 16px; }
.mxb-page .mxb-trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mxb-page .mxb-footer-legal.mxb-align-center .mxb-trust-row { justify-content: center; }
.mxb-page .mxb-footer-legal.mxb-align-right .mxb-trust-row { justify-content: flex-end; }
.mxb-page .mxb-trust-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 104px; height: 44px; padding: 6px 10px;
  background: var(--mxb-surface-raised); border: 1px solid var(--mxb-border); border-radius: var(--mxb-radius-sm);
  transition: border-color var(--mxb-transition);
}
.mxb-page .mxb-trust-link:hover { border-color: var(--mxb-blue-action); }
.mxb-page .mxb-trust-link img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.mxb-page .mxb-footer-warning { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; color: var(--mxb-text-muted); font-size: 13px; }
.mxb-page .mxb-tag {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--mxb-radius-pill);
  background: var(--mxb-accent); color: #fff; font-weight: 700; font-size: 11px; line-height: 1.4;
}
.mxb-page .mxb-footer-copy { margin: 0; }

/* ==========================================================================
   404
   ========================================================================== */
body.mxb-page.mxb-error-body { min-height: 100vh; display: flex; flex-direction: column; }
.mxb-page .mxb-error { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.mxb-page .mxb-error-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-block: 80px; }
.mxb-page .mxb-error-title { margin: 0; font-size: 64px; color: var(--mxb-accent); }
.mxb-page .mxb-error-text { margin: 0 0 24px; font-size: 18px; color: var(--mxb-text-muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .mxb-page .mxb-slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .mxb-page .mxb-menu, .mxb-page .mxb-gift { display: none; }
  .mxb-page .mxb-header-actions .mxb-btn-outline { display: none; }
  .mxb-page .mxb-burger { display: flex; }
  .mxb-page .mxb-drawer { display: block; }

  .mxb-page .mxb-section { padding-block: 32px; }
  .mxb-page .mxb-bonus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mxb-page .mxb-pay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .mxb-page .mxb-footer-top { grid-template-columns: 1fr 1fr; }
  .mxb-page .mxb-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --mxb-font-body: 15px; --mxb-header-height: 56px; --mxb-font-h1: 28px; --mxb-font-h2: 23px; --mxb-font-h3: 19px; }
  .mxb-page .mxb-container { width: min(calc(100% - 28px), var(--mxb-container-width)); }
  .mxb-page .mxb-header-inner { gap: 8px; }
  .mxb-page .mxb-logo { max-width: 120px; }
  .mxb-page .mxb-logo img { max-height: 32px; }
  .mxb-page .mxb-header-actions { gap: 6px; }
  .mxb-page .mxb-header-actions .mxb-btn { min-height: 36px; padding: 8px 12px; font-size: 12px; }
  .mxb-page .mxb-burger { width: 40px; height: 40px; }

  .mxb-page .mxb-page-title { margin-top: 20px; }
  .mxb-page .mxb-section { padding-block: 24px; }

  /* Hero stacks: banner on top, offer panel below — nothing covers the image */
  .mxb-page .mxb-promo { padding-top: 16px; }
  .mxb-page .mxb-hero { display: block; min-height: 0; padding: 0; }
  .mxb-page .mxb-hero > img { position: static; aspect-ratio: 16 / 9; height: auto; object-position: 82% center; }
  .mxb-page .mxb-hero-panel {
    max-width: none; border: 0; border-top: 1px solid var(--mxb-border);
    border-radius: 0; box-shadow: none; background: var(--mxb-bg-deep); padding: 18px 16px;
  }
  .mxb-page .mxb-hero-eyebrow { font-size: 24px; }
  .mxb-page .mxb-hero-value { font-size: 18px; }

  .mxb-page .mxb-slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mxb-page .mxb-slot-body { padding: 10px; }
  .mxb-page .mxb-slot-name { font-size: 13px; }
  .mxb-page .mxb-slot-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mxb-page .mxb-bonus-grid { grid-template-columns: 1fr; gap: 12px; }
  .mxb-page .mxb-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .mxb-page .mxb-pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  .mxb-page .mxb-card { padding: 16px; }
  .mxb-page .mxb-bonus-card { padding: 12px 12px 16px; }
  .mxb-page .mxb-table { font-size: 13px; }
  .mxb-page .mxb-table th, .mxb-page .mxb-table td { padding: 11px 12px; }

  .mxb-page .mxb-footer-top { grid-template-columns: 1fr; gap: 24px; }
  .mxb-page .mxb-error-title { font-size: 44px; }
}

@media (max-width: 420px) {
  .mxb-page .mxb-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
  .mxb-page .mxb-logo { max-width: 105px; }
  .mxb-page .mxb-header-actions .mxb-btn { padding-inline: 10px; }
  .mxb-page .mxb-slot-grid { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .mxb-page *, .mxb-page *::before, .mxb-page *::after {
    scroll-behavior: auto !important; transition-duration: .01ms !important;
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
  }
}


/* ==========================================================================
   Mostbet México — build variant
   Additive layer on top of the brand theme above (blue / orange tokens).
   Hero panel centred · Hero CTA fading border · filled auth buttons ·
   hard-blur game tiles · 2×2 bonus cards · framed date label ·
   neutral FAQ with slide/fade · accent first table column · footer brand last
   ========================================================================== */

/* Hero — bonus name + offer (H2) + description, panel centred over the banner */
.mxb-page .mxb-hero--center > img { object-position: center center; }
.mxb-page .mxb-hero--center .mxb-hero-panel {
  background: rgba(6, 36, 72, .78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-color: rgba(255, 101, 0, .45);
}
.mxb-page .mxb-hero-title {
  margin: 0 0 12px; color: #fff;
  font-size: clamp(24px, 2.5vw, 32px); line-height: 1.15;
}
.mxb-page .mxb-hero-text { margin: 0; color: var(--mxb-text-muted); font-size: 15px; line-height: 1.5; }

/* Hero CTA — fading outline (opacity + slight scale) */
.mxb-page .mxb-cta-fade { position: relative; overflow: visible; }
.mxb-page .mxb-cta-fade::before {
  content: ""; position: absolute; inset: -5px; border-radius: inherit;
  border: 2px solid var(--mxb-warning); opacity: 0; pointer-events: none;
  animation: mxb-cta-fade 2.4s ease-in-out infinite;
}
@keyframes mxb-cta-fade {
  0%, 100% { opacity: 0; transform: scale(.98); }
  50% { opacity: .9; transform: scale(1.02); }
}

/* Header auth buttons — filled site colours + the same fading outline as the Hero CTA
   (outline tinted per button; register pulses half a cycle later so they alternate) */
.mxb-page .mxb-btn-auth--login.mxb-cta-fade::before { border-color: #9cc8ff; }
.mxb-page .mxb-btn-auth--register.mxb-cta-fade::before { animation-delay: 1.2s; }
.mxb-page .mxb-btn-auth { border: 0; color: #fff; }
.mxb-page .mxb-btn-auth--login { background: linear-gradient(135deg, var(--mxb-blue-action), #3a7fd6); }
.mxb-page .mxb-btn-auth--login:hover { background: linear-gradient(135deg, #5fa5f5, var(--mxb-blue-action)); color: #fff; }
.mxb-page .mxb-btn-auth--register { background: linear-gradient(135deg, var(--mxb-accent), #ff8a2b); box-shadow: var(--mxb-shadow-cta); }
.mxb-page .mxb-btn-auth--register:hover { background: linear-gradient(135deg, var(--mxb-accent-hover), var(--mxb-accent)); color: #fff; }

/* Popular games — hard blur + Play / Demo */
.mxb-page .mxb-slot-actions {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transition: opacity var(--mxb-transition);
}
.mxb-page .mxb-slot-grid--blur .mxb-slot:hover .mxb-slot-media img,
.mxb-page .mxb-slot-grid--blur .mxb-slot:focus-within .mxb-slot-media img { filter: blur(8px) brightness(.7); transform: scale(1.08); }
.mxb-page .mxb-slot:hover .mxb-slot-actions,
.mxb-page .mxb-slot:focus-within .mxb-slot-actions { opacity: 1; }
.mxb-page .mxb-slot-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 36px; padding: 6px 16px; border-radius: var(--mxb-radius-pill);
  font-size: 13px; font-weight: 700; text-transform: uppercase; color: #fff;
}
.mxb-page .mxb-slot-btn--play { background: var(--mxb-accent); box-shadow: var(--mxb-shadow-cta); }
.mxb-page .mxb-slot-btn--play:hover { background: var(--mxb-accent-hover); color: #fff; }
.mxb-page .mxb-slot-btn--play .mxb-slot-play-icon {
  width: 22px; height: 22px; background: rgba(255, 255, 255, .22); box-shadow: none; transform: none;
}
.mxb-page .mxb-slot-btn--play .mxb-slot-play-icon::after { border-width: 5px 0 5px 8px; }
.mxb-page .mxb-slot-btn--demo { background: rgba(6, 36, 72, .7); border: 1px solid rgba(255, 255, 255, .6); }
.mxb-page .mxb-slot-btn--demo:hover { background: var(--mxb-surface); color: #fff; }
.mxb-page .mxb-slot-btn:focus-visible { outline-offset: 2px; }
.mxb-page .mxb-slot-body .mxb-slot-provider { display: block; }
@media (hover: none) {
  .mxb-page .mxb-slot-actions {
    opacity: 1; inset: auto 0 0 0; flex-direction: row; gap: 6px; padding: 8px;
    background: linear-gradient(0deg, rgba(6, 36, 72, .9), rgba(6, 36, 72, 0));
  }
  .mxb-page .mxb-slot-btn { min-height: 32px; padding: 4px 10px; font-size: 11px; }
  .mxb-page .mxb-slot-grid--blur .mxb-slot:hover .mxb-slot-media img,
  .mxb-page .mxb-slot-grid--blur .mxb-slot:focus-within .mxb-slot-media img { filter: none; transform: none; }
}

/* Bonus cards — 2 × 2 grid, horizontal cards */
.mxb-page .mxb-bonus-grid--2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mxb-page .mxb-bonus-grid--2x2 .mxb-bonus-card {
  display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); align-items: center; gap: 18px;
  padding: 14px; border-top: 0; border-left: 4px solid var(--mxb-accent); border-radius: var(--mxb-radius-lg);
}
.mxb-page .mxb-bonus-grid--2x2 .mxb-card-media { aspect-ratio: 1 / 1; margin: 0; border-radius: var(--mxb-radius); }

/* Last updated — label framed, date plain */
.mxb-page .mxb-updated--labelframe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--mxb-text); font-weight: 700; }
.mxb-page .mxb-updated-label {
  display: inline-flex; padding: 4px 12px; border: 1px solid var(--mxb-accent); border-radius: var(--mxb-radius-sm);
  color: var(--mxb-accent); font-size: var(--mxb-font-small); text-transform: uppercase; letter-spacing: .04em;
}

/* FAQ — neutral border, hover tint, slide/fade answer */
.mxb-page .mxb-faq-item { border-color: var(--mxb-border-subtle); transition: border-color var(--mxb-transition); }
.mxb-page .mxb-faq-item.is-open { border-color: var(--mxb-border); }
.mxb-page .mxb-faq-toggle { transition: background var(--mxb-transition), color var(--mxb-transition); }
.mxb-page .mxb-faq-toggle:hover { background: rgba(255, 255, 255, .05); color: var(--mxb-warning); }
.mxb-page .mxb-faq-icon { transition: transform var(--mxb-transition); }
.mxb-page .mxb-faq-toggle[aria-expanded="true"] .mxb-faq-icon { transform: rotate(180deg); }
.mxb-page .mxb-faq-inner { opacity: 0; transform: translateY(-8px); transition: opacity 260ms ease, transform 260ms ease; }
.mxb-page .mxb-faq-item.is-open .mxb-faq-inner { opacity: 1; transform: none; }
.mxb-page .mxb-faq-inner > :last-child { margin-bottom: 0; }
.mxb-page .mxb-faq-item.is-open .mxb-faq-answer { padding-top: 0; padding-bottom: 0; }
.mxb-page .mxb-faq-inner { padding-block: 16px; }

/* Tables — accent first column */
.mxb-page .mxb-table td:first-child { font-weight: 700; color: #ffd9bf; box-shadow: inset 3px 0 0 var(--mxb-accent); }

/* Footer — brand column last, contact line */
.mxb-page .mxb-footer-top--brand-last { grid-template-columns: 1fr 1fr 1.2fr; }
.mxb-page .mxb-footer-contact { margin: 0; color: var(--mxb-text-muted); font-size: 14px; overflow-wrap: anywhere; }

@media (max-width: 991px) {
  .mxb-page .mxb-header-actions .mxb-btn-auth--login { display: none; }
  .mxb-page .mxb-footer-top--brand-last { grid-template-columns: 1fr 1fr; }
  .mxb-page .mxb-footer-top--brand-last .mxb-footer-brand { grid-row: 1; }
}
@media (max-width: 767px) {
  .mxb-page .mxb-bonus-grid--2x2 { grid-template-columns: 1fr; gap: 12px; }
  .mxb-page .mxb-bonus-grid--2x2 .mxb-bonus-card { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: 12px; padding: 10px; }
  .mxb-page .mxb-footer-top--brand-last { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .mxb-page .mxb-bonus-grid--2x2 .mxb-bonus-card { grid-template-columns: 1fr; }
  .mxb-page .mxb-bonus-grid--2x2 .mxb-card-media { aspect-ratio: 4 / 3; }
}
/* Hero — bonus name larger, offer smaller; every word capitalised (visual only) */
.mxb-page .mxb-hero--center .mxb-hero-panel { max-width: 460px; text-align: center; }
.mxb-page .mxb-hero-title .mxb-hero-name {
  display: block; margin-bottom: 8px; color: #fff;
  font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; text-transform: capitalize;
}
.mxb-page .mxb-hero-title .mxb-hero-amount {
  display: block; color: var(--mxb-warning);
  font-size: clamp(18px, 1.8vw, 22px); line-height: 1.3; text-transform: capitalize;
}

/* Hero on mobile — banner and offer stay one block: image fills, panel sits on it */
@media (max-width: 767px) {
  .mxb-page .mxb-hero {
    display: flex; align-items: flex-end; justify-content: center;
    min-height: 440px; padding: 14px;
  }
  .mxb-page .mxb-hero > img {
    position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto;
    object-fit: cover; object-position: 9% center;
  }
  .mxb-page .mxb-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(6, 36, 72, 0) 15%, rgba(6, 36, 72, .55) 55%, rgba(6, 36, 72, .85) 100%);
  }
  .mxb-page .mxb-hero .mxb-hero-panel, .mxb-page .mxb-hero--center .mxb-hero-panel {
    z-index: 1; max-width: none; padding: 16px;
    border: 1px solid rgba(255, 101, 0, .45); border-radius: var(--mxb-radius);
    background: rgba(6, 36, 72, .72);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    box-shadow: var(--mxb-shadow-card);
  }
  .mxb-page .mxb-hero-offer { margin-bottom: 14px; }
  .mxb-page .mxb-hero-title { margin-bottom: 8px; }
  .mxb-page .mxb-hero-title .mxb-hero-name { font-size: 26px; margin-bottom: 4px; }
  .mxb-page .mxb-hero-title .mxb-hero-amount { font-size: 18px; }
  .mxb-page .mxb-hero-text { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .mxb-page .mxb-cta-fade::before { animation: none; opacity: .6; }
  .mxb-page .mxb-faq-inner { transform: none; }
}
