body {
  text-align: center;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

h1 {
  font-size: 2.75rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 20px 0;
  letter-spacing: 0.5px;
  text-align: center;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding-bottom: 10px;

}

  .decklist-button {
    display: none !important;
  }

.logo {
  height: 100px;
  max-width: 100%;
  object-fit: contain;
}

.links {
  display: inline-block;
  margin: 10px auto;
  color: #0066cc;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.links:hover {
  color: #004a99;
  text-decoration: underline;
}

.player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.turn-label {
  font-size: 1rem;
  font-weight: 500;
  color: #333;

}

.decklist-button {
    display: none !important;
}


.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.matchup-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}

.image1,
.image2 {
  width: 35vw;
  max-width: 220px;
  height: auto;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  background-color: white;
}

/* VS image overlapping in center */
.image3 {
  position: absolute;
  width: 18vw;
  max-width: 140px;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
}

/* Button styling */
button {
  margin-top: 10px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  background-color: #ff3c3c;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #e63333;
  transform: translateY(-2px);
}

.image-wrapper {
  text-align: center;
}

.image-wrapper button {
  margin-top: 8px;
  padding: 6px 12px;
  font-size: 14px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.image-wrapper button:hover {
  background-color: #005fa3;
}



/* Mobile layout adjustments */
@media screen and (max-width: 980px) {
  .matchup-container {
    gap: 40px;
  }

  .header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding-bottom: 10px;
}

.logo {
  height: 180px;
  max-width: 100%;
  object-fit: contain;
}

  .image1,
  .image2 {
    width: 42vw;
    max-width: none;
    border-radius: 6px;
  }

  .image3 {
    width: 26vw;
    max-width: 250px;
  }

  button {
    font-size: 60px;
    padding: 30px 70px;
  }

  .decklist-button {
    display: none !important;
  }

  .links {
    font-size: 2.4rem;
    padding: 10px 0;
  }

  .turn-label{
    font-size: 2.2rem;
  }

  h1 {
  font-size: 4.5rem;
  font-weight: 700;
  color: #222;
  margin-top: 20px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  }

}

@media screen and (max-width: 480px) {
  .image1,
  .image2 {
    width: 44vw;
  }

  .image3 {
    width: 30vw;
  }

  .links {
    font-size: 1.4rem;
    padding: 10px 0;
  }

}
