@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
  --primary-color: #6c5ce7;
  --secondary-color: #a29bfe;
  --accent-color: #fd79a8;
  --dark-color: #2d3436;
  --light-color: #f5f6fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  position: relative;
  color: var(--dark-color);
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  z-index: -1;
  opacity: 0.9;
}

.container {
  width: 90%;
  max-width: 1200px;
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 1000px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caption-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1.5rem;
  color: white;
  text-align: left;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s ease;
}

.slide:hover .caption-container {
  opacity: 1;
  transform: translateY(0);
}

.caption {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.date {
  font-size: 0.9rem;
  opacity: 0.8;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 25px;
}

.next-btn {
  right: 25px;
}

.dots-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.dot:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

.dot.active {
  background-color: var(--primary-color);
  opacity: 1;
  transform: scale(1.2);
}

/* Animação de entrada */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.container {
  animation: fadeIn 0.8s ease-out;
}

/* Responsivo */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 1rem;
  }
  
  .title {
    font-size: 1.8rem;
  }
  
  .slider-container {
    height: 400px;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .caption {
    font-size: 1rem;
  }
  
  .date {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .slider-container {
    height: 300px;
  }
  
  .dots-container {
    gap: 5px;
  }
  
  .dot {
    width: 12px;
    height: 12px;
  }
}