/* === Reset & Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  background-color: rgba(24, 0, 32, 1); /* very dark purple */
  color: rgba(248, 229, 140, 1); /* light gold */
  line-height: 1.6;
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

/* === Section Containers === */
.introduction,
.music,
.art,
.ai {
  margin-bottom: 3rem;
  padding: 1.5rem;
  background-color: rgba(42, 0, 51, 1); /* deeper purple */
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(255, 200, 128, 0.1);
}

/* === Headings === */
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: rgba(255, 200, 127, 1); /* golden yellow */
}

h3 {
  font-size: 1.6rem;
  margin: 1rem 0 0.5rem;
  color: rgba(252, 200, 128, 1); /* softer gold */
}

/* === Paragraphs === */
p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: rgba(246, 221, 147, 1); /* light tan-gold */
}

/* === Images === */
.general_image {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
  display: block;
  box-shadow: 0 1px 6px rgba(24, 0, 32, 0.2);
}

/* === Music Embed === */
.music iframe {
  max-width: 100%;
  border: none;
  border-radius: 6px;
  margin-top: 1rem;
}

/* === Carousel === */
.carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid rgba(24, 0, 32, 1);
  background: rgba(17, 0, 17, 1); /* near-black purple */
}

.carousel img {
  display: none;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

.carousel img.active {
  display: block;
}

/* === Caption === */
.caption {
  position: absolute;
  bottom: 0;
  background: rgba(255, 200, 128, 0.15);
  color: rgba(255, 233, 127, 1);
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  text-align: center;
  font-weight: 500;
}

/* === Buttons === */
.buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
  pointer-events: none;
}

.buttons button {
  pointer-events: all;
  background: rgba(255, 240, 190, 0.85);
  border: 2px solid rgba(24, 0, 32, 1);
  color: rgba(26, 0, 26, 1);
  font-size: 1.2rem;
  padding: 0.5rem 0.9rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.buttons button:hover {
  background: rgba(255, 242, 204, 1);
  color: rgba(90, 0, 51, 1);
}