body {
  background-image: url('images/wrestling-ring.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #FFFFFF;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

#game-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #FF0000;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 50px;
  margin-right: 20px;
}

header h1 {
  margin: 0;
  font-size: 24px;
}

#week-info, #budget-info {
  font-size: 18px;
}

#sidebar {
  width: 200px;
  background-color: #333;
  padding: 10px;
  position: fixed;
  height: 100%;
  top: 0;
  left: 0;
  border-right: 2px solid #FF0000;
  box-shadow: 2px 0 5px rgba(0,0,0,0.5);
}

#sidebar ul {
  list-style: none;
  padding: 0;
}

#sidebar a {
  color: #FFFFFF;
  text-decoration: none;
  display: block;
  padding: 10px;
}

#sidebar a:hover {
  background-color: #FF0000;
}

#main-content {
  margin-left: 220px;
  padding: 20px;
}

.wrestler-card {
  background-color: #333;
  padding: 15px;
  margin: 10px;
  display: inline-block;
  width: 200px;
  text-align: center;
  border: 1px solid #FF0000;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.wrestler-card img {
  width: 100px;
  height: 100px;
}

button {
  background-color: #FF0000;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #CC0000;
}

form {
  background-color: #222;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  margin: 20px 0;
}

label {
  display: block;
  margin-bottom: 5px;
}

select, input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #FF0000;
  border-radius: 3px;
  background-color: #333;
  color: #FFFFFF;
}

#wrestler-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: #222;
}

#wrestler-table th, #wrestler-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #444;
}

#wrestler-table th {
  background-color: #FF0000;
  color: #FFFFFF;
  cursor: pointer;
  position: sticky;
  top: 0;
}

#wrestler-table th:hover {
  background-color: #CC0000;
}

#wrestler-table th.sorted-asc::after {
  content: ' ▲';
  color: #FFFFFF;
}

#wrestler-table th.sorted-desc::after {
  content: ' ▼';
  color: #FFFFFF;
}

#wrestler-table tr:nth-child(even) {
  background-color: #333;
}

#wrestler-table tr:hover {
  background-color: #444;
}

.match {
  background-color: #333;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid #FF0000;
  border-radius: 5px;
}

.results {
  text-align: center;
}

.scorecard {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.player-score, .rival-score {
  background-color: #333;
  padding: 20px;
  margin: 0 10px;
  border-radius: 5px;
  width: 200px;
}

.outcome {
  font-size: 18px;
  font-weight: bold;
  color: #FF0000;
}

@media (max-width: 768px) {
  #sidebar {
    width: 100%;
    position: relative;
    height: auto;
  }

  #main-content {
    margin-left: 0;
  }

  .wrestler-card {
    width: 100%;
    margin: 10px 0;
  }

  #wrestler-table {
    font-size: 14px;
  }

  #wrestler-table th, #wrestler-table td {
    padding: 8px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header img {
    margin-bottom: 10px;
  }

  #week-info, #budget-info {
    margin-top: 5px;
  }
}