/* Import bold slab font */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500&display=swap');

/* Urban night theme */
body {
  background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%); /* deep black/gray */
  color: #f5f5f5; /* off-white for readability */
  font-family: 'Roboto Slab', serif;
  margin: 0;
  text-align: center;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scene container */
.scene {
  border: 2px solid rgba(255, 255, 255, 0.08); /* subtle edge */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  background-color: rgba(20, 20, 20, 0.85); /* dark overlay */
  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;
  position: relative;
  overflow: hidden;
}

/* Ambient streetlight glow */
.scene::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 200, 100, 0.25), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(40px);
}

.scene::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(100, 200, 255, 0.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(40px);
}

/* Text box */
.scene-text {
  position: relative;
  z-index: 1;
  font-size: 1.1em;
  margin-bottom: 20px;
  padding: 1.8em 2.2em;
  background-color: rgba(0, 0, 0, 0.7); /* stronger dark overlay */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  width: 100%;
  max-width: 580px;
  min-height: 80px;
  overflow-y: auto;
  line-height: 1.8;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05);
  color: #f5f5f5;
}

/* Image frame */
.image-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  height: 360px;
  overflow: hidden;
  background-color: rgba(30, 30, 30, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

.image-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border: none;
  filter: brightness(1.1) contrast(1.15) saturate(1.05);
  border-radius: 6px;
}

/* Buttons */
button {
  padding: 1em 2em;
  font-size: 1.1em;
  background: transparent;
  color: #ffcc80; /* warm streetlight amber */
  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.1);
  color: #ffd54f;
  border-color: #ffa726;
  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;
  }
}
