* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #1a1a24;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  font-family: sans-serif;
}


.stadium {
  position: relative;
  width: 700px;
  height: 420px;
  background: radial-gradient(circle, #2a2a38 0%, #111118 100%);
  border-radius: 60px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8),
              inset 0 0 30px rgba(255, 255, 255, 0.05);
  border: 4px solid #333344;
}


.light {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 25px 10px rgba(255, 255, 255, 0.8);
  z-index: 10;
}
.light.top-left { top: 15px; left: 15px; }
.light.top-right { top: 15px; right: 15px; }
.light.bottom-left { bottom: 15px; left: 15px; }
.light.bottom-right { bottom: 15px; right: 15px; }


.pitch {
  position: relative;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    #388e3c,
    #388e3c 40px,
    #2e7d32 40px,
    #2e7d32 80px
  );
  border: 3px solid #ffffff;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  overflow: hidden;
}


.center-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background-color: #ffffff;
  transform: translateX(-50%);
}

.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.center-spot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}


.penalty-area {
  position: absolute;
  top: 50%;
  width: 90px;
  height: 180px;
  border: 3px solid #ffffff;
  transform: translateY(-50%);
}

.penalty-area.left {
  left: 0;
  border-left: none;
}

.penalty-area.right {
  right: 0;
  border-right: none;
}


.goal-post {
  position: absolute;
  top: 50%;
  width: 25px;
  height: 90px;
  border: 3px solid #ffffff;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.2) 5px,
    transparent 5px,
    transparent 10px
  );
  transform: translateY(-50%);
  z-index: 2;
}

.goal-post.left {
  left: -25px;
  border-right: none;
}

.goal-post.right {
  right: -25px;
  border-left: none;
}


.ball {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: #ffffff;
  background-image: radial-gradient(#000000 25%, transparent 25%);
  background-size: 8px 8px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  z-index: 5;
  animation: playMatch 6s infinite ease-in-out;
}


@keyframes playMatch {
  0% {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  20% {
    top: 20%;
    left: 20%;
  }
  40% {
    top: 80%;
    left: 30%;
  }
  60% {
    top: 30%;
    left: 80%;
  }
  75% {
    top: 50%;
    left: 95%; 
  }
  80% {
    top: 50%;
    left: 94%; 
  }
  100% {
    top: 50%;
    left: 50%; 
  }
}