:root {
  --bg-top: #21101b;
  --bg-bottom: #341427;

  --title-pink: #f061b0;
  --subtitle-pink: #d7a0bf;
  --speaker-pink: #e56aac;

  --text: #e4c1d4;
  --stage: #cfaebf;

  --divider: rgba(228, 193, 212, 0.32);
  --signature: rgba(228, 193, 212, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 104px 34px 46px;
}

.play {
  width: 100%;
}

/* --- Header --- */

.play-header {
  max-width: 760px;
  margin: 0 auto 1.3rem;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--title-pink);
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}

.subtitle {
  margin: 1.4rem 0 0 0;
  font-size: 1.45rem;
  line-height: 1.45;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.035em;
  color: var(--text);
}

.cast-line {
  margin: 2rem 0 0 0;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--subtitle-pink);
  letter-spacing: 0.02em;
}

.bullet {
  padding: 0 0.45rem;
  color: var(--speaker-pink);
}

/* --- Hero image --- */

.hero-image {
  max-width: 760px;
  margin: 1.6rem auto 2rem;
  text-align: center;
}

.hero-image img {
  display: inline-block;
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* --- Body column --- */

.body-column {
  max-width: 760px;
  margin: 0 auto;
}

/* Stage directions */

.stage-direction {
  margin: 0.25rem 0 1rem 4.2rem;
  max-width: 42rem;
  font-size: 0.99rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--stage);
}

/* Dialogue */

.speech {
  margin: 0 0 1.15rem 0;
}

.speaker {
  margin: 0 0 0.18rem 0;
  font-size: 1rem;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--speaker-pink);
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.12);
}

.line {
  margin: 0 0 0 4.2rem;
  max-width: 40rem;
  font-size: 1.07rem;
  line-height: 1.66;
  color: var(--text);
}

/* --- Footer --- */

.site-footer {
  max-width: 760px;
  margin: 3.7rem auto 0;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--divider);
  margin-bottom: 1rem;
}

.signature {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: lowercase;
  color: var(--signature);
  text-align: center;
}

.signature a {
  color: inherit;
  text-decoration: none;
}

.signature a:hover {
  opacity: 0.85;
}

/* --- Responsive --- */

@media (max-width: 900px) {
  .page {
    padding: 76px 22px 34px;
  }

  h1 {
    font-size: 3.05rem;
    letter-spacing: 0.1em;
  }

  .subtitle {
    font-size: 1.25rem;
  }

  .cast-line {
    font-size: 1rem;
  }

  .hero-image img {
    max-width: 360px;
  }

  .stage-direction,
  .line {
    margin-left: 2.3rem;
  }

  .stage-direction {
    margin-top: 0.2rem;
    margin-bottom: 0.9rem;
  }

  .speech {
    margin-bottom: 1.05rem;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 68px 16px 28px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .cast-line {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .bullet {
    padding: 0 0.25rem;
  }

  .hero-image {
    margin-top: 1.2rem;
    margin-bottom: 1.7rem;
  }

  .hero-image img {
    max-width: 290px;
  }

  .stage-direction,
  .line {
    margin-left: 1rem;
  }

  .stage-direction {
    margin-top: 0.15rem;
    margin-bottom: 0.85rem;
  }

  .speech {
    margin-bottom: 1rem;
  }

  .signature {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
  }
}
