@font-face {
  font-family: "TaiwanPearl-Regular";
  src: url("https://cdn.jsdelivr.net/gh/max32002/TaiwanPearl@2.125/webfont/TaiwanPearl-Regular.woff2") format("woff2"), url("https://cdn.jsdelivr.net/gh/max32002/TaiwanPearl@2.125/webfont/TaiwanPearl-Regular.woff") format("woff");
}
.container-fluid {
  padding: 0;
}

.container {
  position: relative;
}
@media (min-width: 1281px) {
  .container {
    max-width: 1100px;
  }
}
@media (max-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }
}

h1 {
  font-size: 2.25rem;
  line-height: 2.6rem;
  font-weight: 600;
  letter-spacing: 0.2rem !important;
}

h2 {
  font-size: 1.75rem;
  line-height: 2.2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.8rem;
  font-weight: 500;
}

h4 {
  font-size: 1.125rem;
  line-height: 1.6rem;
  font-weight: 500;
}

h5 {
  font-size: 1rem;
  line-height: 1.8rem;
  font-weight: 400;
}

p {
  font-size: 0.9375rem;
  margin-bottom: 0;
  line-height: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100vh;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: "Varela Round", "TaiwanPearl-Regular", sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
}

ol, ul {
  padding-left: 0;
  list-style: none;
}

img {
  max-width: 100%;
}

header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: fixed;
  width: 100%;
  padding: 0 1rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.98);
  -webkit-filter: drop-shadow(0 0 0.5rem rgba(0, 72, 132, 0.2));
          filter: drop-shadow(0 0 0.5rem rgba(0, 72, 132, 0.2));
  z-index: 500;
}
header .logo {
  width: 4rem;
}
header nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 0.5rem;
}
header nav .icon-wrap:not(:last-child) {
  margin-right: 1rem;
}
header nav a {
  color: #0070bc;
  font-size: 1rem;
  font-weight: 600;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
header nav a img {
  width: 2rem;
  padding-bottom: 0.35rem;
  margin-right: 0.25rem;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
header nav a:hover {
  color: #02abd9;
}
header nav a:hover img {
  opacity: 0.7;
  -webkit-transform: rotate(16deg);
          transform: rotate(16deg);
}
@media (max-width: 768px) {
  header {
    width: 100%;
    height: 5rem;
    padding: 0 1rem;
    border-radius: 0;
    bottom: 0;
  }
  header .logo {
    display: none;
  }
  header .icon-wrap {
    width: 100%;
    text-align: center;
    margin-right: 0;
  }
  header nav {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
  header nav a {
    font-size: 0.8125rem;
  }
  header nav a img {
    margin-right: 0;
    padding: 0;
  }
}

footer {
  padding: 2rem 0;
  background-color: #0070bc;
}
@media (max-width: 576px) {
  footer {
    padding-bottom: 5.5rem;
  }
}
footer .socials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: row;
  gap: 1rem;
  width: 8rem;
  margin: 0 auto;
}
@media (max-width: 576px) {
  footer .socials {
    width: 80%;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
footer .socials .social {
  display: inline-block;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
footer .socials .social img {
  width: 3.5rem;
}
footer .socials .social:hover {
  -webkit-transform: rotate(16deg);
          transform: rotate(16deg);
  opacity: 0.8;
}
@media (max-width: 576px) {
  footer .socials {
    margin-bottom: 0.5rem;
  }
}
footer .apps, footer .download {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
footer .apps {
  gap: 1rem;
}
footer .app-left {
  width: 15rem;
  border: 6px solid white;
  border-radius: 0.5rem;
}
@media (max-width: 576px) {
  footer .app-left {
    display: none;
  }
}
footer .app-right p {
  margin-bottom: 0.5rem;
  color: white;
  padding: 0.25rem;
  font-size: 1.0625rem;
  letter-spacing: 1px;
}
footer .app-right .download {
  width: 60%;
  gap: 0.5rem;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
footer .app-right .download:hover {
  opacity: 0.8;
}
@media (max-width: 576px) {
  footer .app-right {
    text-align: center;
  }
  footer .app-right .download {
    margin: 0 auto;
    width: 80%;
  }
}
footer p {
  color: #cff8ff;
}

#backtotop {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 350;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  -webkit-transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  -webkit-animation: updown 2s ease-in-out infinite;
          animation: updown 2s ease-in-out infinite;
}
#backtotop img {
  width: 3rem;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
#backtotop img:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
#backtotop.show {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 576px) {
  #backtotop {
    right: 0.5rem;
    bottom: 1rem;
  }
  #backtotop img {
    width: 3rem;
  }
}

@-webkit-keyframes updown {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(0.5rem);
            transform: translateY(0.5rem);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes updown {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(0.5rem);
            transform: translateY(0.5rem);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
#versus, #details, #discount, #pipeup, #limit, #notice {
  padding: 1rem 0 2rem;
}
#versus:target:before, #details:target:before, #discount:target:before, #pipeup:target:before, #limit:target:before, #notice:target:before {
  content: "";
  display: block;
  height: 3.5rem;
}
@media (max-width: 576px) {
  #versus:target:before, #details:target:before, #discount:target:before, #pipeup:target:before, #limit:target:before, #notice:target:before {
    height: 1rem;
  }
}

#kv, #versus, #pipeup {
  background-image: url("https://event.kadokado.com.tw/2025/kadoplusfactionwar/img/bg-half.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#details, #discount, #notice {
  background-image: url("https://event.kadokado.com.tw/2025/kadoplusfactionwar/img/bg-yellow.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#details .title, #discount .title, #notice .title {
  display: block;
  margin: 0 auto 1rem;
  width: 30%;
}
@media (max-width: 576px) {
  #details .title, #discount .title, #notice .title {
    width: 100%;
  }
}

@media (max-width: 576px) {
  #versus .container, #pipeup .container {
    overflow-x: hidden;
  }
}

#details .container, #notice .container {
  max-width: 800px;
}
@media (max-width: 768px) {
  #details .container, #notice .container {
    max-width: 600px;
  }
}
#details ul, #details ol, #notice ul, #notice ol {
  list-style-position: inside;
}
#details ul, #notice ul {
  list-style-type: disc;
}
#details ol, #notice ol {
  list-style-type: decimal;
}
#details li, #notice li {
  margin-bottom: 0.5rem;
  line-height: 1.8rem;
  color: #7c4a13;
}

.ctas {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  margin: 0 auto;
}
@media (max-width: 576px) {
  .ctas {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.cta {
  width: 20rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 3rem;
  -webkit-transition: background 0.2s ease-in;
  transition: background 0.2s ease-in;
  text-align: center;
  cursor: pointer;
  background-position: 100%;
  background-size: 400%;
}
.cta a {
  font-size: 1.5rem;
  font-weight: 800;
}
.cta a img {
  margin-right: 0.5rem;
  width: 2rem;
  height: 2rem;
}
.cta:hover {
  background-position: 0;
}
@media (max-width: 768px) {
  .cta {
    margin: 1rem auto;
  }
}

#kv {
  position: relative;
  padding-top: 4rem;
  height: 120%;
}
@media (max-width: 768px) {
  #kv {
    padding-top: 0;
    height: 160%;
  }
}
@media (max-width: 576px) {
  #kv {
    height: 100%;
  }
}
@media (max-width: 420px) {
  #kv {
    height: 102%;
  }
}
@media (max-width: 375px) {
  #kv {
    height: 115%;
  }
}
#kv .kv-web, #kv .kv-mobile {
  margin: 0 auto;
  position: relative;
}
#kv .kv-web {
  display: block;
}
@media (max-width: 768px) {
  #kv .kv-web {
    display: none;
  }
}
#kv .kv-mobile {
  display: none;
}
@media (max-width: 768px) {
  #kv .kv-mobile {
    display: block;
  }
}
#kv img {
  position: absolute;
  width: 100%;
}

@media (max-width: 576px) {
  #versus {
    background-image: none;
    background-color: #fff;
    padding: 0;
  }
  #versus .container {
    padding: 0;
  }
  #versus .love-col {
    background-color: #feebf2;
  }
  #versus .fantasy-col {
    background-color: #cff8ff;
  }
}
#versus .versus-title {
  display: block;
  margin: 0 auto 1rem;
  width: 70%;
}
@media (max-width: 576px) {
  #versus .versus-title {
    width: 100%;
  }
}
#versus .versus {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1rem;
}
#versus .versus .versus-wrap {
  max-width: 160px;
}
@media (max-width: 576px) {
  #versus .versus .versus-wrap {
    max-width: 96px;
  }
}
#versus .versus a .img {
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
}
#versus .versus a .img img {
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
#versus .versus a:hover img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
#versus .versus .title {
  line-height: 1.4rem;
  height: 46px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  text-align: center;
}
#versus .teamlove .title {
  color: #ed2e85;
}
#versus .teamfantasy .title {
  color: #004884;
}
#versus .join {
  margin: 0 auto;
  display: block;
  width: 50%;
  -webkit-animation: pop 2s ease-in-out infinite;
          animation: pop 2s ease-in-out infinite;
}
#versus .join img {
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
#versus .join img:hover {
  -webkit-transform: translateY(-0.5rem);
          transform: translateY(-0.5rem);
}
#versus .love-col, #versus .fantasy-col {
  padding: 1.5rem 1rem;
}

@-webkit-keyframes pop {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes pop {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
#details .detail {
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  border: 1px solid #fff100;
  border-radius: 0.5rem;
  background-color: white;
}
#details .detail h2, #details .detail h3 {
  font-weight: 800;
}
#details .detail h2 {
  margin-bottom: 1rem;
  color: #ed2e85;
}
@media (max-width: 576px) {
  #details .detail h2 {
    font-size: 1.5rem;
    line-height: 1.8rem;
  }
}
#details .detail h3 {
  color: #7c4a13;
}
#details .detail p {
  color: #ed2e85;
}
@media (max-width: 576px) {
  #details .detail {
    padding: 1.5rem;
  }
}

#discount h3 {
  color: #7c4a13;
}
#discount h4 {
  color: #3f270a;
}
#discount .qrc {
  max-width: 400px;
  margin: 0 auto 1rem;
  padding: 1rem;
  background-color: white;
  border: 3px solid #fff100;
  border-radius: 0.5rem;
}
@media (max-width: 576px) {
  #discount .cta {
    margin: 0 auto;
  }
}
#discount .cta-a {
  border: 2px solid #0070bc;
}
#discount .cta-a a {
  color: #0070bc;
}
#discount .cta-a:hover {
  border: 2px solid rgba(0, 112, 188, 0.7);
}
#discount .cta-a:hover a {
  opacity: 0.7;
}
#discount .cta-b {
  background-color: #0070bc;
  background-image: linear-gradient(45deg, #02abd9 40%, transparent 10%);
}
#discount .cta-b a {
  color: #fff100;
}
#discount .shop {
  margin: 0 auto 1.5rem;
  display: block;
  width: 80%;
  border-radius: 0.5rem;
}
@media (max-width: 576px) {
  #discount .shop {
    width: 100%;
  }
}

@media (max-width: 576px) {
  #pipeup {
    background-image: none;
    background-color: white;
    padding: 0;
  }
  #pipeup .container {
    padding: 0;
  }
  #pipeup .amb-title {
    width: 80%;
  }
  #pipeup .love-col {
    background-color: #feebf2;
  }
  #pipeup .fantasy-col {
    background-color: #cff8ff;
  }
}
#pipeup .teamlove {
  color: #ffa9d5;
}
#pipeup .teamfantasy {
  color: #02abd9;
}
#pipeup .amb {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 400px;
}
@media (max-width: 576px) {
  #pipeup .amb {
    max-width: 320px;
    margin: 0 auto;
  }
}
#pipeup h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #3f270a;
}
#pipeup .love-col, #pipeup .fantasy-col {
  padding: 1.5rem 2rem;
}
@media (max-width: 768px) {
  #pipeup .love-col, #pipeup .fantasy-col {
    padding: 1.5rem 1rem;
  }
}
@media (max-width: 576px) {
  #pipeup .love-col, #pipeup .fantasy-col {
    padding: 1.5rem 2rem;
  }
}

#limit {
  background-image: url("https://event.kadokado.com.tw/2025/kadoplusfactionwar/img/bg-blue.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#limit .title-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
#limit .title-wrap img {
  width: 25%;
}
@media (max-width: 576px) {
  #limit .title-wrap {
    display: none;
  }
  #limit .title-wrap img {
    width: 100%;
  }
}
#limit .limit-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1.5rem;
}
#limit .limit-book {
  max-width: 200px;
}
@media (max-width: 576px) {
  #limit .limit-book {
    max-width: 150px;
  }
}
#limit .limit-book a .img {
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
}
#limit .limit-book a .img img {
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
#limit .limit-book a:hover img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
#limit .limit-book .title {
  color: white;
  line-height: 1.4rem;
  height: 46px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}
#limit .limit-book h6 {
  color: #fff100;
  white-space: pre-wrap;
}
#limit .cta {
  margin: 1.5rem auto 0;
  background-color: #fff100;
  background-image: linear-gradient(45deg, #fffdee 40%, transparent 10%);
}
#limit .cta a {
  color: #0070bc;
}
#limit .cta:hover {
  color: #02abd9;
}

#notice .inner-list {
  margin-left: 1.5rem;
  list-style-type: decimal-leading-zero;
}
#notice a {
  display: inline-block;
  color: #f681b2;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
#notice a:hover {
  opacity: 0.7;
}