/* 公共样式 */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #16170d;
  color: #e0e0e0;
}

.main {
  flex: 3;
  margin-right: 20px;
}

.sidebar {
  flex: 1;
}

.sidebar h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul li a {
  text-decoration: none;
  color: #fff;
}

.sidebar ul li a:hover {
  text-decoration: underline;
}

footer {
  background: #1f1f1f;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  margin-top: 20px;
}

/* 首页样式 */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.article {
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background: #1f1f1f;
}

.article img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.article-content {
  padding: 10px 10px 5px 10px;
}

.article-title {
  font-size: 12px;
  margin: 0 0 10px;
  color: #fff;
}

.article-description {
  font-size: 14px;
  color: #aaa;
  margin: 0 0 10px;
  height: 150px;
}

.article-link {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

.article-link:hover {
  text-decoration: underline;
}

.article-body img {
  width: 100%;
}

.article-title-detail {
  font-size: 18px;
}

.comments h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.comments textarea {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.comments button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}

.comments button:hover {
  background: #0056b3;
}

/* 面包屑导航 */
.breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
  color: #aaa;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  margin-right: 5px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #fff;
}

/* 响应式样式 */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 0 10px;
  }

  .main {
    margin-right: 0;
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bannersport {
  width: 100%;
  height: 240px;
  position: relative;
  user-select: none;
  backdrop-filter: blur(20px);
  overflow: hidden;
  background-color: #332f30;
  margin: 0 auto;
  max-width: 1280px;
  background-image: url(/static/b17/images/banner-bg.png);
  background-size: cover;
}

.bannersport img {
  position: absolute;
  top: 0;
  left: 65%;
  width: auto;
  height: 90%;
  transform: scale(1.25);
  transform-origin: top left;
}

.bannersport .banner-word {
  position: absolute;
  color: #fff;
  top: 5%;
  left: 4%;
  width: 90%;
}

.banner-word h1 {
  font-size: 33px;
  font-weight: 100;
  letter-spacing: 15px;
  font-family: "douyuFont";
  text-shadow: 5px 5px 3px #333;
  animation: bobbing 1s infinite ease-in-out;
  color: #fff;
}

.banner-word h2 {
  margin-top: 5px;
  letter-spacing: 8px;
  color: #fff;
}

@media screen and (max-width: 900px) {
  .info-content {
    flex-direction: column;
    padding-right: 5px;
  }

  .info-content .news {
    max-height: unset;
    margin: 20px 5%;
    padding: 2%;
  }

  .pc {
    display: none;
  }

  .mobile {
    display: block;
  }

  .v57_index_content {
    display: block;
  }

  .bannersport .banner-word {
    top: 20%;
    left: 4.5%;
    font-size: 26px;
    width: 56%;
  }

  .bannersport img {
    left: 36%;
  }

  .banner-word h1 {
    font-size: 16px;
    letter-spacing: 10px;
    line-height: 1.5em;
    color: #fff;
  }

  .banner-word h2 {
    font-size: 12px;
    line-height: 1.5em;
    letter-spacing: 3px;
    color: #fff;
  }

  .hot-info-content {
    display: block;
  }

  .hot-info .hot-info-img {
    display: none;
  }
}

.pagination-wrap {
  padding: 20px 10px;
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
}

.pagination-wrap .paging-cls {
  text-align: center;
}

.pagination-wrap .paging-cls li {
  display: inline-block;
  margin: 0 5px;
  list-style: none;
}

.pagination-wrap .paging-cls span,
.pagination-wrap .paging-cls a {
  display: inline-block;
  border: 1px solid #eef3f8;
  border-radius: 5px;
  height: 44px;
  line-height: 44px;
  width: 44px;
  margin: 0 3px;
  font-size: 14px;
  color: #000000;
  text-decoration: none;
}

.pagination-wrap .paging-cls span:hover,
.pagination-wrap .paging-cls a:hover {
  background: #0271db;
  color: #fff !important;
}

.pagination-wrap .paging-cls .current {
  background: #0271db;
  color: #fff;
  font-weight: bold;
}

.pagination-wrap .paging-cls .fa-angle-double-left::before {
  content: "<";
}

.pagination-wrap .paging-cls .fa-angle-double-right::before {
  content: ">";
}

.banner-content {
  position: relative;
  margin: 10px 0;
}

.banner-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 3%;
  color: #fff;
  text-align: left;
}

.banner-text h1 {
  margin: 1px 0;
  font-size: 40px;
}

.banner-text h2 {
  margin: 1px 0;
  letter-spacing: 7px;
  color: #fff;
  font-size: 30px;
}

.banner-text .join-link {
  display: inline-block;
  padding: 5px 10px;
  background: #01a81a;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  margin-top: 10px;
}

.banner-text .join-link:hover {
  transform: scale(1.1);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .banner-text h1 {
    font-size: 22px;
  }

  .banner-text h2 {
    font-size: 16px;
    letter-spacing: 4px;
  }

  .banner-text .join-link {
    display: inline-block;
    padding: 2px 9px;
    background: #01a81a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 10px;
    margin-top: 10px;
  }

  .banner-text .join-link:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
  }
}

.exchange-list {
  display: flex;
  flex-direction: column;
}

.exchange-header,
.exchange-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-top: 2.5px solid #1c1f26;
}

.exchange-item:last-child {
  border-bottom: 2.5px solid #1c1f26;
}

.exchange-item:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.exchange-header {
  font-size: 14px;
  color: #aaa;
  font-weight: 600;
}

.exchange-rank {
  width: 30px;
  text-align: right;
  margin-right: 16px;
  color: #ccc;
}

.exchange-logo {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
}

.exchange-name {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
}

.download-title {
  position: relative;
  padding-left: 15px;
}

.download-title :before {
  content: "";
  position: absolute;
  width: 4px;
  height: 95%;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
  transform: translateX(-50%);
  border-radius: 2px;
}

.store-button {
  background: #fddc00;
  border-radius: 8px;
  color: #fff;
  display: inline-block;
  font-size: 16px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  padding: 5px 20px;
  margin: 20px 0;
}

@media (max-width: 480px) {
  .exchange-name {
    font-size: 14px;
  }
}

.coin-list {
  display: flex;
  flex-direction: column;
}

.coin-header,
.coin-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-top: 2.5px solid #1c1f26;
}

.coin-header,
.coin-item:last-child {
  border-bottom: 2.5px solid #1c1f26;
}

.coin-header {
  color: #aaa;
  font-size: 14px;
  font-weight: 600;
}

.coin-rank {
  width: 30px;
  text-align: right;
  margin-right: 16px;
  color: #ccc;
  flex-shrink: 0;
}

.coin-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.coin-info img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
}

.coin-name {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.coin-name-cn {
  font-size: 14px;
  font-weight: bold;
}

.coin-name-en {
  font-size: 14px;
  color: #999;
}

.buy-btn {
  padding: 4px 12px;
  border: 1px solid #088d69;
  border-radius: 20px;
  color: #088d69;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s;
}

.buy-btn:hover {
  background-color: #088d69;
  color: #fff;
}

@media (max-width: 480px) {
  .coin-name-cn {
    font-size: 14px;
  }

  .coin-name-en {
    font-size: 14px;
  }
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.review-card {
  background: #2e113b;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
}

.name {
  font-weight: bold;
  font-size: 16px;
}

.stars {
  color: gold;
  font-size: 16px;
}

.content {
  font-size: 15px;
  line-height: 1.6;
}

.section-title {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 70px;
  margin-bottom: 20px;
}

.main>div:nth-child(1) .section-title {
  margin-top: 30px;
  margin-bottom: 30px;
}

.coin-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.coin-card {
  width: 160px;
  height: 220px;
  perspective: 1000px;
}

.coin-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.coin-card:hover .coin-inner {
  transform: rotateY(180deg);
}

.coin-front,
.coin-back {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.coin-front img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.coin-name {
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.coin-back {
  transform: rotateY(180deg);
  color: white;
  text-align: center;
}

.coin-desc {
  font-size: 14px;
  margin-bottom: 16px;
  color: #f0f0f0;
}

.buy-btn {
  background-color: #fcd535;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 6px 16px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .coin-content {
    flex-wrap: wrap;
  }

  .coin-card {
    width: 160px;
    height: 220px;
  }
}

.intro-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.intro-text {
  width: 50%;
}

.intro-img {
  width: 45%;
}

@media screen and (max-width: 768px) {
  .intro-content {
    display: block;
    width: 100%;
  }

  .intro-text {
    width: 100%;
  }

  .intro-img {
    display: block;
    width: 80%;
    margin: 0 auto;
  }
}

.banner {
  color: white;
  padding: 20px 20px 0px 20px;
  text-align: center;
}

.banner-title {
  font-size: 32px;
  margin-bottom: 12px;
}

.banner-subtitle {
  font-size: 16px;
  margin-bottom: 32px;
  color: #cbd5e1;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: 28px;
  font-weight: bold;
  color: #fcd535;
}

.stat-label {
  font-size: 14px;
  color: #94a3b8;
}

.uj-reviews-container {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 5% 3%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  height: auto;
  max-height: none;
}

.uj-reviews-title {
  text-align: center;
  font-size: 4vw;
  font-weight: bold;
  margin-bottom: 6%;
  color: #ffffff;
}

.uj-reviews-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
  max-width: 1280px;
  margin: 0 auto;
}

.uj-review-card {
  background-color: #2a2a2a;
  border-radius: 16px;
  box-sizing: border-box;
  padding: 6%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
  flex: 0 0 calc(33.33% - 3%);
  min-width: 280px;
  margin: 10px 0;
}


.uj-review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.uj-avatar {
  width: 20%;
  max-width: 80px;
  min-width: 60px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto 5%;
  display: block;
  object-fit: cover;
}

.uj-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.uj-user-id {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 2%;
  color: #ffffff;
}

.uj-device-type {
  font-size: 1.8vw;
  color: #aaa;
  margin-bottom: 6%;
}

.uj-review-text {
  font-size: 1vw;
  line-height: 1.6;
  color: #e0e0e0;
  margin: 0;
}

/* 平板屏幕 */
@media (max-width: 768px) {
  .uj-reviews-title {
    font-size: 6vw;
  }

  .uj-reviews-grid {
    gap: 5%;
  }

  .uj-review-card {
    flex: 0 0 calc(50% - 2.5%);
    min-width: 240px;
    justify-content: center;
  }

  .uj-user-id {
    font-size: 3.5vw;
  }

  .uj-device-type {
    font-size: 2.8vw;
  }

  .uj-review-text {
    font-size: 3.2vw;
  }
}

/* 手機屏幕 */
@media (max-width: 480px) {


  .uj-reviews-title {
    font-size: 8vw;
    margin-bottom: 8%;
  }

  .uj-reviews-grid {
    gap: 6%;
  }

  .uj-review-card {
    flex: 0 0 100%;
    min-width: unset;
    padding: 8%;
    justify-content: center;
  }

  .uj-avatar {
    width: 25%;
    margin-bottom: 6%;
  }

  .uj-user-id {
    font-size: 5vw;
  }

  .uj-device-type {
    font-size: 4vw;
  }

  .uj-review-text {
    font-size: 4.5vw;
  }
}

/* 大屏幕優化 */
@media (min-width: 1200px) {
  .uj-reviews-title {
    font-size: 48px;
  }

  .uj-user-id {
    font-size: 22px;
  }

  .uj-device-type {
    font-size: 22px;
  }

  .uj-review-text {
    font-size: 18px;
  }
}