
html, body {
  margin: 0;
  padding: 0;
  height: auto;
  font-family: 'Arial', sans-serif;
  color: white;
  background: black;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  display: flex;
  flex-direction: column;
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 40px;
  box-sizing: border-box;
}

h1 {
  font-size: 4rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.section-title {
  margin-top: 50px;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

p.description {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  max-width: 900px;
  line-height: 1.6;
}

.countdown {
  margin-top: 30px;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 8px;
}

.events {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  gap: 30px;
}

.event-card {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  text-align: center;
  backdrop-filter: blur(6px);
  text-decoration: none;
  color: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.event-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card-content {
  margin-top: auto;
}

.event-card h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.event-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #ddd;
}

.badge-wrapper {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

.badge {
  background-color: #e91e63;
  color: white;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1;
  max-width: fit-content;
  white-space: nowrap;
}

.badge.open {
  background-color: #4caf50;
}

.badge.done {
  background-color: #999;
}

.event-card.dome {
  position: relative;
  overflow: hidden;
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.event-card.dome:hover .hover-overlay {
  opacity: 1;
}

.hover-overlay .winner {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.podium {
  display: flex;
  gap: 20px;
}

.podium div {
  position: relative;
  text-align: center;
}

.podium img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid white;
}

.podium span {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: bold;
}

.podium p {
  padding-bottom: 10px;
  margin: 5px 0 0;
  font-size: 0.8rem;
}

footer {
  text-align: center;
  font-size: 1rem;
  color: #ccc;
  padding: 20px 10px;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 500px) {
  h1 {
    font-size: 2rem;
  }

  p.description {
    font-size: 1rem;
    padding: 0 10px;
  }

  .event-card {
    width: 90%;
    min-height: auto;
  }

  .badge {
    font-size: 0.6rem;
  }

  footer {
    font-size: 0.9rem;
  }
}

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

.footer-icons img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s;
}

.footer-icons img:hover {
  transform: scale(1.2);
}
