:root {
  /* Nouvelle palette rose/noir premium */
  --primary: #e91e63; /* Rose vibrant */
  --primary-dark: #ad1457; /* Rose foncé */
  --primary-light: #f06292; /* Rose clair */

  /* Neutres */
  --bg-dark: #121212; /* Noir profond */
  --bg-darker: #0a0a0a; /* Noir ultra-sombre */
  --bg-light: #1e1e1e; /* Gris-noir */
  --text-light: #ffffff; /* Blanc pur */
  --text-muted: #b0bec5; /* Gris clair */

  /* Effets */
  --shadow-glow: 0 0 30px rgba(233, 30, 99, 0.3);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.7);

  /* Espacements */
  --spacing-xs: 0.35rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1.2rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.25rem;
  --spacing-2xl: 3rem;

  /* Typographie */
  --font-sans: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-mono: "Courier New", monospace;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}


.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(233, 30, 99, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-lg);
}

.nav-brand .logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  transition: var(--transition);
}

.logo-img:hover {
  box-shadow: 0 0 20px rgba(233, 30, 99, 0.5);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-link {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}


.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(233, 30, 99, 0.15) 0%, transparent 60%);
  z-index: -1;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-2xl);
  z-index: 1;
  width: 100%;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--spacing-2xl);
}

.hero-text {
  flex: 1;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  /* Titre CAMCUP en rose vibrant */
  color: var(--primary);
  letter-spacing: -2px;
  text-shadow: 0 0 40px rgba(233, 30, 99, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  /* Sous-titre en rose clair */
  color: var(--primary-light);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.hero-description {
  font-size: 1rem;
  /* Description en blanc pour contraste */
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  max-width: 500px;
}

.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  position: relative;
}

/* Ajout des styles pour le logo dans le hero */
.hero-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero-logo-img {
  width: 280px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(233, 30, 99, 0.4);
  animation: float 4s ease-in-out infinite;
  transition: var(--transition);
  object-fit: contain;
}

.hero-logo-img:hover {
  box-shadow: 0 0 60px rgba(233, 30, 99, 0.6);
  transform: scale(1.05);
}

.glow-orb {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  /* Orbe en gradient rose */
  background: radial-gradient(circle, var(--primary-light) 0%, var(--primary) 100%);
  filter: blur(80px);
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 0 100px var(--primary);
}



.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  /* Bouton rose avec glow */
  background: var(--primary);
  color: var(--text-light);
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(233, 30, 99, 0.4);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(233, 30, 99, 0.6);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 0 20px var(--primary);
}



.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin-bottom: var(--spacing-md);
  /* Titres sections en rose */
  color: var(--primary);
}

.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
}



.tournament-section {
  padding: var(--spacing-xl) var(--spacing-lg);
  background: linear-gradient(180deg, rgba(233, 30, 99, 0.05) 0%, transparent 100%);
}

.tournament-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.tournament-card {
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(233, 30, 99, 0.2);
  padding: var(--spacing-md);
  border-radius: 12px;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out;
}

.tournament-card:nth-child(2) {
  animation-delay: 0.1s;
}
.tournament-card:nth-child(3) {
  animation-delay: 0.2s;
}
.tournament-card:nth-child(4) {
  animation-delay: 0.3s;
}

.tournament-card:hover {
  background: rgba(233, 30, 99, 0.1);
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.tournament-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  /* Titres cartes en rose */
  color: var(--primary);
}

.tournament-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}



.info-section {
  padding: var(--spacing-xl) var(--spacing-lg);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.info-card {
  padding: var(--spacing-md);
  border-radius: 12px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out;
  /* Fond gris-noir pour cartes info */
  background: rgba(30, 30, 30, 0.6);
}

.info-card:nth-child(2) {
  animation-delay: 0.1s;
}
.info-card:nth-child(3) {
  animation-delay: 0.2s;
}

.gradient-1 {
  border-color: var(--primary);
}

.gradient-2 {
  border-color: var(--primary-light);
}

.gradient-3 {
  border-color: var(--primary-dark);
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(233, 30, 99, 0.2);
}

.info-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
}

.big-text {
  font-size: 1.8rem;
  font-weight: 900;
  /* Chiffres en rose */
  color: var(--primary);
}



.socials-hero {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.15) 0%, rgba(30, 30, 30, 0.5) 100%);
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  border-bottom: 1px solid rgba(233, 30, 99, 0.2);
}

.socials-header {
  animation: fadeInUp 0.8s ease-out;
}

.socials-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-md);
  /* Titre page réseaux en rose */
  color: var(--primary);
}

.socials-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

.socials-section {
  padding: var(--spacing-xl) var(--spacing-lg);
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.social-card {
  background: rgba(30, 30, 30, 0.8);
  border: 2px solid rgba(233, 30, 99, 0.2);
  padding: var(--spacing-md);
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.6s ease-out;
}

.social-card:nth-child(2) {
  animation-delay: 0.1s;
}
.social-card:nth-child(3) {
  animation-delay: 0.2s;
}
.social-card:nth-child(4) {
  animation-delay: 0.3s;
}
.social-card:nth-child(5) {
  animation-delay: 0.4s;
}
.social-card:nth-child(6) {
  animation-delay: 0.5s;
}

.social-card:hover {
  background: rgba(233, 30, 99, 0.15);
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
}

.social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: var(--primary);
  font-size: 1.8rem;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  transition: var(--transition);
}

.social-card:hover .social-icon svg {
  filter: drop-shadow(0 0 10px var(--primary));
}

.social-card h3 {
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
  /* Titres réseaux en rose */
  color: var(--primary);
}

.social-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}



.cambqt-profile {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  margin-bottom: var(--spacing-lg);
  object-fit: cover;
  box-shadow: 0 0 30px rgba(233, 30, 99, 0.5), inset 0 0 20px rgba(233, 30, 99, 0.2);
  animation: fadeInUp 0.8s ease-out;
  transition: var(--transition);
}

.cambqt-profile:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(233, 30, 99, 0.7), inset 0 0 20px rgba(233, 30, 99, 0.3);
}


.footer {
  background: rgba(10, 10, 10, 0.8);
  border-top: 1px solid rgba(233, 30, 99, 0.1);
  padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
  /* Titres footer en rose */
  color: var(--primary);
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

.footer-section p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--spacing-sm);
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(233, 30, 99, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}



.page {
  display: none;
  animation: fadeIn 0.6s ease-out;
}

.page.active {
  display: block;
}



@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
}



@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  /* Logo responsive sur mobile */
  .hero-logo {
    margin-top: var(--spacing-xl);
  }

  .hero-logo-img {
    width: 200px;
  }

  .hero-visual {
    height: 250px;
  }

  .glow-orb {
    width: 200px;
    height: 200px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(10, 10, 10, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .tournament-grid,
  .socials-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .nav-link {
    display: block;
    padding: var(--spacing-md);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
  }

  .tournament-card,
  .social-card,
  .info-card {
    padding: var(--spacing-md);
  }
}

