  /* 漸層背景色 */

  body {
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    /*background-image: url('../images/oig4.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
    /*margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #f1f1f1, #f1f1f1);/*fad0ba*/
    /*  color: #636363;
    background-attachment: fixed;
    font-family: "Microsoft YaHei", Simsun, Tahoma;*/
  }

  /* body::before {
      content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/oig41.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: -1;
}*/
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* 使用 vw 單位來代表視窗寬度的百分比 */
    height: 100vh;
    /* 使用 vh 單位來代表視窗高度的百分比 */
    background-image: url('../images/bg1.webp'), linear-gradient(white, white);
    background-size: cover, auto;
    background-position: top, 0 50%; /* 將原圖定位在頂部，白色背景置於中部 */
    opacity: 0.65;
    z-index: -1;
  }

  /* LOGO */
  #logo {
    text-align: center;
    margin: 20px 0;

  }

  .logo_w {
    width: 50%
  }

  /* NAV */
  nav {
    background-color: #475f61;
    /*#c20000*/
    /* background-color: rgba(241, 241, 241, 0.5); 半透明背景顏色 */
    padding: 1px;
    position: sticky;
    top: 0;
    z-index: 1;
  }

  nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
  }

  nav li {
    margin-right: 10px;
  }

  nav a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
  }

  nav a:hover {
    background-color: #aabcdb;
  }

  /* Section */
  section {
    padding: 20px 0;
    text-align: center;

  }

  .button-container {

    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    border-bottom-left-radius: 5px;
    /* 左上角圓角效果 */
    border-bottom-right-radius: 5px;
    /* 右上角圓角效果 */
    /*margin: 0 8px;*/
    background-color: #ffffff;
  }

  .button-container .button {
    white-space: nowrap;
    /* 不換行 */
    overflow: hidden;
    /* 超出部分隱藏 */
    text-overflow: ellipsis;
    /* 使用省略符號表示被截斷的文字 */
    max-width: calc(100% / 10 - 2px);
    /* 最大寬度限制 */
    flex: 0 0 calc(100% / 10 - 2px);
    margin: 1px;
    box-sizing: border-box;
    /* padding: 7px; */
    text-align: center;
    background-color: #ffffff;
    /* border-radius: 4px; */
    transition: background-color 0.3s;
    text-decoration: none;
    /*color: black;*/
    border: 1px solid #475f6140;
    /* 框線樣式 */
    padding: 7px 3px;
    /* 按鈕內容的間距 */
    display: inline-block;
    /* 使按鈕顯示為區塊元素 */
    text-decoration: none;
    /* 移除預設的文字底線 */

  }

  .button-container .button:hover {
    background-color: #d4434347;
  }

  .button-container .button a {
    text-decoration: none;


  }



  .button-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    /*margin: 0 8px;*/
  }

  .button-nav .button {
    flex: 0 0 calc(100% / 10 - 2px);
    margin: 1px;
    box-sizing: border-box;
    padding: 7px;
    text-align: center;
    /* background-color: #ffffff;*/
    border-radius: 4px;
    transition: background-color 0.3s;
    text-decoration: none;
    color: #f1f1f1;
  }

  .button-nav .button:hover {
    background-color: #f1f1f14d;
  }

  .button-nav .button a {
    text-decoration: none;
    color: black;
  }

  @media (max-width: 1200px) {
    .button-container .button {
      flex: 0 0 calc(100% / 8 - 2px);
      max-width: calc(100% / 8 - 2px);
      /* 最大寬度限制 */
    }

    .button-nav .button {
      flex: 0 0 calc(100% / 10 - 2px);
    }
  }

  @media (max-width: 1000px) {
    .button-container .button {
      flex: 0 0 calc(100% / 8 - 2px);
      max-width: calc(100% / 8 - 2px);
      /* 最大寬度限制 */
      font-size: 0.9em;

    }

    .button-nav .button {
      flex: 0 0 calc(100% / 10 - 2px);
      font-size: 0.9em;

    }

    .logo_w {
      width: 70%
    }
  }

  @media (max-width: 855px) {
    .button-container .button {
      flex: 0 0 calc(100% / 6 - 2px);
      max-width: calc(100% / 6 - 2px);
      /* 最大寬度限制 */
      font-size: 0.8em;
    }

    .button-nav .button {
      flex: 0 0 calc(100% / 8 - 2px);
      font-size: 0.8em;
    }
  }

  @media (max-width: 590px) {
    .button-container .button {
      flex: 0 0 calc(100% / 4 - 2px);
      max-width: calc(100% / 4 - 2px);
      /* 最大寬度限制 */
      font-size: 0.75em;

    }

    .button-nav .button {
      flex: 0 0 calc(100% / 4 - 2px);
      font-size: 0.75em;

    }

  }

  .title_desc {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    padding: 5px 5px 5px 20px;
    font-family: "Microsoft YaHei", Simsun, Tahoma;
    text-align: left;

    font-size: 1.17em;
    font-weight: bold;
    color: #f1f1f1;
    border-top-left-radius: 5px;
    /* 左上角圓角效果 */
    border-top-right-radius: 5px;
    /* 右上角圓角效果 */
  }

  .invite_bg {
    background-color: #7b7f9a;
    /* 背景顏色 */
  }

  .contact_bg {
    background-color: #d08a5a;
    /* 背景顏色 */
  }


  .news_bg {
    background-color: #ce1f1f;
    /*#6d87be*/
    /* 背景顏色 */
  }

  .title_top {
    background-color: #d05a98;
    /* 背景顏色 */
  }

  .title_hot {
    background-color: #d44343;
    /* 背景顏色 */
  }

  .title_vd {
    background-color: #dd6923;
    /* 背景顏色 */
  }

  /*.title_vd {
    background-color: #d44343;   
  }*/
  .title_dh {
    background-color: #50787b;
    /* 背景顏色 */
  }

  .title_dm {
    background-color: #4364d4;
    /* 背景顏色 */
  }

  .title_ss {
    background-color: #9b3f3f;
    /* 背景顏色 */
  }

  .title_tool {
    background-color: #3a418a;
    /* 背景顏色 */
  }

  .title_tool_vd {
    background-color: #af1b56;
    /* 背景顏色 */
  }

  .hottext {
    color: red;
    font-weight: bold
  }

  .normaltext {
    color: black;
  }


  /* 热搜榜表格样式 */
  .hot-table {
    width: 100%;
    margin: auto;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    margin-bottom: 200px;
  }

  /* 表头样式 */
  .hot-table th {
    background-color: #000000;
    color: #fff;
    padding: 12px;
    font-weight: bold;
    font-size: 1.1em;
    text-transform: uppercase;
    border-bottom: 2px solid #e7e7e7;
  }

  /* 表格行样式 */
  .hot-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #e7e7e7;
    color: #333;
    font-size: 1em;
  }

  /* 表格行样式 */
  .hot-table .d_title {

    text-align: left;

  }

  /* 偶数行背景颜色不同 */
  .hot-table tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  /* 悬停效果 */
  .hot-table tr:hover {
    background-color: #f1f1f1;
  }

  /* 热搜标题链接样式 */
  .hot-table td a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
  }

  .hot-table td a:hover {
    color: #d41616;
  }

  /* 热搜榜排名的表情符号样式 */
  .rank-symbol {
    font-size: 1.5em;
  }

  /* 热度样式 */
  .hot-value {
    color: #50787b;
    font-weight: bold;
  }

  /* 表格外的标题样式 */
  .hot-table-title {
    text-align: center;
    font-size: 2em;
    color: #000000;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  }


  /* 移除 .icon-item a 標籤的底線 */
  .icon-item a {
    text-decoration: none;
    /* 移除底線 */
    color: inherit;
    /* 確保文字顏色與父元素相同 */
  }

  /* 當懸停或聚焦時保持樣式不變 */
  .icon-item a:hover,
  .icon-item a:focus {
    text-decoration: none;
    /* 懸停時也不顯示底線 */
  }

  /* 圖標區塊容器 */
  .icon-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* 保持從左到右排列 */
    align-items: flex-start;
    background-color: #e5e5e591;
    padding: 10px;
    /* 減少過多的內邊距 */
    border-radius: 5px;
    gap: 10px;
    /* 圖標之間的間距 */
  }

  /* 單個圖標項的樣式 */
  .icon-item {
    text-align: center;
    flex: 0 0 calc(100% / 20 - 10px);
    /* 每行最多 10 個圖標 */
    margin: 0;
    /* 移除外邊距，避免過多空白 */
    max-width: calc(100% / 20 - 10px);
    /* 圖標的最大寬度 */
  }

  /* 圖標圖片樣式 */
  .icon-item img {
    width: 45px;
    /* 圖片寬度自適應 */
    height: 45px;
    margin-bottom: 5px;
    /* 減少圖片和文字的間距 */
  }

  /* 圖標名稱文字樣式 */
  .icon-item p {
    font-size: 12px;
    /* 調整文字大小，使其適合圖標 */
    margin: -6px;
    line-height: 1.2;
  }

  /* 中等螢幕尺寸下調整 */
  @media (max-width: 1200px) {
    .icon-item {
      flex: 0 0 calc(100% / 15 - 10px);
      /* 每行顯示 8 個圖標 */
      max-width: calc(100% / 15 - 10px);
      margin-bottom: 5px;
    }
  }

  /* 手機螢幕尺寸下調整 */
  @media (max-width: 800px) {
    .icon-item {
      flex: 0 0 calc(100% / 10 - 10px);
      /* 每行顯示 6 個圖標 */
      max-width: calc(100% / 10 - 10px);
      margin-bottom: 5px;
    }
  }

  /* 更小螢幕尺寸下的調整 */
  @media (max-width: 500px) {
    .icon-item {
      flex: 0 0 calc(100% / 5 - 10px);
      /* 每行顯示 5 個圖標 */
      max-width: calc(100% / 5 - 10px);
      margin-bottom: 5px;
    }
  }

  /* Section7 的標題樣式 */
  .title_icons {

    background-color: #483aa9;
    /* 自訂的背景顏色 */
  }

  .section7 {
    padding: 0;
  }