body {
	margin: 0;
	padding: 0;
}
.momo_WRAPPER {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  background: linear-gradient(135deg, #ba1a31, #DC4055);
}
.momo_WRAPPER img {
  vertical-align: bottom;
  max-width: 100%;
  width: auto;
  height: auto;
  border: 0;
}
.momo_WRAPPER a{
  transition: all 0.5s ease 0s;
  display: inline-block;
}
.momo_WRAPPER a:hover{
  transform: translateY(-20px);
}
/* grid：鎖定 a 不動，只讓 img 飛 */
.momo_WRAPPER .grid a:hover{
  transform: none;
}
.momo_WRAPPER .grid img{
  transition: transform 0.5s ease 0s;
}
.momo_WRAPPER .grid img:hover{
  transform: translateY(-20px);
}
/*
.momo_WRAPPER .all_bg{
  background: linear-gradient(135deg, #A91228, #DC4055);
}
*/
/* ── 星星閃爍底圖 ── */
.momo_WRAPPER .bg_star{
  background-image: url(star.png?t=1784007977582);
  background-position: center top;
  position: relative;
  overflow: hidden;
}
/* 第 2 層：發光暈（blur 較大）＋ 濾色混合，閃時星星明顯亮起 */
.momo_WRAPPER .bg_star::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(star.png?t=1784007977582);
  background-position: center top;
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(4px) brightness(4);
  animation: starTwinkle 3.2s 0.8s infinite;
  pointer-events: none;
}
/* 第 3 層：發光暈（blur 較小）＋ 濾色混合，節奏不同更自然 */
.momo_WRAPPER .bg_star::after{
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(star.png?t=1784007977582);
  background-position: center top;
  opacity: 0;
  mix-blend-mode: screen;
  filter: blur(2px) brightness(3);
  animation: starTwinkle 4.5s 1.6s infinite;
  pointer-events: none;
}

@keyframes starTwinkle {
  0%   { opacity: 0; }
  25%  { opacity: 1; }
  50%  { opacity: 0; }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}
.momo_WRAPPER .com{
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 80px;
  padding-bottom: 50px;
  padding-left: 15px;
  padding-right: 15px;
}
.momo_WRAPPER .grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 8px 8px 32px rgba(100,0,20,0.45),/* 外部深色陰影 */
    inset 0 0 15px rgba(255,255,255,0.30); /* 內光暈 */
  padding: 30px;
}
.momo_WRAPPER .grid a{
  border-right: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  display: block;
}
.momo_WRAPPER .terms_bg{
  position: relative;
}
.momo_WRAPPER .terms_bg::after{
  content: 'I:「小燈泡精華」為消費者對 SK-II 光蘊恆璨煥亮精華的暱稱，並非產品正式名稱，非指產品功效，實際效果因人而異。';
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 8px;
  color: #ffe2e6;
  max-width: 95%;
  line-height: 1.4;
  pointer-events: none;
}
/* 右欄：取消右 border */
.momo_WRAPPER .grid a:nth-child(2n){
  border-right: none;
}
/* 下排：取消下 border */
.momo_WRAPPER .grid a:nth-last-child(-n+2){
  border-bottom: none;
}
.momo_WRAPPER .title{
  margin-bottom: 50px;  
}
.momo_WRAPPER .title img{
  animation: titlePulse 3s ease-in-out infinite;
  display: inline-block;
}
.momo_WRAPPER .highlight a{
  display: block;
  margin-top: 30px;
}
.momo_WRAPPER iframe{
  width: 100%;
  height: 500px;
  margin-top: 50px;
}
.momo_WRAPPER .footer{
  padding-top: 150px;
  padding-bottom: 150px;
  padding-left: 40px;
  padding-right: 40px;
  background-color: #FFFFFF;
}
.momo_WRAPPER .terms{
  color: #ffe2e6;
  font-size: 11px;
  text-align: left;
  padding: 10px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}
.momo_WRAPPER .kv_box{
  height: 800px;
  width: 100%;
  background-image: url(KV.png?t=1784007977583);
  background-repeat: no-repeat;
  background-position: center top;
}
.momo_WRAPPER .kv_box2{
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: flex-end;
}
.momo_WRAPPER .kv_title > div,
.momo_WRAPPER .kv_title_m > div{
  display: block;  
  opacity: 0;
}
.momo_WRAPPER .kv_title img,
.momo_WRAPPER .kv_title_m img{
  display: block;  
  width: 100%;
  height: auto;
}
.momo_WRAPPER .kv_box_m{
  background-image: url(KV_m.png?t=1784007977583);
  background-repeat: no-repeat;
  background-position: center top;
  display: none;
  background-size: contain;
}

/* ── KV Title 入場動畫（逐步入場） ── */
.momo_WRAPPER .kv_title_ph1_wrap {
  animation: fadeInRight 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}
.momo_WRAPPER .kv_title_ph2_wrap {
  animation: zoomIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
}
.momo_WRAPPER .kv_title_ph3_wrap {
  animation: zoomIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards;
}

/* ── KV Title 定點後微幅循環動畫（非同步，各自有不同節奏與延遲） ── */
.momo_WRAPPER .kv_title_ph3 {
  animation: pulseScale2 4.2s ease-in-out 2.0s infinite;
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseScale2 {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}

@keyframes titlePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@media screen and (max-width: 1200px) {
.momo_WRAPPER .kv_box {
  display: none;  
}
.momo_WRAPPER .kv_box_m{
  display: block;  
}
.momo_WRAPPER iframe{
  height: 250px;
  margin-top: 30px;
}
.momo_WRAPPER .footer {
  padding-top: 50px;
  padding-bottom: 50px;
}
.momo_WRAPPER .grid {
  padding: 10px;
}
.momo_WRAPPER .com {
  padding-top: 40px;
  padding-bottom: 30px;
}
.momo_WRAPPER .title {
  margin-bottom: 20px;
}
.momo_WRAPPER .highlight a {
  margin-top: 20px;
}
.momo_WRAPPER .grid a{
  border-right: 1px solid #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
}

}

@media screen and (max-width: 768px) {
.momo_WRAPPER .terms_bg::after {
    font-size: 5px;
    color: #ffe2e6;
    max-width: 95%;
    line-height: 1.4;
    pointer-events: none;
}
}
