/* Import clean technical font */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

/* Blueprint theme */
body {
  background-color: #0a3d62; /* Steel blue */
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px; /* grid lines */
  color: #e0f7fa; /* light cyan text */
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  margin: 0;
  text-align: center;
  overflow-x: hidden;
}

/* Scene container with blueprint frame */
.scene {
  border: 2px solid #e0f7fa; /* white/cyan linework */
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
  background-color: rgba(0, 40, 80, 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;
}

/* Text box styled like a blueprint note */
.scene-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  padding: 2em 2.5em;
  background-color: rgba(10, 30, 60, 0.85);
  border: 2px dashed #4dd0e1; /* cyan dash */
  border-radius: 6px;
  width: 100%;
  max-width: 540px;
  min-height: 80px;
  overflow-y: auto;
  line-height: 1.8;
  box-shadow: inset 0 0 8px rgba(0,200,255,0.3);
  color: #ffffff;
}

/* Image frame with grid feel */
.image-frame {
  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 #4dd0e1;
}

.image-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: none;
  filter: brightness(1.05) contrast(1.15);
  border-radius: 4px;
}

/* Blueprint-style button */
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;
}

button:hover {
  background: rgba(0, 200, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 200, 255, 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;
  }
}
