/* Import bold slab font */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500&display=swap');

body.splash {
  background-image: url('../images/woodgrain-texture.png'); /* adjust path if needed */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-color: #120b07; /* darker fallback */
}

/* Dark jazz club atmosphere */
body {
  background: linear-gradient(135deg, #0d0604, #1a0e05);
  background-image: url('woodgrain-texture.png'); /* Optional: subtle woodgrain overlay */
  background-size: cover;
  background-blend-mode: multiply;
  color: #e0d7c6; /* softer parchment white */
  font-family: 'Roboto Slab', serif;
  margin: 0;
  text-align: justify;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scene container */
.scene {
  background-color: rgba(20, 10, 5, 0.92); /* near-black mahogany */
  border: 2px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.9);
  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;
}

/* Spotlight glow */
.scene::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(200, 100, 255, 0.25), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(100px);
}

.scene::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.2), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(60px);
}

/* Text box */
.scene-text {
  position: relative;
  z-index: 1;
  font-size: 1.15em;
  margin-bottom: 20px;
  padding: 2em;
  background-color: rgba(15, 10, 8, 0.9); /* darker overlay */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  width: 100%;
  max-width: 580px;
  min-height: 80px;
  overflow-y: auto;
  line-height: 1.8;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.04);
  color: #f5f5f0;
}

/* Image frame */
.image-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  height: 360px;
  overflow: hidden;
  background-color: #1c0f09;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
}

.image-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border: none;
  filter: brightness(1.05) contrast(1.3) saturate(1.1);
  border-radius: 8px;
}

/* Buttons */
button {
  padding: 1.2em 2.5em;
  font-size: 1.2em;
  min-width: 220px;

  background: rgba(255, 193, 7, 0.1);  /* subtle amber glow background */
  color: #ffca28;                      /* warm golden text */
  border: 2px solid #ffca28;           /* gold border */
  border-radius: 8px;

  cursor: pointer;
  font-family: 'Roboto Slab', serif;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 0 14px rgba(255, 193, 7, 0.4);
}

button:hover {
  background: rgba(255, 193, 7, 0.2);  /* slightly stronger glow */
  color: #ffe082;                      /* softer highlight */
  border-color: #ffc107;
  box-shadow: 0 0 22px 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;
  }
}
