* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #f0f0f0;
  line-height: 1.6;
}

header {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  color: white;
  text-align: center;
  padding: 10px 20px;
  position: relative;
  z-index: 10;
  border: none;
  max-width: 1500px;
  margin: 0 auto;
  border-radius: 0 0 20px 20px;
}


header h1 {
  color: #ffcc33;
  font-size: 2.8rem;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(255, 204, 51, 0.5);
}

header p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 15px;
}

header nav {
  margin-top: 15px;
}

.btn {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 25px;
  margin: 5px;
  transition: 0.3s;
  font-weight: bold;
}

.btn:hover {
  background: #ee5a52;
  transform: scale(1.05);
}

.btn.active {
  background: #ffcc33;
  color: #2d3436;
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(255, 204, 51, 0.6);
  font-weight: bold;
}

.btn.active:hover {
  background: #ffd700;
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(255, 204, 51, 0.8);
}

.language-selector {
  margin-bottom: 15px;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid #ffcc33;
  padding: 8px 20px;
  margin: 0 5px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
}

.lang-btn:hover {
  background: rgba(255, 204, 51, 0.3);
}

.lang-btn.active {
  background: #ffcc33;
  color: #2d3436;
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero Section - Style identique à members */
.hero {
  text-align: center;
  margin-bottom: 50px;
}

.hero h1 {
  font-size: 3rem;
  color: #ffcc33;
  margin-bottom: 15px;
  text-shadow: 0 0 30px rgba(255, 204, 51, 0.3);
}

/* Stats Container - Style identique à members */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: 0 auto 50px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  border: 2px solid rgba(255, 204, 51, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s;
}

.stat-box:hover {
  transform: translateY(-10px);
  border-color: #ffcc33;
  box-shadow: 0 15px 40px rgba(255, 204, 51, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #ffcc33;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Cats Container - Style modernisé */
.cats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.cat {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 25px;
  text-align: center;
  transition: 0.3s;
  border: 2px solid rgba(255, 204, 51, 0.2);
  position: relative;
  overflow: hidden;
}

.cat:hover {
  transform: translateY(-15px);
  border-color: #ffcc33;
  box-shadow: 0 20px 50px rgba(255, 204, 51, 0.3);
}

.cat-image-wrapper {
  width: 250px;
  height: 250px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 204, 51, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: 0.3s;
}

.cat:hover .cat-image-wrapper {
  border-color: #ffcc33;
  box-shadow: 0 15px 40px rgba(255, 204, 51, 0.5);
  transform: scale(1.05);
}

.cat-image-wrapper.featured {
  border-color: #ffcc33;
  border-width: 5px;
  box-shadow: 0 15px 40px rgba(255, 204, 51, 0.6);
}

.crown {
  position: absolute;
  top: -15px;
  right: -10px;
  font-size: 2.5rem;
  animation: bounce 2s infinite;
  z-index: 10;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cat-image-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat h3 {
  color: #ffcc33;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.cat .description {
  color: #ff6b6b;
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 10px;
  font-weight: bold;
}

.cat .role {
  color: #ccc;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 20px;
  background: rgba(255, 204, 51, 0.1);
  border-radius: 20px;
  display: inline-block;
  border: 1px solid rgba(255, 204, 51, 0.3);
}

/* Welcome Section - Style modernisé */
.welcome-section {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 60px 40px;
  border-radius: 25px;
  text-align: center;
  margin-bottom: 60px;
  border: 2px solid rgba(102, 126, 234, 0.3);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
  transition: 0.3s;
}

.welcome-section:hover {
  border-color: #667eea;
  box-shadow: 0 25px 70px rgba(102, 126, 234, 0.3);
}

.welcome-section h2 {
  color: #667eea;
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.welcome-content p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 25px;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-large {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 50px;
  font-size: 1.4rem;
  text-decoration: none;
  border-radius: 50px;
  margin-top: 20px;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.btn-large:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

/* Info Box - Style modernisé */
.info-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 111, 0, 0.3);
  border-radius: 25px;
  padding: 50px 40px;
  margin-bottom: 60px;
  box-shadow: 0 20px 60px rgba(255, 111, 0, 0.2);
  transition: 0.3s;
}

.info-box:hover {
  border-color: #ff6f00;
  box-shadow: 0 25px 70px rgba(255, 111, 0, 0.3);
}

.info-box h2 {
  color: #ff6f00;
  margin-bottom: 40px;
  font-size: 2.3rem;
  text-align: center;
  text-shadow: 0 0 20px rgba(255, 111, 0, 0.3);
}

.communique-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.communique-intro {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid #ff6f00;
}

.communique-intro p {
  font-size: 1.15rem;
  color: #ddd;
  line-height: 1.8;
}

.reason-box,
.result-box,
.solution-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid #ff9800;
}

.reason-box h3,
.result-box h3,
.solution-box h3 {
  color: #ff9800;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.reason-box p,
.result-box p,
.solution-box p {
  color: #ddd;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

.signature-box {
  background: rgba(255, 152, 0, 0.1);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid rgba(255, 152, 0, 0.3);
}

.signature-main {
  font-size: 1.15rem;
  color: #ff9800;
  margin-bottom: 15px;
  font-weight: bold;
}

.signature-note {
  color: #ccc;
  font-size: 0.95rem;
}

/* CTA Final - Style modernisé */
.cta-final {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 60px 40px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin-bottom: 60px;
  border: 2px solid rgba(118, 75, 162, 0.3);
  transition: 0.3s;
}

.cta-final:hover {
  border-color: #764ba2;
  box-shadow: 0 25px 70px rgba(118, 75, 162, 0.3);
}

.cta-final h2 {
  color: #764ba2;
  font-size: 2.5rem;
  margin-bottom: 25px;
  text-shadow: 0 0 20px rgba(118, 75, 162, 0.3);
}

.cta-final p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta {
  padding: 18px 40px;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
}

.btn-cta.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-cta.primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.btn-cta.secondary {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(240, 147, 251, 0.4);
}

.btn-cta.secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(240, 147, 251, 0.6);
}

/* Footer - Style identique à members */
footer {
  background: rgba(0, 0, 0, 0.9);
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

.footer-tagline {
  color: #ffcc33;
  font-style: italic;
  font-size: 0.95rem;
  margin-top: 10px;
}

/* Lightbox - Style modernisé */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 20px;
  box-shadow: 0 20px 80px rgba(255, 204, 51, 0.5);
  border: 5px solid #ffcc33;
  animation: zoomIn 0.3s ease-in-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #ffcc33;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10000;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.lightbox-close:hover {
  color: #ff6b6b;
  transform: scale(1.2) rotate(90deg);
}

.lightbox-caption {
  color: #ffcc33;
  font-size: 1.8rem;
  text-align: center;
  margin-top: 25px;
  font-weight: bold;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
}

/* Fond cosmique avec particules */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: transparent;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .cats-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .welcome-section h2 {
    font-size: 1.8rem;
  }

  .info-box h2 {
    font-size: 1.6rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
  }

  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 40px;
  }

  .lightbox-content {
    max-width: 95%;
    max-height: 70vh;
  }

  .lightbox-caption {
    font-size: 1.3rem;
    margin-top: 15px;
  }
}

/* Animations supplémentaires */
@keyframes floatAnimation {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.cat:nth-child(1) .cat-image-wrapper {
  animation: floatAnimation 3s ease-in-out infinite;
}

.cat:nth-child(2) .cat-image-wrapper {
  animation: floatAnimation 3s ease-in-out infinite 0.5s;
}

.cat:nth-child(3) .cat-image-wrapper {
  animation: floatAnimation 3s ease-in-out infinite 1s;
}

/* Effet de brillance sur les cartes */
.cat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: 0.5s;
}

.cat:hover::before {
  left: 100%;
}



/* Scrollbar personnalisée */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ff6b6b, #ffcc33);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #ffcc33, #ff6b6b);
}

/* Section Nous suivre */
/* Section Nous suivre */
.social-section {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 60px 40px;
  border-radius: 25px;
  text-align: center;
  margin: 0 auto 60px;
  border: 2px solid rgba(147, 51, 234, 0.3);
  box-shadow: 0 20px 60px rgba(147, 51, 234, 0.2);
  transition: 0.3s;
  max-width: 1400px; /* MÊME LARGEUR QUE LES AUTRES SECTIONS */
}

.social-container {
  max-width: 1200px;
  margin: 0 auto;
}

.social-section:hover {
  border-color: #9333ea;
  box-shadow: 0 25px 70px rgba(147, 51, 234, 0.3);
}

.social-container h2 {
  color: #9333ea;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
}

.social-container > p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto 40px;
}


.social-link {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px 30px;
  border-radius: 20px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: 0.5s;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  transform: translateY(-5px);
  border-color: currentColor;
}

.social-link.twitter:hover {
  background: rgba(29, 161, 242, 0.2);
  border-color: #1da1f2;
  box-shadow: 0 10px 30px rgba(29, 161, 242, 0.3);
}

.social-link.telegram:hover {
  background: rgba(0, 136, 204, 0.2);
  border-color: #0088cc;
  box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
}

.social-link.instagram:hover {
  background: rgba(225, 48, 108, 0.2);
  border-color: #e1306c;
  box-shadow: 0 10px 30px rgba(225, 48, 108, 0.3);
}

.social-icon {
  font-size: 2rem;
  margin-right: 20px;
  width: 50px;
  text-align: center;
}

.social-text {
  font-size: 1.3rem;
  font-weight: bold;
  flex: 1;
  text-align: left;
}

.social-note {
  background: rgba(147, 51, 234, 0.1);
  padding: 25px;
  border-radius: 15px;
  border: 2px solid rgba(147, 51, 234, 0.3);
  max-width: 600px;
  margin: 0 auto;
}

.social-note p {
  color: #ddd;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.6;
}

.social-note strong {
  color: #9333ea;
}

/* Responsive pour la section sociale */
@media (max-width: 768px) {
  .social-section {
    padding: 40px 20px;
  }
  
  .social-container h2 {
    font-size: 2rem;
  }
  
  .social-link {
    padding: 15px 20px;
  }
  
  .social-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 40px;
  }
  
  .social-text {
    font-size: 1.1rem;
  }
  
  .social-note {
    padding: 20px;
  }
  
  .social-note p {
    font-size: 1rem;
  }
}

/* Animation pour les liens sociaux */
@keyframes socialPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.social-link.twitter .social-icon {
  animation: socialPulse 3s ease-in-out infinite;
}

.social-link.telegram .social-icon {
  animation: socialPulse 3s ease-in-out infinite 0.5s;
}

.social-link.instagram .social-icon {
  animation: socialPulse 3s ease-in-out infinite 1s;
}

/* Bouton Retour en haut - Version Chat */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff6b6b, #ffcc33);
  color: #2d3436;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 5px 25px rgba(255, 107, 107, 0.5);
  transition: all 0.3s ease;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 35px rgba(255, 204, 51, 0.7);
  background: linear-gradient(135deg, #ffcc33, #ff6b6b);
}

.back-to-top:hover::after {
  content: "🐱";
  position: absolute;
  font-size: 20px;
}

.back-to-top:active {
  transform: translateY(0) scale(0.95);
}

.back-to-top.show {
  display: flex;
  animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(20px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}