:root {
  --black: #000000;
  --text-color: #b8877c;
  --link-color: #634415;
  --link-hover: #724e19;
  --nav-text-mobile: #b7791f;
  --brand-color: #410606;
  --brand-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 18px rgba(140, 90, 40, 0.25);
  --poster-max-width: 1700px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--text-color);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
  overflow-x: hidden;
}

.page {
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.posterPage {
  width: 100%;
}

.posterFrame {
  position: relative;
  width: 100%;
  max-width: var(--poster-max-width);
  margin: 0 auto;
}

.posterImage {
  display: block;
  width: 100%;
  height: auto;
}

.posterOverlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.posterNav {
  position: absolute;
  top: clamp(20px, 2.5vw, 38px);
  display: flex;
  gap: 14px;
  pointer-events: auto;
}

.posterNavLeft {
  left: clamp(20px, 3vw, 52px);
}

.posterNavRight {
  right: clamp(20px, 3vw, 52px);
}

.navButton {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 9px;
  background: rgba(68, 1, 1, 0.75);
  color: #0f0501;
  font-family: "MedievalSharp", cursive;
  letter-spacing: 0.08em;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  backdrop-filter: blur(6px);
  border: 1px solid transparent;
}

.navButton:hover,
.navButton:focus-visible {
  background: rgba(0, 0, 0, 0.7);
  color: #7a2a18;
  border-color: rgba(75, 44, 1, 0.8);
}

.brandNameFloating {
  position: absolute;
  top: clamp(80px, 11vw, 150px);
  left: 52%;
  transform: translateX(-50%);
  width: min(90%, 1100px);
  text-align: center;
  font-family: "MedievalSharp", cursive;
  font-size: clamp(34px, 5.3vw, 82px);
  letter-spacing: 0.14em;
  line-height: 1.05;
  color: var(--brand-color);
  text-shadow: var(--brand-shadow);
}

.posterContent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25%;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0 40px;
}

.storeButton {
  margin-right: 7px;
}

.aboutSection {
  font-family: 'Cormorant Garamond', serif;
  width: min(100%, 620px);
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.03em;
  position: relative;
  margin-bottom: 60px;
}

.aboutAnchor {
  position: absolute;
  left: 0;
  right: 0;
  top: 58%;
  height: 1px;
}

.aboutSection p {
  margin: 0 0 14px;
  font-size: clamp(18px, 1.4vw, 30px);
}

.aboutSection p:first-child {
  margin-bottom: 0;
  font-weight: 500;
}

.musicButton {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  margin-top: 70px; 
}

.footer {
  padding: 18px 28px 30px;
  font-size: 12px;
  color: rgba(116, 77, 77, 0.75);
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .posterContent {
    bottom: 14%;
    padding: 0 24px;
  }

  .aboutSection {
    width: min(100%, 680px);
  }

  .aboutSection p {
    font-size: clamp(20px, 2.2vw, 27px);
    line-height: clamp(1.7, 2vw, 1.9);
  }
}

@media (max-width: 767px) {
  .posterNavLeft {
    left: 16px;
  }

  .posterNavRight {
    right: 16px;
    gap: 8px;
  }

  .navButton {
    font-size: 15px;
    color: var(--nav-text-mobile);
    padding: 4px 7px;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  }

  .brandNameFloating {
    top: 90px;
    font-size: clamp(24px, 9vw, 42px);
    width: 92%;
  }

  .posterContent {
    bottom: 10%;
    padding: 0 18px;
  }

  .aboutSection p {
    font-size: 20px;
    line-height: 1.75;
  }
}

@media (max-width: 520px) and (orientation: portrait) {
  .brandNameFloating {
    left: 50%;
    width: 82%;
    font-size: 34px;
    letter-spacing: 0.03em;
    line-height: 1;
    top: 70px;
  }

  .posterContent {
    top: 53%;
    bottom: auto;
    left: 0;
    right: 0;
    transform: translateY(0);
    padding: 0 16px;
    align-items: flex-start;
  }

  .aboutSection {
    width: min(100%, 300px);
    letter-spacing: 0;
    margin-bottom: 0;
  }

  .aboutSection p {
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0;
    margin: 0 0 6px;
  }

  .musicButton {
    margin-top: 16px;
  }
}