@charset "UTF-8";
/* Welcome to Compass.
* In this file you should write your main styles. (or centralize your imports)
* Import this file using the following HTML or equivalent:
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*:focus {
  outline: none;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
  text-decoration: none;
}

html {
  width: 100%;
  height: 100%;
}

body {
  background: url(../img/background.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  height: 100vh;
  padding: 0;
  overflow-y: scroll;
}

main {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
}

img {
  width: 100%;
}

/* ==|====================
layout/_footer
======================= */
#footer {
  position: relative;
  padding: 12px;
  background-color: #ECE9D4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 12px;
}
#footer .logo {
  width: 20%;
  display: inline-block;
}
#footer .logo.mombaby {
  width: 21%;
}
#footer .logo.curel {
  width: 12%;
}
#footer .logo.joie {
  width: 13%;
}
#footer span {
  width: 4%;
  display: inline-block;
}

/* ==|====================
   pages/section-modal
   ======================= */
.section-modal {
  width: 300px;
  height: 612px;
  max-width: 1000px;
  background-repeat: no-repeat;
  background-size: contain;
  display: none;
}
.section-modal .section-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  height: 35px;
}
.section-modal .section-modal-link {
  position: absolute;
  width: 48px;
  height: 48px;
  top: 530px;
}
.section-modal .section-modal-more {
  left: 125px;
}
.section-modal.modal-1 {
  background-image: url(../img/desktop/popup/popup-1.jpg);
}
.section-modal.modal-2 {
  background-image: url(../img/desktop/popup/popup-2.jpg);
}
.section-modal.modal-3 {
  background-image: url(../img/desktop/popup/popup-3.jpg);
}
@media screen and (min-width: 768px) {
  .section-modal {
    width: 500px;
    height: 1020px;
  }
  .section-modal .section-modal-close {
    top: 0px;
    right: 0;
    width: 50px;
    height: 50px;
  }
  .section-modal .section-modal-link {
    width: 75px;
    height: 68px;
    top: 888px;
  }
  .section-modal .section-modal-more {
    left: 210px;
  }
}

/* ==|====================
   pages/index
   ======================= */
.home {
  height: 100vh;
  overflow-y: scroll;
}
.home .inner {
  position: relative;
  padding-top: 193%;
  width: 100%;
  background: url(../img/1.png) no-repeat center center;
  background-size: 100% 100%;
}
.home .gift {
  position: fixed;
  top: 49%;
  right: 1%;
  width: 22%;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .home .gift {
    width: 80px;
    right: 50%;
    -webkit-transform: translateX(230px);
            transform: translateX(230px);
  }
}
.home .logo {
  position: absolute;
  top: 46%;
  left: 25%;
  width: 50%;
}
.home .slogan {
  position: absolute;
  top: 26%;
  left: 24%;
  width: 50%;
  -webkit-animation: blink 1s infinite ease-in-out;
          animation: blink 1s infinite ease-in-out;
}
.home .slogan-1 {
  top: 26%;
  left: 24%;
  width: 50%;
}
.home .slogan-2 {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
.home .slogan-3 {
  position: absolute;
  top: 33%;
  left: 78%;
  width: 8%;
  opacity: 0;
  -webkit-animation: fadeIn 0.5s 1.25s ease-out alternate forwards;
          animation: fadeIn 0.5s 1.25s ease-out alternate forwards;
}
.home .slogan-4 {
  position: absolute;
  top: 23%;
  left: 33%;
  width: 7%;
  opacity: 0;
  -webkit-animation: fadeIn 0.5s 1.25s ease-out alternate forwards;
          animation: fadeIn 0.5s 1.25s ease-out alternate forwards;
}
.home .share {
  position: fixed;
  top: 70%;
  right: -10%;
  width: 23%;
}
.home .start {
  position: absolute;
  top: 70.5%;
  left: 36%;
  width: 28%;
  -webkit-animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
          animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
}
.home .btn-bottom {
  position: absolute;
  top: 79%;
  width: 37%;
}
.home .btn-bottom.btn-how {
  left: 10%;
}
.home .btn-bottom.btn-ways {
  left: 57%;
}
@-webkit-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes start {
  0% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  25% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  to {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
}
@keyframes start {
  0% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  25% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  to {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes moveIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(25%);
            transform: translateX(25%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@keyframes moveIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(25%);
            transform: translateX(25%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes showIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes showIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.index-modal {
  padding: 0 !important;
  width: 300px;
  height: 522px;
  max-width: 1000px;
  display: none;
}
.index-modal .modal-head {
  position: absolute;
  top: 0;
}
.index-modal .section-modal-close {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 35px;
  height: 35px;
}
.index-modal .section-modal-btn {
  position: absolute;
  top: 83%;
  left: 72%;
  width: 19%;
  height: 10%;
}
.index-modal .btn-link {
  position: absolute;
  left: 60%;
  width: 24%;
  height: 3%;
}
.index-modal .btn-link.more-1 {
  top: 48%;
}
.index-modal .btn-link.more-2 {
  top: 85%;
}
.index-modal .btn-link.shop-1 {
  top: 53%;
}
.index-modal .btn-link.shop-2 {
  top: 90%;
}

.ready {
  height: 100vh;
  overflow-y: scroll;
}
.ready .inner {
  position: relative;
  padding-bottom: 200%;
  width: 100%;
  height: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}
.ready.ready-1 .inner {
  background-image: url(../img/3.jpg);
}
.ready.ready-2 .inner {
  background-image: url(../img/5.png);
}
.ready.ready-3 .inner {
  background-image: url(../img/7.png);
}
.ready .cursor {
  position: absolute;
  top: 83%;
  left: 61%;
  width: 10%;
  -webkit-animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
          animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
}
.ready .link {
  position: absolute;
  top: 81%;
  left: 33%;
  width: 34%;
  height: 5%;
}
@-webkit-keyframes fade {
  0% {
    z-index: 1;
  }
  20% {
    z-index: 2;
  }
  40% {
    z-index: 1;
  }
  100% {
    z-index: 1;
  }
}
@keyframes fade {
  0% {
    z-index: 1;
  }
  20% {
    z-index: 2;
  }
  40% {
    z-index: 1;
  }
  100% {
    z-index: 1;
  }
}
@-webkit-keyframes goDown {
  from {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes goDown {
  from {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
.result {
  height: 100vh;
  overflow-y: scroll;
}
.result .inner {
  position: relative;
  padding-bottom: 200%;
  width: 100%;
  height: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}
.result.result-1-a .inner {
  background-image: url(../img/3-2aa.png);
}
.result.result-1-b .inner {
  background-image: url(../img/3-2bb.png);
}
.result.result-2-a .inner {
  background-image: url(../img/4-2aa.png);
}
.result.result-2-a .next {
  top: 60%;
}
.result.result-2-b .inner {
  background-image: url(../img/4-2bb.png);
}
.result.result-3-a .inner {
  background-image: url(../img/5-2aa.png);
}
.result.result-3-b .inner {
  background-image: url(../img/5-2bb.png);
}
.result.result-4-a .inner {
  background-image: url(../img/6-2aa.png);
}
.result.result-4-a .next {
  top: 94%;
}
.result.result-4-b .inner {
  background-image: url(../img/6-2bb.png);
}
.result.result-5-a .inner {
  background-image: url(../img/7-2aa.png);
}
.result.result-5-b .inner {
  background-image: url(../img/7-2bb.png);
}
.result.result-6-a .inner {
  background-image: url(../img/8-2aa.png);
}
.result.result-6-a .next {
  top: 88%;
}
.result.result-6-b .inner {
  background-image: url(../img/8-2bb.png);
}
.result.result-6-b .next {
  top: 88%;
}
.result .next {
  position: absolute;
  top: 92%;
  left: 33%;
  width: 34%;
  -webkit-animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
          animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
}
@-webkit-keyframes stamp-effect {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 0;
  }
  80% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1); /* 稍微放大超出邊界 */
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1); /* 最終狀態：正常大小 */
    opacity: 1;
  }
}
@keyframes stamp-effect {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 0;
  }
  80% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1); /* 稍微放大超出邊界 */
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1); /* 最終狀態：正常大小 */
    opacity: 1;
  }
}
.info {
  height: 100vh;
  overflow-y: scroll;
}
.info .inner {
  position: relative;
  padding-bottom: 200%;
  width: 100%;
  height: 0;
  background: url(../img/2-1.png) no-repeat top center;
  background-size: cover;
}
.info .logo {
  position: absolute;
  top: 83%;
  left: 61%;
  width: 10%;
  -webkit-animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
          animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
}
.info .link {
  position: absolute;
  top: 82%;
  left: 33%;
  width: 34%;
  height: 5%;
}
.game {
  height: 100vh;
  overflow-y: scroll;
}
.game .inner {
  position: relative;
  padding-bottom: 200%;
  width: 100%;
  height: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}
.game.game-1 .inner {
  background-image: url(../img/3-1.jpg);
}
.game.game-2 .inner {
  background-image: url(../img/4-1.png);
}
.game.game-3 .inner {
  background-image: url(../img/5-1.png);
}
.game.game-4 .inner {
  background-image: url(../img/6-1.png);
}
.game.game-5 .inner {
  background-image: url(../img/7-1.png);
}
.game.game-5 .game-click {
  left: 54%;
}
.game.game-6 .inner {
  background-image: url(../img/8-1.png);
}
.game.game-6 .game-click {
  top: 81%;
  left: 40%;
}
.game .game-info {
  position: absolute;
  top: 6%;
  left: 5%;
  width: 90%;
}
.game .game-click {
  position: absolute;
  top: 72%;
  left: 41%;
  width: 20%;
  -webkit-animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
          animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
}
.question {
  height: 100vh;
  overflow-y: scroll;
}
.question .inner {
  position: relative;
  padding-bottom: 200%;
  width: 100%;
  height: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}
.question.question-1 .inner {
  background-image: url(../img/3-2.png);
}
.question.question-2 .inner {
  background-image: url(../img/4-2.png);
}
.question.question-3 .inner {
  background-image: url(../img/5-2.png);
}
.question.question-4 .inner {
  background-image: url(../img/6-2.png);
}
.question.question-5 .inner {
  background-image: url(../img/7-2.png);
}
.question.question-5 .game-result {
  top: 47%;
}
.question.question-6 .inner {
  background-image: url(../img/8-2.png);
}
.question.question-6 .game-result {
  top: 47%;
}
.question .qu-info {
  position: absolute;
  top: 6%;
  left: 5%;
  width: 90%;
}
.question .game-result {
  position: absolute;
  top: 42%;
  left: 5%;
  width: 42%;
  -webkit-animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
          animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
}
.question .game-result.b {
  left: 53%;
}
.reward-modal {
  position: relative;
  width: 300px;
  height: 695px;
  background-image: url(../img/06-1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  display: none;
}

.modal-head {
  width: 100%;
  height: 11.5%;
  position: relative;
}

.modal-boby {
  margin-top: 220px;
}
.modal-boby .desc {
  text-align: center;
  font-size: 20px;
}
.modal-boby .top {
  margin-top: 6px;
  color: red;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 4px;
}
.modal-boby .top span {
  letter-spacing: 1px;
}
.modal-boby .baby-popup-image {
  width: 130px;
  height: 130px;
  margin: 18px auto;
  border-radius: 6px;
  overflow: hidden;
  background-size: contain;
  background-repeat: no-repeat;
}
.modal-boby .baby-popup-image img {
  width: 100%;
}

.modal-close {
  margin-top: 4%;
  padding-top: 13%;
  background-image: url(../img/06-2.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  cursor: pointer;
}

.sanpshot {
  margin: 10% auto;
  display: block;
}

.modal-footer {
  gap: 10%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.modal-footer a {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
  border: none;
}

.finish {
  height: 100vh;
  overflow-y: scroll;
}
.finish .inner {
  position: relative;
  padding-bottom: 200%;
  width: 100%;
  height: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-image: url(../img/07-1.png);
}
.finish .inner.bg-a {
  background-image: url(../img/result1.png);
}
.finish .inner.bg-b {
  background-image: url(../img/result2.png);
}
.finish .inner.bg-c {
  background-image: url(../img/result3.png);
}
.finish .share {
  position: absolute;
  top: 89%;
  left: 32%;
  width: 36%;
  height: 6%;
}
.finish .finish-link {
  position: absolute;
  top: 77%;
  width: 20%;
  -webkit-animation: goDown 1s ease infinite alternate;
          animation: goDown 1s ease infinite alternate;
}
.finish .finish-link.link-1 {
  left: 13%;
}
.finish .finish-link.link-2 {
  left: 38%;
}
.finish .finish-link.link-3 {
  left: 68%;
}
.finish .share-gift {
  position: absolute;
  top: 51%;
  left: 67%;
  width: 30%;
  -webkit-animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
          animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
}
.finish .again {
  position: absolute;
  top: 92%;
  left: 33%;
  width: 35%;
  height: 6%;
}
.blocker::before {
  height: initial;
}
@media screen and (min-width: 768px) {
  .blocker::before {
    height: 100%;
  }
}

.finish-modal {
  padding: 0;
  width: 375px;
  height: 682px;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  display: none;
  border-radius: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  font-size: 12px;
  overflow: hidden;
}
.finish-modal.modal-1 {
  background-image: url(../img/result-pop1.png);
}
.finish-modal.modal-2 {
  background-image: url(../img/result-pop2.png);
}
.finish-modal.modal-3 {
  background-image: url(../img/result-pop3.png);
}
.finish-modal .finish-modal-close {
  position: absolute;
  top: 28px;
  right: 23px;
  width: 40px;
  height: 40px;
}
.finish-modal .modal-link {
  position: absolute;
  top: 88%;
  width: 23%;
  height: 3%;
}
.finish-modal .modal-link.more {
  left: 9%;
}
.finish-modal .modal-link.shop {
  left: 38%;
}
.finish-modal .modal-link.scan {
  left: 67%;
}