* {
  overflow: hidden;
}
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --ds-color-brand-6: #03aac7;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0e0c17;
  width: 100%;
  height: 100vh;
  color: var(--light-color);
  position: relative;
  overflow-y: auto;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  cursor: pointer;
}

img {
  display: inline-block;
}

h3 {
  margin: 0;
}

.zh-cn {
  line-height: 33px;
  font-size: 14px;
}

.zh-cn a {
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  width: 70px;
}

header {
  width: 100%;
  height: 48px;
  background-color: black;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 0.2px solid #444;
  box-sizing: border-box;
  justify-content: space-between;

  img {
    height: auto;
    width: 80px;
  }
  i {
    font-size: 24px;
    color: var(--light-color);
    display: inline-block;
    width: 24px;
    height: 24px;
    &.close-icon {
      color: rgb(195, 195, 199);
      position: absolute;
      top: 20px;
      right: 20px;
    }
    &.arrow-icon {
      color: rgb(21, 21, 23);
      font-size: 14px;
    }
    &.mi-icon {
      display: none;
    }
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%; /* 初始位置在屏幕外 */
    height: 100vh;
    width: 98%;
    background-color: white;
    transition: right 0.3s ease-in-out;
    &.active {
      right: 0; /* 当激活时，滑入屏幕 */
    }

    div.list {
      margin-top: 100px;
      a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        color: rgb(21, 21, 23);
        line-height: 40px;
        margin-bottom: 10px;
        font-size: 14px;
      }
    }
  }
}

.coin-list {
  display: none;
}

.container {
  padding: 15px;
  text-align: center;
}
.main-content {
  h1 {
    padding: 0 15px;
    font-size: 32px;
    font-weight: bold;
    color: var(--light-color);
    margin-bottom: 0;
  }
}
.fjeiafojeioawijp {
  padding: 15px;
}

.app-name {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-left: 10px;
  text-align: center;
}

.store-button {
  display: block;
  padding: 15px 22px;
  background-color: var(--ds-color-brand-6);
  border-radius: 8px;
  text-align: center;
  color: var(--light-color);
  cursor: pointer;
}

.download-iod-tutorial-header-mobile {
  padding: 40px 0 24px;
  text-align: center;
  display: block;
  font-weight: 500;
  font-size: 32px;
  line-height: 26px;
  color: var(--light-color);
}
.main-wrapper {
  .articles {
    .article-block {
      border-radius: 10px;
      background-color: white;
      margin-bottom: 15px;
      img {
        object-fit: cover;
        width: 100%;
        height: 200px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
      }
    }
    .article-content {
      padding: 10px;
      text-align: left;
      .article-title {
        font-size: 16px;
        font-weight: bold;
        color: var(--dark-color);
        margin: 0;
        padding: 5px 0;
        a {
          color: var(--primary-color);
        }
      }
      .article-time {
        text-align: right;
        font-size: 12px;
        color: var(--info-color);
      }
      .article-description {
        color: var(--secondary-color);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3; /* 限制显示 3 行 */
        line-clamp: 3; /* 对现代浏览器的支持 */
      }
    }
  }
  .sidebar {
    h2 {
      margin-top: 0;
    }
    ul {
      &.download > li {
        a {
          color: var(--info-color);
        }
        margin: 0 0 10px 0;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

        &:hover {
          background-color: #f2182e;
          font-weight: bold;
          font-size: 18px;
          background-color: var(--info-color);
          a {
            color: var(--info-color);
          }
        }
      }
      &.related-articles {
        text-align: left;
        li {
          border-bottom: 1px solid var(--info-color);
          padding: 10px 0;
          a {
            color: var(--secondary-color);
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2; /* 限制显示 3 行 */
            line-clamp: 2; /* 对现代浏览器的支持 */
            &:hover {
              color: var(--primary-color);
              font-weight: bold;
            }
          }
        }
      }
    }
  }
  .paging-clsss {
    overflow-x: auto;
    .paging-cls {
      margin-top: 20px;
      li {
        a {
          color: var(--primary-color);
        }
        margin: 5px;
        padding: 0 10px;
        line-height: 24px;
        border-radius: 5px;
        background-color: white;
        display: inline-block;
        &.active {
          background-color: var(--primary-color);
          a {
            color: white;
          }
          font-weight: bold;
        }
      }
    }
  }

  .breadcrumb {
    text-align: left;
  }

  .article-content-detail {
    text-align: left;
    color: var(--secondary-color);
    img {
      width: 100%;
    }
    .article-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: var(--info-color);
    }
  }

  .comments {
    margin-top: 20px;
    textarea {
      width: 100%;
      height: 150px;
    }
    button {
      float: right;
      margin-top: 10px;
      padding: 10px 20px;
      background-color: var(--primary-color);
      color: white;
      border: none;
    }
  }
}

footer {
  background-color: white;
  text-align: center;

  font-size: 14px;
  position: relative;
  bottom: 0;
  width: 100%;
  .ajewio {
    text-align: left;
  }

  .container {
    color: var(--dark-color);
  }
}

.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: var(--warning-color);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: none;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
}

.bottom-ad {
  width: 100vw !important;
}
@media screen and (min-width: 768px) {
  header {
    justify-content: unset;
    i {
      &.mi-icon {
        display: inline-block;
        transform: rotate(45deg);
        font-size: 22px;
        width: 22px;
        height: 22px;
        margin: 0 20px;
      }
      &.close-icon {
        display: none;
      }
    }
    nav {
      display: flex;
      align-items: center;
      position: relative;
      top: unset;
      right: unset; /* 初始位置在屏幕外 */
      width: unset;
      height: unset;
      background-color: unset;

      font-weight: bold;
      &.active {
        right: 0; /* 当激活时，滑入屏幕 */
      }

      div.list {
        margin-top: 0;
        a {
          display: inline;
          color: white;
          font-size: 16px;
          .arrow-icon {
            display: none;
          }
        }
      }
    }
    .mobile-menu-toggle {
      display: none;
    }
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-width: 768px;
    color: whitesmoke;
  }

  .download-iod-tutorial-header-mobile {
    padding: 40px 0;
    text-align: center;
    display: block;
    font-weight: bold;
    font-size: 32px;
    line-height: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    &::after,
    &::before {
      content: "";
      display: block;
      width: 100%;
      height: 1px;
      background: var(--ds-color-brand-6);
    }
  }

  .main-wrapper {
    grid-gap: 10px;
    .articles {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 10px;
      .article-block {
        margin-bottom: 0;
      }
    }

    .img-wrapper {
      position: relative;
      display: inline-block;
      margin-top: 100px;
      min-width: 480px;
      height: 380px;
      background-size: cover;
      background-position: center bottom;
      background-image: url(/static/j1/images/p27559074_b_v13_aa.jpg);
    }

    .img-wrapper img {
      position: relative;
      z-index: 2;
    }

    .img-wrapper::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: inherit; /* 继承背景 */
      filter: blur(-10px); /* 设置模糊程度 */
      z-index: 1;
    }

    .download-header {
      display: flex;
      justify-content: space-between;
    }
    .laliga_brand_image_h5 {
      display: none;
    }
    .laliga_brand_image {
      display: block;
    }
    .app-name {
      text-align: center;
    }
    .ejaoifdjioajoi {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 20px;
      margin-top: 20px;
      text-align: center;
      .installation-area-item {
        padding: 20px;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        background-image: url(/static/bitget/images/installArea.cd9c2a9.png);
        a {
          padding: 11px 28px;
          background: #03aac7;
          border-radius: 4px;
          text-align: center;
          margin-bottom: 24px;
          display: inline-block;
          min-width: 104px;
          font-style: normal;
          font-weight: 500;
          font-size: 20px;
          line-height: 12px;
          color: #fff;
          box-sizing: border-box;
        }
      }
    }
    .fjeiafojeioawijp {
      margin-left: 40px;
    }
    .download-header-title {
      font-weight: 500;
      font-size: 56px;
      line-height: 81px;
    }

    .paging-cls {
      li {
        &:hover {
          background-color: var(--primary-color);
          color: white;
          font-weight: bold;
          a {
            color: white;
          }
        }
      }
    }

    .breadcrumb {
      text-align: left;
    }
  }

  a[alt="javascript hit counter"] {
    display: none;
  }

  .layout_3_1 {
    display: grid;
    grid-template-columns: 3fr 1fr;
  }

  .sidebar {
    padding-left: 40px;
    h2 {
      margin-top: 0;
      display: flex;
      align-items: center;
      &:before {
        content: "";
        display: block;
        width: 3px;
        height: 40px;
        background: var(--ds-color-brand-6);
        margin-right: 20px;
      }
    }
    .coin-list {
      display: block;
      .coin-item {
        border-radius: 4px;
        height: 45px;
        padding: 0 10px;
        margin-bottom: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .coin-info {
          display: flex;
          justify-content: space-between;
          align-items: center;
          img {
            width: 24px;
            height: 24px;
            margin-right: 10px;
          }
          .coin-name {
            display: flex;
            justify-content: space-between;
            align-items: center;
            .coin-name-cn {
              display: inline-block;
              width: 80px;
              text-align: left;
              padding-left: 10px;
            }
            .coin-name-en {
              color: var(--warning-color);
            }
          }
        }
        a {
          background: #03aac7;
          border-radius: 4px;
          text-align: center;
          display: inline-block;
          font-style: normal;
          font-weight: 500;
          color: #fff;
          box-sizing: border-box;
          padding: 0 10px;
        }

        &:hover {
          background-color: var(--light-color);
          font-weight: bold;
          .coin-name-cn {
            color: var(--dark-color);
          }
        }
      }
    }
  }
}
.buy-btn {
  cursor: pointer;
}
