/* Import bold retro-inspired font */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500&display=swap');

/* Stadium poster theme */
body {
  background: repeating-linear-gradient(
    180deg,
    #2e7d32,   /* dark turf green */
    #2e7d32 40px,
    #388e3c 40px,
    #388e3c 80px
  ); /* striped turf effect */
  color: #fffde7; /* warm cream text */
  font-family: 'Roboto Slab', serif;
  margin: 0;
  text-align: center;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scene container */
.scene {
  border: 3px solid rgba(255, 171, 64, 0.5); /* orange tint */
  box-shadow: 0 0 25px rgba(255, 111, 0, 0.35);
  background-color: rgba(33, 33, 33, 0.85); /* dark overlay for readability */
  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;
  position: relative;
  overflow: hidden;
}

/* Stadium lights / flare effects */
.scene::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 235, 59, 0.3), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(16px);
}

.scene::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.25), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(16px);
}

/* Text box */
.scene-text {
  position: relative;
  z-index: 1;
  font-size: 1.1em;
  margin-bottom: 20px;
  padding: 2em 2.5em;
  background-color: rgba(46, 125, 50, 0.85); /* green backdrop */
  border: 2px dashed rgba(255, 213, 79, 0.9); /* golden accent */
  border-radius: 10px;
  width: 100%;
  max-width: 540px;
  min-height: 80px;
  overflow-y: auto;
  line-height: 1.8;
  box-shadow: inset 0 0 10px rgba(255, 213, 79, 0.4);
  color: #fffde7;
}

/* Image frame */
.image-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  height: 320px;
  overflow: hidden;
  background-color: rgba(56, 142, 60, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 3px solid rgba(255, 213, 79, 0.6);
}

.image-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: none;
  filter: brightness(1.05) contrast(1.2) saturate(1.15);
  border-radius: 6px;
}

/* Buttons */
button {
  padding: 1em 2em;
  font-size: 1.1em;
  background: transparent;
  color: #ffcc80;
  font-family: 'Roboto Slab', serif;
  border: 2px solid #ffcc80;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.3);
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

button:hover {
  background: rgba(255, 213, 79, 0.15);
  color: #ffe082;
  border-color: #ff9800;
  box-shadow: 0 0 18px rgba(255, 193, 7, 0.6);
}

/* 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;
  }
}
