:root {
  --main-color: #ffb526;
  --nav-color: #ffb526;
  --nav-link-color: white;
  --marquee-color: linear-gradient(90deg, #ffec85, #fecd3a);
  --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: url("/images/phlago-background.jpg") no-repeat 50% / cover fixed;
  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 2px 10px 0 rgba(0, 0, 0, 0.12);
  top: 0px;
  right: 0;
  left: 0;
  padding: 5px 0;
  z-index: 98;
  /* border-bottom: 1px solid #634200; */
}

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

.reflected-image:hover {
  transform: scale(1.05);
}

/* 反光效果 */
.reflected-image {
  transition: transform 0.2s linear;
  position: relative;
  display: block;
  height: 4rem;
}

.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 {
  font-weight: 600;
  color: #c15205;
}

/* REGISTER 按鈕 */
.navbar-btn .btn-register {
  background: linear-gradient(-45deg, #c45503, #90221e, #c45503);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
}

/* 滑鼠懸停效果 */
.navbar-btn .btn-register:hover {
  opacity: 0.7;
  background-position: 100% 50%;
}

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

.custom-dropdown {
  display: grid;
  grid-auto-flow: column;
  grid-auto-rows: auto;
  grid-template-rows: repeat(15, auto);
  gap: 0;
  position: absolute;
  top: 85%;
  left: 20%;
  transform: translateX(-50%);
  background-color: #852322;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  min-width: 150px;
  max-height: 80vh;
  overflow-y: auto;
  overflow-x: visible;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.custom-dropdown .dropdown-item {
    display: block;
  padding: 10px 20px;
  white-space: nowrap;
  text-decoration: none;
  color: white;
}

.custom-dropdown .dropdown-item:hover {
  background-color: #f0f0f0;
  color: var(--yellow-color);
}

.dropdown-wrapper:hover .custom-dropdown, 
.dropdown-wrapper .custom-dropdown:hover{
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

@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;
  }

  .navbar-btn .btn-register {
    animation: imgEffect 2s ease-in-out infinite;
  }
}

/*---------------------------------------
  side-menu              
-----------------------------------------*/
.side-menu {
  overflow-y: auto;
  position: fixed;
  top: 0;
  left: -247.5px;
  width: 247.5px;
  height: 100%;
  background-color: #f8a400;
  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: 50px;
  transition: left 0.3s ease;
  padding-bottom: 50px;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.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;
  background: #c15205;
}

.side-menu a:hover {
  background: linear-gradient(90deg, #fecd3a, #ffec85 51.5%, #fecd3a);
}

.side-menu img {
  width: 30px;
  height: 30px;
  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;
}

/* promotion-wrap */
.promotion-wrap {
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  font-family: sans-serif;
}

.promotion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  color: white;
  background: linear-gradient(0deg, #ffb526, #fecb45);
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  user-select: none;
}

.promotion-arrow {
  transition: transform 0.3s ease;
}

.promotion-arrow.rotate {
  transform: rotate(180deg);
}

.promotion-content {
  text-align: center;
  background: #ffe6b3;
  border: 1px solid #fecb45;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 16px;
  display: none;
}

.promotion-content a {
  display: block;
  color: #c15205;
  margin-bottom: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  background: none;
}

.promotion-button {
  margin-top: 10px;
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(90deg, #fecd3a, #ffec85 51.5%, #fecd3a);
  border-radius: 8px;
  color: #c15205;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

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

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

  .main-content {
    display: contents;
  }
}

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

.banner-section {
  flex: 3;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 20px;
  height: 290px;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  border-radius: 20px;
}

.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: 100%;
    order: 1;
    border-radius: 10px;
    height: auto;
  }
}

/*---------------------------------------
  main-section        
-----------------------------------------*/
.main-section {
  padding-top: 90px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  gap: 16px;
}

.left-banner {
  background-color: #eee;
  border-radius: 8px;
  padding: 16px;
}

.right-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.right-title {
  padding: 10px;
  background: linear-gradient(270deg, #c45503, #90221e 50%, #c45503);
  border-radius: 8px;
  color: white;
  text-align: center;
  font-weight: 800;
}

.winner-wrapper {
  height: 230px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  background: none;
}

.winner-list {
  display: flex;
  flex-direction: column;
  animation: scrollUp 10s linear infinite;
}

.winner-list:hover {
  animation-play-state: paused;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.winner-item {
  background: linear-gradient(90deg, #fecd3a, #ffec85 51.5%, #fecd3a);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  gap: 10px;
  margin-bottom: 10px;
}

.winner-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.winner-text {
  flex: 1;
}

.bonus {
  color: #006519;
  font-weight: bold;
}

.game-name {
  color: #6c1310 !important;
  font-size: 14px;
}

.winner-icon {
  width: 30px;
  height: 30px;
  fill: white;
  background: linear-gradient(180deg, #c45503, #90221e 50%, #c45503);
  border-radius: 50%;
  padding: 5px;
}

@media (max-width: 992px) {
  .right-info {
    display: none;
  }
}

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

.marquee-container {
  position: relative;
  bottom: 0px;
  left: 0;
  width: 92%;
  padding: 10px 15px;
  margin: 5px auto 20px;
  z-index: 10;
  border-radius: 999px;
  text-align: center;
}

.marquee-container > * {
  background: var(--marquee-color);
  /* border: 1px solid #181d2c; */
  border-radius: 4px;
  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;
  justify-content: center;
}

/* 適應不同裝置，確保 marquee 位置不會超出 */
@media (max-width: 992px) {
  .marquee-container {
    width: 90%;
    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;
  }
}

/*---------------------------------------
  bottom banner
-----------------------------------------*/
.bottom-banner {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 25px;
}

.bottom-banner A img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
  .bottom-banner {
    display: none;
  }
}

/*---------------------------------------
  game-menu              
-----------------------------------------*/
.game-menu {
  width: 90%;
  margin: 0 auto;
  padding: 8px !important;
  border-radius: 8px;
  border-width: 2px;
  border-style: solid;
  border-color: rgb(254, 205, 58);
  border-image: initial;
  background: rgb(255, 181, 38);
  margin-top: 20px;
}

.game-menu .swiper-slide {
  display: flex;
  width: auto !important;
}

.game-item {
  text-align: center;
  border-radius: 10px;
  background: none;
  color: #fff;
  padding: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.game-item.active,
.game-item.active:hover {
  background: radial-gradient(
    7761.65% 130.47% at 100% 89.02%,
    rgb(196, 85, 3) 0px,
    rgb(144, 34, 30) 75.39%,
    rgb(196, 85, 3) 100%
  );
  color: #fff;
  border-color: transparent;
}

.game-item:hover {
  background: rgba(255, 236, 133, 0.4);
}

.game-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-bottom: 8px;
  align-items: center;
}

.game-item p {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

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

@media (max-width: 991px) {
  .game-menu {
    padding: 4px 5px !important;
  }

  .game-item {
    padding: 6px;
  }

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

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

/*---------------------------------------
  hot-games-box
-----------------------------------------*/
.hot-games {
  width: 90%;
  margin: 0 auto;
  padding: 16px;
  border-width: 2px;
  border-style: solid;
  border-color: rgb(254, 205, 58);
  border-image: initial;
  background: rgb(255, 181, 38);
  border-radius: 4px;
  margin-top: 20px;
}

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

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

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

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

.game-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  background: radial-gradient(
    7761.65% 130.47% at 100% 89.02%,
    rgb(196, 85, 3) 0px,
    rgb(144, 34, 30) 75.39%,
    rgb(196, 85, 3) 100%
  );
  border-radius: 4px;
  transition: 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.game-more:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.game-more .arrow {
  font-size: 9px;
  transition: transform 0.3s ease;
}

.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: #fff;
  color: #fff;
  background: radial-gradient(
    7761.65% 130.47% at 100% 89.02%,
    rgb(196, 85, 3) 0px,
    rgb(144, 34, 30) 75.39%,
    rgb(196, 85, 3) 100%
  );
  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);
}

@media (max-width: 991px) {
  .carousel-header {
    margin-bottom: 20px;
  }

  .carousel-title-left .icon {
    width: 20px;
    height: 20px;
    margin-right: 4px;
  }

  .title-text {
    font-size: 20px;
    font-weight: 900;
  }

  .game-more {
    padding: 4px 6px;
    font-size: 12px;
    border-radius: 4px;
  }

  .box-img .btn-wrap:hover {
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
  }

  .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: linear-gradient(-45deg, #c45503, #90221e, #c45503);
  border: 1px solid #5e0300;
}

.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%;
  }
}

/*---------------------------------------
  footer menu             
-----------------------------------------*/
.footer-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f8a400;
  border-top: 0.04rem solid #a78102;
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 0 0;
  z-index: 95;
}

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

.footer-item img {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  /* filter: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(496%)
    hue-rotate(92deg) brightness(94%) contrast(90%); */
}

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

.footer-item.deposito {
  position: relative;
  top: -10px;
  width: 60px;
  height: 60px;
  background: linear-gradient(98deg, #fce34d 0.53%, #fece3d 99.47%),
    conic-gradient(
      from 0deg at 50% 50%,
      rgba(255, 251, 232, 0.2) 0deg,
      rgba(233, 191, 7, 0.2) 1turn
    ),
    conic-gradient(
      from 90deg at 50% 50%,
      #ff0 0deg,
      #f5d903 90deg,
      #efc202 240deg,
      #ebb502 1turn
    );
  border: 0.02rem solid hsla(0, 0%, 5%, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0.24rem 0 hsla(0, 0%, 100%, 0.25), 0 0 0.18rem 0 #fefa24;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

@keyframes imgEffect {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.5);
  }
  30% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.45);
  }
  70% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

.footer-item.deposito img {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
}

.footer-item.deposito span {
  font-size: 12px;
  color: #0b216a;
  font-weight: bold;
}

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

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

.faq-title {
  color: white;
  font-size: 30px;
  background-color: #c15205;
  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: #c15205;
}

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

.author-title {
  color: white;
  font-size: 30px;
  background-color: #c15205;
  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: 110px;
  color: #fff;
}

.privacy-title {
  color: white;
  font-size: 30px;
  background-color: #c15205;
  padding: 3px 10px;
  border-radius: 5px;
}

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

.privacy-content p {
  color: #ffec85;
}

.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: #f68230;
  color: white;
}

.login-modal button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(-45deg, #c45503, #90221e, #c45503);
  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: linear-gradient(90deg, #ffec85, #fecd3a);
  padding: 20px;
  border-radius: 20px;
  gap: 10px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}

.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(-45deg, #c45503, #90221e, #c45503);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  flex: 1;
}

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

/*---------------------------------------
  Community             
-----------------------------------------*/
.community a:hover i {
  color: var(--yellow-color);
}
