@media (max-width: 600px) {
  .js-intro-desc {
    max-width: 100% !important;
    margin: 0 auto !important;
    white-space: pre-line !important;
    word-break: break-word !important;
    line-height: 1.7 !important;
    display: block !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    overflow-wrap: anywhere !important;
    overflow-y: auto !important;
  }
  .js-intro-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-bottom: 24px !important;
  }
}
@media (max-width: 600px) {
  .js-intro-title {
    text-align: center !important;
    width: 100% !important;
    margin-left: 0 !important;
  }
  .js-intro-btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 8px auto 0 auto !important;
    width: fit-content !important;
    max-width: 90vw !important;
  }
}
@media (max-width: 600px) {
  .js-intro-desc {
    font-size: 0.29em !important;
  }
}

@media (max-width: 600px) {
  .intro-section {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    max-width: 98vw !important;
    padding: 16px 4vw !important;
    align-items: center !important;
  }
  .intro-text-wrapper {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .intro-img {
    margin-bottom: 16px !important;
    max-width: 90vw !important;
  }
}
@media (max-width: 600px) {
  .intro-section {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .intro-text-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .intro-img {
    margin-bottom: 16px;
    max-width: 90vw;
  }
}
/* CSS for index.html */
/* 介紹區塊 RWD 排版 */
.intro-section {
  display: flex;
  gap: 24px;
  margin: 32px auto;
  max-width: 480px;
  background: #0099a8;
  border-radius: 16px;
  padding: 24px 16px;
  color: #fff;
}
.intro-img {
  max-width: 180px;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.intro-text {
  flex: 1;
}
.intro-btn {
  display: block;
  margin: 24px auto 0 auto;
  background: #FFD600;
  color: #016F86;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
@media (max-width: 600px) {
  .intro-section {
    max-width: 98vw;
    padding: 16px 4vw;
  }
  .intro-img {
    margin-bottom: 16px;
    max-width: 70vw;
  }
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}
header {
  background-color: #016F86;
  color: #fff;
  padding: 20px;
  text-align: center;
}
header img {
  max-width: 100px;
  margin-bottom: 10px;
}
nav {
  margin-top: 10px;
}
nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}
nav a:hover {
  text-decoration: underline;
}
.container {
  padding: 20px;
}
.forum-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #333;
}
.brand-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.brand-card {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  width: calc(33.333% - 20px);
  background-color: #fff;
}
.brand-card img {
  max-width: 100%;
  height: auto;
}
.brand-name {
  font-weight: bold;
  margin-top: 10px;
}
.brand-desc {
  font-size: 0.9em;
  color: #666;
}
.footer-vendor-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.footer-vendor-logos img {
  max-width: 50px;
  margin: 5px;
}
    /* 清除 float/position/width 強制設定 */
.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}
.footer-links a:hover {
  text-decoration: underline;
}
.site-footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
    }

    /* 手機版底部選單 */
    .mobile-bottom-nav {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 9999;
      background: #016F86;
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 8px 0 0 0;
      box-shadow: 0 -2px 12px rgba(0,0,0,0.12);
      border-radius: 16px 16px 0 0;
    }
    .mobile-bottom-nav .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #FFD600;
      font-size: 0.95em;
      text-decoration: none;
      font-weight: bold;
    }
    .mobile-bottom-nav .nav-item img {
      width: 38px;
      height: 38px;
      margin-bottom: 2px;
    }
    .mobile-bottom-nav .nav-item span {
      margin-top: 2px;
      font-size: 0.95em;
    }
    @media (min-width: 601px) {
      .mobile-bottom-nav {
        display: none !important;
      }
    }
@media only screen and (min-width: 601px) {
  .js-burger-btn {
    display: none !important;
  }
  nav {
    display: none !important;
  }
  .js-header-logo {
    max-width: 480px !important;
    max-height: 120px !important;
    height: auto !important;
    margin-left: 20vw !important;
  }
  .js-menu-bar {
    display: flex !important;
    justify-content: flex-start !important;
  }
  .js-menu-bar a:first-child {
    margin-left: 20vw !important;
  }
  .js-header-bar {
    display: flex !important;
    align-items: center !important;
    min-height: 130px !important;
    height: 130px !important;
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }
  .js-header-right {
    margin-left: auto !important;
    padding-right: 20vw !important;
  }
}
@media only screen and (max-width: 600px) {
  .js-mobile-menu {
    display: none !important;
    left: 0 !important;
    right: auto !important;
    width: 70vw !important;
    min-width: 220px !important;
    max-width: 340px !important;
    background: #016F86 !important;
    color: #fff !important;
    border-radius: 0 12px 12px 0 !important;
    box-shadow: 2px 0 12px rgba(0,0,0,0.12) !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }
  .js-mobile-menu.open {
    display: flex !important;
  }
  .js-header-logo {
    max-width: 100px !important;
    height: 100px !important;
  }
  .js-header-btn {
    font-size: 1em !important;
    padding: 8px 18px !important;
    min-width: 0 !important;
    max-width: 120px !important;
    border-radius: 8px !important;
  }
  .js-menu-bar {
    display: none !important;
  }
  .js-game-btn {
    font-size: 0.85em !important;
    padding: 4px 8px !important;
    min-width: 0 !important;
    max-width: 90px !important;
    border-radius: 6px !important;
  }
  .js-game-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    justify-items: stretch !important;
    align-items: stretch !important;
    width: 100vw !important;
    margin: 0 auto !important;
    padding: 0 4vw !important;
  }
  .js-game-list .js-game-card {
    width: 100% !important;
    margin-bottom: 0 !important;
  }
  .js-game-list .js-game-card img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    display: block !important;
  }
  .js-hot-games-btn {
    font-size: 0.85em !important;
    padding: 4px 10px !important;
    min-width: 0 !important;
    max-width: 90px !important;
    border-radius: 6px !important;
  }
}
  #promotion.forum-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 98vw !important;
    padding: 16px 4vw !important;
    box-sizing: border-box !important;
  }
  #promotion .forum-title {
    margin-bottom: 16px !important;
    width: 100% !important;
  }
  #promotion .forum-list {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  #promotion .forum-list li {
    width: 100% !important;
    text-align: center !important;
  }
