:root {
  --main-color: #131825;
  --nav-color: linear-gradient(180deg, #29608f, #0e2544);
  --nav-link-color: white;
  --marquee-color: #111b2a;
  --article-title-color: #bbc3be;
  --footer-color: #121111;
  --white-color: #ffffff;
  --primary-color: #f0cda3;
  --section-bg-color: #1e222e;
  --grey-color: #d0d1d1;
  --p-color: #717275;
  --dot-color: #121111;
  --yellow-color: #fbc12f;

  --body-font-family: "Inter", sans-serif;

  --h5-font-size: 24px;
  --p-font-size: 20px;
  --copyright-text-font-size: 16px;
  --product-link-font-size: 14px;
  --custom-link-font-size: 12px;

  --font-weight-thin: 100;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --font-weight-black: 900;
}

html {
  scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: var(--main-color);
  color: var(--main-color);
  font-family: var(--body-font-family);
  position: relative;
}

/*---------------------------------------
    TYPOGRAPHY               
  -----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: #f0cda3;
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1,
h2 {
  font-weight: var(--font-weight-black);
}

h1 {
  font-size: 64px;
  line-height: normal;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 36px;
}

h4 {
  font-size: 32px;
}

h5 {
  font-size: 24px;
}

h6 {
  font-size: 20px;
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

::selection {
  background: var(--primary-color);
  color: var(--white-color);
}

/*---------------------------------------
  PRE LOADER               
-----------------------------------------*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: #1d212d;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
}

.spinner::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin-top: -10px;
  margin-left: -23px;
  border-radius: 50%;
  border: 1px solid #959595;
  border-top-color: var(--white-color);
  animation: spinner 0.9s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/*---------------------------------------
  NAVIGATION               
-----------------------------------------*/
.navbar {
  position: fixed;
  background: var(--nav-color);
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.12);
  top: 0px;
  right: 0;
  left: 0;
  padding: 5px 0;
  z-index: 98;
  border-bottom: 1px solid #171e2d;
}

.navbar .container {
  margin-left: 5px !important;
}

/* 反光效果 */
.reflected-image {
  position: relative;
  display: block;
}

.navbar-brand .img-fluid{
    height: 6rem !important;
}

.reflected-image::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.7)
  );
  transform: scaleY(-1);
  mask-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
}

.navbar span,
h2 span,
h4 span {
  color: var(--primary-color);
}

.navbar.headroom--not-top {
  padding: 20px 0;
}

.headroom--pinned {
  transform: translate(0, 0);
}

.navbar-brand {
  color: #f0cda3;
  font-size: 24px;
  font-weight: var(--font-weight-light);
  margin: 0;
  padding: 0;
}

.navbar-btn {
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
}

.navbar-btn .btn {
  padding: 5px 15px;
  margin: 0 0px;
  margin-right: 5px;
  border-radius: 9px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: black;
}

/* LOGIN 按鈕 */
.navbar-btn .btn-login {
  background: linear-gradient(180deg, #fff, #90c8fb);
}

/* REGISTER 按鈕 */
.navbar-btn .btn-register {
  background: linear-gradient(
    180deg,
    #fffca9 25.79%,
    #db9e01 60.66%,
    #f1de1f 78.09%
  );
}

/* 滑鼠懸停效果 */
.navbar-btn .btn-register:hover {
  opacity: 0.7;
  background: linear-gradient(180deg, #f39e27, #fcf485 78.69%);
}

.navbar-btn .btn-login:hover {
  opacity: 0.7;
  background: hsla(0, 0%, 100%, 0.8);
}

@media (max-width: 991px) {
  .navbar-collapse {
    display: block !important;
    flex-basis: 0% !important;
  }

  .reflected-image {
    width: 100px;
  }

  .navbar-btn .btn {
    font-size: 12px;
    padding: 3px 5px;
  }

  .navbar-nav .nav-item {
    margin: 5px 0px !important;
    padding: 0 !important;
  }

  .navbar-nav .nav-item a {
    margin: 5px 10px !important;
  }
}

/*---------------------------------------
  side-menu              
-----------------------------------------*/
.side-menu {
  position: fixed;
  top: 0;
  left: -247.5px;
  width: 247.5px;
  height: 100%;
  background-color: #0e2544;
  color: white;
  font-weight: bold;
  font-size: 17px;
  padding: 20px 10px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  z-index: 97;
  margin-top: 80px;
  transition: left 0.3s ease;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu li {
  margin: 15px 0;
}

.side-menu a {
  display: flex;
  align-items: center;
  color: white;
  font-weight: bold;
  font-size: 17px;
  text-decoration: none;
  transition: background 0.2s ease;
  padding: 8px 10px;
  border-radius: 6px;
}

.side-menu a:hover {
  background: linear-gradient(180deg, #00a3ff, #0069fd);
}

.side-menu svg {
  filter: brightness(0) invert(1);
  margin-right: 10px;
  flex-shrink: 0;
}

.side-menu.open {
  left: 0;
}

.main-content {
  margin-left: 0;
  transition: margin-left 0.3s ease;
  display: flex;
  flex-direction: column;
}

.side-menu.open + .main-content {
  margin-left: 247.5px;
}

.blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.3);
  z-index: 96;
  display: none;
}

@media (max-width: 991px) {
  .side-menu {
    margin-top: 50px;
  }

  .blur-overlay.active {
    display: block;
  }

  .main-content {
    display: contents;
  }
}

/*---------------------------------------
  carousel              
-----------------------------------------*/

.banner-section {
  position: relative;
  width: 78%;
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
  margin-top: 60px;
  border-radius: 20px;
  order: 2;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  color: white;
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  color: hsla(0, 0%, 100%, 0.5);
  transition: color 0.3s ease;
}

.mySwiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: hsla(0, 0%, 100%, 0.5);
  opacity: 1;
  margin: 0 6px;
  border-radius: 50%;
}

.mySwiper .swiper-pagination-bullet-active {
  background: #ffffff;
}

@media (max-width: 992px) {
  .banner-section {
    width: 95%;
    order: 1;
    border-radius: 10px;
  }
}

/*---------------------------------------
  marquee        
-----------------------------------------*/

.marquee-container {
  position: relative;
  top: 90px;
  bottom: 0px;
  left: 0;
  width: 80%;
  padding: 10px 15px;
  margin: 5px auto 40px;
  z-index: 10;
  border-radius: 999px;
  text-align: center;
  order: 1;
}

.marquee-container > * {
  background: var(--marquee-color);
  border: 1px solid #181d2c;
  border-radius: inherit;
  padding: 10px 15px;
}

.marquee-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.marquee-container marquee {
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
  flex: 1;
}

.marquee-icon {
  width: 32px;
  height: auto;
  margin-left: 10px;
}

/* 適應不同裝置，確保 marquee 位置不會超出 */
@media (max-width: 992px) {
  .marquee-container {
    width: 95%;
    top: 15px;
    order: 2;
  }

  .marquee-container > * {
    padding: 0px 0px;
  }

  .marquee-container {
    padding: 3px 3px;
  }

  .marquee-icon {
    width: 20px;
    height: auto;
    margin-left: 5px;
    padding: 4px 0;
  }
}

@media (max-width: 768px) {
  .marquee-container {
    padding: 3px 3px;
  }

  .marquee-container marquee {
    font-size: 12px;
  }
}

/*---------------------------------------
  game-menu              
-----------------------------------------*/
.game-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.game-menu {
  width: 78%;
  margin: 0 auto;
  padding: 10px 0;
  margin-top: 20px;
}

.game-item {
  text-align: center;
  border-radius: 10px;
  border: 1.5px solid #1a385d;
  background: linear-gradient(180deg, #29608f, #0e2544);
  color: #90c8fb;
  padding: 10px;
  width: 100px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-item.active,
.game-item.active:hover {
  background: linear-gradient(180deg, #fff, #90c8fb);
  color: #000f22;
  border-color: transparent;
}

.game-item:hover {
  border: 1px solid #4a81b7;
  background: #29608f;
}

.game-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 8px;
  margin: 0 auto;
}

.game-item p {
  color: #90c8fb;
  font-size: 14px;
  margin: 0;
}

.game-item.active p {
  color: #000f22;
  font-weight: bold;
}

@media (max-width: 991px) {
  .game-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }

  .game-menu {
    width: 70px;
    padding: 10px 5px;
    margin: 0;
    max-height: 90vh; /* 避免超過螢幕 */
    overflow-y: auto; /* 開啟垂直滾動 */
    position: sticky;
    flex-shrink: 0;
    top: 0;
  }

  .game-menu .swiper-wrapper {
    flex-direction: column;
    display: flex !important;
    height: auto !important;
  }

  .game-menu .swiper-slide {
    flex-shrink: 0; /* 避免被壓縮 */
  }

  .game-item {
    width: 70px !important;
    margin-bottom: 8px;
  }

  .hot-game {
    flex: 1;
    padding-left: 10px;
  }

  .game-item img {
    width: 26px;
    height: 26px;
  }

  .game-item p {
    font-size: 10px;
  }
}

/*---------------------------------------
  scroll
-----------------------------------------*/

.jackpot {
  background-size: cover;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: bold;
  color: #4f2300;
  font-weight: 700;
  text-shadow: 0 1.933px 0.966px rgba(0, 0, 0, 0.4);
  width: 80%;
  margin: 0 auto;
}

.jackpot .point {
  color: #90c8fb;
  display: flex;
  align-items: flex-end;
}

.jackpot-num__list {
  display: flex;
  gap: 6px;
  margin-top: 8vw;
  font-size: 4vw;
}

.jackpot-num__item {
  width: 5vw;
  height: 5vw;
  overflow: hidden;
  border-radius: 15px;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-image: linear-gradient(180deg, #29608f, #0e2544);
  border: 3px solid #fff;
  box-shadow: inset 0 3px 3px 7px rgba(0, 0, 0, 0.55);
  text-align: center;
  height: 90px;
}

.scroll-num {
  transition: transform 1s ease-in-out;
  list-style: none;
  padding: 0;
}

.scroll-num li {
  height: 90px;
  line-height: 90px;
  font-size: 5vw;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.45);
  font-size: 5vw;
}

@media (max-width: 991px) {
  .jackpot {
    min-height: 90px;
    width: 100%;
    margin: 0 auto;
  }

  .jackpot-num__list {
    gap: 3px;
    margin-top: 11vw;
  }

  .jackpot-num__item {
    height: 32px;
    line-height: 32px;
  }

  .scroll-num li {
    height: 32px;
    line-height: 32px;
    font-size: 4vw;
  }
}

/*---------------------------------------
  brand-slider
-----------------------------------------*/
.brand-strip {
  display: none;
  border-radius: 10px;
  width: 100%;
  margin: 5px auto -20px;
}

.brand-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.brand-slider::-webkit-scrollbar {
  display: none;
}

.brand-item {
  width: 150px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b216a;
  border: 0.02rem solid hsla(0, 0%, 100%, 0.2);
  border-radius: 10px;
  box-shadow: 0 0.08rem 0.16rem 0 rgba(8, 102, 61, 0.7);
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.brand-item.active {
  box-shadow: inset 0 0.1rem 0.1rem 0 hsla(0, 0%, 100%, 0.25),
    inset 0 -0.1rem 0.1rem 0 rgba(0, 0, 0, 0.15);
  background: #1417a6;
}

.brand-item img {
  display: block;
  max-width: 100px;
  max-height: 100%;
  object-fit: contain;
}

/* 反光效果 */
.brand-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.brand-item:hover {
  transform: scale(1.05);
}

/* Scroll arrows */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  display: block;
}

.scroll-btn::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  padding: 3px;
  transform: rotate(45deg);
  margin: auto;
  position: relative;
  top: 0px;
  left: 13px;
}

.scroll-btn.left::before {
  transform: rotate(135deg); /* ← 向左箭頭 */
  left: 0px;
}

.scroll-btn.right::before {
  transform: rotate(-45deg); /* → 向右箭頭 */
  left: 4px;
}

.scroll-btn.left {
  left: 0;
}

.scroll-btn.right {
  right: 0;
}

@media (max-width: 991px) {
  .brand-strip {
    display: block;
    margin: 5px 0;
  }

  .brand-item {
    width: 5.16rem;
    height: 4.4rem;
  }

  .scroll-btn {
    display: none;
  }
}

/*---------------------------------------
  hot-games-box
-----------------------------------------*/
.hot-games {
  width: 78%;
  margin: 0 auto;
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px auto 0px;
  width: 100%;
  padding: 0 0;
}

.carousel-title-left {
  display: flex;
  align-items: center;
}

.carousel-title-left .icon {
  width: 65px;
  height: 65px;
  margin-right: 8px;
}

.title-text {
  font-size: 35px;
  font-weight: bold;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.square-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.box-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* 浮在圖片上的標題＋按鈕 */
.overlay {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  z-index: 2;
}

.overlay .title {
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.overlay .btn-play {
  padding: 6px 20px;
  color: #fff;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 14px;
  border: none;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.overlay .btn-play:hover {
  transform: scale(1.1);
}

.box-img .btn-wrap {
  width: 100%;
  height: 100%;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  opacity: 0;
  border-radius: 12px;
  background-image: none;
}

.box-img .btn-wrap:hover {
  background: rgba(0, 0, 0, 0.2);
  opacity: 1;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.box-img .btn-wrap .play {
  border: 2px solid #fff;
  background-color: #000;
  color: black;
  background: linear-gradient(180deg, #fff, #90c8fb);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  text-align: center;
  border-radius: 50px;
  padding: 9px 15px;
  font-size: 14px;
}

.box-img .btn-wrap .play:hover {
  filter: brightness(1.1);
}

.game-info {
  margin-top: 10px;
}

.info-icon {
  width: 28px;
  height: 28px;
  padding: 3px;
  margin-right: 12px;
  background: linear-gradient(180deg, #4a81b7, #1a385d);
  border-radius: 50px;
  box-shadow: inset 0 -1px 0 0 #29608f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

.game-name {
  font-size: 14px;
  font-weight: 700;
  color: #b9caf0;
}

@media (max-width: 991px) {
  .carousel-header {
    display: none;
  }

  .info-icon {
    display: none;
  }

  .game-info {
    align-items: center;
    justify-content: center;
  }

  .game-name {
    font-size: 10px;
  }

  .box-img .btn-wrap .play {
    display: none;
  }

  .hot-games .py-4 {
    padding-top: 0 !important;
  }

  .hot-games .row {
    --bs-gutter-x: 0.5rem;
  }

  .hot-games .container {
    padding-left: 0;
  }
}

/*---------------------------------------
  Team
-----------------------------------------*/
.team {
  display: none;
}

.team-item {
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(60, 130, 100, 0.3);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #0b216a;
  margin-bottom: 20px;
}

.team-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.team-item a {
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.4) !important; /* 添加陰影效果 */
}

.team .text-center {
  display: flex;
  align-items: center; /* 垂直居中對齊 */
  justify-content: center; /* 水平居中對齊 */
}

.team .text-center img {
  border-radius: 20px;
  margin: 0 10px;
}

.team .text-center h5 {
  color: white !important;
  margin-top: 10px;
  font-weight: bold;
}

.team .text-center h2 {
  align-items: center;
}

.team .text-center h2 {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .team {
    display: block;
    padding-top: 0px !important;
  }

  .team .text-center h5 {
    margin-top: 10px;
    font-weight: normal;
    font-size: clamp(0.7rem, 2vw, 1.2rem);
  }
}

/*---------------------------------------
  article               
-----------------------------------------*/
/* .front-product {
  background: var(--white-color);
} */

.front-product .lead {
  font-size: 16px;
  font-weight: var(--font-weight-black);
  color: #baf8df;
}

.front-product h1 {
  color: var(--article-title-color);
}

.front-product h2 {
  color: var(--article-title-color);
}

@media (max-width: 991px) {
  .front-product .px-5 {
    padding-bottom: 0px !important;
  }
}

/*---------------------------------------
  SITE FOOTER               
-----------------------------------------*/
.site-footer {
  background: var(--footer-color);
  padding-top: 5rem;
  padding-bottom: 5rem;
  color: #5a746c;
}

.footer-menu {
  margin: 0;
  padding: 0;
}

.footer-menu-item {
  display: block;
  width: 50%;
}

.footer-menu-link {
  color: #6c757d;
  font-weight: var(--font-weight-light);
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
}

.site-footer .social-icon-link {
  margin-top: 4px;
}

.site-footer .social-icon-link:hover,
.footer-menu-link:hover {
  color: var(--white-color);
}

.copyright-text {
  font-size: var(--copyright-text-font-size);
}

/*---------------------------------------
  back-to-top              
-----------------------------------------*/

.back-to-top {
  position: fixed;
  right: 45px;
  bottom: 5%;
  z-index: 95;
  background: #29608f;
  border: 1px solid #0b0d64;
}

.back-to-top:hover {
  background: var(--main-color);
}

.back-to-top i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(135deg);
  margin-top: 3px;
}

.back-to-top i {
  font-size: 24px;
  color: white;
  transition: transform 0.3s ease-in-out;
}

@media (max-width: 991px) {
  .back-to-top {
    right: 30px;
    bottom: 15%;
  }
}

/*---------------------------------------
  sidebar-phone             
-----------------------------------------*/
/* sidebar-telegram */
.sidebar-telegram {
  position: fixed;
  right: 30px;
  bottom: 38%;
  transform: translateY(-50%);
  z-index: 95;
  display: none;
  box-shadow: inset 0 0.08rem 0.08rem 0 hsla(0, 0%, 100%, 0.25),
    inset 0 -0.08rem 0.08rem 0 rgba(0, 0, 0, 0.2);
}

.sidebar-telegram img {
  width: 40px;
  height: auto;
  max-height: 100%;
}

@media (max-width: 991px) {
  .sidebar-telegram {
    display: block;
  }
}

/* sidebar-fb */
.sidebar-fb {
  position: fixed;
  right: 30px;
  bottom: 30%;
  transform: translateY(-50%);
  z-index: 95;
  display: none;
  box-shadow: inset 0 0.08rem 0.08rem 0 hsla(0, 0%, 100%, 0.25),
    inset 0 -0.08rem 0.08rem 0 rgba(0, 0, 0, 0.2);
}

.sidebar-fb img {
  width: 40px;
  height: auto;
  max-height: 100%;
}

@media (max-width: 991px) {
  .sidebar-fb {
    display: block;
  }
}

/* sidebar-ask */
.sidebar-ask {
  position: fixed;
  right: 30px;
  bottom: 22%;
  transform: translateY(-50%);
  z-index: 95;
  display: none;
  box-shadow: inset 0 0.08rem 0.08rem 0 hsla(0, 0%, 100%, 0.25),
    inset 0 -0.08rem 0.08rem 0 rgba(0, 0, 0, 0.2);
}

.sidebar-ask img {
  width: 40px;
  height: auto;
  max-height: 100%;
}

@media (max-width: 991px) {
  .sidebar-ask {
    display: block;
  }
}

/*---------------------------------------
  footer menu             
-----------------------------------------*/
.footer-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, #000f22, #0e2544);
  border-top: 1.5px solid rgba(255, 132, 0, 0);
  box-shadow: 0 -0.07rem 0.13rem 0 rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 4px 0;
  z-index: 95;
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #4a81b7;
  font-size: 12px;
  font-weight: bold;
}

.footer-item svg path {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  fill: #4a81b7;
}

.footer-item.equal {
  flex: 1;
  text-align: center;
}

.footer-icon {
  transform: scale(0.5);
}

.footer-menu .deposito svg {
  animation: imgEffect 2s ease-in-out infinite;
}

@keyframes imgEffect {
  0% {
    transform: scale(0.5);
  }
  10% {
    transform: scale(0.7);
  }
  30% {
    transform: scale(0.5);
  }
  50% {
    transform: scale(0.8);
  }
  70% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(0.5);
  }
}

/* 僅在手機版顯示 */
@media (max-width: 991px) {
  .footer-menu {
    display: flex;
  }
}

/*---------------------------------------
  FAQ             
-----------------------------------------*/
.faq {
  width: 90%;
  margin: 20px auto;
}

.faq-title {
  color: white;
  font-size: 30px;
  background-color: rgba(255, 183, 31, 0.4);
  padding: 3px 10px;
  border-radius: 5px;
}

.accordion {
  width: 90%;
  margin: 0 auto;
}

.accordion-item {
  background: var(--main-color) !important;
}

.accordion-header button {
  background: var(--main-color) !important;
  color: white;
}

.accordion-item + .accordion-item {
  border-top: 1px solid black;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  color: white;
}

.accordion-button:focus {
  color: #ffb71f;
}

/*---------------------------------------
  author             
-----------------------------------------*/
.author {
  width: 90%;
  margin: 20px auto;
}

.author-title {
  color: white;
  font-size: 30px;
  background-color: rgba(255, 183, 31, 0.4);
  padding: 3px 10px;
  border-radius: 5px;
}

.author-box {
  background-color: #333;
  color: white;
  border-radius: 10px;
  height: auto;
}

.author-image {
  width: 150px;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-icons i {
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.author-icons i:hover {
  color: #ffb71f;
}

.author-info h4 {
  color: #ffb71f;
}

.author-info p {
  color: white;
  font-size: 15px;
}

@media (max-width: 991px) {
  .author-image {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .author-icons {
    justify-content: center;
  }

  .author-info {
    text-align: center;
  }
}

/*---------------------------------------
  privacy-link             
-----------------------------------------*/
.privacy-link {
  color: #ffb71f;
}

.privacy-link:hover {
  color: white;
}

/*---------------------------------------
  privacy             
-----------------------------------------*/
.privacy {
  width: 90%;
  margin: 0 auto;
  padding-top: 150px;
  color: #fff;
}

.privacy-title {
  color: white;
  font-size: 30px;
  background-color: rgba(255, 183, 31, 0.4);
  padding: 3px 10px;
  border-radius: 5px;
}

.privacy-content h5 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  color: #ffb71f;
}

.privacy-content p {
  color: #04c0ff;
}

.privacy-content p,
.privacy-content ul {
  font-size: 0.95rem;
  line-height: 1.6;
}

.privacy-content ul {
  padding-left: 1.25rem;
}

/*---------------------------------------
  login overlay              
-----------------------------------------*/
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.login-modal {
  background: var(--nav-color);
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-modal img.logo {
  width: 100px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.login-modal input {
  padding: 10px;
  border: none;
  border-radius: 10px;
  outline: none;
  margin-top: 10px;
  width: 100%;
  background-color: #265bd7;
  color: white;
}

.login-modal button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(180deg, #fbef4f, #d86c00);
  color: #333;
  font-weight: bold;
  cursor: pointer;
}

.close-btn {
  text-align: right;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

.error-message {
  color: #ff4d4d;
  font-size: 12px;
  margin-top: 5px;
  height: 14px;
}

/*---------------------------------------
  bottom login              
-----------------------------------------*/
.bottom-login-bar {
  width: 90%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--nav-color);
  padding: 20px;
  border-radius: 20px;
  gap: 10px;
}

.footer-login-form {
  width: 100%;
  display: flex;
  gap: 10px;
}

.footer-login-form input {
  padding: 10px;
  border: none;
  border-radius: 10px;
  outline: none;
  background-color: var(--main-color);
  color: white;
  flex: 2;
}

.footer-login-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(180deg, #fbef4f, #d86c00);
  color: #333;
  font-weight: bold;
  cursor: pointer;
  flex: 1;
}

@media (max-width: 991px) {
  .footer-login-form {
    flex-direction: column;
  }
}

.container1 {
  display: flex;
  flex-direction: column;
}
/*---------------------------------------
  Community             
-----------------------------------------*/
.community a:hover i {
  color: var(--yellow-color);
}