/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: 
    /* Couleur orange en superposition */
    linear-gradient(135deg, 
      rgba(255, 111, 0, 0.7) 0%, 
      rgba(255, 133, 51, 0.6) 50%, 
      rgba(255, 166, 77, 0.5) 100%
    ),
    /* Image de fond volley */
    url('../images/fond3.jfif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #2d3748;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}



/* Modern header */
header {
  background: #ffffff;
  color: #2d3748;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e2e8f0;
}

/* Pour que le menu mobile se positionne correctement */
@media (max-width: 768px) {
  header {
    position: relative;
  }
}

.logo-container {
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.logo {
  height: 80px;
  width: auto;
  border-radius: 12px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
  transform: scale(1.05);
}

header h1 {
  color: #2d3748;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.auth-section {
  display: flex;
  align-items: center;
}

/* Styles pour les sous-menus - Desktop */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: #ff6f00;
  background: rgba(255, 111, 0, 0.1);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: #ffffff;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  z-index: 1001;
  border: 1px solid rgba(255, 111, 0, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
}

.dropdown-content a {
  color: #4a5568;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  border-radius: 0;
}

.dropdown-content a:hover {
  background: rgba(255, 111, 0, 0.1);
  color: #ff6f00;
  transform: none;
}

.dropdown-content a:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.dropdown-content a:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

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

.main-nav a {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.main-nav a:hover {
  color: #ff6f00;
  background: rgba(255, 111, 0, 0.1);
  transform: translateY(-2px);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover::after {
  width: 80%;
}

/* Modern buttons */
.myButton {
  background: linear-gradient(135deg, #ff6f00 0%, #ff8533 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.myButton::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;
}

.myButton:hover::before {
  left: 100%;
}

.myButton:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
}

.myButton:active {
  transform: translateY(-1px);
}

/* Main content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Hero section */
.hero {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Featured section */
.featured-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.featured-text h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2d3748;
}

.featured-text p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Sponsors section */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.sponsor-card {
  background: rgba(255, 255, 255, 0.80);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

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

.sponsor-card:hover::before {
  left: 100%;
}

.sponsor-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.sponsor-logo {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.sponsor-card:hover .sponsor-logo {
  transform: scale(1.1);
}

.sponsor-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #2d3748;
}

.sponsor-card p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
}

.sponsors-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Content sections */
section {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

section:hover {
  transform: translateY(-5px);
}

section h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2d3748;
}

/* Images */
img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 100%;
  height: auto;
}

img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.80);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
  color: #4a5568;
}

/* Links */
a {
  color: #ff6f00;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff8533;
}


/* Button links */
.button-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #ff6f00 0%, #ff8533 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.button-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
  color: white;
}

/* Responsive design */
@media (max-width: 768px) {
  .logo-container {
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo-section {
    flex: 1;
    gap: 0.5rem;
  }
  
  .logo {
    height: 50px;
  }
  
  header h1 {
    font-size: 1.2rem;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    z-index: 1001;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  /* Styles mobile pour les sous-menus */
  .nav-dropdown {
    position: static;
    width: 100% !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    text-align: center;
    display: block !important;
    visibility: visible !important;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
    color: #4a5568;
    text-decoration: none;
    cursor: pointer;
    width: 100% !important;
    box-sizing: border-box !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
  }
  
  .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: transparent;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    top: auto;
    left: auto;
    min-width: auto;
    max-height: none;
    overflow: visible;
    text-align: center;
    width: auto;
  }
  
  .nav-dropdown.active .dropdown-content {
    display: block !important;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }
  
  /* Forcer l'affichage des sous-menus actifs sur mobile */
  @media (max-width: 768px) {
    .nav-dropdown.active .dropdown-content {
      display: block !important;
    }
  }
  
  .dropdown-content a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    margin: 0 !important;
    display: block;
    color: #4a5568;
    text-decoration: none;
    cursor: pointer;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .dropdown-content a:hover {
    background: rgba(255, 111, 0, 0.1);
    color: #ff6f00;
  }
  
  .dropdown-content a:first-child {
    border-radius: 0;
    border-bottom: 1px solid #e2e8f0;
    margin-top: 0;
  }
  
  .dropdown-content a:last-child {
    border-radius: 0;
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .main-nav a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .main-nav a:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .auth-section {
    order: unset;
  }
  
  .logo-container {
    gap: 2rem;
  }
  
  /* Bouton hamburger */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    margin-left: 2rem;
  }
  
  .hamburger span {
    width: 100%;
    height: 3px;
    background: #2d3748;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hero {
    padding: 2rem 1rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .featured-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  main {
    padding: 2rem 1rem;
  }
  
  section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-container {
    padding: 0 0.5rem;
  }
  
  .logo-section {
    gap: 0.25rem;
  }
  
  .logo {
    height: 40px;
  }
  
  header h1 {
    font-size: 1rem;
  }
  
  .auth-section {
    gap: 0.5rem;
  }
  
  .logo-container {
    gap: 1.5rem;
  }
  
  .myButton {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .hamburger {
    width: 25px;
    height: 20px;
    margin-left: 1.5rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero, section {
  animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #e65c00, #ff751a);
}

/* Styles pour le formulaire de connexion */
.login-popup {
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

.login-form {
  text-align: left;
  width: 100%;
  max-width: 400px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2d3748;
  font-size: 0.9rem;
}

.swal2-input {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  background: #ffffff !important;
  color: #2d3748 !important;
}

.swal2-input:focus {
  outline: none !important;
  border-color: #ff6f00 !important;
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1) !important;
}

.swal2-input::placeholder {
  color: #a0aec0 !important;
}

.register-link {
  margin-top: 1.5rem;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.register-link p {
  margin: 0;
  color: #4a5568;
  font-size: 0.9rem;
}

.register-link a {
  color: #ff6f00;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.register-link a:hover {
  color: #e65c00;
  text-decoration: underline;
}

.login-confirm-btn {
  background: linear-gradient(135deg, #ff6f00, #ff8533) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  color: white !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3) !important;
}

.login-confirm-btn:hover {
  background: linear-gradient(135deg, #e65c00, #ff751a) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4) !important;
}

.login-cancel-btn {
  background: #f7fafc !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  color: #4a5568 !important;
  transition: all 0.3s ease !important;
}

.login-cancel-btn:hover {
  background: #edf2f7 !important;
  border-color: #cbd5e0 !important;
  color: #2d3748 !important;
}

.login-deny-btn {
  background: #4a5568 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  color: white !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(74, 85, 104, 0.3) !important;
}

.login-deny-btn:hover {
  background: #2d3748 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(74, 85, 104, 0.4) !important;
}

/* Styles pour les formulaires d'inscription */
.registration-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2d3748;
}

.form-field input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #ffffff;
  color: #2d3748;
}

.form-field input:focus {
  outline: none;
  border-color: #ff6f00;
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
}

.form-field input[type="email"] {
  font-family: inherit;
}

.form-field input[type="password"] {
  font-family: inherit;
}

.submit-btn {
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-weight: 600;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
  width: 100%;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #e65c00, #ff751a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.error-message {
  background: #fed7d7;
  color: #c53030;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid #c53030;
}

.error-message ul {
  margin: 0;
  padding-left: 1.5rem;
}

.success-message {
  background: #c6f6d5;
  color: #22543d;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid #38a169;
}

.success-message p {
  margin: 0;
  font-weight: 600;
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: #ff6f00;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #e65c00;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .registration-form {
    margin: 1rem;
    padding: 1.5rem;
  }
}

/* Styles pour la page News */
.news-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.news-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.news-header:hover {
  background: rgba(255, 111, 0, 0.05);
}

.news-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.news-icon {
  color: #ff6f00;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.news-title h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
}

.news-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.edit-btn {
  color: #3182ce;
}

.edit-btn:hover {
  background: rgba(49, 130, 206, 0.1);
  color: #2c5aa0;
}

.delete-btn {
  color: #e53e3e;
}

.delete-btn:hover {
  background: rgba(229, 62, 62, 0.1);
  color: #c53030;
}

.news-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.news-content.active {
  max-height: 1000px;
}

.news-image {
  padding: 1.5rem 2rem 0;
}

.news-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  max-height: 400px;
  object-fit: cover;
}

.news-text {
  padding: 1.5rem 2rem 2rem;
}

.news-text p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #4a5568;
}

.news-highlights {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.news-highlights li {
  margin-bottom: 0.5rem;
  color: #4a5568;
}

.news-meta {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
  color: #718096;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-meta i {
  color: #ff6f00;
}

/* Responsive pour les news */
@media (max-width: 768px) {
  .news-header {
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .news-title {
    width: 100%;
  }
  
  .news-actions {
    align-self: flex-end;
  }
  
  .news-text {
    padding: 1rem 1.5rem 1.5rem;
  }
  
  .news-image {
    padding: 1rem 1.5rem 0;
  }
  
  .news-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .news-title h3 {
    font-size: 1.1rem;
  }
}

/* Styles pour la page articles */
.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
}

.btn-secondary {
  background: #f7fafc;
  color: #4a5568;
  border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
  background: #edf2f7;
  border-color: #cbd5e0;
  transform: translateY(-1px);
}

.btn-secondary.disabled {
  background: #6c757d;
  color: #ffffff;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

.btn-secondary.disabled:hover {
  background: #6c757d;
  transform: none;
  box-shadow: none;
}

.article-form-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

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

.article-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-form .form-field label {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.95rem;
}

.article-form .form-field input,
.article-form .form-field select,
.article-form .form-field textarea {
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.article-form .form-field input:focus,
.article-form .form-field select:focus,
.article-form .form-field textarea:focus {
  outline: none;
  border-color: #ff6f00;
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
}

.article-form .form-field textarea {
  min-height: 200px;
  resize: vertical;
  font-family: inherit;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.form-actions .submit-btn {
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.form-actions .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
}

/* Responsive pour la page articles */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .article-form-container {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .form-actions .btn,
  .form-actions .submit-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Styles améliorés pour la page news */
.news-count {
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-count p {
  margin: 0;
  font-weight: 600;
  color: #2d3748;
  font-size: 1.1rem;
}

.news-count i {
  color: #ff6f00;
  margin-right: 0.5rem;
}

.news-badge {
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 1rem;
  animation: pulse 2s infinite;
}

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

.news-item[data-article-id] {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item[data-article-id]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #718096;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  backdrop-filter: blur(5px);
}

.news-meta i {
  color: #ff6f00;
  font-size: 0.8rem;
}

/* Amélioration de l'affichage du contenu des articles */
.news-text {
  line-height: 1.8;
  color: #2d3748;
}

.news-text p {
  margin-bottom: 1rem;
}

.news-text img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-text h1, .news-text h2, .news-text h3, .news-text h4, .news-text h5, .news-text h6 {
  color: #2d3748;
  margin: 1.5rem 0 1rem 0;
  font-weight: 600;
}

.news-text ul, .news-text ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.news-text li {
  margin-bottom: 0.5rem;
}

.news-text blockquote {
  border-left: 4px solid #ff6f00;
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: #4a5568;
  background: rgba(255, 111, 0, 0.05);
  padding: 1rem;
  border-radius: 0 8px 8px 0;
}

/* Responsive pour les news */
@media (max-width: 768px) {
  .news-count {
    margin: 1rem;
    padding: 0.75rem;
  }
  
  .news-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .news-meta span {
    justify-content: center;
  }
  
  .news-badge {
    margin-left: 0.5rem;
    font-size: 0.7rem;
  }
}

/* Styles pour les messages d'erreur de validation */
.field-error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  border-radius: 6px;
  padding: 0.75rem;
  margin-top: 0.5rem;
  animation: fadeIn 0.3s ease-in;
}

.field-error i {
  margin-right: 0.5rem;
  color: #e74c3c;
}

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

/* Styles pour les champs en erreur */
.form-field input.error,
.form-field textarea.error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

/* Amélioration de l'éditeur TinyMCE */
.tox-tinymce {
  border-radius: 8px !important;
  border: 2px solid #e2e8f0 !important;
}

.tox-tinymce:focus-within {
  border-color: #ff6f00 !important;
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1) !important;
}

/* Styles pour les messages de notification dans news.php */
.success-notification,
.error-notification {
  margin: 1.5rem 0;
  animation: slideInDown 0.5s ease-out;
}

.success-notification .success-message {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.error-notification .error-message {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-notification .success-message i,
.error-notification .error-message i {
  font-size: 1.2rem;
  color: #fff;
}

.success-notification .success-message span,
.error-notification .error-message span {
  font-weight: 500;
  font-size: 1rem;
}

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

/* Animation de disparition automatique */
.success-notification.fade-out {
  animation: fadeOut 0.5s ease-in forwards;
}

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

/* Styles améliorés pour la section "À la une" */
.featured {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.featured h3 {
  color: #2d3748;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.featured-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.featured-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-image:hover img {
  transform: scale(1.05);
}

.featured-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.featured-text h4 {
  color: #2d3748;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.featured-text p {
  color: #4a5568;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.featured-excerpt {
  color: #4a5568;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.featured-excerpt img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.featured-excerpt p {
  margin: 0.5rem 0;
}

.featured-excerpt h1, .featured-excerpt h2, .featured-excerpt h3, 
.featured-excerpt h4, .featured-excerpt h5, .featured-excerpt h6 {
  margin: 1rem 0 0.5rem 0;
  color: #2d3748;
  font-weight: 600;
}

.featured-excerpt ul, .featured-excerpt ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.featured-excerpt li {
  margin: 0.25rem 0;
}

.featured-excerpt blockquote {
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  border-left: 4px solid #007bff;
  background: rgba(0, 123, 255, 0.05);
  font-style: italic;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.featured-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #718096;
  background: rgba(255, 111, 0, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
}

.featured-date i {
  color: #ff6f00;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ffc107, #ffb300);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
  animation: pulse 2s infinite;
}

.featured-badge i {
  color: #fff;
  font-size: 0.9rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
  }
  50% {
    box-shadow: 0 2px 16px rgba(255, 193, 7, 0.6);
  }
  100% {
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
  }
}

.featured-text .button-link {
  align-self: flex-start;
  margin-top: 1rem;
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.featured-text .button-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
  color: white;
}

/* Responsive pour la section "À la une" */
@media (max-width: 768px) {
  .featured {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .featured h3 {
    font-size: 1.5rem;
  }
  
  .featured-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .featured-image img {
    height: 200px;
  }
  
  .featured-text h4 {
    font-size: 1.3rem;
  }
  
  .featured-text p {
    font-size: 1rem;
  }
  
  .featured-text .button-link {
    align-self: center;
    width: 100%;
    text-align: center;
  }
}

/* Styles pour le mode édition dans articles.php */
.article-form-container.editing {
  border-left: 4px solid #007bff;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0.02));
}

.article-form-container.editing .hero {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.article-form-container.editing .hero h2::before {
  content: "✏️ ";
  margin-right: 0.5rem;
}

/* Animation pour le chargement des données en mode édition */
.article-form-container.editing .form-field {
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== STYLES POUR LES SPONSORS ==================== */

.sponsors-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sponsors-count {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sponsors-count p {
  margin: 0;
  font-weight: 600;
  color: #2d3748;
  font-size: 1.1rem;
}

.sponsors-count i {
  color: #ff6f00;
  margin-right: 0.5rem;
}

.sponsor-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sponsor-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sponsor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sponsor-header:hover {
  background: rgba(255, 111, 0, 0.05);
}

.sponsor-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.sponsor-icon {
  color: #ff6f00;
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.sponsor-title h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  padding: 1rem 1.5rem;
}

.sponsor-icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-right: 0.5rem;
}

.sponsor-vip-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #8b4513;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  margin: 0 0 1rem 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sponsor-vip-badge i {
  color: #8b4513;
  font-size: 1rem;
}

.sponsor-item.active .sponsor-vip-badge {
  transform: translateY(8px) scale(0.95);
  opacity: 0.8;
}

.sponsor-actions {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: 1rem;
}

.sponsor-content {
  display: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 0.5rem 0;
  padding: 1rem;
}

.sponsor-item.active .sponsor-content {
  display: block;
}

.sponsor-text {
  min-height: 200px;
  margin: 0;
}

.sponsor-main-content {
  display: flex;
  align-items: stretch;
  gap: 2rem;
}

.sponsor-logo {
  flex: 0 0 200px;
  margin-right: 2rem;
  text-align: center;
}

.sponsor-logo img {
  max-width: 200px;
  max-height: 150px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sponsor-description {
  flex: 1;
  line-height: 1.6;
  color: #4a5568;
  min-height: 150px !important;
  overflow-y: auto !important;
  padding-right: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 20px;
}

.sponsor-link {
  margin-bottom: 0.5rem;
  text-align: center;
}

.sponsor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: #718096;
}

.sponsor-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sponsor-meta i {
  color: #ff6f00;
}

/* ==================== STYLES POUR LES GOODIES ==================== */

.goodies-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.goodies-count {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.goodies-count p {
  margin: 0;
  font-weight: 600;
  color: #2d3748;
  font-size: 1.1rem;
}

.goodies-count i {
  color: #ff6f00;
  margin-right: 0.5rem;
}

.goodie-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.goodie-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.goodie-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.goodie-header:hover {
  background: rgba(255, 111, 0, 0.05);
}

.goodie-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.goodie-icon {
  color: #ff6f00;
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.goodie-title h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
}

.goodie-type-badge {
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.goodie-actions {
  display: flex;
  gap: 0.5rem;
}

.goodie-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.goodie-text {
  padding: 1.5rem;
}

.goodie-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #4a5568;
}

.goodie-display {
  margin-bottom: 1.5rem;
}

.goodie-image {
  text-align: center;
  margin-bottom: 1rem;
}

.goodie-image img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.goodie-image img:hover {
  transform: scale(1.02);
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #f7fafc;
  border: 2px dashed #cbd5e0;
  border-radius: 8px;
  color: #718096;
}

.image-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #cbd5e0;
}

.goodie-audio {
  margin-bottom: 1rem;
}

.goodie-audio audio {
  width: 100%;
  border-radius: 8px;
}

.goodie-video {
  margin-bottom: 1rem;
}

.goodie-video video {
  width: 100%;
  max-height: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.goodie-download-link {
  text-align: center;
  margin-top: 1rem;
}

.goodie-download {
  margin-bottom: 1.5rem;
  text-align: center;
}

.goodie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: #718096;
}

.goodie-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.goodie-meta i {
  color: #ff6f00;
}

/* Styles responsives pour sponsors et goodies */
@media (max-width: 768px) {
  .sponsors-container,
  .goodies-container {
    padding: 0 1rem;
  }
  
  .sponsor-header,
  .goodie-header {
    padding: 1rem;
  }
  
  .sponsor-title,
  .goodie-title {
    gap: 0.5rem;
  }
  
  .sponsor-title h3,
  .goodie-title h3 {
    font-size: 1.1rem;
  }
  
  .sponsor-text,
  .goodie-text {
    padding: 1rem;
  }
  
  .sponsor-meta,
  .goodie-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .goodie-type-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
  
  .goodie-image img {
    max-height: 300px;
  }
  
  .goodie-video video {
    max-height: 300px;
  }
  
  .image-placeholder {
    padding: 1.5rem;
  }
  
  .image-placeholder i {
    font-size: 2rem;
  }
}

/* ==================== STYLES POUR LA ZONE DRAG & DROP ==================== */

.drag-drop-zone {
  border: 2px dashed #cbd5e0;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.drag-drop-zone:hover {
  border-color: #ff6f00;
  background: rgba(255, 111, 0, 0.05);
}

.drag-drop-zone.drag-over {
  border-color: #ff6f00;
  background: rgba(255, 111, 0, 0.1);
  transform: scale(1.02);
}

.drag-drop-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.drag-drop-content i {
  font-size: 3rem;
  color: #ff6f00;
}

.drag-drop-content p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
}

.drag-drop-content small {
  color: #718096;
  font-size: 0.9rem;
}

.upload-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  font-weight: 600;
  color: #2d3748;
}

.upload-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.upload-success i {
  font-size: 3rem;
  color: #48bb78;
}

.upload-success p {
  margin: 0;
  font-weight: 600;
  color: #2d3748;
}

.current-file {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: rgba(255, 111, 0, 0.1);
  border-radius: 6px;
  font-size: 0.9rem;
  color: #2d3748;
}

.current-file i {
  color: #ff6f00;
}

/* ==================== STYLES POUR LES SECTIONS PAR TYPE ==================== */

.goodie-type-section {
  margin-bottom: 3rem;
}

.goodie-type-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  color: white;
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.goodie-type-title i {
  font-size: 1.5rem;
}

.goodie-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-left: auto;
}

/* Styles responsives pour drag & drop */
@media (max-width: 768px) {
  .drag-drop-zone {
    padding: 1.5rem;
  }
  
  .drag-drop-content i {
    font-size: 2.5rem;
  }
  
  .drag-drop-content p {
    font-size: 1rem;
  }
  
  .goodie-type-title {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
  }
  
  .goodie-type-title i {
    font-size: 1.3rem;
  }
}

/* Styles pour les sponsors sur la page d'accueil */
.sponsor-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 111, 0, 0.05) 0%, 
    rgba(255, 133, 51, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.sponsor-card:hover::before {
  opacity: 1;
}

.sponsor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.sponsor-card.vip-sponsor {
  background: linear-gradient(135deg, 
    rgba(255, 215, 0, 0.1) 0%, 
    rgba(255, 255, 255, 0.95) 100%);
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.sponsor-logo {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
}

.sponsor-logo img {
  max-width: 120px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.sponsor-logo a:hover img {
  transform: scale(1.05);
}

.sponsor-placeholder {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #cbd5e0;
  transition: all 0.3s ease;
}

.sponsor-placeholder i {
  font-size: 2rem;
  color: #a0aec0;
}

.sponsor-placeholder a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.sponsor-placeholder a:hover {
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  border-color: #ff6f00;
}

.sponsor-placeholder a:hover i {
  color: white;
}

.sponsor-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.sponsor-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sponsor-name a:hover {
  color: #ff6f00;
}

.sponsor-description {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  max-height: 3.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.vip-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #744210;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.vip-badge i {
  font-size: 0.7rem;
}

.no-sponsors {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  margin: 1rem 0;
}

.no-sponsors p {
  color: #718096;
  font-style: italic;
  margin: 0;
}

/* Responsive pour les sponsors */
@media (max-width: 768px) {
  .sponsor-card {
    padding: 1rem;
  }
  
  .sponsor-logo img {
    max-width: 100px;
    max-height: 60px;
  }
  
  .sponsor-placeholder {
    width: 60px;
    height: 60px;
  }
  
  .sponsor-placeholder i {
    font-size: 1.5rem;
  }
  
  .sponsor-name {
    font-size: 1.1rem;
  }
  
  .sponsor-description {
    font-size: 0.85rem;
  }
  
  .vip-badge {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
}

/* Styles pour la page sponsors */
.sponsor-textprom {
  background: rgba(255, 111, 0, 0.05);
  border-left: 3px solid #ff6f00;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border-radius: 0 8px 8px 0;
}

.sponsor-textprom strong {
  color: #ff6f00;
  font-weight: 600;
}

.sponsor-textprom p {
  margin: 0.5rem 0 0 0;
  color: #4a5568;
  font-style: italic;
}

.sponsor-dates {
  color: #718096;
  font-size: 0.9rem;
}

.sponsor-vip {
  color: #d69e2e;
  font-weight: 600;
  font-size: 0.9rem;
}

.sponsor-vip i {
  color: #f6e05e;
}

/* Responsive pour la page sponsors */
@media (max-width: 768px) {
  .sponsor-textprom {
    padding: 0.5rem;
    margin: 0.25rem 0;
  }
  
  .sponsor-textprom p {
    font-size: 0.85rem;
  }
  
  .sponsor-dates,
  .sponsor-vip {
    font-size: 0.8rem;
  }
  
  /* Correction pour Chrome mobile - layout horizontal optimisé */
  .sponsor-main-content {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.25rem !important;
    align-items: flex-start !important;
    width: 100% !important;
  }
  
  .sponsor-logo {
    flex: 0 0 80px !important;
    margin-right: 0.25rem !important;
    margin-bottom: 0 !important;
    text-align: center;
    min-width: 80px !important;
  }
  
  .sponsor-logo img {
    max-width: 80px !important;
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
  }
  
  .sponsor-description {
    flex: 1 !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: auto !important;
    padding: 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    width: auto !important;
  }
  
  /* Amélioration de l'espacement général */
  .sponsor-text {
    padding: 0.5rem !important;
  }
  
  .sponsor-content {
    margin: 0 !important;
    padding: 0.5rem !important;
  }
  
  /* Correction spécifique pour Edge mobile - forcer l'affichage de tous les éléments */
  .sponsor-item.active .sponsor-text,
  .sponsor-item.active .sponsor-main-content,
  .sponsor-item.active .sponsor-logo,
  .sponsor-item.active .sponsor-description,
  .sponsor-item.active .sponsor-link,
  .sponsor-item.active .sponsor-textprom {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .sponsor-item.active .sponsor-main-content {
    display: flex !important;
  }
  
  .sponsor-item.active .sponsor-logo {
    display: block !important;
  }
}

/* Notification indicator styles */
.notification-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 12px;
}

.notification-bell {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
  position: relative;
  font-size: 18px;
  color: white;
}

.notification-bell:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.notification-bell:active {
  transform: scale(0.95);
}

.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #ff4444;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: bold;
  min-width: 16px;
  text-align: center;
  animation: pulse 2s infinite;
  border: 2px solid white;
}

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

/* Popup des notifications */
.notification-popup {
  position: absolute;
  top: 100%;
  right: 0;
  width: 400px;
  max-width: 90vw;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 1002;
  max-height: 500px;
  overflow: hidden;
  overflow-x: hidden;
  margin-top: 8px;
}

.notification-popup-header {
  background: #f8f9fa;
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.notification-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-mark-all-read,
.btn-delete-read {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-mark-all-read {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: 1px solid #28a745;
}

.btn-mark-all-read:hover {
  background: linear-gradient(135deg, #218838, #1ea085);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.btn-delete-read {
  background: linear-gradient(135deg, #dc3545, #fd7e14);
  color: white;
  border: 1px solid #dc3545;
}

.btn-delete-read:hover {
  background: linear-gradient(135deg, #c82333, #e55a00);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.notification-list {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  touch-action: pan-y;
}

.notification-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border-left: 4px solid transparent;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.notification-item:hover {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-left-color: #007bff;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.notification-item:active {
  transform: translateX(0);
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.notification-message {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.notification-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
}

.notification-type {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.notification-type::before {
  content: "📢";
  font-size: 8px;
}

.notification-empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-style: italic;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.notification-empty::before {
  content: "📭";
  font-size: 48px;
  opacity: 0.5;
}

.notification-loading {
  text-align: center;
  padding: 20px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.notification-loading::before {
  content: "⏳";
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Styles pour les notifications lues et non lues */
.notification-unread {
  border-left-color: #007bff;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.notification-read {
  border-left-color: #28a745;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  opacity: 0.8;
}

.notification-read .notification-title {
  color: #6c757d;
}

.notification-read .notification-message {
    color: #adb5bd;
}

/* Styles pour les notifications cliquables vs non-cliquables */
.notification-clickable {
    cursor: pointer;
}

.notification-clickable:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    border-left-color: #007bff !important;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.notification-read-only {
    cursor: default;
}

.notification-read-only:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    transform: none;
    box-shadow: none;
}

/* Style spécial pour les invitations OneSignal */
.notification-invitation {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7) !important;
    border-left: 4px solid #ffc107 !important;
    border: 1px solid #ffc107;
    position: relative;
}

.notification-invitation:hover {
    background: linear-gradient(135deg, #fff3cd, #ffd93d) !important;
    border-left-color: #ffc107 !important;
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.notification-invitation .notification-title {
    color: #856404;
    font-weight: bold;
}

.notification-invitation .notification-message {
    color: #6c757d;
}

/* Responsive pour les notifications - POSITION FIXE SUR MOBILE */
@media (max-width: 768px) {
  .notification-popup {
    position: fixed !important;
    top: 80px !important;
    right: 20px !important;
    left: auto !important;
    width: 350px;
    max-width: calc(100vw - 40px);
  }
}

@media (max-width: 480px) {
  .notification-popup {
    position: fixed !important;
    top: 80px !important;
    right: 10px !important;
    left: auto !important;
    width: 320px;
    max-width: calc(100vw - 20px);
  }
}

/* User menu styles */
.user-menu-container {
  position: relative;
  display: flex;
  align-items: center;
}

.user-menu-btn {
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(255, 111, 0, 0.3);
  position: relative;
}

.user-menu-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 111, 0, 0.4);
}

.user-menu-btn:active {
  transform: scale(0.95);
}

.user-initials {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  min-width: 250px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 8px;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-info-header {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-initials-large {
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.user-name {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.95rem;
}

.user-email {
  color: #718096;
  font-size: 0.8rem;
}

.user-menu-items {
  padding: 0.5rem;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: #4a5568;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
}

.user-menu-item:hover {
  background: #f7fafc;
  color: #2d3748;
  transform: translateX(2px);
}

.user-menu-item i {
  width: 16px;
  color: #718096;
}

.user-menu-item.logout-item {
  color: #e53e3e;
}

.user-menu-item.logout-item:hover {
  background: #fed7d7;
  color: #c53030;
}

.user-menu-item.logout-item i {
  color: #e53e3e;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    max-height: 400px;
    border-radius: 12px;
    margin-top: 8px;
    background: white;
    backdrop-filter: blur(10px);
    overflow-y: auto;
  }
  
  .user-info-header {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .user-menu-items {
    padding: 0.5rem;
  }
  
  .user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
  }
  
  .user-menu-item:hover {
    background: #f7fafc;
    color: #2d3748;
    transform: translateX(2px);
  }
  
  .user-menu-btn {
    width: 36px;
    height: 36px;
  }
  
  .user-initials {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .user-menu-btn {
    width: 32px;
    height: 32px;
  }
  
  .user-initials {
    font-size: 0.75rem;
  }
  
  .user-dropdown {
    width: 260px;
    max-height: 350px;
    right: -1.5rem;
  }
  
  .user-info-header {
    padding: 0.875rem;
  }
  
  .user-menu-items {
    padding: 0.5rem;
  }
  
  .user-menu-item {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
}

/* Mode portrait smartphone - s'assurer que le menu profil reste compact */
@media (max-width: 768px) and (orientation: portrait) {
  .user-dropdown {
    position: absolute;
    top: 100%;
    right: -2rem;
    width: 280px;
    max-height: 400px;
    border-radius: 12px;
    margin-top: 8px;
    background: white;
    backdrop-filter: blur(10px);
    overflow-y: auto;
    z-index: 1001;
  }
  
  .user-info-header {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .user-menu-items {
    padding: 0.5rem;
  }
  
  .user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
  }
  
  .user-menu-item:hover {
    background: #f7fafc;
    color: #2d3748;
    transform: translateX(2px);
  }
  
  /* Espacement entre auth-section et hamburger en mode portrait */
  .logo-container {
    gap: 1.5rem;
  }
  
  .hamburger {
    margin-left: 2rem;
    margin-right: 0.5rem;
  }
  
  /* Aligner le menu profil avec le bord droit du bouton hamburger */
  .user-dropdown {
    right: calc(-2rem - 25px - 0.5rem);
    max-width: calc(100vw - 1rem);
  }
}

/* Styles pour la nouvelle structure de index.php */

/* Amélioration des styles existants pour les sponsors */
.sponsors-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.sponsors-section h3 {
  color: #2d3748;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #ff6f00, #ff8533);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sponsor-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sponsor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sponsor-card .sponsor-logo {
  margin-bottom: 1rem;
}

.sponsor-card .sponsor-logo img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

.sponsor-card h4 {
  color: #2d3748;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

.sponsor-card p {
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.sponsors-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Responsive design pour les sponsors */
@media (max-width: 768px) {
  .sponsors-section {
    margin: 1rem;
    padding: 1.5rem;
  }

  .sponsors-section h3 {
    font-size: 1.5rem;
  }

  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
}

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

/* Styles spécifiques pour actualites.php */
.news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.news-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-header {
  background: white;
  color: #2d3748;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e2e8f0;
}

.news-header:hover {
  background: #f7fafc;
}

.news-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.news-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.news-title h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
}

.news-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  background: white;
  transition: max-height 0.3s ease-in-out;
}

.news-item.active .news-content {
  max-height: 1000px;
  padding: 1.5rem;
}

.news-text {
  color: #2d3748;
  line-height: 1.6;
}

.news-text p {
  margin: 0.5rem 0;
}

.news-text h1, .news-text h2, .news-text h3, .news-text h4, .news-text h5, .news-text h6 {
  margin: 1rem 0 0.5rem 0;
  color: #2d3748;
  font-weight: 600;
}

.news-text ul, .news-text ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.news-text li {
  margin: 0.25rem 0;
}

.news-text blockquote {
  border-left: 4px solid #ff6f00;
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: #4a5568;
}

.news-description {
  margin-bottom: 1.5rem;
}

.news-description img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
}

.news-text img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.news-description img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.news-description h1, .news-description h2, .news-description h3, 
.news-description h4, .news-description h5, .news-description h6 {
  margin: 1rem 0 0.5rem 0;
  color: #2d3748;
  font-weight: 600;
}

.news-description ul, .news-description ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.news-description li {
  margin: 0.25rem 0;
}

.news-description blockquote {
  border-left: 4px solid #ff6f00;
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: #4a5568;
}

.news-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  color: #718096;
  font-size: 0.9rem;
}

.news-date, .news-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-date i, .news-team i {
  color: #ff6f00;
}

.news-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.5rem;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.edit-btn:hover {
  background: rgba(59, 130, 246, 0.8);
  transform: scale(1.1);
}

.delete-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  transform: scale(1.1);
}

.featured-btn {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.5rem;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.featured-btn:hover {
  background: rgba(255, 193, 7, 0.8);
  transform: scale(1.1);
}

.featured-btn.active {
  background: rgba(255, 193, 7, 0.9);
  color: #fff;
  border-color: #ffc107;
}

.featured-btn.active:hover {
  background: rgba(255, 193, 7, 1);
  transform: scale(1.1);
}

.news-count {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-count p {
  margin: 0;
  color: #2d3748;
  font-weight: 600;
  font-size: 1.1rem;
}

.news-count i {
  color: #ff6f00;
  margin-right: 0.5rem;
}

/* Responsive design pour actualites.php */
@media (max-width: 768px) {
  .news-header {
    padding: 1rem;
  }
  
  .news-title h3 {
    font-size: 1.1rem;
  }
  
  .news-content {
    padding: 1rem;
  }
  
  .news-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .news-actions {
    gap: 0.25rem;
  }
  
  .action-btn {
    padding: 0.4rem;
    font-size: 0.9rem;
  }
}

/* ==================== STYLES POUR LES FEEDBACKS DE VALIDATION ==================== */

/* Styles pour les feedbacks de validation en temps réel */
.field-feedback {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideInUp 0.3s ease-out;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.field-feedback.success {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.field-feedback.error {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.field-feedback .success-icon {
  font-size: 1.1rem;
  color: #fff;
  font-weight: bold;
}

.field-feedback .error-icon {
  font-size: 1.1rem;
  color: #fff;
  font-weight: bold;
}

/* Animation d'apparition */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Styles pour les champs de saisie avec validation */
.form-field input.success,
.form-field input.error {
  border-width: 2px;
  transition: all 0.3s ease;
}

.form-field input.success {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-field input.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Responsive pour les feedbacks */
@media (max-width: 768px) {
  .field-feedback {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .field-feedback .success-icon,
  .field-feedback .error-icon {
    font-size: 1rem;
  }
}

/* ==================== STYLES POUR LES SETS INDIVIDUELS ==================== */

.set-score {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #495057;
  transition: all 0.3s ease;
}

.set-score.winner {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.set-score.loser {
  background: #fff5f5; /* rouge très clair, doux */
  color: #c53030; /* rouge atténué pour le texte */
  border-color: #fed7d7; /* bordure pastel */
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.12); /* ombre légère */
}