/* Import western-style font */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

/* Blue and yellow theme */
body {
  background-color: #0057b8; /* Bold sky blue */
  color: #ffcc00;            /* Bright sponsor yellow */
  font-family: 'Special Elite', 'Courier New', monospace;
  margin: 0;
  text-align: center;
  overflow-x: hidden;
}

/* Scene container with clean border and blue gradient */
.scene {
  border: 4px solid #ffcc00; /* Sponsor yellow */
  box-shadow: 0 0 20px #003f7d;
  background-color: #004aad; /* Deep blue fallback */
  background-image: url('images/sky-backdrop.png');
  color: #ffffff;
  font-family: 'Georgia', serif;
  font-style: italic;
  padding: 2em;
  box-sizing: border-box;
  max-width: 640px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* Text box with blue frame and yellow highlights */
.scene-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  padding: 2em 2.5em;
  background-color: rgba(0, 40, 80, 0.9);
  border: 2px dashed #ffcc00;
  border-radius: 8px;
  width: 100%;
  max-width: 540px;
  min-height: 80px;
  overflow-y: auto;
  line-height: 1.8;
  box-shadow: 0 0 10px #003f7d;
  user-select: none;
}

/* Image frame with clean contrast */
.image-frame {
  width: 100%;
  max-width: 640px;
  height: 320px;
  overflow: hidden;
  background-color: #001f3f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.image-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: none;
  filter: brightness(1.1) contrast(1.2);
  border-radius: 6px;
}

/* Blue and yellow button */
button {
  padding: 1em 2em;
  font-size: 1.2em;
  background: #ffcc00;
  color: #003f7d;
  font-family: 'Georgia', serif;
  font-weight: bold;
  border: 2px solid #003f7d;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 10px #004aad;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

button:hover {
  background: #ffd700;
  box-shadow: 0 0 15px #ffffff;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .scene {
    padding: 1em;
    min-height: auto;
  }

  .scene-text {
    font-size: 1rem;
    line-height: 1.6;
    padding: 1.5em;
    max-width: 95%;
    overflow-y: visible;
  }

  .image-frame {
    height: auto;
    max-height: 40vh;
  }

  .image-frame img {
    max-height: 40vh;
  }

  button {
    font-size: 1rem;
    padding: 0.8em 1.2em;
    width: 90%;
    max-width: 320px;
  }
}

/* Extra-small phones */
@media (max-width: 480px) {
  .scene-text {
    font-size: 0.9rem;
    padding: 1.2em;
  }
}
