/* Import clean technical font */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

/* Brand-inspired theme */
body {
  background: radial-gradient(circle at top left, #0f3057 0%, #05162a 100%);
  color: #f2e6d9; /* soft beige text */
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  margin: 0;
  text-align: center;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scene container */
.scene {
  border: 2px solid rgba(242, 230, 217, 0.2); /* soft beige tint */
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.25);
  background-color: rgba(5, 22, 42, 0.9);
  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;
}

/* Subtle decorative background elements */
.scene::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255,180,80,0.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(12px);
}

.scene::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0,200,255,0.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(12px);
}

/* Text box */
.scene-text {
  position: relative;
  z-index: 1;
  font-size: 1.1em;
  margin-bottom: 20px;
  padding: 2em 2.5em;
  background-color: rgba(10, 30, 60, 0.85);
  border: 2px dashed rgba(255, 140, 0, 0.7);
  border-radius: 8px;
  width: 100%;
  max-width: 540px;
  min-height: 80px;
  overflow-y: auto;
  line-height: 1.8;
  box-shadow: inset 0 0 8px rgba(255, 140, 0, 0.3);
  color: #ffffff;
}

/* Image frame */
.image-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  height: 320px;
  overflow: hidden;
  background-color: rgba(0, 31, 63, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid rgba(0,200,255,0.5);
}

.image-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: none;
  filter: brightness(1.05) contrast(1.15);
  border-radius: 6px;
}

/* Buttons */
button {
  padding: 1em 2em;
  font-size: 1.1em;
  background: transparent;
  color: #4dd0e1;
  font-family: 'Share Tech Mono', monospace;
  border: 2px solid #4dd0e1;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.3);
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

button:hover {
  background: rgba(255, 140, 0, 0.15);
  color: #ffcc80;
  border-color: #ff8c00;
  box-shadow: 0 0 18px rgba(255, 140, 0, 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;
  }
}
