.page-content {
  width: 100%;
  height: 100%;
  padding: 4cqw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cover-front .page-content {
  justify-content: space-around;
}

.cover-title {
  text-align: center;
  margin: 0;
  position: absolute;
  top: 5%;
  left: 5%;
  right: 5%;
}

.cover-title-image {
  width: 85%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0.3cqw 0.6cqw rgba(0, 0, 0, 0.8));
}

.start-button {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
  width: 32cqw;
}

.start-button:hover {
  transform: translateX(-50%) scale(1.05);
  filter: brightness(1.2) drop-shadow(0 0.5cqw 1cqw rgba(212, 175, 55, 0.6));
}

.start-image {
  width: 100%;
  height: auto;
  display: block;
}

.illustration-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.illustration {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.5cqw;
  box-shadow: 0 0.4cqw 1cqw rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.05);
  transition: opacity 0.8s ease-in-out, transform 0.4s ease, filter 0.4s ease;
}

.illustration.answer-img {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.illustration-container.resolved .question-img {
  opacity: 0;
  pointer-events: none;
}

.illustration-container.resolved .answer-img {
  opacity: 1;
  pointer-events: auto;
}

.illustration:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.question-number {
  font-family: var(--font-family-title);
  font-size: 2cqw;
  color: var(--color-text-accent);
  text-transform: uppercase;
  letter-spacing: 0.15cqw;
  margin-bottom: 0.5cqw;
  font-weight: 700;
  text-shadow: 0.1cqw 0.1cqw 0.2cqw rgba(0, 0, 0, 0.12);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.question-title {
  font-family: var(--font-family-title);
  font-size: 3.5cqw;
  color: var(--color-text-primary);
  margin: 0 0 3.5cqw 0;
  text-align: center;
  text-shadow: 0.1cqw 0.1cqw 0.2cqw rgba(0, 0, 0, 0.12);
}

.question-text {
  font-family: var(--font-family-body);
  font-size: 3cqw;
  color: var(--color-text-secondary);
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  margin: 0 0 3cqw 0;
  max-width: 95%;
  letter-spacing: -0.03cqw;
  word-spacing: -0.05cqw;
  text-shadow: 0.1cqw 0.1cqw 0.2cqw rgba(0, 0, 0, 0.12);
}

.question-text::first-letter {
  font-family: var(--font-family-title);
  font-size: 350%;
  float: left;
  line-height: 0.8;
  margin-top: 0.8cqw;
  margin-right: 1.5cqw;
  color: var(--color-text-accent);
  font-weight: 700;
}

.options-container {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 1cqh;
}

.option-button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1.5cqh 2cqw;
  box-sizing: border-box;
  background: linear-gradient(135deg, #ffffff 0%, #faf6eb 100%);
  border: 0.1cqw solid rgba(90, 79, 65, 0.2);
  border-radius: 1cqw;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-family-body);
  text-align: left;
  box-shadow: 0 0.6cqw 1.5cqw rgba(0, 0, 0, 0.05);
}

.option-button.pulse-wave:not(.disabled):not(.correct):not(.incorrect) {
  animation: option-pulse-wave 2.5s ease-in-out infinite;
}

@keyframes option-pulse-wave {
  0% {
    scale: 1;
    box-shadow: 0 0.6cqw 1.5cqw rgba(0, 0, 0, 0.05);
    border-color: rgba(90, 79, 65, 0.2);
  }

  12% {
    scale: 1.035;
    box-shadow: 0 1.2cqw 2.5cqw rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.4);
  }

  24% {
    scale: 1;
    box-shadow: 0 0.6cqw 1.5cqw rgba(0, 0, 0, 0.05);
    border-color: rgba(90, 79, 65, 0.2);
  }

  100% {
    scale: 1;
    box-shadow: 0 0.6cqw 1.5cqw rgba(0, 0, 0, 0.05);
    border-color: rgba(90, 79, 65, 0.2);
  }
}

.option-button:hover:not(.disabled) {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: #d4af37;
  translate: 0.8cqw 0;
  box-shadow: 0 0.4cqw 1.2cqw rgba(212, 175, 55, 0.25);
}

.option-prefix {
  font-family: var(--font-family-ui);
  font-weight: 700;
  font-size: 2.5cqw;
  background-color: var(--color-text-accent);
  color: #ffffff;
  width: 5cqw;
  height: 5cqw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2cqw;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.option-text {
  font-size: 2.5cqw;
  color: var(--color-text-primary);
  line-height: 1.3;
  text-shadow: 0.05cqw 0.05cqw 0.1cqw rgba(0, 0, 0, 0.08);
}

.option-button.correct {
  background-color: var(--color-success-background);
  border-color: var(--color-success);
  box-shadow: 0 0 1.2cqw var(--color-success);
}

.option-button.correct .option-prefix {
  background-color: var(--color-success);
  color: #ffffff;
}

.option-button.incorrect {
  background-color: var(--color-error-background);
  border-color: var(--color-error);
  box-shadow: 0 0 1.2cqw var(--color-error);
}

.option-button.incorrect .option-prefix {
  background-color: var(--color-error);
  color: #ffffff;
}

.right-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3.6cqw;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 12;
}

.page-number {
  position: absolute;
  bottom: 2cqw;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-family-body);
  font-size: 2cqw;
  color: var(--color-text-secondary);
  opacity: 0.65;
  margin: 0;
  z-index: 10;
}

.result-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/bg/result-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1.5s ease;
  z-index: 500;
}

.state-result .result-screen {
  opacity: 1;
  pointer-events: auto;
}

.state-result .book-viewport {
  opacity: 0;
  pointer-events: none;
}

.result-content-wrapper {
  width: 50cqw;
  max-width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.result-screen .result-text-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.5cqw 1cqw rgba(0, 0, 0, 0.7));
}