@charset "UTF-8";

/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Nunito",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #212529;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #1e1b4b;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #fcb900;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  --primary-color:var(--accent-color)
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}



/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}


:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  text-align: center;
  padding: 20px 0;
}

.page-title .breadcrumbs {
  margin-bottom: 1.5rem;
}

.page-title .breadcrumbs .breadcrumb {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a i {
  font-size: 0.9rem;
  margin-right: 0.2rem;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title .title-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.page-title .title-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.page-title .title-wrapper p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-title .title-wrapper h1 {
    font-size: 2rem;
  }

  .page-title .title-wrapper p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .page-title .title-wrapper h1 {
    font-size: 1.75rem;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles (Titre unique)
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 40px;
  position: relative;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color);
  text-transform: uppercase;
  font-family: var(--heading-font);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 100px;
  height: 2px;
  display: block;
  background: var(--accent-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    padding-bottom: 20px;
    margin-bottom: 2rem;
  }

  .section-title h2 {
    font-size: 20px;
  }

  .section-title h2::after {
    width: 60px;
    height: 1.5px;
    margin: 8px auto 0;
  }
}






/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color) 10%, transparent);
  margin-bottom: 1rem;
}

.about .section-badge i {
  font-size: 1rem;
}

.about .about-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.about .about-description,
.about .section-text {
  color: color-mix(in srgb, var(--default-color) 80%, transparent);
  line-height: 1.6;
}

.about .features-boxes .feature-box {
  height: 100%;
  position: relative;
}

.about .features-boxes .feature-box .icon-box {
  width: 60px;
  height: 60px;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: color-mix(in srgb, var(--accent-color) 15%, transparent);
  color: var(--accent-color);
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

.about .features-boxes .feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.about .features-boxes .feature-box h3 a {
  color: var(--heading-color);
}

.about .features-boxes .feature-box p {
  color: color-mix(in srgb, var(--default-color) 80%, transparent);
  margin-bottom: 0;
  line-height: 1.6;
}

.about .features-boxes .feature-box:hover .icon-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.about .features-boxes .feature-box:hover h3 a {
  color: var(--accent-color);
}

.about .video-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about .video-box img {
  width: 100%;
  border-radius: 20px;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}



/* Styles pour le header */
.header-area {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
}

.top-header-area {
  background-color: #f8f9fa;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.navbar-brand img {
  max-height: 50px;
}

.navbar-nav .nav-item .nav-link,
.navbar-nav li a {
  color: #333;
  font-weight: 600;
  padding: 10px 15px;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav li a:hover,
.navbar-nav .nav-item.active .nav-link {
  color: #ffd700;
}
/* Style du logo texte (si image non utilisée) */
.sitename {
  font-size: 30px;
  margin: 0;
  line-height: 1;
  font-weight: 700;
  color: #333;
}

.sitename span {
  color: #ffd700;
}

body {
  padding-top: 150px;
}

@media (max-width: 767.98px) {
  body {
    padding-top: 80px;
  }

  .header-area .navbar-brand img {
    max-height: 40px;
  }
}


/*--------------------------------------------------------------
# Contact Section - Version corrigée
--------------------------------------------------------------*/

.contact .form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Conteneur groupe d'input */
.contact .form-wrapper .input-group {
  margin-bottom: 1rem;
  display: flex;
  align-items: stretch; /* Garde les éléments à la même hauteur */
}

/* Partie icône */
.contact .form-wrapper .input-group .input-group-text {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  border-color: color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px 0 0 8px;
  padding: 12px 15px;
  border-right: none;
  min-width: 48px; /* Largeur fixe pour les icônes */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Partie champ de saisie */
.contact .form-wrapper .input-group .form-control {
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 0 8px 8px 0;
  box-shadow: none;
  font-size: 14px;
  border-color: color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 12px 15px;
  height: auto; /* Hauteur automatique pour s'adapter */
  flex-grow: 1; /* Prend tout l'espace disponible */
  border-left: none;
}

/* Focus state */
.contact .form-wrapper .input-group .form-control:focus {
  border-color: var(--accent-color);
}

/* Placeholder */
.contact .form-wrapper .input-group .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/* Select personnalisé */
.contact .form-wrapper select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 14px;
  padding-right: 40px;
}

/* Textarea */
.contact .form-wrapper textarea.form-control {
  min-height: 160px;
  margin-bottom: 1rem;
  border-radius: 8px !important; /* Textarea avec bordures complètes */
  border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 85%) !important;
}

/* Bouton */
.contact .form-wrapper button {
  background-color: var(--accent-color);
  border: 0;
  padding: 13px 40px; /* Légère augmentation du padding vertical */
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 500;
  margin-top: 0.5rem;
  align-self: flex-start; /* Alignement à gauche */
}

/* Hover bouton */
.contact .form-wrapper button:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/* Version mobile */
@media (max-width: 768px) {
  .contact .form-wrapper {
    gap: 1.25rem;
  }

  .contact .form-wrapper .input-group .input-group-text,
  .contact .form-wrapper .input-group .form-control {
    padding: 10px 12px; /* Padding réduit mais proportionnel */
  }

  .contact .form-wrapper .input-group .input-group-text {
    min-width: 44px; /* Largeur légèrement réduite */
  }

  .contact .form-wrapper button {
    padding: 11px 35px;
    font-size: 15px;
  }
}
/* Correction spécifique pour le champ message avec icône */
.contact .form-group.message-group {
  margin-bottom: 1.5rem;
}

.contact .form-group.message-group .input-group {
  display: flex;
  align-items: stretch;
}

.contact .form-group.message-group .input-group-text {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-right: none;
  border-radius: 8px 0 0 8px !important;
  padding: 0 15px;
  display: flex;
  align-items: center;
}

.contact .form-group.message-group .input-group-text i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.contact .form-group.message-group textarea {
  flex: 1;
  min-height: 160px;
  border-radius: 0 8px 8px 0 !important;
  border-left: none !important;
  padding: 12px 15px;
}

.contact .form-group.message-group textarea:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 80%);
  outline: none;
}

/* Version mobile */
@media (max-width: 768px) {
  .contact .form-group.message-group textarea {
    min-height: 120px;
    padding: 10px 12px;
  }

  .contact .form-group.message-group .input-group-text {
    padding: 0 12px;
  }

  .contact .form-group.message-group .input-group-text i {
    font-size: 1rem;
  }
}
/* ============================
   🔷 HEADER GLOBAL
============================ */
.header-area {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.top-header-area {
  background: #1e1b4b;
  color: white;
  padding: 0.5rem 0;
  font-size: 0.75rem;
  line-height: 1.2;
}

/* ============================
   📢 TICKER
============================ */
.breaking-news {
  overflow: hidden;
  max-height: 2.5rem;
  padding: 0.25rem 0;
}

.ticker ul {
  display: flex;
  list-style: none;
  animation: scroll 20s linear infinite;
  padding: 0;
  margin: 0;
}

.ticker li {
  white-space: nowrap;
  margin-right: 1.25rem;
  padding: 0.125rem 0;
}

.ticker a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1rem;
  display: inline-block;
}

.ticker a:hover {
  color: var(--accent-color);
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ============================
   🖥️ NAVBAR DESKTOP - CORRECTION
============================ */
.navbar {
  padding: 0.75rem 0;
  background: #fff;
  position: relative;
}

.navbar-brand img {
  height: 2.5rem;
  transition: height 0.3s ease;
}

/* CORRECTION PRINCIPALE : Assurer que le menu soit horizontal sur desktop */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row !important;
  }

  .navbar-expand-lg .navbar-toggler {
    display: none !important;
  }

  .navbar-nav .nav-link {
    color: var(--dark-text) !important;
    font-weight: 500 !important;
    margin: 0 0.75rem !important;
    font-size: 0.875rem !important;
    padding: 0.25rem 0 !important;
    transition: color 0.2s !important;
    border-bottom: none !important;
    background-color: transparent !important;
  }

  .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: transparent !important;
  }
}

/* ============================
   📱 NAVBAR MOBILE SEULEMENT
============================ */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: none !important;
    background: transparent !important;
    padding: 0.375rem !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 1050 !important;
  }

  .navbar-toggler:focus {
    box-shadow: none !important;
  }

  .navbar-toggler-icon,
  .navbar-close-icon {
    display: none !important;
    font-size: 1.5rem !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
  }

  .navbar-toggler[aria-expanded="false"] .navbar-toggler-icon {
    display: inline-block !important;
  }

  .navbar-toggler[aria-expanded="false"] .navbar-close-icon {
    display: none !important;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    display: none !important;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-close-icon {
    display: inline-block !important;
  }

  .navbar-collapse {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    margin-top: 1rem !important;
    padding: 1rem !important;
    border: 1px solid #eee !important;
    position: absolute !important;
    top: 100% !important;
    left: 1rem !important;
    right: 1rem !important;
    z-index: 1000 !important;
  }

  .navbar-nav .nav-link {
    color: #333 !important;
    padding: 0.75rem 1rem !important;
    margin: 0 !important;
    border-bottom: 1px solid #f5f5f5 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none !important;
  }

  .navbar-nav .nav-link:hover {
    color: #007bff !important;
    background-color: #f8f9fa !important;
    border-radius: 4px !important;
  }
}

/* ============================
   🌐 SOCIAL LINKS - CORRIGÉ
============================ */
.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  font-size: 20px ;
  margin: 0 4px ;
  display: inline-flex ;
  align-items: center ;
  justify-content: center ;
  width: 20px ;
  height: 20px ;
  border-radius: 50% ;
  transition: all 0.3s ease ;
  text-decoration: none ;
  color: #ffffff ;
}

.social-links i {
  font-size: 20px ;
  line-height: 1 ;
}

/* ============================
   📱 RESPONSIVE BREAKPOINTS
============================ */
@media (max-width: 768px) {
  .navbar {
    padding: 0.375rem 0;
  }

  .navbar-toggler {
    width: 40px !important;
    height: 40px !important;
  }

  .navbar-toggler-icon,
  .navbar-close-icon {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 576px) {
  .navbar-toggler {
    width: 36px !important;
    height: 36px !important;
    padding: 0.25rem !important;
  }

  .navbar-toggler-icon,
  .navbar-close-icon {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 320px) {
  .navbar {
    padding: 0.25rem 0;
  }

  .navbar-brand img {
    height: 1.5rem;
  }
}

/* ============================
   🌐 SOCIAL LINKS - CORRIGÉ
============================ */
.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  font-size: 10px !important;
  margin: 0 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  color: #ffffff !important;
}

.social-links i {
  font-size: 20px ; /* CORRIGÉ: était 20px */
  line-height: 1
}

/* ============================
   📱 MOBILE RESPONSIVE - AMÉLIORÉ
============================ */
@media (max-width: 992px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-brand img {
    height: 2rem;
  }

  .navbar-collapse {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #eee;
  }

  .navbar-nav .nav-link {
    color: #333 !important;
    padding: 0.75rem 1rem !important;
    margin: 0 !important;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.9rem !important;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .navbar-nav .nav-link:hover {
    color: #007bff !important;
    background-color: #f8f9fa;
    border-radius: 4px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.375rem 0;
  }

  .navbar-toggler {
    width: 40px !important;
    height: 40px !important;
  }

  .navbar-toggler-icon,
  .navbar-close-icon {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 576px) {
  .navbar-toggler {
    width: 36px !important;
    height: 36px !important;
    padding: 0.25rem !important;
  }

  .navbar-toggler-icon,
  .navbar-close-icon {
    font-size: 1.1rem !important;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 320px) {
  .navbar {
    padding: 0.25rem 0;
  }

  .navbar-brand img {
    height: 1.5rem;
  }
}


.carousel-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.carousel-item {
  height: 500px;
  position: relative;
  padding-top: 20px;
}

.slide-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  transition: filter 0.5s ease;
}

.slide-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(30, 27, 75, 0.9) 40px, rgba(30, 27, 75, 0.6) 100%);
  z-index: 1;
}

/* ============================
   🧠 Quiz Content
============================ */
.quiz-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
  padding: 2rem;
  margin-left: 80px;
  margin-top: 30px;
}

.category-badge {
  display: inline-block;
  background: var(--accent-color);
  color: var(--heading-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.quiz-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.quiz-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* ============================
   🎁 Prize Info
============================ */
.prize-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.prize-info:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.prize-info small {
  font-size: 0.7rem;
  opacity: 0.8;
  letter-spacing: 1px;
}

.prize-info h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.prize-description {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.95;
  color: #fff;
}

/* ============================
   ⏱️ Participants & Timer
============================ */
.participants, .timer {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
}

/* ============================
   🎮 Buttons
============================ */
.buttons-container {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn-play, .btn-more {
  position: relative;
  overflow: hidden;
  z-index: 2;
  display: inline-block;
  background-color: #ffd700;
  color: #1e1b4b;
  border: 1px solid white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 185, 0, 0.6);
}

.btn-play i, .btn-more i {
  font-size: 1rem;
  transition: transform 0.3s ease;
  margin-right: 0.5rem;
}

.btn-play:hover i, .btn-more:hover i {
  transform: scale(1.2);
}

/* ============================
   📱 Mobile Adjustments
============================ */
@media (max-width: 768px) {
  .carousel-item {
    height: 200px;
  }

  .quiz-content {
    max-width: 95%;
    margin: 0 auto;
    padding: 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  .participants, .timer,
  .buttons-container .btn-more {
    display: none !important;
  }

  .buttons-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 0.5rem;
  }

  .buttons-container .btn-play {
    width: 100%;
    max-width: 160px;
    font-size: 0.85rem;
  }
}

/* Style des cartes */
/* ============================
   🌟 Section "Jeux Stars du Moment"
============================ */
#featured-games {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--heading-color);
}

/* ============================
   🧩 Carte de jeu
============================ */
.game-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  background: white;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.game-card:hover {
  transform: translateY(-4px);
}

/* Image */
.game-image-wrapper {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-image {
  transform: scale(1.03);
}

/* Overlay titre */
.game-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  z-index: 2;
}

.game-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Badge animé */
.prize-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(45deg, var(--accent-color), #ffed4e);
  color: var(--default-color);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Footer */
.game-footer {
  padding: 12px;
  background: white;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
}

.game-category {
  font-size: 0.85rem;
  color: var(--default-color);
  background: rgba(0, 0, 0, 0.03);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
  align-self: flex-start;
}

/* Boutons */
.game-actions {
  display: flex;
  gap: 8px;
}

.btn-details,
.btn-play {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.btn-details {
  background: white;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.btn-details:hover {
  background: var(--accent-color);
  color: white;
}

.btn-play {
  background: var(--accent-color);
  color: white;
  border: none;
}

.btn-play:hover {
  background: #fcb900;
  color: var(--heading-color);
}

/* Overlay lot */
.prize-details {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 120px;
  background: rgba(30, 27, 75, 0.95);
  color: white;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.game-card:hover .prize-details {
  opacity: 1;
}

.prize-content {
  max-width: 85%;
}

.prize-image {
  max-width: 80px;
  max-height: 80px;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 2px solid var(--accent-color);
}

.prize-details h6 {
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.prize-desc {
  font-size: 0.8rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* ============================
   📱 Responsive
============================ */
@media (max-width: 992px) {
  .game-image-wrapper {
    height: 150px;
  }

  .game-footer {
    height: 110px;
  }

  .btn-details,
  .btn-play {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .prize-badge {
    font-size: 0.7rem;
    padding: 3px 6px;
  }
}

@media (max-width: 768px) {
  .game-image-wrapper {
    height: 130px;
  }

  .game-footer {
    height: 100px;
  }

  .game-title {
    font-size: 1rem;
  }

  .prize-details h6 {
    font-size: 0.8rem;
  }

  .prize-desc {
    font-size: 0.7rem;
  }
}


/*.expanded-sponsor {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

.sponsored-video-container,
.sponsored-image-container {
    width: 100%;
    height: 70vh;
    position: relative;
}

.sponsored-video-container video,
.sponsored-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sponsored-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.sponsored-default-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70vh;
    text-align: center;
}

.sponsored-default-content i {
    font-size: 4rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

.answer-option {
    transition: all 0.3s ease;
}

.answer-option.correct {
    background-color: #d4edda;
    border-color: #c3e6cb;
    transform: scale(1.05);
}

.answer-option.incorrect {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
@media (max-width: 767.98px) {
    .sponsored-video-container,
    .sponsored-image-container {
        height: 50vh !important;
    }

    .sponsored-default-content {
        height: 50vh !important;
        padding: 1rem;
    }

    .sponsored-default-content i {
        font-size: 2.5rem !important;
        margin-bottom: 0.5rem;
    }

    .sponsored-badge {
        bottom: 10px !important;
        right: 10px !important;
        padding: 3px 8px !important;
        font-size: 0.7rem !important;
    }

    .answer-option {
        padding: 0.5rem !important;
        margin: 0.25rem 0 !important;
    }

    .answer-option.correct,
    .answer-option.incorrect {
        transform: scale(1.02) !important;
}*/

/* Adaptation pour très petits écrans
@media (max-width: 480px) {
    .sponsored-video-container,
    .sponsored-image-container {
        height: 40vh !important;
    }

    .sponsored-default-content {
        height: 40vh !important;
    }

    .sponsored-default-content i {
        font-size: 2rem !important;
    }
}*/
/* Mobile uniquement - Version compacte
@media (max-width: 767.98px) {
    .sponsored-content {
        min-height: 50vh !important;
        padding: 1rem !important;
    }

    .sponsored-media {
        height: 40vh !important;
        max-width: 90% !important;
    }

    #sponsoredVideo,
    .sponsored-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .sponsored-default-content i {
        font-size: 2.5rem !important;
    }

    .type-indicator {
        font-size: 0.7rem !important;
        padding: 6px 12px !important;
    }

    .progress-container {
        height: 30px !important;
        font-size: 12px !important;
    }

    .skip-button {
        padding: 8px 16px !important;
        bottom: 10px !important;
        right: 10px !important;
        font-size: 0.9rem !important;
    }

    .sponsored-overlay {
        font-size: 0.8rem !important;
        max-width: 250px !important;
        padding: 8px !important;
    }
}


@media (max-width: 480px) {
    .sponsored-content {
        min-height: 40vh !important;
    }

    .sponsored-media {
        height: 35vh !important;
    }

    .sponsored-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .sponsored-default-content i {
        font-size: 2rem !important;
    }

    .type-indicator {
        padding: 4px 10px !important;
        border-radius: 16px !important;
    }
}*/
/* Section Participants */
.recent-participants-section {
    padding: 2rem 0;
    background: #f8f9fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.section-header h2 {
    font-size: 1.8rem;
    margin: 0;
    color: #1e1b4b;
}

.participants-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Section Grid */
.recent-participants-grid {
    padding: 2rem 0;
    background: #f8f9fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.section-header h2 {
    font-size: 1.8rem;
    margin: 0;
    color: #1e1b4b;
}

.participants-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Grille 3x2 */
.participants-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.participant-card {
    display: flex;
    gap: 1rem;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    min-width: 0; /* Permet au contenu de se rétrécir */
    overflow: hidden; /* Évite les débordements */
}

.participant-card:hover {
    transform: translateY(-3px);
}

/* Image */
.game-thumbnail {
    flex: 0 0 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenu */
.participant-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Permet au contenu de se rétrécir */
}

.meta-container {
    margin-top: auto;
}

.player-name {
    font-size: 0.85rem;
    color: #6c757d;
    display: block;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Métadonnées */
.game-meta {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne */
}

.game-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.participants-count {
    color: #6c757d;
}

.game-category {
    background: #e9ecef;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #495057;
    white-space: nowrap; /* Empêche la catégorie de se couper */
    overflow: hidden;
    text-overflow: ellipsis; /* Ajoute ... si le texte est trop long */
    max-width: 100px; /* Limite la largeur maximale */
}

/* Info date/heure */
.time-info {
    display: flex;
    gap: 0.8rem;
    font-size: 0.75rem;
    color: #adb5bd;
    flex-wrap: wrap;
}

.time-ago {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .participants-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .participant-card {
        gap: 0.8rem;
        padding: 0.8rem;
    }

    .game-thumbnail {
        flex: 0 0 60px;
        height: 60px;
    }

    .game-meta {
        gap: 0.5rem;
    }

    .game-category {
        max-width: 80px;
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .participants-grid {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .participants-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .participant-card {
        gap: 0.6rem;
        padding: 0.6rem;
    }

    .game-thumbnail {
        flex: 0 0 50px;
        height: 50px;
    }


    .game-meta {
        gap: 0.4rem;
        font-size: 0.7rem;
    }

    .game-category {
        max-width: 60px;
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }

    .time-info {
        gap: 0.4rem;
        font-size: 0.7rem;
    }

    .player-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .recent-participants-section,
    .recent-participants-grid {
        padding: 1rem 0;
    }

    .participants-grid {
        padding: 0 5px;
    }

    .participant-card {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .game-thumbnail {
        flex: 0 0 45px;
        height: 45px;
    }

    .game-category {
        max-width: 50px;
        font-size: 0.6rem;
    }
}
.points-badge {
    background-color: #ffc107;
    color: #000;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.player-status {
    font-style: italic;
    color: #6c757d;
}
 /* Section Articles */
        .article-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .article-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        }

        /* Media */
        .article-media {
            height: 200px;
            overflow: hidden;
            position: relative;
            background-color: #f1f1f1;
        }

        .article-media img,
        .article-media video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .article-card:hover .article-media img,
        .article-card:hover .article-media video {
            transform: scale(1.05);
        }

        /* Amélioration pour les vidéos sur mobile */
        .video-container {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .video-container video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            outline: none;
        }

        /* Icône de lecture améliorée */
        .video-play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
            z-index: 2;
            opacity: 0.9;
            transition: opacity 0.3s ease;
        }

        /* Masquer l'icône quand la vidéo est en cours de lecture */
        .video-container video:not([paused]) + .video-play-icon {
            opacity: 0;
        }

        /* Styles responsive améliorés */
        @media (max-width: 992px) {
            .article-media {
                height: 180px;
            }
        }

        @media (max-width: 768px) {
            .article-media {
                height: 160px;
            }

            /* Amélioration tactile pour mobile */
            .video-container {
                -webkit-tap-highlight-color: transparent;
            }

            .video-container video {
                -webkit-playsinline: true;
                playsinline: true;
            }
        }
 .video-container {
        position: relative;
        background: #000;
        overflow: hidden;
    }

    .video-container iframe {
        width: 100%;
        height: 100%;
        min-height: 200px;
    }

    .external-video-link {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 200px;
        background: #f5f5f5;
    }

    .mobile-video-placeholder {
        display: none;
        text-align: center;
        padding: 20px;
        background: #f8f9fa;
    }

    @media (max-width: 768px) {
        .mobile-video-placeholder {
            display: block;
        }
        .video-container video,
        .video-container iframe {
            display: none;
        }
    }
        /* Autres styles existants */
        .no-media-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: #adb5bd;
            font-size: 3rem;
        }

        .article-body {
            display: flex;
            flex-direction: column;
            height: calc(100% - 200px);
        }

        .article-category {
            align-self: flex-start;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .article-category.badge {
            background-color: #fcb900 !important;
            color: #1e1b4b !important;
            font-weight: 600;
            padding: 0.4rem 0.6rem;
            border-radius: 12px;
        }

        .article-title {
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
        }

        .article-title a {
            color: #1e1b4b;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .article-title a:hover {
            color: #fcb900;
        }

        .article-excerpt {
            line-height: 1.6;
            color: #4a5568;
            overflow: hidden;
            max-height: 150px;
            position: relative;
        }

        .article-excerpt::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 30px;
            background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
        }

        .article-meta {
            font-size: 0.85rem;
            border-top: 1px solid #eee;
            padding-top: 0.75rem;
        }

        .article-date {
            color: #6c757d;
        }

        .read-more {
            background-color: #1e1b4b;
            color: white !important;
            padding: 6px 12px;
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: background-color 0.3s ease;
            font-size: 0.9rem;
            text-decoration: none;
        }

        .read-more:hover {
            background-color: #181641;
        }

        /* Styles pour la démo */
        .demo-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .row {
            display: flex;
            flex-wrap: wrap;
            margin: -15px;
        }

        .col-lg-4 {
            flex: 0 0 33.333333%;
            max-width: 33.333333%;
            padding: 15px;
        }

        @media (max-width: 992px) {
            .col-lg-4 {
                flex: 0 0 50%;
                max-width: 50%;
            }
        }

        @media (max-width: 768px) {
            .col-lg-4 {
                flex: 0 0 100%;
                max-width: 100%;
            }
        }
        /* Conteneur vidéo avec fallback */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Placeholder pour mobile quand vidéo non supportée */
.mobile-video-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    background:#1e1b4b;
    color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.mobile-video-placeholder .video-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.mobile-video-placeholder .video-text {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 200px;
}

.mobile-video-placeholder .video-subtitle {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* Détection mobile avec CSS */
@media (max-width: 768px) {
    .video-container video {
        display: none !important;
    }

    .mobile-video-placeholder {
        display: flex !important;
    }
}

/* Alternative : Détection tactile */
@media (hover: none) and (pointer: coarse) {
    .video-container video {
        display: none !important;
    }

    .mobile-video-placeholder {
        display: flex !important;
    }
}
/* Section Sélection */
.featured-selection {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    padding: 1rem 0;
}

.section-title {
    font-size: 2.2rem;
    color: #1e1b4b;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Carte */
.featured-card {
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    border: 1px solid rgba(30, 27, 75, 0.05);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(30, 27, 75, 0.95);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(10px);
}

.prize-badge {
    background: linear-gradient(135deg, #fcb900 0%, #ffd700 100%);
    color: #1e1b4b;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(252, 185, 0, 0.3);
}

/* Media */
.card-media {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.card-media::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card:hover .card-media img {
    transform: scale(1.08);
}

/* Contenu */
.card-content {
    padding: 1.5rem;
    position: relative;
}

.category {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}

.title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.title a {
    color: #1e1b4b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.title a:hover {
    color: #fcb900;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}

/* Info lot */
.prize-info {
    background: linear-gradient(135deg, rgba(252, 185, 0, 0.1) 0%, rgba(252, 185, 0, 0.05) 100%);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(252, 185, 0, 0.2);
}

.prize-name {
    font-weight: 700;
    color: #1e1b4b;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.prize-value {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

/* Bouton action */
.action-buttons {
    margin-top: 1.5rem;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #2d2a5f 100%);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(30, 27, 75, 0.2);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    background: linear-gradient(135deg, #fcb900 0%, #ffd700 100%);
    color: #1e1b4b;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(252, 185, 0, 0.4);
}

/* Navigation Swiper */
.swiper-button-prev,
.swiper-button-next {
    width: 44px;
    height: 44px;
    background: rgba(30, 27, 75, 0.9);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #fcb900;
    color: #1e1b4b;
    transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .featured-selection {
        padding: 0.5rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .featured-card {
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .card-media {
        height: 140px;
    }

    .card-content {
        padding: 1rem;
    }

    .title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .type-badge {
        top: 8px;
        left: 8px;
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .prize-info {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }

    .prize-name {
        font-size: 0.9rem;
    }

    .prize-value {
        font-size: 0.8rem;
    }

    .action-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .meta {
        gap: 0.8rem;
        font-size: 0.8rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 38px;
        height: 38px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .card-media {
        height: 120px;
    }

    .card-content {
        padding: 0.8rem;
    }

    .title {
        font-size: 1rem;
    }

    .type-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }

    .prize-info {
        padding: 0.6rem;
    }

    .action-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}
/* Styles pour la section statistiques */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: left 0.8s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stat-icon i {
    font-size: 2rem;
    color: white;
    z-index: 2;
}

.stat-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon::after {
    transform: translate(-50%, -50%) scale(1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    position: relative;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--default-color);
    margin-bottom: 1rem;
}

.stat-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* Styles pour les détails supplémentaires */
.stats-details {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.winner-badge {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

.recent-activity h5 {
    color: var(--heading-color);
}

/* Animation pour les chiffres */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-number {
    animation: countUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

.stat-icon {
    width: 60px;
    height: 60px;
    background-color: #eee; /* ou une couleur si tu veux la voir */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #1e1b4b; /* couleur de l'icône */
}

.stat-icon i {
    font-size: 1.5rem;
}


    .winners-list {
        flex-direction: column;
        align-items: center;
    }

    .winner-badge {
        text-align: center;
    }
}
.winners-table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.winners-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.winners-table tbody tr {
    transition: all 0.2s;
}

.winners-table tbody tr:hover {
    background-color: rgba(252, 185, 0, 0.05);
    transform: translateX(3px);
}

.badge.bg-warning {
    background-color: rgba(252, 185, 0, 0.15) !important;
    color: #664d03 !important;
    border: 1px solid rgba(252, 185, 0, 0.3);
}
.brand-text {
    font-size: 1.5rem; /* taille par défaut (desktop) */
    font-weight: 700;
    color: var(--heading-color);
    font-family: 'Poppins', sans-serif; /* ou toute autre police moderne */
    line-height: 1;
}

/* Responsive : plus petit sur mobile */
@media (max-width: 576px) {
    .brand-text {
        font-size: 1.25rem;
    }
}
/* Contenu Sponsorisé */
.sponsored-widget {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    width: 300px; /* Largeur fixe */
    height: 600px; /* Hauteur fixe */
    display: flex;
    flex-direction: column;
    box-sizing: border-box; /* Pour inclure padding dans les dimensions */
}

.sponsored-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sponsored-content img,
.sponsored-content video {
    border-radius: 6px;
    width: 100%;
    height: 300px; /* Hauteur fixe pour le média */
    object-fit: cover; /* Pour conserver les proportions */
    margin-bottom: 1rem;
}

.sponsored-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    flex-shrink: 0; /* Empêche le titre de rétrécir */
}

.sponsored-meta {
    color: #6c757d;
    font-size: 0.85rem;
    flex-shrink: 0; /* Empêche le meta de rétrécir */
}

.widget-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    flex-shrink: 0; /* Empêche le titre du widget de rétrécir */
}
/* Style pour la catégorie active */
.categories-widget li a.active {
    color: var(--accent-color);
    font-weight: bold;
}
/* Bouton Effacer le filtre */
.btn-outline-secondary {
    border-color: #dee2e6;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}
/* Indicateurs de filtre */
.section-title {
    display: inline-block;
    margin-right: 1rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
    vertical-align: middle;
}

/* Formulaire de recherche */
.search-widget form {
    position: relative;
}

.search-widget input[type="text"] {
    width: 100%;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 20px;
}

.search-widget button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
}
/*commentaires*/
/* Testimonials Section */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    background-color: #1e1b4b !important;
}

.game-badge {
    display: inline-block;
    background: rgba(30, 27, 75, 0.1);
    color: #1e1b4b;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
}

.comment-content {
    position: relative;
    padding: 0 1rem;
    color: #4a5568;
    font-style: italic;
    line-height: 1.6;
}

.quote-icon-start {
    position: absolute;
    top: -5px;
    left: -5px;
    font-size: 2rem;
    color: rgba(30, 27, 75, 0.1);
    z-index: 0;
}

.quote-icon-end {
    position: absolute;
    bottom: -15px;
    right: -5px;
    font-size: 2rem;
    color: rgba(30, 27, 75, 0.1);
    z-index: 0;
}

.comment-content p {
    position: relative;
    z-index: 1;
}

/* Swiper customization */
.testimonials-swiper {
    padding: 1rem 0 3rem;
}

.swiper-slide {
    height: auto;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(30, 27, 75, 0.3);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #1e1b4b;
    width: 30px;
    border-radius: 5px;
}

@media (min-width: 768px) {
    .testimonials-swiper {
        padding: 1rem 2rem 3rem;
    }

    .testimonial-card {
        padding: 2rem;
    }
}
/*resultats*/
  .result-card {
    transition: box-shadow 0.3s ease;
  }
  .result-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  .result-card img {
    object-fit: cover;
    height: 100%;
  }
  .section-title h2 {
    font-weight: 700;
    color: var(--heading-color, #1e1b4b);
  }
  .last-winner-card {
    border-left: 5px solid #ffc107;
    transition: transform 0.3s;
}

.last-winner-card:hover {
    transform: translateY(-3px);
}

.results-table th {
    white-space: nowrap;
}

.table-responsive {
    min-height: 300px;
}

@media (max-width: 768px) {
    .last-winner-card .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .last-winner-card .me-4 {
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }
}
/* Styles pour la modal */
#lotModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

#lotModal .modal-header {
    background-color: #1e1b4b;
    color: white;
    border-bottom: none;
}

#lotModal .modal-body img {
    max-height: 400px;
    object-fit: contain;
    width: 100%;
    border-radius: 8px;
}

#lotModal .list-group-item {
    border-left: none;
    border-right: none;
}

#lotModal .list-group-item:first-child {
    border-top: none;
}

#lotModal .list-group-item:last-child {
    border-bottom: none;
}

/* Optimisation mobile */
@media (max-width: 768px) {
    #lotModal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    #lotModal .modal-content {
        border-radius: 8px;
    }

    #lotModal .modal-header {
        padding: 1rem;
    }

    #lotModal .modal-header .modal-title {
        font-size: 1.1rem;
    }

    #lotModal .modal-body {
        padding: 1rem;
    }

    #lotModal .modal-body img {
        max-height: 250px;
        border-radius: 6px;
    }

    #lotModal .modal-footer {
        padding: 1rem;
    }

    #lotModal .list-group-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #lotModal .modal-dialog {
        margin: 0.25rem;
        max-width: calc(100% - 0.5rem);
    }

    #lotModal .modal-content {
        border-radius: 6px;
    }

    #lotModal .modal-header {
        padding: 0.8rem;
    }

    #lotModal .modal-header .modal-title {
        font-size: 1rem;
    }

    #lotModal .modal-body {
        padding: 0.8rem;
    }

    #lotModal .modal-body img {
        max-height: 200px;
        border-radius: 4px;
    }

    #lotModal .modal-footer {
        padding: 0.8rem;
    }

    #lotModal .list-group-item {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    #lotModal .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}
  /* carousel bouton*/
  .btn-outline-primary {
    border-color: #1e1b4b;
    color: #1e1b4b;
  }
  .btn-outline-primary:hover {
    background-color: #1e1b4b;
    color: white;
  }
.btn-more {
  background-color: #fcb900;
  color: #fff;
  font-weight: bold;
  border: none;
}


.buttons-container .btn {
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/*selection*/
.search-group {
    display: flex;
    gap: 8px;
}

.search-btn {
    padding: 8px 16px;
    background-color: #6dbf9b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #5ca88a;
}
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Styles optimisés pour le bouton toggler mobile*/

/*.navbar-toggler {
    position: relative;
    padding: 0.375rem;
    border: none;
    background: transparent !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon,
.navbar-close-icon {
    font-size: 1.5rem;
    color: #333;
    transition: all 0.2s ease;
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-close-icon {
    display: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    display: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-close-icon {
    display: flex;
}

.header-area .navbar {
    padding: 0.375rem 0;
}

.navbar-collapse {
    transition: all 0.3s ease;
}

.navbar-collapse.show {
    display: block !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0.5rem;
        right: 0.5rem;
        background: white;
        box-shadow: 0 1px 5px rgba(0,0,0,0.1);
        border-radius: 4px;
        margin-top: 0.5rem;
        padding: 0.5rem;
        display: none;
        z-index: 1000;
    }

    .navbar-collapse.show {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar-nav .nav-link {
        color: #333;
        padding: 0.5rem 0.75rem;
        margin: 0;
        border-bottom: 1px solid #f5f5f5;
        font-size: 0.875rem;
        transition: all 0.2s ease;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .navbar-nav .nav-link:hover {
        color: #007bff;
        background-color: #f8f9fa;
        border-radius: 4px;
    }

    @media (max-width: 576px) {
        .navbar-toggler {
            width: 36px;
            height: 36px;
            padding: 0.25rem;
        }

        .navbar-toggler-icon,
        .navbar-close-icon {
            font-size: 1.25rem;
        }

        .navbar-collapse {
            left: 0.25rem;
            right: 0.25rem;
        }
    }
}
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
    }
}
@media (max-width: 768px) {
    #sponsoredContent {
    min-height: 60vh !important;
    padding: 1rem !important;
}

#sponsoredMedia {
    max-width: 95% !important;
    height: 45vh !important;
}*/

/* Réduire la taille des éléments textuels */
#progressContainer {
    height: 30px !important;
    font-size: 12px !important;
}

#typeIndicator {
    padding: 6px 12px !important;
    font-size: 10px !important;
}

#skipButton {
    padding: 8px 16px !important;
    font-size: 14px !important;
    bottom: 10px !important;
    right: 10px !important;
}

/* Ajustements pour les vidéos */
#sponsoredVideo {
    max-height: 45vh !important;
}

/* Overlay texte */
#sponsoredOverlay {
    font-size: 12px !important;
    padding: 8px !important;
    max-width: 90% !important;
    bottom: 10px !important;
}

/* Icônes */


/* Barre de progression */
#progressBar {
    height: 3px !important;
}
@media (max-width: 400px) {
    #sponsoredContent {
        min-height: 55vh !important;
    }

    #sponsoredMedia {
        height: 40vh !important;
    }

}

/* Styles spécifiques pour les images dans le modal sponsorisé */
#sponsoredMedia img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

/* Assurer que le conteneur de l'image prend toute la taille disponible */
#sponsoredMedia > div {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Styles pour desktop - permettre aux images de prendre plus d'espace */
@media (min-width: 769px) {
    #sponsoredMedia {
        height: 60vh !important;
    }

    #sponsoredMedia img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    /* Fixer le contenu du modal sans défilement */
    #gameModal .modal-dialog {
        max-height: 80vh;
        display: flex;
        flex-direction: column;
    }

    #gameModal .modal-content {
        max-height: 80vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    #gameModal .modal-body {
        flex-grow: 1;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    #sponsoredContent {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .sponsored-media-container {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    #sponsoredMedia {
        flex-grow: 1;
        overflow: hidden;
    }
}

/* Styles pour le modal de jeu */
@media (min-width: 769px) {
    #gameModal .modal-dialog {
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    #gameModal .modal-content {
        max-height: 90vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    #gameModal .modal-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    #sponsoredContent,
    #gameContent {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        overflow: hidden;
        max-height: 90vh;
    }

    .sponsored-media-container {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        overflow: hidden;
        max-height: 50vh;
    }

    .game-header {
        flex-shrink: 0;
        max-height: 35vh;
        overflow: visible;
        padding: 1rem;
    }

    .game-image-container {
        max-height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    .game-image-container img {
        max-height: 100px;
        max-width: 100%;
        object-fit: contain;
    }

    #gameImage {
        max-height: 100px;
        max-width: 100%;
        object-fit: contain;
    }

    #gameTitle {
        font-size: 1.3rem;
        font-weight: bold;
        margin-bottom: 0.75rem;
        color: #333;
    }

    #gameQuestion {
        font-size: 1.2rem;
        color: #007bff;
        margin-bottom: 0.75rem;
    }

    .game-description {
        flex-shrink: 0;
        overflow: visible;
        max-height: none;
        padding: 0 1rem;
        margin-bottom: 0.75rem;
    }

    #gameDescription {
        font-size: 1rem;
        color: #666;
        line-height: 1.5;
    }

    #answersContainer {
        flex-grow: 1;
        overflow-y: auto;
        min-height: 150px;
        max-height: 35vh;
        padding: 0.75rem;
        margin-top: 0.5rem;
    }

    .game-result {
        flex-shrink: 0;
    }
}

/* Styles pour les écrans plus petits */
@media (max-width: 768px) {
    #gameModal .modal-dialog {
        max-height: 95vh;
    }

    .game-image-container {
        max-height: 120px;
    }

    .game-image-container img,
    #gameImage {
        max-height: 120px;
    }

    #answersContainer {
        max-height: 40vh;
        min-height: 150px;
    }
}

/* Styles pour le modal de prévisualisation de média */
#mediaPreviewModal .modal-content.media-preview-content {
    background-color: rgba(0, 0, 0, 0.9);
    border: none;
}

#mediaPreviewModal .modal-header {
    border-bottom: none;
    padding: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
}

#mediaPreviewModal .btn-close {
    background: none;
    opacity: 1;
    color: white;
    filter: invert(1) grayscale(100%) brightness(200%);
    font-size: 1.5rem;
    padding: 0.5rem;
    transition: opacity 0.2s ease;
}

#mediaPreviewModal .btn-close:hover {
    opacity: 0.8;
}

#mediaPreviewModal .modal-body {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100vh;
    cursor: pointer;
}

#mediaPreviewModal img,
#mediaPreviewModal video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    pointer-events: none;
}

/* Styles pour rendre les médias cliquables */
#sponsoredMedia img,
#sponsoredMedia video {
    cursor: pointer;
    transition: transform 0.2s ease;
}

#sponsoredMedia img:hover,
#sponsoredMedia video:hover {
    transform: scale(1.02);
}
/* ============================
   🎮 Hero Section - Défi Bénin
============================ */
.game-hero {
  background-color: #0d0d0d;
  color: #f0f0f0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.game-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.game-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.game-hero .breadcrumb-item a {
  color: #dddddd;
  text-decoration: underline;
}

.game-hero .breadcrumb-item.active {
  color: #ffd700;
  font-weight: 600;
}

/* Badge catégorie */
.game-hero .badge {
  background-color: white;
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
}

/* Bouton principal */
.btn-play-now,
.game-hero .btn-warning {
  background-color: #ffd700;
  color: #1e1b4b;
  font-weight: bold;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-play-now:hover,
.game-hero .btn-warning:hover {
  background-color: #fcb900;
  color: #fff;
}

/* Image du lot */
.game-hero img {
  max-height: 250px;
  border: 3px solid #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .game-hero h1 {
    font-size: 2rem;
  }

  .game-hero .btn-warning {
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  .game-hero .badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}
.last-winner-card {
  min-height: 100px; /* Ajuste selon ton contenu */
}



