:root {
  --main-color: white;
  --nav-color: white;
  --nav-link-color: #000000;
  --marquee-color: #1c1c1c;
  --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-color: var(--main-color) !important;
  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 #e3e3e3;
}

.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-expand-lg .navbar-nav .nav-link {
  display: inline-block;
  padding: 0;
  margin-right: 0.8rem;
  margin-left: 0.8rem;
}

.nav-link {
  color: var(--nav-link-color);
  font-size: 16px;
  position: relative;
  font-weight: bolder;
}

.navbar .nav-link::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--yellow-color);
  content: "";
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}

.navbar .nav-link.active::after,
.navbar .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--yellow-color);
}

.nav-link:focus,
.nav-link:hover {
  color: var(--p-color);
}

.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;
  background: #fff;
  color: #feb705;
  border: 1px solid #feb705;
  border-radius: 40px;
}

/* REGISTER 按鈕 */
.navbar-btn .btn-register {
  background: #feb705;
  border-radius: 40px;
  color: #000;
  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(30, auto);
  gap: 0;
  position: absolute;
  top: 80%;
  left: 25%;
  transform: translateX(-50%);
  background-color: rgb(28, 28, 26);
  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-nav {
    display: none;
    flex-direction: row;
    justify-content: center;
  }

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

/*---------------------------------------
  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: var(--yellow-color);
}

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

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

.mySwiper .swiper-pagination-bullet-active {
  background: var(--yellow-color);
}

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

/*---------------------------------------
  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 {
  position: relative;
  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-mail {
  width: 40px;
  margin-right: 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;
  }
}

/*---------------------------------------
  game-menu              
-----------------------------------------*/
.game-menu {
  width: 90%;
  margin: 0 auto;
  padding: 8px !important;
  border-radius: 8px;
  border-width: 1px;
  border-style: solid;
  border-image: initial;
  margin-top: 0px;
}

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

.game-item {
  text-align: center;
  border-radius: 10px;
  background: none;
  color: #999999;
  padding: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-image: url("/images/x777-game-menu.avif");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 0.02rem 0.04rem 0 #729fff1f;
}

.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: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 8px;
  align-items: center;
  margin: 10px;
}

.game-item p {
  color: #999999;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  padding-right: 10px;
}

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

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

  .game-item {
    padding: 0px;
  }

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

  .game-title img {
    width: 40px;
    height: 40px;
  }
}

/*---------------------------------------
  hot-games-box
-----------------------------------------*/
.hot-games {
  width: 90%;
  margin: 0 auto;
  padding: 16px 16px 16px 16px;
  border-width: 1px;
  border-style: solid;
  border-image: initial;
  background: linear-gradient(to top, #eef1fb, #fafcfd);
  border-radius: 15px;
  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: 40px;
  height: 40px;
  margin-left: 8px;
  margin-right: 8px;
}

.title-text {
  font-size: 25px;
  font-weight: 900;
  font-weight: bold;
  background: #999999;
  -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: #999999;
  text-decoration: none;
  background: #feb705;
  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: #000;
  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 {
    padding-right: 70px;
  }

  .carousel-title-left .icon {
    width: 30px;
    height: 30px;
    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: black;
}

.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: #feb705;
  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: 0px;
  left: 0;
  width: 100%;
  height: auto;
  background: var(--main-color);
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 0 0;
  z-index: 95;
  padding-top: 15px;
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #777777;
  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: -3px;
  width: 50px;
  height: 50px;
  /* 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: black;
}

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

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23999999'%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: black;
}

.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: black;
}

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

.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: linear-gradient(to top, #2b2b2b, #000 70%, #000);
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  color: black;
  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: #1c1c1c;
  color: white;
}

.login-modal button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 30px;
  background: #feb705;
  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: #2b2b2b;
  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: black;
  flex: 2;
}

.footer-login-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  background: #feb705;
  color: #000;
  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);
}

@media (max-width: 991px) {
  .community {
    margin-bottom: 40px;
  }
}

/*---------------------------------------
  sidebar-service             
-----------------------------------------*/
.sidebar-service {
  position: fixed;
  right: 10px;
  bottom: 20%;
  transform: translateY(-50%);
  z-index: 95;
  display: none;
}

.sidebar-service img {
  width: 100px;
  height: auto;
  margin: 30px 30px;
  max-height: 100%;
}

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

  .sidebar-service img {
    width: 80px;
    height: auto;
    margin: 20px 0px;
  }
}
