
body {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', Arial, sans-serif;
  background: linear-gradient(135deg, #e3f0ff 0%, #f8fbff 100%);
  color: #222;
  min-height: 100vh;
  position: relative;
}
.navbar {
  border-radius: 1.5rem;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0,81,255,0.08);
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(6px);
}
.navbar-brand strong {
  font-size: 2rem;
  letter-spacing: 2px;
  color: #0051ff;
  text-shadow: 1px 1px 2px #e0eaff;
  font-weight: 900;
}
.nav-link {
  font-weight: 600;
  color: #003a99 !important;
  font-size: 1.1rem;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #0051ff;
  transition: width .3s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.nav-link:hover {
  color: #0051ff !important;
  text-decoration: none;
}
.nav-link:hover::after {
  width: 100%;
}
.btn-lg, .btn {
  border-radius: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0,81,255,0.08);
  transition: box-shadow 0.2s, background 0.2s;
}
.btn-outline-primary {
  border: 2px solid #0051ff;
  color: #0051ff;
  background: #fff;
}
.btn-outline-primary:hover {
  background: #0051ff;
  color: #fff;
}
.btn-primary {
  background: linear-gradient(90deg, #0051ff 0%, #009dff 100%);
  border: none;
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #003a99 0%, #0051ff 100%);
  color: #fff;
}
.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover {
  background: #fff;
  color: #0051ff;
}
.section-title {
  font-weight: 900;
  color: #0051ff;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
  text-shadow: 0 3px 12px rgba(0,0,0,0.08);
  font-size: 2.8rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #0051ff 0%, #009dff 100%);
  border-radius: 2px;
  margin: 0.5rem auto 0;
  opacity: 0.2;
}
.lead {
  font-size: 1.4rem;
  color: #222;
  text-shadow: none;
}
.card {
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,81,255,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  background: #fff;
}
.card:hover {
  transform: translateY(-8px) scale(1.035);
  box-shadow: 0 12px 40px rgba(0, 81, 255, 0.16);
}
.card-body h5.card-title {
  font-weight: 700;
  font-size: 1.3rem;
}
.card .badge {
  border-radius: 1rem;
  font-size: 1.05rem;
  padding: 0.5em 1.2em;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,81,255,0.08);
}
.text-muted {
  font-size: 1rem;
  color: #888 !important;
}
.list-unstyled li {
  padding: 0.25rem 0;
  font-size: 1.1rem;
}
.min-vh-100 {
  min-height: 100vh !important;
}
.section-bg {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}
/* 區塊主題背景色設定 (藍色系、滿版，單一色調) */
#home {
  background: linear-gradient(120deg, #0051ff 0%, #009dff 100%);
  background-image: url('img/home01.png');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  overflow: hidden;
}
#home .overlay {
  /* 疊加藍色漸層與灰色濾鏡 */
  background:
    linear-gradient(120deg, rgba(0,81,255,0.7) 0%, rgba(0,157,255,0.5) 100%),
    rgba(60,60,60,0.18); /* 灰色半透明濾鏡 */
  z-index: 0;
}
#deposit {
  background: linear-gradient(120deg, #009dff 0%, #0051ff 100%);
  background-image: url('img/home02.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}
#betting {
  background: linear-gradient(120deg, #0051ff 0%, #009dff 100%);
  background-image: url('img/home03.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}
#payment {
  background: linear-gradient(120deg, #009dff 0%, #0051ff 100%);
  background-image: url('img/home02.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}
#community {
  background: linear-gradient(120deg, #0051ff 0%, #009dff 100%);
  background-image: url('img/home03.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}
/* 存提方式區塊卡片寬度 (桌面版) */
#payment .card {
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}
/* 加入社群區塊卡片寬度 (桌面版) */
#community .card {
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}
/* 浮動特效 

.floating {
  animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
  0% { transform: translateY(0);}
  50% { transform: translateY(-10px);}
  100% { transform: translateY(0);}
}
  */
  
/* 美化滾動條 */
::-webkit-scrollbar {
  width: 8px;
  background: #e3f0ff;
}
::-webkit-scrollbar-thumb {
  background: #b3d1ff;
  border-radius: 4px;
}
/* 響應式調整 */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  .navbar-brand strong {
    font-size: 1.3rem;
  }
}
@media (max-width: 768px) {
  .section-bg {
    padding: 1.2rem 0.5rem;
  }
  .navbar-brand strong {
    font-size: 1.1rem;
  }
  .display-3 {
    font-size: 2.2rem;
  }
  .card {
    border-radius: 1rem;
  }
}
@media (max-width: 576px) {
  body {
    font-size: 15px;
  }
  .lead {
    font-size: 1.1rem;
  }
  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  .display-3 {
    font-size: 1.6rem;
  }
  .card-body h5.card-title {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  .navbar-brand img {
    height: 36px;
  }
  .navbar {
    padding: 0.8rem 1rem !important;
    border-radius: 0.8rem;
    width: 95% !important;
  }
  .container.py-5.position-relative {
    text-align: center;
    padding-top: 4rem !important;
    padding-bottom: 2rem !important;
  }
  .row.g-4 {
    flex-direction: column !important;
    align-items: center !important;
  }
  .card {
    width: 85%;
    margin: 0 auto;

  }
}

/* 重新排版首存優惠卡片內容置中 */
#deposit .card-body {
  text-align: center;
  align-items: center !important;
  justify-content: center !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}
#deposit .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
#deposit .list-unstyled {
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
  text-align: left;
}
#deposit .card-title {
  width: 100%;
  text-align: center;
}
#deposit .card p,
#deposit .card .text-muted {
  width: 100%;
  text-align: center;
}

/* 懸浮Line/Telegram/Top按鈕統一樣式 */
.floating-social-btns {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1060;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  transition: opacity 0.4s;
}
.floating-social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  font-size: 1.5rem;
  opacity: 1;
}
.floating-social-btn:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transform: translateY(-2px) scale(1.08);
}
.floating-social-btn.play {
  background: #ff4d4f; /* 使用更鮮明的紅色，提升辨識度 */
}
.floating-social-btn.line {
  background: #06c755;
}
.floating-social-btn.telegram {
  background: #229ED9;
}
.floating-social-btn.top {
  background: #fff;
  color: #0051ff;
  border: 2px solid #e3f0ff;
}
.floating-social-btn img {
  width: 28px;
  height: 28px;
  display: block;
}
.floating-social-btn.top img {
  width: 28px; 
  height: 28px;
  display: block;
}
@media (max-width: 576px) {
  .floating-social-btns {
    right: 16px;
    bottom: 16px;
    gap: 14px;
  }
  .floating-social-btn {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }
  .floating-social-btn img {
    width: 30px;
    height: 30px;
  }
  .floating-social-btn.top img {
    width: 30px;
    height: 30px;
  }
}