body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url('assets/images/festival-bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-color: #000; /* Black bars on left/right if needed */
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

#main-title {
  font-size: 2rem;
  margin: 0.5rem 0;
  text-shadow: 2px 2px #ccc;
  color: white;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  background-color: black;
  color: white;
  border-radius: 10px;
  font-weight: bold;
  margin-bottom: 1rem;
}
.track {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  object-fit: contain;
  object-position: center;
  z-index: 0;
}
.lane {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10vw; /* align horse visually with left side of track */
}
.horse {
  position: absolute;
  bottom: 0;
  left: 14vw;
  transition: left 0.6s ease-out;
  animation: gallopBounce 0.4s infinite;
  height: 150px;
  width: auto;
}

.horse img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
@keyframes gallopBounce {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}
.bookie-stand {
  position: absolute;
  bottom: 15vh; /* Just above the fence */
  right: 1vw;
  width: 15vw;
  z-index: 10;
}



