/* ============================================================
   TipsterHandball — Design System
   Inspiré template Eventiix : fond blanc, rose #e91e8c, noir
   ============================================================ */

:root {
  --pink:       #e91e8c;
  --pink-dark:  #c2176e;
  --pink-light: #fce4f3;
  --pink-pale:  #fff0f8;
  --black:      #111111;
  --dark:       #1a1a2e;
  --grey:       #6c757d;
  --light:      #f8f9fa;
  --white:      #ffffff;
  --border:     #eee;
  --radius:     8px;
  --shadow:     0 4px 20px rgba(233,30,140,0.10);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Rubik', sans-serif;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--black); line-height: 1.25; }
a { color: var(--pink); text-decoration: none; transition: all .2s; }
a:hover { color: var(--pink-dark); }
img { max-width: 100%; }

/* ── Preloader ── */
.preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.spinner {
  width: 44px; height: 44px;
  border: 4px solid var(--pink-light);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Buttons ── */
.btn-pink {
  display: inline-block;
  background: var(--pink);
  color: var(--white) !important;
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all .25s;
  letter-spacing: .03em;
}
.btn-pink:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(233,30,140,.3); }
.btn-outline-pink {
  display: inline-block;
  background: transparent;
  color: var(--pink) !important;
  font-weight: 700;
  font-size: .9rem;
  padding: 11px 30px;
  border-radius: 50px;
  border: 2px solid var(--pink);
  cursor: pointer;
  transition: all .25s;
}
.btn-outline-pink:hover { background: var(--pink); color: var(--white) !important; }
.bet-btn { @extend .btn-pink; }
.banner-btn { @extend .btn-pink; }

/* ── Header ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header .navbar { padding: .8rem 0; }
.header .navbar-brand img { height: 52px; width: auto; }
.header .nav-link {
  color: var(--black) !important;
  font-weight: 600;
  font-size: .9rem;
  padding: .4rem .9rem !important;
  border-radius: 6px;
  transition: all .2s;
}
.header .nav-link:hover, .header .nav-link.active-link { color: var(--pink) !important; }
.header .nav-cta {
  background: var(--pink);
  color: var(--white) !important;
  border-radius: 50px;
  padding: .45rem 1.4rem !important;
  font-weight: 700;
}
.header .nav-cta:hover { background: var(--pink-dark); }
.navbar-toggler { border: none; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* ── Hero Banner (Eventiix style) ── */
.banner {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a0a14 0%, #2d0a20 40%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1547347298-4074fc3086f0?w=1600') center/cover no-repeat;
  opacity: .15;
}
.banner::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(233,30,140,.2) 0%, transparent 60%);
}
.banner .container { position: relative; z-index: 2; }
.banner-content { color: var(--white); }
.analyses-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .85rem;
}
.badge-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.badge-dot--green { background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: pulse 1.5s infinite; }
.badge-dot--orange { background: #f59e0b; }
.badge-text { color: var(--white); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.banner .subtitle {
  color: var(--pink);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .5rem;
}
.banner h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.banner h1 span { color: var(--pink); }
.banner p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 2rem;
}
.banner .btn-pink { font-size: 1rem; padding: 14px 36px; }
.banner .btn-outline-pink { color: var(--white) !important; border-color: rgba(255,255,255,.4); margin-left: 12px; }
.banner .btn-outline-pink:hover { background: var(--white); color: var(--pink) !important; border-color: var(--white); }
/* Decorative shapes */
.banner-shape {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,30,140,.15) 0%, transparent 70%);
}

/* ── Section titles ── */
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .sub-title {
  color: var(--pink);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  display: inline-block;
  background: var(--pink-pale);
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.section-title h2 { font-size: 2rem; font-weight: 800; color: var(--black); margin-bottom: .75rem; }
.section-title p { color: var(--grey); max-width: 580px; margin: 0 auto; }

/* ── Stats section ── */
.statics { padding: 80px 0; background: var(--light); }
.single-static {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all .25s;
  margin-bottom: 1rem;
}
.single-static:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--pink-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon i { color: var(--pink); font-size: 1.3rem; }
.single-static .number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--pink);
  line-height: 1;
}
.single-static .title { font-size: .8rem; color: var(--grey); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* ── How it works ── */
.how-it-works { padding: 80px 0; }
.single-process {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: all .25s;
  height: 100%;
}
.single-process:hover { border-color: var(--pink); transform: translateY(-6px); box-shadow: var(--shadow); }
.process-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--pink-pale);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.process-icon i { color: var(--pink); font-size: 1.5rem; }
.single-process .title { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.single-process .number { color: var(--pink); font-weight: 800; }
.single-process p { color: var(--grey); font-size: .9rem; }

/* ── History section ── */
.historique { padding: 80px 0; background: var(--light); }
.history-day { margin-bottom: 1.5rem; }
.history-day-header {
  background: var(--pink);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  font-size: .85rem;
  display: flex; justify-content: space-between; align-items: center;
}
.history-pick {
  background: var(--white);
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-top: 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: .88rem;
}
.history-pick:last-child { border-radius: 0 0 8px 8px; }
.result-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
}
.result-badge.win  { background: #dcfce7; color: #16a34a; }
.result-badge.lose { background: #fee2e2; color: #dc2626; }
.result-badge.pending { background: #fef9c3; color: #b45309; }

/* ── Picks page ── */
.picks-section { padding: 80px 0; min-height: 60vh; }
.pick-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 1rem;
  transition: all .25s;
  position: relative;
}
.pick-card:hover { border-color: var(--pink); box-shadow: var(--shadow); }
.pick-card.pick-combo { border-left: 4px solid var(--pink); }
.pick-teams { font-weight: 700; font-size: 1rem; color: var(--black); }
.pick-league { font-size: .78rem; color: var(--grey); }
.pick-kickoff { font-size: .82rem; color: var(--grey); }
.pick-market {
  display: inline-block;
  background: var(--pink-pale);
  color: var(--pink);
  font-weight: 700;
  font-size: .78rem;
  padding: 3px 12px;
  border-radius: 50px;
  border: 1px solid var(--pink-light);
}
.pick-odd {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--pink);
}
.pick-prob {
  font-size: .78rem;
  color: var(--grey);
}
.pick-confidence {
  height: 4px;
  background: var(--pink-light);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}
.pick-confidence-fill {
  height: 100%;
  background: var(--pink);
  border-radius: 2px;
}
.picks-locked {
  background: var(--white);
  border: 2px dashed var(--pink-light);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
}
.picks-locked .lock-icon {
  width: 72px; height: 72px;
  background: var(--pink-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.picks-locked .lock-icon i { font-size: 1.8rem; color: var(--pink); }
.picks-locked h3 { font-size: 1.4rem; margin-bottom: .75rem; }
.picks-locked p { color: var(--grey); max-width: 420px; margin: 0 auto 1.5rem; }

/* ── Subscription plan ── */
#abonnement { padding: 80px 0; }
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  position: relative;
  transition: all .25s;
}
.pricing-card.featured {
  border-color: var(--pink);
  box-shadow: 0 12px 40px rgba(233,30,140,.15);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--pink);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--pink);
  line-height: 1;
}
.pricing-period { font-size: .9rem; color: var(--grey); font-weight: 500; }
.pricing-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.pricing-features li {
  padding: 6px 0;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: var(--black);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--pink); font-weight: 700; flex-shrink: 0; margin-top: 3px; }
.pricing-guarantee { font-size: .8rem; color: var(--grey); text-align: center; margin-top: 1rem; }
.pricing-stripe { text-align: center; margin-top: .75rem; }
.pricing-stripe img { height: 24px; opacity: .5; }

/* ── Benefits grid ── */
.benefits { padding: 60px 0; }
.benefit-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 100%;
  transition: all .2s;
}
.benefit-card:hover { border-color: var(--pink); }
.benefit-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--pink-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.benefit-icon i { color: var(--pink); font-size: 1.1rem; }
.benefit-card h5 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.benefit-card p { font-size: .85rem; color: var(--grey); margin: 0; }

/* ── Testimonials ── */
.testimonials { padding: 80px 0; background: var(--light); }
.testi-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute; top: 16px; right: 20px;
  font-size: 4rem;
  color: var(--pink-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.testi-stars { color: var(--pink); margin-bottom: .75rem; font-size: .9rem; }
.testi-text { font-size: .9rem; color: var(--black); margin-bottom: 1rem; line-height: 1.7; }
.testi-author { font-weight: 700; font-size: .85rem; }
.testi-role { font-size: .78rem; color: var(--grey); }

/* ── Counters ── */
.counters { padding: 60px 0; background: var(--dark); }
.counter-item { text-align: center; color: var(--white); }
.counter-item .counter-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--pink);
  display: block;
}
.counter-item .counter-label { font-size: .85rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }

/* ── Newsletter ── */
.newsletter { padding: 80px 0; }
.newsletter-box {
  background: linear-gradient(135deg, #1a0a14, #2d0a20);
  border-radius: 20px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-box::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(233,30,140,.2), transparent 60%);
}
.newsletter-box .sub-title { color: var(--pink); }
.newsletter-box h2 { color: var(--white); font-size: 1.8rem; }
.newsletter-box p { color: rgba(255,255,255,.7); max-width: 440px; margin: .5rem auto 2rem; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-radius: 50px;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { border-color: var(--pink); }
.newsletter-form button { flex-shrink: 0; }
.newsletter-tagline {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 1rem;
  font-size: .8rem; color: rgba(255,255,255,.5);
}
.nl-badge {
  background: var(--pink);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
}

/* ── Footer ── */
.footer { background: var(--dark); padding: 60px 0 0; }
.footer h5 {
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.2rem;
}
.footer p, .footer-text { color: rgba(255,255,255,.55); font-size: .85rem; line-height: 1.8; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--pink); }
.footer-market-tag {
  display: inline-block;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  padding: 3px 10px;
  border-radius: 50px;
  margin: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { color: rgba(255,255,255,.4); font-size: .8rem; margin: 0; }
.footer-logo img { height: 40px; filter: brightness(0) invert(1); opacity: .7; }
.gambling-warning-bar {
  background: rgba(233,30,140,.1);
  border-top: 1px solid rgba(233,30,140,.2);
  padding: 8px 0;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}

/* ── Flash messages ── */
.flash-msg {
  position: fixed; top: 80px; right: 20px; z-index: 9999;
  padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: .88rem;
  box-shadow: var(--shadow);
  animation: slideIn .3s ease;
}
.flash-success { background: #dcfce7; color: #15803d; border-left: 4px solid #16a34a; }
.flash-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid #dc2626; }
@keyframes slideIn { from { transform: translateX(120%); opacity:0; } to { transform: translateX(0); opacity:1; } }

/* ── Account & Auth ── */
.auth-page { min-height: 80vh; display: flex; align-items: center; padding: 100px 0 60px; }
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  width: 100%; max-width: 480px; margin: 0 auto;
}
.auth-card h2 { font-size: 1.6rem; margin-bottom: 1.5rem; text-align: center; }
.form-label { font-weight: 600; font-size: .85rem; color: var(--black); margin-bottom: .3rem; }
.form-control {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: .9rem;
  transition: border-color .2s;
}
.form-control:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(233,30,140,.1); outline: none; }

/* ── Bookmakers ── */
.bookmaker-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all .25s;
}
.bookmaker-card:hover { border-color: var(--pink); box-shadow: var(--shadow); }
.bookmaker-card img { height: 40px; object-fit: contain; margin-bottom: 1rem; }
.bookmaker-rating { color: var(--pink); font-size: .85rem; margin-bottom: .5rem; }
.bookmaker-bonus {
  background: var(--pink-pale);
  color: var(--pink);
  font-weight: 700;
  font-size: .85rem;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}

/* ── Market pill ── */
.market-tag {
  display: inline-block;
  background: var(--pink-pale);
  color: var(--pink);
  font-weight: 700;
  font-size: .72rem;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid var(--pink-light);
}

/* ── Lang switcher ── */
.lang-switcher { display: flex; gap: 4px; align-items: center; }
.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--grey);
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
}
.lang-btn:hover, .lang-btn.active { background: var(--pink); border-color: var(--pink); color: var(--white); }

/* ── Body top padding (fixed header) ── */
body { padding-top: 80px; }

/* ── Admin notice ── */
.admin-bar { background: var(--pink); color: var(--white); text-align: center; padding: 6px; font-size: .8rem; font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .banner { min-height: 80vh; padding: 100px 0 60px; text-align: center; }
  .banner p { margin: 0 auto 2rem; }
  .banner .btn-outline-pink { margin: 10px 0 0; }
  .navbar-collapse { background: var(--white); padding: 16px; border-radius: 12px; margin-top: 8px; box-shadow: var(--shadow); }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 576px) {
  .banner h1 { font-size: 2rem; }
  .pricing-card { padding: 28px 20px; }
  .newsletter-box { padding: 40px 24px; }
}
