body {
  margin: 0;
  padding: 0;
  background-color: #000000;
  min-height: 100vh;
  font-family: 'Karla', sans-serif;
  color: #ba4df5;
}

header {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(45deg, #ba4df5, #9a3dd0, #7b2da7, #ba4df5);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 {
  font-size: 3.5rem;
  margin: 0;
  font-weight: bolder;
  color: #ba4df5;
  position: relative;
  z-index: 10;
}

.gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 120px);
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

.gif-item {
  height: 100%;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gif-item img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  border: none;
}

@keyframes loopGif {
  0% { opacity: 1; }
  100% { opacity: 1; }
}

.gif-item:hover {
  transform: none;
}

.gif-item:hover img {
  transform: none;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.categories-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

.category-btn {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  background: rgba(186, 77, 245, 0.1);
  border: 2px solid #ba4df5;
  color: #ba4df5;
  cursor: pointer;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background: #ba4df5;
  color: #000;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

.carousel-content {
  text-align: center;
  flex: 1;
  max-width: 800px;
  background: rgba(186, 77, 245, 0.1);
  padding: 2rem;
  border-radius: 15px;
}

.info-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
  gap: 1rem;
}

.year, .person, .category {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
}

.year i, .person i, .category i, .accomplishment i {
  margin-right: 10px;
}

.year {
  color: #ffffff;
  font-size: 1.8rem;
}

.person {
  color: #4ecdc4;
  font-size: 1.8rem;
}

.category {
  color: #ffff00;
  font-size: 1.8rem;
}

.accomplishment {
  margin-top: 2rem;
  padding: 1rem;
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1.8;
  font-weight: bold;
}

.person-image {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 10px;
}

.nav-btn {
  background: #000000;
  color: #fff;
  border: none;
  padding: 0;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.count {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ba4df5;
  font-weight: bold;
}

.language-switcher {
  text-align: center;
  margin: 1rem 0;
}

.lang-btn {
  background: rgba(186, 77, 245, 0.1);
  border: 2px solid #ba4df5;
  color: #ba4df5;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  cursor: pointer;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: #ba4df5;
  color: #fff;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  h1 {
    font-size: 2.5rem;
  }
  
  .category-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
  
  .carousel-container {
    flex-direction: column;
    gap: 1rem;
  }
}
.home-icon {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  color: #ba4df5;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.home-icon:hover {
  transform: scale(1.1);
}
