body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f2f2f2;
}

.event-countdown-section {
  text-align: center;
  padding: 60px 20px;
  color: #fff;
  position: relative;
}

.countdown-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-shadow: 0 0 5px #000;
}

#countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

#countdown div {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px 15px;
  min-width: 80px;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

#countdown span {
  font-size: 2rem;
  font-weight: bold;
}

#countdown small {
  font-size: 0.85rem;
  display: block;
  margin-top: 5px;
}

.tiled-background {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.image-tile-grid {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-auto-rows: 100px;
  z-index: 0;
}

.tile {
  background-size: cover;
  background-position: center;
  opacity: 0.65;
  transition: background-image 2s ease;
}

.tiled-background > *:not(.image-tile-grid) {
  position: relative;
  z-index: 1;
}

.card-img-top {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.card-footer {
  border-top: 1px solid #ddd;
  font-size: 0.875rem;
  background-color: #f8f9fa;
}

@media (max-width: 480px) {
  #countdown div {
    min-width: 70px;
    padding: 15px 10px;
  }

  #countdown span {
    font-size: 1.5rem;
  }

  #countdown small {
    font-size: 0.75rem;
  }

  .countdown-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .card-img-top {
    height: 180px;
  }
}
