/* Import western-style font */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

/* Base styles with grayscale grit */
body {
  background-color: #1a1a1a; /* Deep black */
  color: #e0e0e0;            /* Light grey */
  font-family: 'Special Elite', 'Georgia', serif;
  margin: 0;
  text-align: center;
  overflow-x: hidden;
}

/* Scene container with steel and shadow */
.scene {
  border: 4px solid #444; /* Gunmetal */
  box-shadow: 0 0 20px #000;
  background-image: url('images/metal-texture.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #2f2f2f; /* Charcoal steel */
  color: #e0e0e0;
  font-style: italic;
  padding: 2em;
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* Text box with slate overlay and silver border */
.scene-text {
  font-size: 1.15em;
  margin-bottom: 24px;
  padding: 2em 2.5em;
  background-color: rgba(50, 50, 50, 0.85); /* Slate */
  border: 2px dashed #888; /* Silver grey */
  border-radius: 10px;
  width: 100%;
  max-width: 560px;
  min-height: 100px;
  overflow-y: auto;
  line-height: 1.9;
  box-shadow: 0 0 12px #000;
  user-select: none;
}

/* Image frame with monochrome filter */
.image-frame {
  width: 100%;
  max-width: 720px;
  height: 340px;
  overflow: hidden;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.image-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.8) contrast(1.2);
  border-radius: 8px;
}

/* Western-style button with iron tones */
button {
  padding: 1em 2em;
  font-size: 1.2em;
  background: #333; /* Iron */
  color: #f0f0f0;   /* Pale silver */
  font-family: 'Georgia', serif;
  font-weight: bold;
  border: 2px solid #555;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 10px #222;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background: #555; /* Polished steel */
  box-shadow: 0 0 15px #999; /* Soft glow */
  transform: scale(1.03);
}

/* Utility spacing classes */
.mt-1 { margin-top: 1em; }
.mt-2 { margin-top: 2em; }
.mb-1 { margin-bottom: 1em; }
.mb-2 { margin-bottom: 2em; }

/* Mobile adjustments */
@media (max-width: 768px) {
  .scene {
    padding: 1em;
    min-height: auto;
  }

  .scene-text {
    font-size: 1rem;
    line-height: 1.7;
    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;
  }
}
