html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
 body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: relative;
    text-align: center;
    background: #00151C url('/static/dungeon_splash.png') no-repeat center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 100vh;
  }

  .button-container {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 2;
  }

  button {
    background: #222;
    color: #00ffcc;
    border: 2px solid #00ffcc;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    max-width: 200px;
  }

  button:hover {
    background: #00ffcc;
    color: #0d0d0d;
    text-shadow: 0 0 8px #00ffcc;
  }

  .spacer {
    flex: 1;
  }

  footer {
    width: 100%;
    padding: 1rem;
    text-align: center;
    color: #b30000;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 0 0 5px #300000;
  }

/* Ultra-wide desktop (≥1920px) */
@media (min-width: 1920px) {
  body {
    background-size: 50%;
  }
}
@media (max-width: 1440px) and (min-width: 768px) {
  body {
    background-size: 70%; /* You can tweak this zoom level */
  }
}
/* Between 1441px–1919px */
@media (min-width: 1441px) and (max-width: 1919px) {
    body {
    background-size: 60%;
  }
}

/* Tablet portrait (600px–767px) */
@media (max-width: 767px) and (min-width: 600px) {
  body { background-size: 75%; }
}

/* Small phones (426px–599px) */
@media (max-width: 599px) and (min-width: 426px) {
  body { background-size: 100%; }
}

/* Extra small phones (≤425px) */
@media (max-width: 425px) {
  body { background-size: 120%; } /* zoom a bit so it fills without weird cropping */
}

