:root {
  --iphone-height: min(60vh, 440px);
}

.scene {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  min-height: 40vh;
  width: min(100%, 1300px);
  margin: 0 auto;
  box-sizing: border-box;
  padding: clamp(1rem, 3vw, 2rem);
}

.phone-con {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  aspect-ratio: 9 / 16;
  width: clamp(216px, 20vw, 360px);
  height: auto;
  background: transparent;
  border-radius: 1.75rem;
  padding: 0.3rem;
  box-sizing: border-box;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.85),
    0 0 40px rgba(56, 189, 248, 0.45);
  background:
    linear-gradient(145deg, rgba(148, 163, 184, 0.45), rgba(56, 189, 248, 0.75));
}

.phone::before {
  content: none;
}

.screen-container {
  position: absolute;
  inset: 0.3rem;
  border-radius: 1.4rem;
  padding: 0.18rem;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.96);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 0 60px rgba(15, 23, 42, 0.8) inset;
}

.screen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-size: cover;
  background-position: center 45%;
   width: 100%;
   height: 100%;
   object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.85);
}

.screen--home {
  background-image: url("Home.jpeg");
}

.screen--bodhi {
  background-image: url("Scene options.jpeg");
}

.screen--hummingbird {
  background-image: url("Hummingbird.jpeg");
}

.screen--air-bubbles {
  background-image: url("Air Bubbles.jpeg");
}

.screen--leaf-drops {
  background-image: url("Timer.jpeg");
}

.screen--planned {
  background-image: url("Planned features.jpeg");
}

.screen--planned::after {
  content: "Planned for future development";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #e5e7eb;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}
.screen--video {
  background: none;
  object-fit: cover;
}

@media (max-width: 640px) {
  .scene {
    min-height: 50vh;
    flex-wrap: wrap;
    justify-content: center;
  }

  .phone {
    width: min(70vw, 320px);
    height: auto;
  }
}
