@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800&display=swap');
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Nanum Myeongjo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #212A4B;
  color: #fff;
}
.quiz-wrap {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 24px 12px;
}
.quiz-card {
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  margin: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
}

.screen {
  display: none;
  animation: fadeIn 0.25s ease;
}
.screen.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.intro-main {
  margin-top: 12px;
  text-align: center;
}
.mainTitle{
  width: 100%;
}
.mainTitle img{
  width: 70vw;
  margin: 0 auto;
}
.intro-illust {
  width: 100%;
  height: 160px;
  margin: 0 auto 10px;
  border-radius: 24px;
  background: linear-gradient(145deg, #fce4ff, #e1f0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #777;
}
.intro-illust img {
  width: 100%;
}

.intro-text p{
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
  margin: 14px 0;
  white-space: pre-line;
}

.background-pattern {
  position: fixed;
  inset: 0;
  z-index: 1;
}
.patter-wrapper-01 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100vw;
  height: 100vh;
  position: absolute;
  inset: 0;
}
.patter-wrapper-01 > div {
  display: flex;
  justify-content: space-between;
}
.patter-wrapper-01 img {
  width: 40vw;
}
.patter-wrapper-01 .top img:last-child {
  transform: scale(-1, 1);
}
.patter-wrapper-01 .bottom img:first-child {
  transform: scale(-1, 1);
}

.patter-wrapper-02 {
  display: flex;
  justify-content: space-between;
  width: 100vw;
  height: 30vh;
  padding: 12px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.patter-wrapper-02 img {
  height: 100%;
}
.startButton {
  display: inline-block;
  height: 80px;
  margin-bottom: 10px;
}
.startButton img{
  height: 100%;
}
.nav-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  border: none;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.nav-next {
  background: #2489f3;
  color: #fff;
}

@media (max-width: 480px) {
  .quiz-card {
    padding: 16px 14px 14px;
    border-radius: 16px;
  }
}
