/* ============================================================
   meilleurcasinoenligne.be — surcouche belge (noir · jaune · rouge)
   main.css reste le design system commun ; ce fichier redéfinit
   la palette et ajoute les composants éditoriaux du site.
   ============================================================ */
:root {
  --purple: #ef3340;          /* rouge belge : boutons, accents actifs */
  --purple-dark: #c81f2c;
  --purple-light: #ff7a83;
  --red: #ef3340;
  --red-hover: #ff4d59;
  --gold: #fdda24;            /* jaune belge */
  --gold-dark: #e0bd00;
  --green: #2fd36b;
  --bg: #0a0a0c;
  --bg-2: #121215;
  --bg-card: #18181d;
  --bg-hover: #202027;
  --border: #2a2a32;
  --border-light: #34343e;
  --text: #f2f2f4;
  --muted: #a6a6b0;
  --glow-purple: rgba(239, 51, 64, .18);
  --glow-gold: rgba(253, 218, 36, .14);
}

.mcb-skip { position: absolute; left: -999px; top: 0; z-index: 9999; background: var(--gold); color: #111; padding: 8px 14px; font-weight: 700; }
.mcb-skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* bande tricolore */
.mcb-flag { display: flex; height: 4px; }
.mcb-flag span { flex: 1; }
.mcb-flag span:nth-child(1) { background: #111; }
.mcb-flag span:nth-child(2) { background: var(--gold); }
.mcb-flag span:nth-child(3) { background: var(--red); }

.ok-header { background: rgba(10, 10, 12, .96); }
.ok-hero { background: linear-gradient(135deg, #0a0a0c 0%, #1b1408 55%, #0a0a0c 100%); }
.ok-hero::before { background: radial-gradient(ellipse 70% 60% at 20% 0%, rgba(253, 218, 36, .12), transparent), radial-gradient(ellipse 50% 50% at 90% 10%, rgba(239, 51, 64, .12), transparent); }
.ok-hero__title { background: linear-gradient(135deg, #fff 35%, var(--gold)); -webkit-background-clip: text; background-clip: text; }
.ok-lang-btn:hover, .ok-lang-btn.active { background: var(--gold); border-color: var(--gold); color: #111; }
.ok-filter.active { background: var(--gold); border-color: var(--gold); color: #111; }

/* logo */
.mcb-mark { display: inline-flex; width: 26px; height: 26px; border-radius: 6px; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.mcb-mark i { flex: 1; }
.mcb-mark i:nth-child(1) { background: #111; }
.mcb-mark i:nth-child(2) { background: var(--gold); }
.mcb-mark i:nth-child(3) { background: var(--red); }
.ok-logo-text { font-size: 17px; }
.ok-logo-text .accent { color: var(--gold); }

/* héros avec photo */
.mcb-hero { text-align: left; padding: 48px 24px 40px; }
.mcb-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.mcb-hero .ok-hero__sub { margin: 0 0 24px; max-width: 620px; }
.mcb-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.mcb-hero__cta .ok-btn-cta { display: inline-block; }
.mcb-hero__photo { margin: 0; position: relative; }
.mcb-hero__photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 18px; border: 1px solid var(--border-light); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8), 0 0 0 6px rgba(253, 218, 36, .06); }
.mcb-hero__photo figcaption { font-size: 11px; color: var(--muted); margin-top: 8px; text-align: right; }
.mcb-hero__photo figcaption a, .mcb-photo figcaption a { color: var(--muted); text-decoration: underline; }
.mcb-hero--page { padding-top: 32px; padding-bottom: 32px; }
.mcb-hero--page .ok-hero__title { font-size: clamp(26px, 4vw, 42px); }
.mcb-hero--slim { text-align: center; padding: 36px 24px 28px; }
.mcb-hero--slim .ok-hero__sub { margin: 0 auto 8px; }

/* cartes */
.ok-card__logo { background: #fff; border-radius: 10px; padding: 4px; }
.ok-card__logo img { max-width: 100%; max-height: 100%; filter: none; }
.ok-card__name { text-decoration: none; color: var(--text); }
.ok-card__name:hover { color: var(--gold); }
.ok-badge--licence { background: rgba(253, 218, 36, .12); color: var(--gold); border: 1px solid rgba(253, 218, 36, .25); }
.ok-badge--partner { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--border-light); }
.ok-badge--dice { background: rgba(239, 51, 64, .12); color: #ff8a92; border: 1px solid rgba(239, 51, 64, .25); }
.ok-badge--poker, .ok-badge--payconiq, .ok-badge--app { background: rgba(255, 255, 255, .05); color: var(--muted); border: 1px solid var(--border); }
.ok-badge--warning { background: rgba(239, 51, 64, .15); color: #ff8a92; border: 1px solid rgba(239, 51, 64, .35); }
.mcb-card--nobe { opacity: .78; }
.mcb-card--nobe .ok-card__rank { background: var(--bg-hover) !important; color: var(--muted) !important; }
.ok-card__logo-fallback { color: #111; font-size: 12px; }

/* contenu éditorial */
.mcb-wrap { align-items: start; }
.mcb-prose h2 { font-size: 21px; margin: 28px 0 12px; color: var(--text); }
.mcb-prose h2:first-child, .mcb-prose .mcb-sec:first-of-type h2 { margin-top: 4px; }
.mcb-prose h3 { font-family: var(--font-head); font-size: 17px; margin: 18px 0 8px; color: var(--text); }
.mcb-prose p, .mcb-prose li { color: #cfcfd6; font-size: 15.5px; line-height: 1.8; }
.mcb-prose ul, .mcb-prose ol { list-style: revert; padding-left: 22px; margin: 0 0 14px; }
.mcb-prose li { margin: 4px 0; }
.mcb-prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.mcb-prose a:hover { color: #fff; }
.mcb-prose strong { color: #fff; }
.mcb-lead { font-size: 17px !important; color: var(--text) !important; }
.mcb-sec + .mcb-sec { border-top: 1px solid var(--border); padding-top: 4px; margin-top: 8px; }
.ok-table-wrap { overflow-x: auto; margin: 12px 0 18px; -webkit-overflow-scrolling: touch; }
.ok-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ok-table th { background: var(--bg-hover); color: var(--text); text-align: left; padding: 10px 12px; font-family: var(--font-head); font-size: 13px; }
.ok-table td { border-top: 1px solid var(--border); padding: 10px 12px; color: #cfcfd6; }
.ok-table a { color: var(--gold); }
.mcb-paymatrix td, .mcb-paymatrix th { text-align: center; white-space: nowrap; }
.mcb-paymatrix td:first-child, .mcb-paymatrix th:first-child { text-align: left; }
.mcb-muted { color: var(--muted); font-size: 13px; }

.mcb-toc { background: var(--bg-2); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 18px; margin: 0 0 20px; }
.mcb-toc p { font-family: var(--font-head); font-weight: 700; color: var(--text) !important; margin-bottom: 6px !important; }
.mcb-toc ol { margin: 0; }
.mcb-toc li { font-size: 14px !important; line-height: 1.6 !important; }
.mcb-toc a { text-decoration: none !important; color: #d9d9e0 !important; }
.mcb-toc a:hover { color: var(--gold) !important; }

.mcb-photo { margin: 0 0 20px; }
.mcb-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; }
.mcb-photo figcaption { font-size: 11px; color: var(--muted); margin-top: 6px; }

.mcb-byline { font-size: 13px !important; color: var(--muted) !important; margin: 10px 0 0 !important; }
.mcb-byline a { color: var(--gold); }

/* revue */
.mcb-rev-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.ok-review-logo-big { background: #fff; padding: 6px; width: 88px; height: 88px; }
.mcb-rev-score { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ok-score-num { background: linear-gradient(135deg, var(--gold), var(--red)); -webkit-background-clip: text; background-clip: text; }
.mcb-rev-intro { color: #d4d4db; font-size: 16px; line-height: 1.7; max-width: 760px; }
.ok-review-inner { grid-template-columns: minmax(0, 1fr) 330px; }

/* encart CTA */
.mcb-cta { background: linear-gradient(135deg, #1d1a0c, #18181d); border: 2px solid var(--gold); border-radius: 18px; padding: 20px; display: grid; gap: 14px; position: relative; }
.mcb-cta::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, #111 33%, var(--gold) 33% 66%, var(--red) 66%); }
.mcb-cta__logo { width: 92px; height: 92px; background: #fff; border-radius: 14px; padding: 6px; display: flex; align-items: center; justify-content: center; }
.mcb-cta__logo img { width: 100%; height: 100%; object-fit: contain; }
.mcb-cta__name { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--text) !important; margin: 0 !important; }
.mcb-cta__name .ok-stars { color: var(--gold); font-size: 14px; margin-left: 6px; }
.mcb-cta__promo { color: var(--gold) !important; font-weight: 700; margin: 2px 0 !important; font-size: 15px !important; }
.mcb-cta__meta { color: var(--muted) !important; font-size: 12.5px !important; margin: 0 !important; line-height: 1.5 !important; }
.mcb-cta__legal { display: block; font-size: 11px; color: var(--muted); text-align: center; margin-top: 6px; }
.mcb-cta--inline { grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; margin: 22px 0; }
.mcb-cta--inline .ok-btn-cta { white-space: nowrap; }
.mcb-cta--alt { border-color: var(--red); background: linear-gradient(135deg, #1f0d10, #18181d); }
.mcb-cta--alt.mcb-cta--inline { grid-template-columns: 1fr; }
.mcb-cta__flag { color: #ff8a92 !important; font-weight: 700; margin: 0 !important; font-size: 14px !important; }
.mcb-cta__alts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.mcb-cta__alt { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.mcb-cta__alt-logo { width: 56px; height: 56px; background: #fff; border-radius: 10px; padding: 4px; display: flex; }
.mcb-cta__alt-logo img { width: 100%; height: 100%; object-fit: contain; }
.mcb-cta__alt strong { color: var(--text); }
.mcb-cta__alt span { color: var(--muted); font-size: 12px; }
.mcb-cta__alt .ok-btn-play { padding: 8px 14px; font-size: 13px; }

.mcb-steps { counter-reset: s; list-style: none !important; padding: 0 !important; display: grid; gap: 10px; }
.mcb-steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 54px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; color: #d4d4db; font-size: 15px; line-height: 1.6; }
.mcb-steps li::before { content: counter(s); position: absolute; left: 14px; top: 11px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #111; font-weight: 800; display: grid; place-items: center; font-family: var(--font-head); }
.mcb-verdict { border-color: rgba(253, 218, 36, .35); background: linear-gradient(135deg, #1b180b, var(--bg-card)); }
.mcb-verdict p { color: #e2e2e8 !important; font-size: 15.5px !important; }
.mcb-verdict a { color: var(--gold); }
.mcb-verdict__act { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.mcb-verdict__act .ok-btn-cta { display: inline-block; }
.ok-pay-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ok-pay-table th { text-align: left; padding: 9px 10px; background: var(--bg-hover); font-family: var(--font-head); font-size: 13px; }
.ok-pay-table td { padding: 9px 10px; border-top: 1px solid var(--border); color: #cfcfd6; }
.ok-pay-table a { color: var(--gold); }

.mcb-similar { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.mcb-similar__item { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; transition: border-color var(--t); }
.mcb-similar__item:hover { border-color: var(--gold); }
.mcb-similar__logo { grid-row: span 2; width: 52px; height: 52px; background: #fff; border-radius: 10px; padding: 4px; display: flex; }
.mcb-similar__logo img { width: 100%; height: 100%; object-fit: contain; }
.mcb-similar__name { color: var(--text); font-weight: 700; font-size: 14px; }
.mcb-similar__meta { color: var(--muted); font-size: 12px; }
.mcb-more { margin-top: 14px !important; }
.mcb-related { display: flex; gap: 12px; flex-wrap: wrap; }

/* auteur */
.mcb-author { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin: 0 0 20px; }
.mcb-author__img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--gold); object-fit: cover; flex-shrink: 0; }
.mcb-author__name { font-family: var(--font-head); font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.mcb-author__name a { color: var(--text); }
.mcb-author p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }

/* tuiles, bonus, paiements */
.mcb-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.mcb-tile { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); text-decoration: none; }
.mcb-tile figure { margin: 0; }
.mcb-tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; }
.mcb-tile:hover img { transform: scale(1.05); }
.mcb-tile figcaption { display: none; }
.mcb-tile > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 16px; }
.mcb-bonus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 20px; }
.mcb-bonus-card { display: flex; flex-direction: column; gap: 6px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; text-decoration: none; transition: border-color var(--t), transform var(--t); }
.mcb-bonus-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.mcb-bonus-card__logo { width: 56px; height: 56px; background: #fff; border-radius: 10px; padding: 4px; display: flex; }
.mcb-bonus-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.mcb-bonus-card__name { color: var(--text); font-family: var(--font-head); font-weight: 700; }
.mcb-bonus-card__promo { color: var(--gold); font-size: 13px; line-height: 1.5; }
.mcb-bonus-card__go { color: var(--muted); font-size: 12px; margin-top: auto; }
.mcb-bonus-card--nobe { opacity: .7; }
.mcb-method-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-bottom: 20px; }
.mcb-method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; transition: border-color var(--t); }
.mcb-method:hover { border-color: var(--gold); }
.mcb-method__icon { font-size: 24px; }
.mcb-method strong { display: block; color: var(--text); }
.mcb-method small { color: var(--muted); font-size: 12px; }
.mcb-method-grid--small { margin: 0; }
.mcb-listing-title { max-width: var(--max-w); margin: 26px auto 0; padding: 0 24px; font-family: var(--font-head); font-size: 20px; }
.mcb-latest { margin-bottom: 20px; }
.mcb-latest .ok-section__title { margin-bottom: 14px; }
.mcb-side-links ul { padding: 10px 16px 14px; display: grid; gap: 8px; }
.mcb-side-links a { color: var(--text); font-size: 14px; }
.mcb-side-links a:hover { color: var(--gold); }
.mcb-widget-cta { padding: 14px 16px; border-top: 1px solid var(--border); }
.mcb-widget-cta p { font-size: 11px; color: var(--muted); text-align: center; margin-top: 6px; }
.mcb-float-act { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mcb-pagination { margin-top: 28px; text-align: center; }
.mcb-pagination .page-numbers { display: inline-block; padding: 6px 12px; margin: 2px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); }
.mcb-pagination .current { background: var(--gold); color: #111; border-color: var(--gold); }
.mcb-article .ok-article__body h2 { font-family: var(--font-head); font-size: 22px; margin: 28px 0 12px; color: var(--text); }
.ok-blog-card__img { width: 100%; height: 190px; object-fit: cover; display: block; }

/* pied de page */
.ok-footer__inner { grid-template-columns: 1.5fr repeat(4, 1fr); }
.mcb-footer-desc { margin-top: 12px; font-size: 13px; color: var(--muted); max-width: 300px; line-height: 1.6; }
.mcb-mail { display: inline-flex; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--gold); }
.mcb-social { display: flex; gap: 10px; margin-top: 14px; }
.mcb-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-hover); border: 1px solid var(--border); color: var(--muted); transition: all var(--t); }
.mcb-social a:hover { color: #111; background: var(--gold); border-color: var(--gold); }
.mcb-21 { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #111; background: var(--gold); border-radius: 10px; padding: 6px 10px; }
.mcb-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.mcb-mobile-langs { display: flex; gap: 8px; padding: 20px 0; border-top: 1px solid var(--border); margin-top: 16px; }
.mcb-mobile-langs a { padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border); color: var(--text); font-weight: 700; }
.mcb-mobile-langs a.active { background: var(--gold); border-color: var(--gold); color: #111; }

/* bouton de retour en haut */
.ok-back-top { background: var(--gold); color: #111; font-weight: 800; box-shadow: 0 8px 24px rgba(253, 218, 36, .3); }
.ok-back-top:hover { background: #fff; }

@media (max-width: 1100px) { .ok-footer__inner { grid-template-columns: 1fr 1fr 1fr; } .ok-footer__brand { grid-column: 1/-1; } }
@media (max-width: 900px) {
  .ok-review-inner { grid-template-columns: minmax(0, 1fr); }
  .mcb-hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .mcb-hero { padding: 32px 16px; }
  .mcb-tiles { grid-template-columns: 1fr 1fr; }
  .mcb-cta--inline { grid-template-columns: 72px minmax(0, 1fr); }
  .mcb-cta--inline .mcb-cta__act { grid-column: 1/-1; }
  .mcb-cta--inline .mcb-cta__logo { width: 72px; height: 72px; }
}
@media (max-width: 640px) {
  .ok-footer__inner { grid-template-columns: 1fr 1fr; }
  .mcb-tiles { grid-template-columns: 1fr; }
  .ok-topbar__slogan { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; }
  .ok-review-logo-big { width: 64px; height: 64px; }
  .mcb-listing-title { padding: 0 16px; }
  .ok-main-wrap, .ok-blog-wrap { padding-left: 14px; padding-right: 14px; }
  .ok-content-card { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Les colonnes de grille ne doivent jamais s'élargir au-delà de l'écran (longs mots, tableaux, encarts). */
.ok-blog-wrap > *, .ok-main-wrap > *, .ok-review-inner > * { min-width: 0; }
.mcb-prose, .ok-content-card { overflow-wrap: anywhere; }
.mcb-prose table { display: block; overflow-x: auto; max-width: 100%; }
html, body { overflow-x: clip; }

/* Menu mobile au-dessus de l'en-tête collant ; sous-menus en retrait. */
.ok-mobile-menu { z-index: 700; }
.ok-mobile-close { z-index: 701; }
.ok-mobile-menu__list .sub-menu { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ok-mobile-menu__list .sub-menu a { padding: 10px 16px 10px 34px; font-size: 14px; color: var(--text-2, #b9b9c3); border-bottom: 0; }
