* {
  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-mission {
  text-align: center;
  margin-bottom: 50px;
}

.hero-mission h1 {
  font-size: 3rem;
  color: #ffcc33;
  margin-bottom: 15px;
  text-shadow: 0 0 30px rgba(255, 204, 51, 0.3);
}

.subtitle {
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 40px;
}

/* 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;
}

/* Command Team - Style modernisé */
.command-team {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 50px 40px;
  border-radius: 25px;
  margin-bottom: 60px;
  border: 2px solid rgba(255, 204, 51, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.command-team:hover {
  border-color: #ffcc33;
  box-shadow: 0 25px 70px rgba(255, 204, 51, 0.4);
}

.command-team h2 {
  text-align: center;
  color: #ffcc33;
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-shadow: 0 0 20px rgba(255, 204, 51, 0.3);
}

.highlight {
  background: rgba(255, 204, 51, 0.1);
  padding: 30px;
  border-left: 5px solid #ffcc33;
  border-radius: 15px;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 25px;
}

/* Phases - Style modernisé */
.phase {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 50px 40px;
  border-radius: 25px;
  margin-bottom: 50px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.phase::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;
}

.phase:hover::before {
  left: 100%;
}

.phase:hover {
  transform: translateY(-10px);
  border-color: #667eea;
  box-shadow: 0 25px 70px rgba(102, 126, 234, 0.3);
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 35px;
}

.phase-number {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  flex-shrink: 0;
}

.phase-header h2 {
  color: #ffcc33;
  font-size: 2.2rem;
  flex: 1;
}

.phase-content p {
  font-size: 1.15rem;
  margin-bottom: 25px;
  line-height: 1.8;
  color: #ddd;
}

.intro-text {
  font-size: 1.4rem !important;
  color: #ffcc33;
  text-align: center;
  margin-bottom: 35px !important;
  font-weight: bold;
}

/* Mission Box - Style modernisé */
.mission-box {
  background: rgba(17, 153, 142, 0.1);
  backdrop-filter: blur(10px);
  padding: 35px 30px;
  border-radius: 20px;
  margin-top: 35px;
  border: 2px solid rgba(17, 153, 142, 0.3);
  box-shadow: 0 15px 40px rgba(17, 153, 142, 0.2);
  transition: 0.3s;
}

.mission-box:hover {
  border-color: #11998e;
  box-shadow: 0 20px 50px rgba(17, 153, 142, 0.3);
}

.mission-box h3 {
  color: #00cec9;
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
}

.mission-box p {
  color: #ddd;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* Lists - Style modernisé */
.demands-list, .threats-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.demands-list li, .threats-list li {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px 25px;
  margin: 15px 0;
  border-left: 4px solid #ffcc33;
  border-radius: 12px;
  font-size: 1.15rem;
  transition: 0.3s;
  color: #ddd;
}

.demands-list li:hover, .threats-list li:hover {
  background: rgba(255, 204, 51, 0.1);
  transform: translateX(15px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.threats-list li {
  border-left-color: #ff4757;
  background: rgba(255, 71, 87, 0.05);
}

.threats-list li:hover {
  background: rgba(255, 71, 87, 0.1);
}

/* Cooperation Box - Style modernisé */
.cooperation-box {
  background: rgba(102, 126, 234, 0.1);
  backdrop-filter: blur(10px);
  padding: 35px 30px;
  border-radius: 20px;
  margin-top: 35px;
  border: 2px solid rgba(102, 126, 234, 0.3);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
  transition: 0.3s;
}

.cooperation-box:hover {
  border-color: #667eea;
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.cooperation-box h3 {
  color: #667eea;
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
}

.cooperation-box p {
  color: #ddd;
  font-size: 1.15rem;
  line-height: 1.8;
}

.reward {
  font-style: italic;
  margin-top: 25px !important;
  padding-top: 25px;
  border-top: 2px dashed rgba(255, 255, 255, 0.3);
  color: #ffcc33 !important;
  font-weight: bold;
}

/* Why CATDOM - Style modernisé */
.why-catdom {
  background: rgba(240, 147, 251, 0.1);
  backdrop-filter: blur(10px);
  padding: 60px 40px;
  border-radius: 25px;
  margin-bottom: 60px;
  border: 2px solid rgba(240, 147, 251, 0.3);
  box-shadow: 0 20px 60px rgba(240, 147, 251, 0.2);
  text-align: center;
  transition: 0.3s;
}

.why-catdom:hover {
  border-color: #f093fb;
  box-shadow: 0 25px 70px rgba(240, 147, 251, 0.3);
}

.why-catdom h2 {
  color: #f093fb;
  font-size: 2.5rem;
  margin-bottom: 35px;
  text-shadow: 0 0 20px rgba(240, 147, 251, 0.3);
}

.why-content p {
  color: #ddd;
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.8;
}

.duty {
  font-size: 1.5rem !important;
  font-weight: bold;
  margin-top: 35px !important;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  color: #ffcc33 !important;
  border: 2px solid rgba(255, 204, 51, 0.3);
}

/* Danger Phase - Style modernisé */
.phase-danger {
  border: 3px solid rgba(255, 71, 87, 0.5);
  background: rgba(255, 71, 87, 0.08);
}

.phase-danger:hover {
  border-color: #ff4757;
  box-shadow: 0 25px 70px rgba(255, 71, 87, 0.3);
}

.phase-danger .phase-number {
  background: #ff4757;
  font-size: 2.8rem;
  box-shadow: 0 10px 30px rgba(255, 71, 87, 0.4);
}

.warning-text {
  background: rgba(255, 71, 87, 0.1);
  padding: 25px;
  border-radius: 15px;
  border-left: 5px solid #ff4757;
  font-size: 1.25rem !important;
  color: #ff6b6b;
  font-weight: bold;
}

.final-warning {
  background: rgba(255, 71, 87, 0.1);
  padding: 35px 30px;
  border-radius: 20px;
  margin-top: 35px;
  border: 2px dashed #ff4757;
  text-align: center;
}

.final-warning p {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: #ddd;
}

.catdom-mandatory {
  color: #ff4757;
  font-size: 1.5rem !important;
  font-weight: bold;
  margin-top: 30px !important;
  text-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

/* Final Objective - Style modernisé */
.final-objective {
  background: rgba(255, 234, 167, 0.1);
  backdrop-filter: blur(10px);
  padding: 60px 40px;
  border-radius: 25px;
  margin-bottom: 60px;
  border: 2px solid rgba(255, 234, 167, 0.3);
  box-shadow: 0 20px 60px rgba(255, 234, 167, 0.2);
  text-align: center;
  transition: 0.3s;
}

.final-objective:hover {
  border-color: #ffeaa7;
  box-shadow: 0 25px 70px rgba(255, 234, 167, 0.3);
}

.final-objective h2 {
  color: #ffeaa7;
  font-size: 2.5rem;
  margin-bottom: 35px;
}

.objective-content p {
  color: #ddd;
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.9;
}

.victory {
  font-weight: bold;
  font-size: 1.4rem !important;
  margin-top: 35px !important;
  color: #ffcc33 !important;
}

.meow {
  margin-top: 40px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  border: 2px solid rgba(255, 107, 107, 0.3);
}

.meow p {
  font-size: 1.6rem !important;
  font-weight: bold;
  color: #ff6b6b;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* P.S. Section - Style modernisé */
.ps-section {
  background: rgba(255, 107, 107, 0.1);
  backdrop-filter: blur(10px);
  padding: 60px 40px;
  border-radius: 25px;
  text-align: center;
  border: 2px solid rgba(255, 107, 107, 0.3);
  box-shadow: 0 20px 60px rgba(255, 107, 107, 0.2);
  transition: 0.3s;
}

.ps-section:hover {
  border-color: #ff6b6b;
  box-shadow: 0 25px 70px rgba(255, 107, 107, 0.3);
}

.ps-section h2 {
  color: #ff6b6b;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.ps-section p {
  color: #ddd;
  font-size: 1.3rem;
  margin-bottom: 35px;
}

.btn-large {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 50px;
  font-size: 1.3rem;
  text-decoration: none;
  border-radius: 50px;
  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);
}

/* Footer - Style identique à members */
footer {
  background: rgba(0, 0, 0, 0.9);
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

.footer-signature {
  color: #ffcc33;
  font-style: italic;
  font-size: 0.95rem;
  margin-top: 10px;
}

/* 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-mission h1 {
    font-size: 2rem;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .phase-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .phase-number {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .phase-header h2 {
    font-size: 1.6rem;
  }

  .command-team,
  .phase,
  .why-catdom,
  .final-objective,
  .ps-section {
    padding: 30px 20px;
  }

  .btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}

/* Animations supplémentaires */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 204, 51, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 204, 51, 0.6);
  }
}

.phase-danger .phase-number {
  animation: glow 2s ease-in-out infinite;
}


/* 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);
}

/* 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);
  }
}