.slide-container {
  width: 100%;
  max-width: 1200px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
  overflow: auto; /* Permitir scroll quando necessário */
  margin: 0 auto;
  display: none;
  box-sizing: border-box;
}

.slide.active {
  display: flex;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.accent-line {
  height: 4px;
  background: linear-gradient(90deg, #8a4baf 0%, #ffd700 100%);
  border-radius: 2px;
}

.title-text {
  background: linear-gradient(90deg, #8a4baf 0%, #8a4baf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.webruxo-title {
  font-size: 3.5rem;
  font-weight: bold;
}

.webruxo-title-purple {
  color: #8a4baf;
}

.webruxo-title-yellow {
  color: #ffd700;
}

.subtitle-gradient {
  background: linear-gradient(90deg, #ffd700 0%, #8a4baf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mascote-img {
  filter: drop-shadow(0 0 8px rgba(138, 75, 175, 0.5));
  transition: transform 0.3s ease;
}

.mascote-img:hover {
  transform: scale(1.05) rotate(5deg);
}

.glow-effect {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.glow-effect:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.icon-3d {
  transition: transform 0.3s ease;
}

.icon-3d:hover {
  transform: translateY(-5px) scale(1.05);
}

.project-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.project-image:hover {
  transform: scale(1.03);
}

/* Ajuste para permitir scroll apenas quando necessário */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

#slidesContainer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.tech-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tech-icon {
  transition: all 0.3s ease;
}

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

.category-section {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.5s ease forwards;
}

.category-section:nth-child(2) {
  animation-delay: 0.1s;
}

.category-section:nth-child(3) {
  animation-delay: 0.2s;
}

.category-section:nth-child(4) {
  animation-delay: 0.3s;
}

.glossary-term {
  border-left: 4px solid #8a4baf;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.glossary-term h3 {
  color: #8a4baf;
  margin-bottom: 0.5rem;
}

.glossary-example {
  background: rgba(138, 75, 175, 0.1);
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 0.5rem;
  font-style: italic;
}

.glossary-example strong {
  color: #ffd700;
}

.tech-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
  background: rgba(138, 75, 175, 0.2);
  color: #fff;
}

.comparison-table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.info-tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.info-tooltip .tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 0.5rem;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
}

.info-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Ajuste para garantir que todo o conteúdo seja visível */
.z-10 {
  z-index: 10;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

/* Ajuste para slides com muito conteúdo */
.grid {
  display: grid;
  gap: 1rem;
  width: 100%;
}

/* Responsividade */
@media (max-width: 768px) {
  .slide-container {
    padding: 1rem;
  }
  
  .webruxo-title {
    font-size: 2.5rem;
  }
  
  h1 {
    font-size: 2rem !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
  
  .icon-grid {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .icon-3d {
    margin-bottom: 1rem;
  }
  
  .grid-cols-3 {
    grid-template-columns: 1fr !important;
  }
  
  .grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
  
  .fixed.top-4.right-4 {
    top: 0.5rem;
    right: 0.5rem;
  }
  
  #slideCounter, #prevSlide, #nextSlide {
    padding: 0.5rem !important;
  }
  
  .glossary-term {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .webruxo-title {
    font-size: 2rem;
  }
  
  h1 {
    font-size: 1.75rem !important;
  }
  
  h2 {
    font-size: 1.25rem !important;
  }
  
  .icon-grid {
    gap: 0.5rem;
  }
  
  .mascote-img {
    width: 60px;
    height: 60px;
  }
  
  .w-16.h-16 {
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .text-2xl {
    font-size: 1.25rem !important;
  }
}

/* Ajustes para telas grandes */
@media (min-width: 1920px) {
  .slide-container {
    max-width: 1600px;
  }
}
