@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&family=Tajawal:wght@400;500;700;800&display=swap');

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background-color: var(--mbx-bg);
  color: var(--mbx-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  direction: rtl;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* Brand Colors */
  --mbx-bg:          #0C111A;
  --mbx-surface:     #111923;
  --mbx-surface-2:   #1A2233;
  --mbx-surface-3:   #202C40;
  --mbx-yellow:      #F6CE60;
  --mbx-yellow-dark: #d4a835;
  --mbx-blue:        #0055CC;
  --mbx-blue-light:  #1a6edb;
  --mbx-blue-dim:    #003d99;
  --mbx-text:        #E8EDF5;
  --mbx-muted:       #8A9BB5;
  --mbx-border:      #243048;
  --mbx-border-2:    #2e3e58;

  /* Typography */
  --mbx-font-head: 'Cairo', sans-serif;
  --mbx-font-body: 'Tajawal', sans-serif;

  /* Spacing & Shape */
  --mbx-radius:    8px;
  --mbx-radius-lg: 14px;
  --mbx-radius-xl: 20px;
  --mbx-radius-pill: 999px;

  /* Shadows */
  --mbx-shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --mbx-shadow-md: 0 6px 24px rgba(0,0,0,0.5);
  --mbx-shadow-lg: 0 12px 48px rgba(0,0,0,0.65);
  --mbx-glow-blue: 0 0 20px rgba(0,85,204,0.4);
  --mbx-glow-yellow: 0 0 20px rgba(246,206,96,0.3);

  /* Header */
  --mbx-header-h: 64px;

  /* Transitions */
  --mbx-t: 0.22s ease;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.mbx-container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ============================================================
   HEADER
   ============================================================ */
.mbx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--mbx-header-h);
  background: rgba(12, 17, 26, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mbx-border);
  box-shadow: var(--mbx-shadow-sm);
}

.mbx-header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.mbx-logo {
  font-family: var(--mbx-font-head);
  font-size: 1.5rem;
  width: 200px;
  font-weight: 900;
  color: var(--mbx-yellow);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.mbx-logo span { color: var(--mbx-blue-light); }

.mbx-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.mbx-nav__link {
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mbx-muted);
  border-radius: var(--mbx-radius);
  transition: background var(--mbx-t), color var(--mbx-t);
  white-space: nowrap;
}

.mbx-nav__link:hover {
  background: var(--mbx-surface-2);
  color: var(--mbx-text);
}

.mbx-nav__link--active {
  color: var(--mbx-yellow);
  font-weight: 700;
}

.mbx-nav__group {
  position: relative;
}

.mbx-nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--mbx-surface-2);
  border: 1px solid var(--mbx-border);
  border-radius: var(--mbx-radius);
  box-shadow: var(--mbx-shadow-md);
  padding: 6px;
  z-index: 200;
}

.mbx-nav__group:hover .mbx-nav__dropdown { display: block; }

.mbx-nav__dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: var(--mbx-muted);
  border-radius: var(--mbx-radius);
  transition: background var(--mbx-t), color var(--mbx-t);
}

.mbx-nav__dropdown a:hover {
  background: var(--mbx-surface-3);
  color: var(--mbx-text);
}

.mbx-header__auth {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ============================================================
   MENU TOGGLE (Mobile)
   ============================================================ */
.mbx-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--mbx-radius);
  background: var(--mbx-surface-2);
  flex-shrink: 0;
  margin-inline-start: auto;
}

.mbx-menu-toggle::before,
.mbx-menu-toggle::after,
.mbx-menu-toggle span {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--mbx-text);
  border-radius: 2px;
  transition: transform var(--mbx-t), opacity var(--mbx-t);
}

.mbx-header.mbx-nav-open .mbx-menu-toggle::before {
  transform: translateY(7px) rotate(45deg);
}
.mbx-header.mbx-nav-open .mbx-menu-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}
.mbx-header.mbx-nav-open .mbx-menu-toggle span {
  opacity: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.mbx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--mbx-radius);
  font-family: var(--mbx-font-head);
  font-weight: 700;
  font-size: 0.875rem;
  transition: transform var(--mbx-t), box-shadow var(--mbx-t), background var(--mbx-t);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  text-decoration: none;
}

.mbx-btn:hover { transform: translateY(-1px); }
.mbx-btn:active { transform: translateY(0); }

.mbx-btn--primary {
  background: var(--mbx-blue);
  color: #fff;
  box-shadow: var(--mbx-glow-blue);
}

.mbx-btn--primary:hover {
  background: var(--mbx-blue-light);
  box-shadow: 0 0 28px rgba(0,85,204,0.6);
}

.mbx-btn--yellow {
  background: var(--mbx-yellow);
  color: #0C111A;
  box-shadow: var(--mbx-glow-yellow);
}

.mbx-btn--yellow:hover {
  background: #f9d875;
  box-shadow: 0 0 28px rgba(246,206,96,0.5);
}

.mbx-btn--outline {
  background: transparent;
  color: var(--mbx-text);
  border: 1.5px solid var(--mbx-border-2);
}

.mbx-btn--outline:hover {
  border-color: var(--mbx-yellow);
  color: var(--mbx-yellow);
  background: rgba(246,206,96,0.06);
}

.mbx-btn--cta {
  padding: 14px 36px;
  font-size: 1.0625rem;
  border-radius: var(--mbx-radius-lg);
  font-weight: 800;
}

.mbx-btn--small {
  padding: 6px 14px;
  font-size: 0.75rem;
}

/* ============================================================
   HERO
   ============================================================ */
.mbx-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 20px;
}

.mbx-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,85,204,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(246,206,96,0.07) 0%, transparent 60%),
    linear-gradient(180deg, #0a0f1a 0%, var(--mbx-bg) 100%);
  z-index: 0;
}

.mbx-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230055CC' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.mbx-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.mbx-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mbx-blue-light);
  margin-bottom: 16px;
  padding: 4px 14px;
  background: rgba(0,85,204,0.12);
  border: 1px solid rgba(0,85,204,0.3);
  border-radius: var(--mbx-radius-pill);
}

.mbx-hero__title {
  font-family: var(--mbx-font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--mbx-yellow);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(246,206,96,0.2);
}

.mbx-hero__subtitle {
  font-size: 1.0625rem;
  color: var(--mbx-muted);
  margin-bottom: 32px;
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
}

.mbx-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Trust Badges */
.mbx-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.mbx-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: var(--mbx-surface-2);
  border: 1px solid var(--mbx-border);
  border-radius: var(--mbx-radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mbx-muted);
  transition: border-color var(--mbx-t), color var(--mbx-t);
}

.mbx-trust-badge:hover {
  border-color: var(--mbx-yellow);
  color: var(--mbx-yellow);
}

.mbx-trust-badge__icon {
  font-size: 1rem;
  line-height: 1;
}

.mbx-trust-badge--verified {
  border-color: rgba(246,206,96,0.25);
  color: var(--mbx-yellow);
}

/* Bonus Box */
.mbx-hero__bonus {
  background: var(--mbx-surface);
  border: 1px solid var(--mbx-border);
  border-top: 3px solid var(--mbx-yellow);
  border-radius: var(--mbx-radius-lg);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: var(--mbx-shadow-md);
  margin-top: 32px;
}

.mbx-hero__bonus-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mbx-muted);
}

.mbx-hero__bonus-value {
  font-family: var(--mbx-font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--mbx-yellow);
  line-height: 1.1;
}

.mbx-hero__bonus-desc {
  font-size: 0.85rem;
  color: var(--mbx-muted);
}

/* ============================================================
   CATEGORIES BAR
   ============================================================ */
.mbx-cats-bar {
  background: var(--mbx-surface);
  border-bottom: 1px solid var(--mbx-border);
  padding: 12px 0;
  overflow-x: auto;
}

.mbx-cats-bar__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 20px;
  max-width: 1200px;
  margin-inline: auto;
}

.mbx-cat-tile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--mbx-radius-pill);
  background: var(--mbx-surface-2);
  border: 1px solid var(--mbx-border);
  color: var(--mbx-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--mbx-t), color var(--mbx-t), border-color var(--mbx-t);
}

.mbx-cat-tile:hover,
.mbx-cat-tile--active {
  background: var(--mbx-blue);
  color: #fff;
  border-color: var(--mbx-blue);
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.mbx-main {
  padding: 48px 20px 72px;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.mbx-section {
  margin-bottom: 56px;
}

.mbx-section h2 {
  font-family: var(--mbx-font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--mbx-yellow);
  border-bottom: 2px solid var(--mbx-border);
  padding-bottom: 14px;
  margin-bottom: 20px;
  position: relative;
}

.mbx-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 48px;
  height: 2px;
  background: var(--mbx-yellow);
  border-radius: 2px;
}

.mbx-section h3 {
  font-family: var(--mbx-font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mbx-text);
  margin-bottom: 12px;
  margin-top: 24px;
}

.mbx-section p {
  color: var(--mbx-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.mbx-section .mbx-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mbx-text);
}

.mbx-section ol,
.mbx-section ul {
  padding-inline-start: 20px;
  color: var(--mbx-muted);
  line-height: 1.8;
}

.mbx-section ol { list-style: decimal; }
.mbx-section ul { list-style: disc; }

.mbx-section ol li::marker,
.mbx-section ul li::marker { color: var(--mbx-yellow); }

.mbx-section a {
  color: var(--mbx-blue-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--mbx-t);
}

.mbx-section a:hover { color: var(--mbx-yellow); }

/* ============================================================
   BONUS CARDS
   ============================================================ */
.mbx-bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.mbx-bonus-card {
  background: var(--mbx-surface);
  border: 1px solid var(--mbx-border);
  border-radius: var(--mbx-radius-lg);
  padding: 24px;
  transition: transform var(--mbx-t), box-shadow var(--mbx-t), border-color var(--mbx-t);
}

.mbx-bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mbx-shadow-md);
  border-color: var(--mbx-border-2);
}

.mbx-bonus-card h4 {
  font-family: var(--mbx-font-head);
  font-weight: 700;
  color: var(--mbx-yellow);
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.mbx-bonus-card p {
  font-size: 0.875rem;
  color: var(--mbx-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   TABLE
   ============================================================ */
.mbx-table-wrap {
  overflow-x: auto;
  border-radius: var(--mbx-radius-lg);
  border: 1px solid var(--mbx-border);
}

.mbx-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--mbx-surface);
  font-size: 0.9rem;
}

.mbx-table th {
  background: var(--mbx-surface-2);
  color: var(--mbx-yellow);
  font-weight: 700;
  padding: 14px 18px;
  text-align: right;
  border-bottom: 2px solid var(--mbx-border);
  font-size: 0.8125rem;
  letter-spacing: 0.5px;
}

.mbx-table td {
  padding: 12px 18px;
  color: var(--mbx-muted);
  border-bottom: 1px solid var(--mbx-border);
  text-align: right;
}

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

.mbx-table tr:hover td {
  background: var(--mbx-surface-2);
  color: var(--mbx-text);
}

/* ============================================================
   FAQ ACCORDION (CSS-only fallback + JS enhancement)
   ============================================================ */
.mbx-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mbx-faq__item {
  background: var(--mbx-surface);
  border: 1px solid var(--mbx-border);
  border-radius: var(--mbx-radius-lg);
  overflow: hidden;
  transition: border-color var(--mbx-t), box-shadow var(--mbx-t);
}

.mbx-faq__item.is-open {
  border-color: var(--mbx-yellow);
  box-shadow: 0 0 0 1px rgba(246,206,96,0.15), var(--mbx-shadow-sm);
}

.mbx-faq__question {
  width: 100%;
  text-align: right;
  padding: 18px 20px;
  font-family: var(--mbx-font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--mbx-text);
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: color var(--mbx-t);
}

.mbx-faq__question:hover { color: var(--mbx-yellow); }

.mbx-faq__item.is-open .mbx-faq__question { color: var(--mbx-yellow); }

.mbx-faq__icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--mbx-surface-2);
  border: 1px solid var(--mbx-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--mbx-muted);
  transition: background var(--mbx-t), color var(--mbx-t), transform var(--mbx-t);
}

.mbx-faq__item.is-open .mbx-faq__icon {
  background: var(--mbx-yellow);
  color: var(--mbx-bg);
  border-color: var(--mbx-yellow);
  transform: rotate(45deg);
}

.mbx-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mbx-faq__item.is-open .mbx-faq__answer { max-height: 500px; }

.mbx-faq__answer-inner {
  padding: 0 20px 18px;
  color: var(--mbx-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  border-top: 1px solid var(--mbx-border);
  padding-top: 16px;
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.mbx-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mbx-card {
  background: var(--mbx-surface);
  border: 1px solid var(--mbx-border);
  border-radius: var(--mbx-radius-lg);
  padding: 28px 24px;
  transition: transform var(--mbx-t), box-shadow var(--mbx-t), border-color var(--mbx-t);
  text-align: center;
}

.mbx-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mbx-shadow-md);
  border-color: var(--mbx-border-2);
}

.mbx-card__icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

.mbx-card h3 {
  font-family: var(--mbx-font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--mbx-text);
  margin-bottom: 8px;
}

.mbx-card p {
  font-size: 0.875rem;
  color: var(--mbx-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   TWO COLUMNS
   ============================================================ */
.mbx-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mbx-two-cols--center { align-items: center; }

.mbx-two-cols__text h2,
.mbx-two-cols__text h3 { margin-top: 0; }

.mbx-two-cols__media {
  border-radius: var(--mbx-radius-lg);
  overflow: hidden;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.mbx-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--mbx-border);
  border: 1px solid var(--mbx-border);
  border-radius: var(--mbx-radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}

.mbx-stat-item {
  background: var(--mbx-surface);
  padding: 24px 16px;
  text-align: center;
}

.mbx-stat-item__value {
  font-family: var(--mbx-font-head);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--mbx-yellow);
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

.mbx-stat-item__label {
  font-size: 0.75rem;
  color: var(--mbx-muted);
  font-weight: 600;
}

/* ============================================================
   CTA BLOCK
   ============================================================ */
.mbx-cta-block {
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,85,204,0.18) 0%, transparent 70%),
    var(--mbx-surface);
  border: 1px solid var(--mbx-border);
  border-top: 3px solid var(--mbx-blue);
  border-radius: var(--mbx-radius-xl);
  padding: 48px 32px;
  text-align: center;
  margin-block: 48px;
  box-shadow: var(--mbx-shadow-md);
}

.mbx-cta-block h2 {
  border: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 12px !important;
}

.mbx-cta-block h2::after { display: none; }

.mbx-cta-block p {
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 28px;
}

.mbx-cta-block .mbx-hero__actions { margin-bottom: 0; }

/* ============================================================
   NUMBERED & STYLED LISTS
   ============================================================ */
.mbx-numbered-list {
  counter-reset: mbx-counter;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mbx-numbered-list li {
  counter-increment: mbx-counter;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--mbx-muted);
  line-height: 1.7;
}

.mbx-numbered-list li::before {
  content: counter(mbx-counter);
  min-width: 28px;
  height: 28px;
  background: var(--mbx-blue);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.mbx-styled-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mbx-styled-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--mbx-muted);
  line-height: 1.7;
}

.mbx-styled-list li::before {
  content: '✓';
  color: var(--mbx-yellow);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   PLACEHOLDER IMAGE
   ============================================================ */
.mbx-placeholder-img {
  aspect-ratio: 16/9;
  background: var(--mbx-surface-2);
  border: 1px dashed var(--mbx-border);
  border-radius: var(--mbx-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--mbx-border-2);
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.mbx-page-header {
  background: var(--mbx-surface);
  border-bottom: 1px solid var(--mbx-border);
  padding: 32px 20px;
  text-align: center;
}

.mbx-page-header h1 {
  font-family: var(--mbx-font-head);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--mbx-yellow);
  margin-bottom: 8px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.mbx-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--mbx-muted);
  flex-wrap: wrap;
}

.mbx-breadcrumb a {
  color: var(--mbx-blue-light);
  transition: color var(--mbx-t);
}

.mbx-breadcrumb a:hover { color: var(--mbx-yellow); }

.mbx-breadcrumb__sep { opacity: 0.4; }

/* ============================================================
   BADGE
   ============================================================ */
.mbx-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--mbx-radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.mbx-badge--yellow {
  background: rgba(246,206,96,0.15);
  color: var(--mbx-yellow);
  border: 1px solid rgba(246,206,96,0.3);
}

.mbx-badge--blue {
  background: rgba(0,85,204,0.15);
  color: var(--mbx-blue-light);
  border: 1px solid rgba(0,85,204,0.3);
}

/* ============================================================
   MODAL
   ============================================================ */
.mbx-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--mbx-t), visibility var(--mbx-t);
}

.mbx-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.mbx-modal__content {
  background: var(--mbx-surface);
  border: 1px solid var(--mbx-border);
  border-radius: var(--mbx-radius-xl);
  padding: 36px 32px;
  box-shadow: var(--mbx-shadow-lg);
  max-width: 480px;
  width: 100%;
  position: relative;
}

.mbx-modal__close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mbx-surface-2);
  color: var(--mbx-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--mbx-t), color var(--mbx-t);
}

.mbx-modal__close:hover {
  background: var(--mbx-surface-3);
  color: var(--mbx-yellow);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.mbx-back-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mbx-blue);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--mbx-shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--mbx-t), transform var(--mbx-t);
  z-index: 90;
}

.mbx-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mbx-back-top:hover { transform: translateY(-3px); }

/* ============================================================
   FOOTER
   ============================================================ */
.mbx-footer {
  background: var(--mbx-surface);
  border-top: 1px solid var(--mbx-border);
  padding: 48px 0 0;
}

.mbx-footer__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.mbx-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--mbx-border);
}

.mbx-footer__brand .mbx-logo {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 12px;
}

.mbx-footer__brand p {
  font-size: 0.825rem;
  color: var(--mbx-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.mbx-footer__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mbx-footer__links-col h4 {
  font-family: var(--mbx-font-head);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--mbx-text);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mbx-footer__links-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mbx-footer__links-col a {
  font-size: 0.85rem;
  color: var(--mbx-muted);
  transition: color var(--mbx-t);
}

.mbx-footer__links-col a:hover { color: var(--mbx-yellow); }

.mbx-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.mbx-footer__bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.mbx-footer__bottom-links a {
  font-size: 0.78rem;
  color: var(--mbx-muted);
  transition: color var(--mbx-t);
}

.mbx-footer__bottom-links a:hover { color: var(--mbx-yellow); }

.mbx-footer__copy {
  font-size: 0.78rem;
  color: var(--mbx-muted);
}

.mbx-footer__disclaimer {
  padding: 16px 0;
  border-top: 1px solid var(--mbx-border);
  font-size: 0.75rem;
  color: var(--mbx-muted);
  opacity: 0.65;
  line-height: 1.7;
  text-align: center;
}

.mbx-footer__lang {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mbx-footer__lang-link {
  font-size: 0.75rem;
  color: var(--mbx-muted);
  padding: 3px 8px;
  border-radius: var(--mbx-radius);
  transition: background var(--mbx-t), color var(--mbx-t);
}

.mbx-footer__lang-link.active,
.mbx-footer__lang-link:hover {
  background: var(--mbx-surface-2);
  color: var(--mbx-yellow);
}

/* ============================================================
   RESPONSIVE — 1080px
   ============================================================ */
@media (max-width: 1080px) {
  .mbx-menu-toggle {
    display: flex;
  }

  .mbx-nav,
  .mbx-header__auth {
    display: none;
  }

  .mbx-header.mbx-nav-open .mbx-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--mbx-header-h);
    right: 0;
    left: 0;
    background: var(--mbx-surface);
    border-bottom: 1px solid var(--mbx-border);
    padding: 12px 20px 20px;
    gap: 2px;
    z-index: 99;
    box-shadow: var(--mbx-shadow-md);
  }

  .mbx-header.mbx-nav-open .mbx-header__auth {
    display: flex;
    position: absolute;
    top: calc(var(--mbx-header-h) + 56px);
    right: 20px;
    left: 20px;
    z-index: 99;
    padding-bottom: 12px;
  }

  .mbx-nav__link { width: 100%; }

  .mbx-nav__dropdown {
    position: static;
    display: none;
    box-shadow: none;
    background: var(--mbx-surface-2);
    padding: 4px 0;
    border-radius: var(--mbx-radius);
  }

  .mbx-nav__group.is-open .mbx-nav__dropdown { display: block; }

  .mbx-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .mbx-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mbx-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .mbx-cards-grid,
  .mbx-two-cols {
    grid-template-columns: 1fr;
  }

  .mbx-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .mbx-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .mbx-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

/* ============================================================
   RESPONSIVE — 600px
   ============================================================ */
@media (max-width: 600px) {
  .mbx-hero {
    min-height: 280px;
    padding: 40px 16px;
  }

  .mbx-hero__title {
    font-size: 1.8rem;
  }

  .mbx-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mbx-hero__actions .mbx-btn {
    width: 100%;
    justify-content: center;
  }

  .mbx-btn--cta {
    padding: 12px 24px;
    font-size: 0.9375rem;
  }

  .mbx-section h2 {
    font-size: 1.3rem;
  }

  .mbx-stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .mbx-footer__top {
    grid-template-columns: 1fr;
  }

  .mbx-cta-block {
    padding: 32px 20px;
  }

  .mbx-modal__content {
    padding: 28px 20px;
  }

  .mbx-bonus-cards {
    grid-template-columns: 1fr;
  }
}
