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

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #050209 0%, #8b51fd 100%);
  min-height: 100vh;
  color: white;
  position: relative;
  overflow-x: hidden;
}

/* Efeito de estrelas no fundo */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: twinkle 3s infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Header */
.header {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: row;
}

.header-content {
  flex: 1;
  text-align: center;
}

.mascote {
  width: 350px;
  height: 350px;
}

.logo {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.logo .nerd {
  color: white;
  font-weight: 300;
  font-size: 3rem;
  margin-bottom: -5px;
  text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 0 9px #fff, 0 0 12px #fff;
  animation: neonPulseWhite 2s ease-in-out infinite alternate;
}

.logo .coven {
  color: #ffd700;
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-shadow: 0 0 3px #ffd700, 0 0 6px #ffd700, 0 0 9px #ffd700,
    0 0 12px #ffa500;
  animation: neonPulse 2s ease-in-out infinite alternate;
}

.event-date {
  font-size: 1.5rem;
  color: #ffd700;
  margin: 10px 0;
  font-weight: bold;
}

.event-location {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 5px;
}

@keyframes neonPulse {
  0% {
    text-shadow: 0 0 3px #ffd700, 0 0 6px #ffd700, 0 0 9px #ffd700,
      0 0 12px #ffa500;
  }
  100% {
    text-shadow: 0 0 5px #ffd700, 0 0 8px #ffd700, 0 0 12px #ffd700,
      0 0 16px #ffa500;
  }
}

@keyframes neonPulseWhite {
  0% {
    text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 0 9px #fff, 0 0 12px #bbbbbb;
  }
  100% {
    text-shadow: 0 0 5px #fff, 0 0 8px #fff, 0 0 12px #fff, 0 0 16px #bbbbbb;
  }
}

.tagline {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}
/* Seções */
.section {
  margin: 80px 0;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Eventos */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.event-card {
  background: rgba(139, 81, 253, 0.2);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(139, 81, 253, 0.3);
  border-color: rgba(139, 81, 253, 0.5);
}

.event-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffd700;
}

.event-description {
  margin-bottom: 20px;
  opacity: 0.9;
  line-height: 1.6;
  flex-grow: 1;
}

.btn-download {
  background: linear-gradient(45deg, #8b51fd, #ffd700);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: bold;
  margin-top: auto;
}

.btn-download:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(139, 81, 253, 0.4);
}

/* Vencedores */
.winners-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.winner-item {
  background: rgba(255, 215, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #ffd700;
}

.winner-year {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 10px;
}

.winner-name {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.winner-event {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Patrocinadores */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  align-items: center;
  padding: 20px;
}

.sponsor-logo-img {
  width: 250px;
  height: 150px; /* Proporção mais retangular */
  border-radius: 12px;
  margin-bottom: 15px;
  object-fit: contain; /* Mudado de 'cover' para 'contain' para evitar cortes */
  transition: transform 0.3s ease;
  border: 2px solid rgba(139, 81, 253, 0.3);
  background-color: rgba(255, 255, 255, 0.05); /* Fundo sutil para logos */
  padding: 10px; /* Espaçamento interno para as imagens */
}

.sponsor-item:hover .sponsor-logo-img {
  transform: scale(1.05);
  border-color: #ffd700;
}

.sponsor-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.sponsor-logo {
  width: 80px;
  height: 80px;
  background: rgba(139, 81, 253, 0.3);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.sponsor-name {
  font-weight: bold;
  color: #ffd700;
}

/* Responsivo */
@media (max-width: 768px) {
  .sponsor-logo-img {
    width: 200px;
    height: 120px;
  }

  .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .header {
    flex-direction: column;
  }

  .mascote {
    width: 250px;
    height: 250px;
  }

  .logo {
    font-size: 3rem;
  }

  .logo .nerd {
    font-size: 2rem;
  }

  .logo .coven {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section {
    margin: 40px 0;
    padding: 20px;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-date {
    font-size: 1.3rem;
  }

  .event-location {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .sponsor-logo-img {
    width: 160px;
    height: 100px;
  }

  .sponsors-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }

  .mascote {
    width: 180px;
    height: 180px;
  }

  .cloud-image img {
    width: 150px;
  }

  .mascot-image img {
    width: 130px;
  }

  .logo .nerd {
    font-size: 1.5rem;
  }

  .logo .coven {
    font-size: 2.5rem;
  }

  .container {
    padding: 0 15px;
  }
}
