/* ============================================
   BonusAfrik — CSS Principal
   Palette : noir #0A0A0A | vert forêt #1A3A1A | vert vif #2ECC40 | or #F5C518 | blanc #F5F5F5
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --noir:     #0A0A0A;
  --vert:     #1A3A1A;
  --vert-vif: #2ECC40;
  --or:       #F5C518;
  --blanc:    #F5F5F5;
  --gris:     #888;
  --gris-bg:  #111;
  --radius:   6px;
  --max-w:    1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--noir);
  color: var(--blanc);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ---- Typographie ---- */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

/* ---- Boutons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  border: none;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-primary { background: var(--vert-vif); color: var(--noir); }
.btn-gold    { background: var(--or); color: #000 !important; }
.btn-outline { background: transparent; border: 2px solid var(--vert-vif); color: var(--vert-vif); }

/* ---- Pulse animation CTA ---- */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46,204,64,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(46,204,64,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,64,0); }
}
.btn-pulse { animation: pulse 2s infinite; }

/* ---- Badge promo ---- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.badge-green { background: var(--vert-vif); color: var(--noir); }
.badge-gold  { background: var(--or); color: var(--noir); }
.badge-grey  { background: #222; color: var(--gris); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.97);
  border-bottom: 2px solid var(--vert);
  backdrop-filter: blur(6px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blanc);
}
.nav-logo span { color: var(--vert-vif); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #bbb;
  transition: color 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-links a:hover,
.nav-links a.active { color: var(--vert-vif); }

.nav-cta {
  padding: 8px 20px;
  font-size: 0.88rem;
}

/* Hamburger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--blanc);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================
   HERO — TABLEAU DE SCORE (SIGNATURE)
   ============================================ */
.hero {
  background: var(--vert);
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(46,204,64,0.08) 0%, transparent 60%),
    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='%232ECC40' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 70px 0 60px;
  border-bottom: 3px solid var(--vert-vif);
  position: relative;
  overflow: hidden;
}

/* Barre de score style stade */
.scoreboard {
  background: var(--noir);
  border: 2px solid #222;
  border-radius: 8px;
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  font-family: 'Barlow Condensed', sans-serif;
}
.scoreboard-live {
  background: #c0392b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.1em;
  animation: blink 1.4s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.scoreboard-text {
  color: var(--vert-vif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-content { max-width: 680px; }
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--or);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 em {
  font-style: normal;
  color: var(--vert-vif);
}
.hero-desc {
  font-size: 1.05rem;
  color: #ccc;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats rapides hero */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--vert-vif);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--gris);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ============================================
   SECTION BOOKMAKERS
   ============================================ */
.section { padding: 72px 0; }
.section-dark { background: #0d0d0d; }
.section-vert { background: var(--vert); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header .eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vert-vif);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--gris); max-width: 560px; margin: 0 auto; }

/* Grille bookmakers */
.bookmakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.bk-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.bk-card:hover {
  border-color: var(--vert-vif);
  transform: translateY(-4px);
}

/* Zone image bookmaker — PLACEHOLDER pour vos photos */
.bk-card-img {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #1a3a1a, #0d200d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}
/* Remplacez le background par: background-image: url('../images/votre-image.jpg'); background-size: cover; */
.bk-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}

.bk-card-body { padding: 22px; }
.bk-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.bk-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
}
.bk-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--or);
  font-weight: 600;
}

.bk-bonus {
  background: rgba(46,204,64,0.08);
  border: 1px solid rgba(46,204,64,0.2);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bk-bonus-label { font-size: 0.78rem; color: var(--gris); }
.bk-bonus-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--vert-vif);
}

.bk-code {
  background: #1a1a1a;
  border: 1px dashed #333;
  border-radius: var(--radius);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.bk-code:hover { border-color: var(--or); }
.bk-code-label { font-size: 0.75rem; color: var(--gris); }
.bk-code-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--or);
  letter-spacing: 0.08em;
}
.bk-code-copy { font-size: 0.75rem; color: var(--gris); }

.bk-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.bk-feature {
  font-size: 0.85rem;
  color: #bbb;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bk-feature::before {
  content: '✓';
  color: var(--vert-vif);
  font-weight: 700;
  flex-shrink: 0;
}

.bk-card-footer { border-top: 1px solid #1e1e1e; padding: 16px 22px; }
.bk-card-footer .btn { width: 100%; text-align: center; }

/* ============================================
   SECTION PRONOSTICS / CONSEILS
   ============================================ */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tip-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  padding: 24px;
  transition: border-color 0.2s;
}
.tip-card:hover { border-color: var(--or); }

.tip-icon {
  width: 44px; height: 44px;
  background: rgba(245,197,24,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.tip-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.tip-card p { font-size: 0.88rem; color: #999; line-height: 1.6; }

/* ============================================
   SECTION BLOG
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.article-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.article-card:hover {
  border-color: var(--vert-vif);
  transform: translateY(-3px);
}

/* Zone image article — PLACEHOLDER */
.article-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #0d200d, #1a3a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}
/* Pour ajouter votre image : remplacez le background par background-image: url('../images/votre-image.jpg'); background-size: cover; */
.article-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
}

.article-card-body { padding: 20px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.article-cat {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vert-vif);
}
.article-date { font-size: 0.72rem; color: var(--gris); }
.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.article-card p { font-size: 0.85rem; color: #999; margin-bottom: 16px; }
.article-readmore {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vert-vif);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s;
}
.article-card:hover .article-readmore { gap: 10px; }

/* ============================================
   SECTION COMMENT ÇA MARCHE
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--vert-vif), var(--or));
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 56px; height: 56px;
  background: var(--vert-vif);
  color: var(--noir);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 18px;
}
.step-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-item p { font-size: 0.84rem; color: #999; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #050505;
  border-top: 2px solid var(--vert);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: #777;
  margin-top: 14px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
}
.footer-logo span { color: var(--vert-vif); }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gris);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: #888;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--vert-vif); }

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: #555; }
.footer-disclaimer {
  font-size: 0.72rem;
  color: #444;
  margin-top: 16px;
  line-height: 1.6;
  padding: 12px;
  border: 1px solid #1a1a1a;
  border-radius: var(--radius);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--noir); padding: 20px; border-bottom: 2px solid var(--vert); gap: 16px; }
  .nav-links.open { display: flex; }
  .nav { position: relative; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero { padding: 48px 0 40px; }
  .hero-stats { gap: 24px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .steps-grid::before { display: none; }
  .steps-grid { gap: 32px; }

  .hero-btns { flex-direction: column; }
  .btn { text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .bookmakers-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PAGES INTERNES (1xbet, 1win)
   ============================================ */
.page-hero {
  background: var(--vert);
  padding: 56px 0;
  border-bottom: 3px solid var(--vert-vif);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.page-hero-score {
  background: var(--noir);
  border: 2px solid #222;
  border-radius: 10px;
  padding: 28px 36px;
  text-align: center;
  min-width: 200px;
}
.page-hero-score .score-label { font-size: 0.75rem; color: var(--gris); text-transform: uppercase; letter-spacing: 0.1em; }
.page-hero-score .score-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--vert-vif);
  line-height: 1;
}
.page-hero-score .score-sub { font-size: 0.8rem; color: #777; margin-top: 6px; }

/* Zone image page hero — PLACEHOLDER */
.page-hero-img {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, #0d200d, #1a3a1a);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  overflow: hidden;
  position: relative;
}
/* Pour ajouter votre image : <img src="../images/banner-1xbet.jpg" alt="..." style="width:100%;height:100%;object-fit:cover;position:absolute"> */

/* Promo code bloc */
.promo-bloc {
  background: #111;
  border: 2px solid var(--or);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.promo-bloc h3 { margin-bottom: 8px; }
.promo-bloc p { color: #999; font-size: 0.9rem; margin-bottom: 20px; }
.promo-code-display {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--or);
  letter-spacing: 0.15em;
  background: #1a1a1a;
  padding: 12px 32px;
  border-radius: var(--radius);
  border: 2px dashed var(--or);
  display: inline-block;
  margin-bottom: 20px;
  cursor: pointer;
}
.promo-code-display:hover { background: #222; }

/* Accordéon FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--blanc);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.15s;
}
.faq-question:hover { color: var(--vert-vif); }
.faq-question::after { content: '+'; font-size: 1.4rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-question { color: var(--vert-vif); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner { padding: 0 20px 18px; font-size: 0.9rem; color: #999; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ============================================
   PAGE BLOG
   ============================================ */
.blog-hero {
  background: var(--vert);
  padding: 48px 0;
  border-bottom: 3px solid var(--vert-vif);
  text-align: center;
}
.blog-hero p { color: #ccc; margin-top: 12px; font-size: 1rem; }

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 60px 0;
}
.blog-main {}
.blog-sidebar {}

.sidebar-widget {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gris);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1e1e1e;
}
.sidebar-bk {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-bk-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #1a1a1a;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.sidebar-bk-item:hover { background: #222; }
.sidebar-bk-name { font-size: 0.9rem; font-weight: 600; }
.sidebar-bk-bonus { font-size: 0.78rem; color: var(--vert-vif); }

@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: -1; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-score { display: none; }
}
