@charset "utf-8";

  :root{
    --main-color: #fd518d;
   }
   body {
     margin: 0;
     padding: 0;
     font-family: "Noto Sans TC", sans-serif;
     color: #18262e;
     text-decoration: none;
     letter-spacing: 2px;
   }
   

   body::before {
     content: "";
     position: fixed;
     top: 0; 
     left: 0;
    width: 100vw; 
     height: 100vh;
     background-image: url(../images/main-bg.jpg);
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     z-index: -1;
   } 

.vote-btn>img {
  display: none;
}

.vote-btn>img.current {
  display: block;
}

button {
  all: unset;
}

.modal-btn {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  transition-delay: 0.2s;
}

html.loading .modal-btn {
  opacity: 0.3;
}

a {
  text-decoration: none;
}

/* menuBar */
.menu-bar {
  position: fixed;
  width: 100%;
  height: 60px;
  background-color: rgba(247, 244, 251, 0.95);
  z-index: 999;
  top: 0;
  box-shadow: 0px 5px 10px 0px rgb(103 52 69 / 30%);
}

.menu-container {
  /* max-width: 1440px; */
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 16px;
}

.logo {
  width: 160px;
  height: 37px;
  margin-top: 3px;
    background-color: var(--main-color,gray);
  -webkit-mask-image: url('../images/logo.svg');
    -webkit-mask-repeat: no-repeat;
     -webkit-mask-size: contain;
     mask-image: url('../images/logo.svg');
     mask-repeat: no-repeat;
     mask-size: contain;
}

.nav-bar {
  display: flex;
  justify-content: end;
  align-items: center;
}

.nav {
  font-size: 18px;
  font-weight: 500;
  margin: 0 8px 0 16px;
  color: #fd518d;
  transition: 0.2s;
  cursor: pointer;
}

.nav:hover {
  opacity: 0.7;
  text-shadow: 2px 2px 1px #ffcee4;
}

.login-btn {
  font-size: 18px;
  color: #fff;
  background-color: #6a3c47;
  padding: 4px 14px 6px 16px;
  margin-left: 24px;
  border-radius: 20px;
  transition: 0.2s;
}

.login-btn:hover {
  color: #fff;
  background-color: #e24b61;
}

  .social-media-btn {
    width: 25px;
    height: 25px;
    margin: 0 0 0 16px;
    background-size: 100%;
  background-color: var(--main-color,gray);
     -webkit-mask-repeat: no-repeat;
     -webkit-mask-size: contain;
      mask-repeat: no-repeat;
    mask-size: contain;
 }

.fb{
-webkit-mask-image: url("../images/icon-fb.svg");
 mask-image: url("../images/icon-fb.svg");
  }
  
  .line {
  -webkit-mask-image: url("../images/icon-line.svg");
  mask-image: url("../images/icon-line.svg");
 }
 
  .x {
  -webkit-mask-image: url("../images/icon-x.svg");
  mask-image: url("../images/icon-x.svg");
  }
 
 .plurk {
 -webkit-mask-image: url("../images/icon-plurk.svg");
 mask-image: url("../images/icon-plurk.svg");
 }

  .threads {
 -webkit-mask-image: url("../images/icon-threads.svg");
 mask-image: url("../images/icon-threads.svg");
  }
 
 .ig {
 -webkit-mask-image: url("../images/icon-ig.svg");
 mask-image: url("../images/icon-ig.svg");
}



.social-media-btn:hover {
  opacity: 0.7;
}

/* menu-m */

.menu-m-button {
  width: 40px;
  height: 40px;
  padding: 12px 0;
  box-sizing: border-box;
  display: none;
}

.menu-m-icon {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 8px;
  background-color: #fd518d;
}

.menu-m {
  width: 100%;
  height: 100%;
  background: #f6f7ff;
  position: fixed;
  z-index: 9999;
  display: none;
}

.login-btn-m {
  color: #fff;
  background-color: #6a3c47;
  padding: 4px 16px 6px;
  border-radius: 20px;
  font-size: 20px;
  display: inline-flex;
  position: absolute;
  top: 16px;
  left: 16px;
}

.close {
  position: absolute;
  top: 8px;
  right: 16px;
}

.close .deg-45 {
  transform: rotate(45deg);
  margin-top: 10px;
}

.close .deg-315 {
  transform: rotate(315deg);
  margin-top: -10px;
}

.menu-list {
  width: 80%;
  margin: 0 auto;
  list-style-type: none;
  padding: 0;
  margin-top: 60px;
  color: #fd518d;
  letter-spacing: 4px;
}

.menu-list a {
  color: #fdb6ba;
}

.menu-item {
  text-align: center;
  font-size: 26px;
  padding: 16px;
  font-weight: 500;
  cursor: pointer;
}

.menu-item-s {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 22px;
  padding: 32px 0;
  font-weight: 400;
  gap: 24px;
  max-width: 360px;
  margin: 0 auto;
}

.menu-item-s a {
  margin: 0 5% 5%;
}

/* kv */
.kv-pc {
  padding-top: 60px;
  margin: 0 auto;
  font-size: 0;
}

.kv-m {
  display: none;
}

/* content */
.section {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  text-align: center;
}

.container {
  max-width: 1700px;
  height: 100%;
  margin: 0 auto;
  padding: 0 5%;
  overflow: hidden;
}

/* vote */

.vote-area {
  display: flex;
  gap: 3%;
  justify-content: start;
  flex-wrap: wrap;
  margin-top: 3%;
}

.vote-box {
  width: 17.6%;
  padding: 1.2% 1.2% 0.4% 1.2%;
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: column;
  position: relative;
  background-color: #ffffff;
  border: 4px solid #140518;
  border-radius: 25px;
  box-shadow: 8px 8px 0px 0px #000000;
  margin-bottom: 3%;
}

.vote-box img {
  width: 100%;
  transition: 0.2s;
  aspect-ratio: 290 / 400;
}

.vote-box img:hover {
  opacity: 0.85;
}

.count-box {
  color: #fd518d;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: left;
}

.count {
  font-size: 46px;
  font-family: "Bungee", sans-serif;
}

.vote-btn {
  width: 50%;
  position: absolute;
  right: -18%;
  bottom: -10%;
  cursor: pointer;
  transition: 0.2s;
}

.vote-btn img {
  width: 100%;
  aspect-ratio: unset;
}

.vote-btn:hover {
  transform: translateY(-4px);
}

.vote-btn img:hover {
  opacity: 1;
}

/* info */

.bg-02 {
  /* background-image:url(../images/BG-02.png) ; */
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100%;
}

.share-title {
  width: 40%;
  max-width: 648px;
  margin: 2% auto 0;
}

.text {
  color: #6a3c47;
  font-size: 30px;
  margin-bottom: 2%;
  font-weight: 600;
}

.share-icons-area {
  display: flex;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto 0.5%;
  padding-left: 3.6%;
}

.share-icon {
  width: 13%;
  transition: 0.2s;
}

.share-icon:hover {
  transform: translateY(-8px);
}

.lottery-title {
  width: 35%;
  max-width: 420px;
  margin: 3% auto 0;
}

.gifts-area {
  display: flex;
  gap: 2%;
  justify-content: center;
  width: 50%;
  max-width: 840px;
  margin: 0 auto 2%;
  position: relative;
}

.gift {
  width: 32%;
}

.shine {
  width: 160%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mb-space {
  margin-bottom: 5%;
}

/*info*/
.info-box {
  border: 4px solid #140518;
  background:linear-gradient(90deg, rgb(255 235 244) 0%, rgb(255 206 228) 100%);
  box-shadow: 8px 8px 0px 0px #fc518d;
  margin: -3% auto 4%;
  max-width: 1440px;
  padding: 4% 5% 2.5% 5%;
  text-align: left;
}

.info-box a {
  color: #653543;
  text-decoration: underline;
}

.info-box ul {
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 24px;
}

.info-title {
  width: 16%;
  max-width: 250px;
  margin: 0 auto;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 3%;
}

.info-align {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.subtitle {
  flex: 0 0 auto;
  font-size: 24px;
  padding: 4px 12px;
  border-radius: 16px;
  border: 3px solid #14051a;
  background-color: #fff18b;
  font-weight: 700;
}

.info-text {
  font-size: 24px;
  line-height: 2;
  color: #140518;
  font-weight: 600;
}
.info-text img{
  width: 3%;
}
.notice-text {
  font-size: 22px;
  color: #140518;
  text-align: center;
  line-height: 2;
  font-weight: 600;
}

.share-title img,
.share-icon img,
.lottery-title img,
.gift img,
.shine img,
.info-title img {
  width: 100%;
}

.text-block {
  display: block;
}

.text-yellow {
  color: #fd518d;
  font-weight: 600;
}

.footer {
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 auto;
  padding: 16px 5%;
  color: #fff;
  background-color: #fd518d;
}

.m-show {
  display: none;
}

/* modal */
.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(254 218 235 / 85%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  overflow: auto;
  overscroll-behavior: contain;
}

.modal {
  position: relative;
  border: 3px solid #18262e;
  background: #fff;
  box-shadow: 8px 8px 0px 0px #18262e;
  height: fit-content;
  font-size: 24px;
  font-weight: 600;
}

.modal-header {
  background-color: #fc8ab6;
  border-bottom: 3px solid #18262e;
  text-align: right;
  display: flex;
  justify-content: end;
  padding: 4px 12px 6px;
}

.modal-content {
  min-width: 480px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 16px 16px 24px 16px;
  gap: 8px;
}

.modal-content img {
  width: 70%;
}

.modal-btn {
  display: flex;
  gap: 24px;
  margin: 12px 0 8px;
}

.modal-btn div {
  width: 150px;
  padding: 8px 0 8px 4px;
  font-weight: 600;
  letter-spacing: 4px;
  border-radius: 50px;
  border: 0;
  color: #18262e;
  cursor: pointer;
  text-align: center;
  border: 3px solid #18262e;
  box-shadow: 0px 4px 0px 0px #18262e;
}

.confirm {
  background-color: #fdb6ba;
  transition: 0.2s;
}

.confirm:hover {
  background-color: #f97b87;
}

.cancel {
  background-color: #d4d4d4;
  transition: 0.2s;
}

.cancel:hover {
  background-color: #b3b3b3;
}

.join-link {
  display: block;
  color: #ff98eb;
  font-size: 22px;
  text-decoration: underline;
  margin-top: 2%;
}

.modal-close {
  width: 28px;
  height: 28px;
  background-size: 100%;
  font-size: 56px;
  line-height: 32px;
  color: #18262e;
  cursor: pointer;
  transform: rotate(-45deg);
  font-weight: 400;
}

@media screen and (max-width: 1920px) {
  .count-box {
    font-size: 1.25vw;
  }

  .count {
    font-size: 2.4vw;
  }

  .text {
    font-size: 1.5vw;
  }

  .subtitle,
  .info-text,
  .modal {
    font-size: 1.25vw;
  }

  .notice-text,
  .join-link {
    font-size: 1.15vw;
  }
}

@media screen and (max-width: 1440px) {

  .info-box {
    border: 3px solid #14051a;
  }

  .subtitle {
    border: 2px solid #14051a;
  }

  .modal-content {
    max-width: 400px;
    min-width: 400px;
  }

  .modal-btn {
    margin: 8px 0;
  }

  .modal-btn div {
    width: 120px;
  }

  .text {
    font-size: 20px;
  }

  .subtitle,
  .info-text,
  .modal {
    font-size: 18px;
  }

  .notice-text,
  .join-link {
    font-size: 16px;
  }

  .footer {
    font-size: 14px;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 1280px) {
  .info-content {
    margin: 0 auto;
  }

  .vote-box,
  .info-box,
  .modal {
    box-shadow: 4px 4px 0px 0px #140518;
  }

  .modal-btn div {
    box-shadow: 0px 2px 0px 0px #fd518d;
  }
}

@media screen and (max-width: 991px) {
  .vote-box {
    width: 22.75%;
    border-radius: 15px;
  }

  .vote-btn {
    right: -16%;
    bottom: -10%;
  }

  .count-box {
    font-size: 1.75vw;
  }

  .count {
    font-size: 3vw;
  }

  .share-title {
    width: 50%;
  }

  .share-icon {
    width: 16%;
  }

  .lottery-title {
    width: 32.5%;
  }

  .gifts-area {
    width: 65%;
  }

  .info-align {
    gap: 16px;
  }

  .info-title {
    width: 20%;
  }

  .info-box {
    margin: -4% auto 4%;
  }

  .text {
    font-size: 16px;
  }

  .subtitle,
  .info-text,
  .modal {
    font-size: 16px;
  }

  .info-text {
    line-height: 1.8;
    letter-spacing: 1.5px;
  }
  .info-text img{
    width: 4%;
  }
  .notice-text {
    font-size: 14px;
  }
}

@media screen and (max-width: 767px) {
  .kv-pc {
    display: none;
  }

  .kv-m {
    display: block;
    font-size: 0;
    padding-top: 60px;
  }

  .logo img {
    width: 140px;
    height: 32px;
  }

  .nav-bar {
    display: none;
  }

  .menu-m-button {
    display: block;
  }

  .social-media-btn {
    width: 40px;
    height: 40px;
    margin: auto;
  }

  .vote-area {
    gap: 4%;
  }

  .vote-box {
    width: 30.6%;
    margin-bottom: 4%;
  }

  .vote-btn {
    bottom: -10%;
  }

  .count {
    font-size: 4vw;
  }

  .count-box {
    font-size: 2vw;
  }

  .share-title {
    width: 60%;
    margin-top: 5%;
  }

  .share-icon {
    width: 18%;
  }

  .lottery-title {
    width: 37.4%;
  }

  .gifts-area {
    width: 75%;
  }

  .shine {
    width: 140%;
  }

  .info-title {
    width: 24%;
  }
  .info-text img{
    width: 5%;
  }
  .notice-text {
    text-align: left;
    letter-spacing: 1.5px;
  }

  .footer {
    font-size: 12px;
  }
}

@media screen and (max-width: 576px) {
  .container {
    padding: 0 6%;
  }

  .vote-area {
    gap: 6%;
  }

  .vote-box {
    width: 47%;
    margin-bottom: 6%;
    padding: 2% 2% 1.2% 2%;
  }

  .vote-btn {
    right: -14%;
  }

  .count-box {
    font-size: 3.2vw;
  }

  .count {
    font-size: 6vw;
  }

  .share-title {
    width: 90%;
  }

  .share-icons-area {
    flex-wrap: wrap;
    padding-left: 12%;
    margin: 8% auto 0.5%;
  }

  .share-icon {
    width: 33%;
    margin-top: -4%;
  }

  .bg-02 {
    background-size: 130%;
  }

  .lottery-title {
    width: 58%;
  }

  .shine {
    display: none;
  }

  .gifts-area {
    width: 98%;
    margin: 4% auto 2%;
  }

  .info-box {
    border: 2px solid #6a3c47;
    margin: -8% auto 6%;
    padding: 10% 5% 5%;
  }

  .info-title {
    width: 40%;
    margin: 3% auto 0;
  }

  .info-align {
    flex-direction: column;
    gap: 8px;
  }

  .text-block {
    display: inline;
  }

  .modal-content {
    max-width: 300px;
    min-width: 300px;
    text-align: center;
  }

  .modal-btn {
    gap: 12px;
  }

  .modal-btn div {
    width: 100px;
  }

  .info-text {
    letter-spacing: 1px;
  }

  .pc-show {
    display: none;
  }

  .m-show {
    display: block;
  }
}

.float {
  transform: translateY(0px);
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

.modal-text {
  text-align: center;
}
