.start-btn,
.home-btn,
.restart-btn {
  font-family: Georgia, serif;
}

.start-btn {
  display: block;
  width: fit-content;
  margin-top: 34px;
  margin-left: auto;
  margin-right: auto;
  padding: 18px 32px;
  font-size: 16px;
  font-weight: bold;
  background-color: transparent;
  color: #a0220a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.start-btn:hover {
  background-color: #c02a0c;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
  color: #ffcc00;
}

.corner-btn {
  position: fixed;
  top: 10px;
  right: max(10px, calc((100vw - 1440px) / 2 + 10px));
  z-index: 10;
  display: flex;
  gap: 10px;
}

.icon-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }

.icon-button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.2s;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.icon-button:hover {
  transform: scale(1.1);
}

.icon-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-btn,
.restart-btn {
  width: 180px; /* feste Breite */
  box-sizing: border-box;
  padding: 18px 32px;
  margin-top: 34px;
  font-size: 16px;
  font-weight: bold;
  background-color: transparent;
  color: #a0220a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.home-btn:hover,
.restart-btn:hover {
  background-color: #c02a0c;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
  color: #ffcc00;
}

.gameover-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ----------------- */
/* RESPONIVE STYLES */
/* --------------- */

/* Mobile Landscape - Vertikal angeordnete Corner Buttons */
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .corner-btn {
    position: fixed;
    top: 20%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .icon-button {
    width: 35px;
    height: 35px;
  }

  .mobile-game-overlay .start-btn {
    margin-top: 30px;
    padding: 15px 30px;
    font-size: 18px;
    background: linear-gradient(45deg, #ff6b00, #ff8500);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  }

  .gameover-buttons {
    display: none !important;
  }

  .mobile-gameover-buttons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10002;
  }

  .mobile-home-btn,
  .mobile-restart-btn {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    width: 170px;
    position: relative;
    z-index: 10003;
  }

  .mobile-home-btn {
    background: linear-gradient(45deg, #ff6b00, #ff8500);
    color: white;
  }

  .mobile-restart-btn {
    background: linear-gradient(45deg, #ff6b00, #ff8500);
    color: white;
  }
}
