* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  color: #ffffff;
  cursor: default;
}

/* Background animé */
#stars-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

#particles-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Header */
.logo {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 30px 20px;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(45deg, #000000, #1825df, #00f7ff, #0004ff, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Container */
.container {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.page-title {
  font-size: 3.5rem;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
  animation: glow 3s ease-in-out infinite alternate;
  transition: transform 0.3s ease;
}

.page-title:hover {
  transform: scale(1.1);
}

@keyframes glow {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.3);
  }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-items: center;
  padding: 20px 0;
}

.gallery a {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: block;
  width: 100%;
  max-width: 400px;
  cursor: pointer;
}

.gallery a:hover {
  transform: translateY(-15px) scale(1.03);
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
  transition: all 0.4s ease;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.gallery a:hover img {
  border-color: rgba(102, 126, 234, 0.6);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4),
              0 0 40px rgba(118, 75, 162, 0.3);
  transform: scale(1.08);
  filter: brightness(1.2);
}

.gallery p {
  margin-top: 20px;
  font-size: 1.5rem;
  text-align: center;
  color: #ffffff;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.gallery a:hover p {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .logo {
    font-size: 2rem;
  }
}

