/* ==========================================================
   Main stylesheet — maxoffresclub.info
   Last updated: June 2026
   Author: dev team / front
   NOTE: some overrides here because bootstrap doesnt cover everything
   ========================================================== */

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  /* bg image with overlay handled via pseudo — see .body-bg */
  background-color: #0d0d0d;
  color: #f0f0f0;
  margin: 0;
  padding: 0;
}

/* body background image with dark overlay */
.body-bg {
  position: relative;
  min-height: 100vh;
}

.body-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('images/img1.jpg') center center / cover no-repeat;
  /* darken the bg photo so text is readable */
  filter: brightness(0.22);
  z-index: -1;
}

/* ---------- navbar ---------- */
#main-nav {
  background: rgba(10, 10, 10, 0.96) !important;
  border-bottom: 2px solid #b8860b;
}

.nav-logo-img {
  height: 42px;
  width: auto;
}

/* nav links colour override */
#main-nav .nav-link {
  color: #e0c97f !important;
  font-weight: 500;
  letter-spacing: .04em;
  transition: color .2s;
}

#main-nav .nav-link:hover,
#main-nav .nav-link.active {
  color: #fff !important;
}

/* ---------- age warning bar ---------- */
/* red bar matching the reference screenshot exactly */
#age-warning-bar {
  background: #c0392b;
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
  padding: 7px 16px;
  text-align: center;
  z-index: 900;
  letter-spacing: .01em;
}

/* ---------- hero section — centered logo + big title + pills ---------- */
/* this whole block matches the reference layout closely */
.hero-wrap {
  padding: 52px 0 44px;
  text-align: center;
}

.hero-logo-block {
  display: inline-block;
}

.hero-logo-img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.6));
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0,0,0,.8);
  line-height: 1.2;
  margin: 0 auto 10px;
  max-width: 780px;
}

.hero-tagline {
  font-size: .95rem;
  color: #b0a888;
  margin: 0 auto 4px;
  font-style: italic;
}

/* pill-shaped feature buttons row — 3 pills like in reference */
.hero-pills-row {
  margin-top: 28px;
}

.hero-pill {
  display: inline-block;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: #f0e8d0;
  border-radius: 30px;
  padding: 9px 26px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  letter-spacing: .02em;
}

.hero-pill:hover {
  background: rgba(184,134,11,.3);
  border-color: #b8860b;
  color: #fff;
}

/* ---------- comparison table ---------- */
/* the main ranked list — core content of the page */
#table-section {
  padding-bottom: 20px;
}

/* header row — desktop only, hidden on mobile */
.cmp-table-head {
  display: flex;
  align-items: center;
  background: rgba(10,8,2,.7);
  border: 1px solid #2e2606;
  border-radius: 8px 8px 0 0;
  padding: 10px 16px;
  font-size: .75rem;
  font-weight: 700;
  color: #a09070;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 0;
}

/* each data row */
.cmp-row {
  display: flex;
  align-items: center;
  background: rgba(16,13,4,.88);
  border: 1px solid #2e2606;
  border-top: none;
  padding: 18px 16px;
  gap: 12px;
  transition: background .18s;
  flex-wrap: wrap;
}

.cmp-row:last-child {
  border-radius: 0 0 8px 8px;
}

.cmp-row:hover {
  background: rgba(26,20,5,.95);
}

/* column widths — roughly matching the reference proportions */
.cmp-col-rank  { flex: 0 0 160px; display: flex; align-items: center; gap: 14px; }
.cmp-col-offer { flex: 1 1 220px; }
.cmp-col-review{ flex: 0 0 140px; text-align: center; }
.cmp-col-score { flex: 0 0 80px;  text-align: center; }
.cmp-col-cta   { flex: 0 0 130px; text-align: right; }

/* rank number */
.cmp-rank-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: #a09070;
  min-width: 22px;
  text-align: center;
}

/* logo wrapper inside row */
.cmp-logo-wrap {
  width: 100px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 4px 8px;
  flex-shrink: 0;
}

.cmp-logo-wrap img {
  max-width: 88px;
  max-height: 40px;
  object-fit: contain;
  display: block;
}

/* betclic logo needs extra bg because svg is red on transparent */
.cmp-logo-betclic {
  background: #fff;
}

/* offer column text */
.cmp-offer-tag {
  font-size: .72rem;
  color: #a09070;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 3px;
  font-weight: 600;
}

.cmp-offer-value {
  font-size: 1rem;
  font-weight: 700;
  color: #f5d36e;
  margin: 0 0 4px;
}

.cmp-small-print {
  font-size: .7rem;
  color: #6a6050;
  margin: 0;
  line-height: 1.4;
}

/* review count and stars */
.cmp-rev-count {
  font-size: .75rem;
  color: #a09070;
  margin: 0 0 3px;
}

.cmp-stars {
  color: #f5c518;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

/* numeric score — the big number */
.cmp-score {
  font-size: 2rem;
  font-weight: 800;
  color: #f5d36e;
  line-height: 1;
}

/* join button */
.cmp-btn-join {
  display: inline-block;
  background: #27ae60;
  color: #fff !important;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 6px;
  padding: 10px 22px;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}

.cmp-btn-join:hover {
  background: #219a52;
  color: #fff !important;
}

/* ---------- info / editorial text sections ---------- */
/* the Qui Sommes-Nous / approche / contact blocks */
#about-section {
  padding: 10px 0 0;
}

.info-block {
  background: rgba(14,11,3,.82);
  border: 1px solid #2a2200;
  border-radius: 10px;
  padding: 30px 32px;
  margin-bottom: 18px;
}

.info-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f5d36e;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2e2606;
}

.info-text {
  font-size: .9rem;
  color: #b0a888;
  line-height: 1.75;
  margin-bottom: 10px;
}

.info-text:last-child { margin-bottom: 0; }

.info-text a {
  color: #f5d36e;
  text-decoration: none;
}

.info-text a:hover { text-decoration: underline; }

.info-subheading {
  font-size: .82rem;
  font-weight: 700;
  color: #c8a84b;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 18px 0 4px;
}

.info-list {
  padding-left: 20px;
  margin: 8px 0 12px;
}

.info-list li {
  font-size: .9rem;
  color: #b0a888;
  line-height: 1.7;
  margin-bottom: 4px;
}

/* ---------- footer — centered single-column style ---------- */
#main-footer {
  background: rgba(5, 4, 1, 0.98);
  border-top: 1px solid #2a2000;
  padding: 50px 0 28px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}

/* footer text blocks — centered, max width for readability */
.ftr-resp-text {
  max-width: 720px;
  text-align: left;
}

.ftr-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e5e5e5;
  margin-bottom: 10px;
}

.ftr-text {
  font-size: .8rem;
  color: #888;
  line-height: 1.7;
  margin-bottom: 8px;
}

.ftr-text a {
  color: #b0a060;
  text-decoration: underline;
}

.ftr-list {
  padding-left: 18px;
  margin: 6px 0 8px;
  max-width: 600px;
}

.ftr-list li {
  font-size: .8rem;
  color: #888;
  line-height: 1.65;
  margin-bottom: 3px;
}

.ftr-list a {
  color: #b0a060;
}

/* logos strip — 18+ badge + org logos in a row */
.ftr-logos-strip {
  border-top: 1px solid #1e1a06;
  border-bottom: 1px solid #1e1a06;
  padding: 18px 0;
  margin: 0 auto 18px;
}

.ftr-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid #2e2606;
  border-radius: 6px;
  padding: 6px 10px;
  transition: border-color .2s;
  min-height: 40px;
}

.ftr-logo-item:hover {
  border-color: #b8860b;
}

.ftr-logo-item img {
  height: 26px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  filter: grayscale(20%) brightness(1.1);
}

/* the 18+ badge — text-only */
.ftr-badge-18 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: #c0392b;
  border-color: #c0392b;
  border-radius: 6px;
  padding: 6px 12px;
  text-decoration: none;
  min-width: 44px;
  text-align: center;
}

.ftr-badge-18:hover {
  background: #a93226;
  border-color: #a93226;
  color: #fff;
}

/* footer navigation links bar */
.ftr-links-bar {
  font-size: .78rem;
  color: #666;
}

.ftr-links-bar a {
  color: #888;
  text-decoration: none;
  transition: color .2s;
}

.ftr-links-bar a:hover { color: #f5d36e; }

.ftr-sep {
  margin: 0 10px;
  color: #444;
}

.ftr-copy-text {
  font-size: .76rem;
  color: #555;
  margin: 0;
}

/* ---------- popup overlays ---------- */
/* shared overlay base */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-box {
  background: #100e04;
  border: 2px solid #b8860b;
  border-radius: 16px;
  padding: 42px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
}

.popup-box h2 {
  color: #f5d36e;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.popup-box p {
  color: #b5aa88;
  font-size: .93rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.popup-box .popup-age-icon {
  font-size: 3.2rem;
  display: block;
  margin-bottom: 14px;
}

.btn-popup-yes {
  background: linear-gradient(135deg, #b8860b, #d4a017);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
  margin: 4px;
}

.btn-popup-yes:hover { opacity: .86; }

.btn-popup-no {
  background: transparent;
  color: #888;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 11px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  margin: 4px;
}

.btn-popup-no:hover {
  border-color: #888;
  color: #ccc;
}

/* the under-18 block screen — covers everything, no close */
#underage-block {
  position: fixed;
  inset: 0;
  background: #050400;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-direction: column;
  text-align: center;
}

#underage-block h2 {
  color: #e03030;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

#underage-block p {
  color: #aaa;
  max-width: 420px;
  line-height: 1.7;
}

/* ---------- cookie banner ---------- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 8, 1, 0.97);
  border-top: 2px solid #b8860b;
  z-index: 8888;
  padding: 16px 24px;
  display: none; /* shown by JS */
}

#cookie-banner p {
  color: #b0a888;
  font-size: .84rem;
  margin: 0 0 10px;
}

#cookie-banner a {
  color: #f5d36e;
  text-decoration: underline;
}

.btn-cookie-accept {
  background: #b8860b;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 22px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
  margin-right: 8px;
}

.btn-cookie-accept:hover { opacity: .85; }

.btn-cookie-decline {
  background: transparent;
  color: #777;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: .88rem;
  cursor: pointer;
  transition: color .2s;
}

.btn-cookie-decline:hover { color: #bbb; }

/* ---------- inner page (privacy / terms) ---------- */
.inner-page-wrap {
  max-width: 860px;
  margin: 60px auto 80px;
  background: rgba(14, 12, 3, 0.88);
  border: 1px solid #2e2606;
  border-radius: 14px;
  padding: 48px 52px;
}

.inner-page-wrap h1 {
  color: #f5d36e;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.inner-page-wrap h2 {
  color: #e5c85a;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 34px;
  margin-bottom: 10px;
}

.inner-page-wrap h3 {
  color: #c8a84b;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 22px;
}

.inner-page-wrap p,
.inner-page-wrap li {
  color: #b0a888;
  font-size: .91rem;
  line-height: 1.75;
}

.inner-page-wrap a {
  color: #f5d36e;
}

.inner-page-wrap ul {
  padding-left: 20px;
}

.page-updated-note {
  font-size: .78rem;
  color: #666;
  margin-bottom: 32px;
}

/* small scroll to top btn */
#scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #b8860b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  z-index: 8000;
  transition: opacity .2s;
}

#scroll-top-btn:hover { opacity: .8; }

/* ---------- responsive tweaks ---------- */
@media (max-width: 768px) {
  .hero-title { font-size: 1.7rem; }
  .inner-page-wrap { padding: 28px 20px; }
  .popup-box { padding: 30px 22px; }
  /* stack table columns on mobile */
  .cmp-row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; }
  .cmp-col-rank  { flex: none; width: 100%; }
  .cmp-col-offer { flex: none; width: 100%; }
  .cmp-col-review{ flex: none; width: 100%; text-align: left; }
  .cmp-col-score { flex: none; width: 100%; text-align: left; }
  .cmp-col-cta   { flex: none; width: 100%; text-align: left; }
  .cmp-btn-join  { width: 100%; text-align: center; display: block; }
  .ftr-resp-text { text-align: left; }
  .info-block { padding: 20px 16px; }
}
