/* Theme Name: The Project - Responsive Website Template
Author:HtmlCoder
Author URI:http://www.htmlcoder.me
Author e-mail:htmlcoder.me@gmail.com
Version: 2.0.5
Created:December 2014
License URI:http://support.wrapbootstrap.com/
File Description: Place here your custom CSS styles
*/

/*首頁banner下的活動文案*/
.promo-text {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.5;
  font-weight: 550;
  text-align: center;
  margin: 25px;
  color: #1f2d3d;
  background: rgba(255, 255, 255, 0.75);
  padding: 20px;
  border-radius: 18px;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* 品牌重點 */
.promo-text .brand {
  color: #0d6efd;
  font-weight: 800;
}

/* 規格資訊 */
.promo-text .sizes {
  font-size: 0.9em;
  color: #6c757d;
}

/* 行動重點 */
.promo-text .action {
  background: linear-gradient(transparent 60%, #ffd43b 60%);
  padding: 0 6px;
  font-weight: 700;
}

/*首頁banner和右上二小圖*/
.hero {
  position: relative;
}

.hero-main {
  width: 100%;
  display: block;
}

/* 右上角小圖 */
.hero-float {
  position: absolute;
  top: 15%;
  right:5%;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1%;
  min-width: 250px; /* 不會太小 */
  max-width: 400px; /* 不會太大 */
}

.hero-float img {
  width: 100%;  /* 隨容器縮放 */
  height: auto;
}

/* 手機版：往下，每張一格 */
@media (max-width: 768px) {
  .hero-float {
    position: static;
    width:80%;  /* 滿版寬度 */
    grid-template-rows: auto;
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left:auto;
    margin-right:auto;
    border:0px solid red;
  }
}

/*選單連結顏色*/
.nav-item a:link {
    color: #ffffff; /* 藍色 */
    text-decoration: none; /* 取消底線 */
}
/* 2. 已訪問過的連結顏色 */
.nav-item a:visited {
    color: #fffff; /* 紫色 */
}
/* 3. 滑鼠移經(懸停)的連結顏色 */
.nav-item a:hover {
    color: #000000; /* 紅色 */
    text-decoration: none; /* 取消底線 */
}
/* 4. 點擊當下的連結顏色 */
.nav-item a:active {
    color: #ffffff; /* 綠色 */
}


/*註冊時的閱讀捲軸*/
.terms-box {
  max-height: 300px;        /* 關鍵：固定高度 */
  overflow-y: auto;         /* 超出才顯示垂直捲軸 */
  overflow-x: hidden;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fafafa;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 350;
}

.form-group {font-size:1rem; color:#000000; font-weight:550;}
/*每頁小標題圖*/
.pc { display:block;}
.mobi { display:none;}
.prize {text-align:center; margin-top:-20px; margin-bottom:20px;}
.prize span{ color:#333; font-size:12pt}
.prize img {
  display: block;
  margin: 0 auto;
  width: clamp(180px, 55vw, 280px);
}
.prize01 {text-align:center; margin-top:-30px; margin-bottom:30px;}
.prize01 span{ color:#333; font-size:12pt}
.prize01 img {
  display: block;
  margin: 0 auto;
  width: clamp(180px, 55vw, 350px);
}

/*抽抽樂類似拉炮感*/
.confetti-wrap {
  position: absolute;
  width: 100%;
  height:600px;        /* 拉炮活動範圍 */
  overflow: hidden;
}

/* 拉炮本體 */
.confetti {
  position: absolute;
  top: 50%;
  left: 50%;
  width:20px;
  height:20px;
  background: transparent;

  box-shadow:
    -120px -160px #ffd93d,
     -60px -220px #ff6b6b,
      40px -260px #6bcB77,
     120px -180px #4dabf7,
     200px -100px #845ef7,
    -200px -100px #ff922b,
      80px -320px #51cf66,
    -240px -120px #ff922b,
     50px -80px #845ef7,
    -100px -300px #ddf033;

  animation: explode 2s ease-out infinite;
}

/* 爆開動畫 */
@keyframes explode {
  0% {
    transform: translate(-50%, 0) scale(0);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -380px) scale(1);
    opacity: 0;
  }
}



.loginhead { color:#0b356f; font-size: 1.4rem; font-weight:600; margin:10px 0;}
.highlight {
  display: inline-block;
  position: relative;
  font-size:1.4rem;
  font-weight:500;
  z-index: 1;
  margin:5px 0;
  color:#ffffff;
}

.highlight::after {
  content: "";
  position: absolute;
  left: -20px;          /* 比文字寬一點 */
  right: -20px;
  bottom: 0px;      /* 色塊在文字底部 */
  height: 35px;
  background-color: #781919;
  z-index: -1;
  color:#ffffff;
  border-radius: 10px;  /* 圓角更有質感 */
}

.highlight01 {
  display: inline-block;
  position: relative;
  font-size:1.2rem;
  font-weight:500;
  z-index: 1;
  margin:20px 0 10px 0;
  color:#ffffff;
}

.highlight01::after {
  content: "";
  position: absolute;
  left: -20px;          /* 比文字寬一點 */
  right: -20px;
  bottom: -10px;      /* 色塊在文字底部 */
  height: 40px;
  background-color: #781919;
  z-index: -1;
  color:#ffffff;
  border-radius: 10px;  /* 圓角更有質感 */
}

.h5head {color:#b90202; font-size:0.85rem; margin:5px 0; text-align: center; font-weight: 400;}

.feature-box {background-color: #e5e5e5; padding:25px; border-radius: 50%; display: inline-block; width: 100%;}
img {
  /* pointer-events: none; */
}
.centent {padding-top:10px; padding-bottom:20px; border:0px solid red;}
.centent01 {padding-top:10px; padding-bottom:50px; border:0px solid red;}
.subfooter {
  background-color: #1d457c;
  padding: 30px 0;
  border-top: 1px solid #eaeaea;
}
.h1head { font-size: 18pt; font-weight: 600; color: #1d457c;}
.cententwordbg {background: #f3f4c9; padding:10px ;}
.cenwordbold {color:#810e0e; font-weight: 500;}
.cenwordbold01 {background: #810e0e; color:#ffffff; font-weight: 500; padding:3px 5px;}

.containerfive {
  display: grid; margin-top:0px; margin-bottom: 20px;
  grid-template-columns: repeat(5, 1fr); /* 預設桌機五等分 */
}

.itemfive {
  border: 0px solid #ccc; text-align: center;
    /* 水平置中 */
    justify-content: center;    
    /* 垂直置中 */
    align-items: center;   
}

/* 手機版 */
@media (max-width: 768px) {
  .containerfive {
    grid-template-columns: repeat(2, 1fr); /* 變成兩等分 */
  }
  /* 第一格只佔一欄 */
  .itemfive1 {
    grid-column: span 1;
  }

  /* 其他格子佔滿兩欄 */
  .itemfive:not(.itemfive1) {
    grid-column: span 2;
  }
}

.winnertableth { background:linear-gradient(to bottom, rgb(125,185,232) 0%,rgb(31,48,163) 52%,rgb(26,30,132) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ }

