.index-page {
  max-width: unset;
}
.header-wrap {
  position: relative;
}
.header {
  position: relative;
  z-index: 500;
  margin: 30px auto 35px auto;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  padding: 10px 30px;
  max-width: var(--maxWidth);
  color: var(--mainColor);
  border-radius: 35px;
}
.header h1 {
  font-size: 60px;
  margin-bottom: 17px;
  text-align: center;
}
.header h2 {
  font-size: 24px;
  color: #717171;
  text-align: center;
  margin: 0;
}

.content {
  max-width: var(--maxWidth);
  margin: 0 auto;
}
.tag-title {
  font-size: 35px;
  padding-top: 5px;
  border-bottom: 4px var(--mainColor) solid;
  color: var(--mainColor);
}
.quiz-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.quiz-list .item {
  width: calc(33.333% - 15px);
  margin-bottom: 30px;
  background-color: #fff;
  border-radius: 35px;
  padding: 15px;
  padding-bottom: 40px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  cursor: pointer;
}
.quiz-list .item:hover {
  background-color: var(--mainColor);
}
.quiz-list .item:hover h3 {
  color: #fff;
}
.quiz-list .item:hover button {
  background-color: var(--mainColor);
}
.quiz-list .item .img-wrap {
  border: 10px #fff solid;
  border-radius: 25px;
  overflow: hidden;
}
.quiz-list .item .img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.quiz-list .item h3 {
  color: var(--mainColor);
  font-size: 22px;
  font-weight: unset;
  text-align: center;
  margin: 12px 0 25px 0;
  height: 66px;
  display: grid;
  place-items: center;
  justify-content: flex-start;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.quiz-list .item:hover h3 {
  font-weight: bold;
}
.quiz-list .item .btn-wrap {
  text-align: center;
}
.quiz-list .item button {
  font-size: 20px;
  font-weight: bold;
  height: 55px;
  padding: 0 45px;
  color: #fff;
  background-color: var(--mainColor);
}
.quiz-list .item:hover button {
  color: var(--mainColor);
  background-color: #fff;
}

.about-us .background {
  display: flex;
  flex-flow: column;
  width: 100%;
  height: 100%;
}
.about-us .wave {
  width: 100%;
  height: 100px;
  background-image: url('/imgs/purple-wave.png');
  background-repeat: repeat;
}
.about-us .bottom {
  background-color: #faeed1;
  color: #333;
  padding: 0 10px;
}
.about-us .bottom .content {
  max-width: var(--maxWidth);
  margin: 0 auto;
  padding-bottom: 30px;
}
.about-us .bottom .content h1 {
  font-size: 45px;
  border-bottom: 4px #fff solid;
}
.about-us .bottom .content h2 {
  font-size: 30px;
  margin-bottom: 5px;
}
.about-us .bottom .content p {
  font-size: 20px;
  margin: 5px 0;
}
.about-us .bottom .content br {
  height: 20px;
}
.about-us .bottom .content ul {
  margin: 5px 0;
  font-size: 20px;
}
.about-us .bottom .content ul li {
  margin: 5px 0;
}

.game-entry-card {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #c80500, #ff4b4b);
  color: #fff;
  padding: 20px 40px;
  border-radius: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 800px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(200, 5, 0, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.game-entry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(200, 5, 0, 0.3);
}

.game-entry-card-content {
  text-align: left;
}

.header .game-entry-card-content h3 {
  margin: 0 0 10px 0;
  font-size: 24px;
  color: #fff;
  text-align: left;
}

.header .game-entry-card-content p {
  margin: 0;
  font-size: 16px;
  color: #ffe0e0;
  text-align: left;
}

.game-entry-card-btn {
  background: #fff;
  color: #c80500;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 18px;
  white-space: nowrap;
  margin-left: 20px;
  transition: background 0.3s ease;
}

.game-entry-card:hover .game-entry-card-btn {
  background: #fff0f0;
}

@media (min-width: 700px) and (max-width: 1150px) {
  body {
    /* transform: scale(0.9);
    transform-origin: top left;
    width: 111.11%; */
    zoom: 0.9;
  }
}

@media screen and (max-width: 700px) {
  .header {
    flex-flow: column nowrap;
    padding: 20px 10px;
  }
  .header .intro {
    order: 2;
  }
  .header h2 {
    font-size: 35px;
    font-weight: bold;
    margin-top: 0;
  }
  .header p {
    font-size: 18px;
  }
  .tag-title {
    text-align: center;
    border-bottom: unset;
    font-size: 20px;
    color: var(--mainColor);
  }
  .tag-title span {
    border-bottom: 4px var(--mainColor) solid;
  }
  .quiz-list {
    padding: 0 10px;
  }
  .quiz-list .item {
    width: 100%;
  }
  .btn-wrap {
    text-align: center;
    margin-top: 20px;
  }
  .btn-wrap .common-btn {
    padding: 5px 40px;
  }
  .about-us .bottom .content h1 {
    font-size: 20px;
  }
  .about-us .bottom .content h2 {
    font-size: 16px;
  }
  .about-us .bottom .content p {
    font-size: 14px;
  }
  .about-us .bottom .content br {
    height: 14px;
  }
  .about-us .bottom .content ul {
    font-size: 14px;
  }

  .game-entry-card {
    width: calc(100% - 20px);
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .game-entry-card-content {
    text-align: center;
  }
  .header .game-entry-card-content h3 {
    text-align: center;
    font-size: 20px;
  }
  .header .game-entry-card-content p {
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
  }
  .game-entry-card-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}
