/* 公共样式 */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #121212;
  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: 15px;
  margin: 0 0 10px;
  color: #fff;
}

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

.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;
}

@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 #c924f7;
  border-radius: 20px;
  color: #c924f7;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s;
}

.buy-btn:hover {
  background-color: #c924f7;
  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: 28px;
  font-weight: bold;
  margin-top: 70px;
  margin-bottom: 20px;
}

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

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background-color: #1e2329;
  border-radius: 16px;
  padding: 20px;
  width: 300px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.icon-box {
  background-color: #fcd535;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.icon-box img {
  width: 24px;
  height: 24px;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
}

.card-text {
  color: #c2c2c2;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .card {
    width: 95%;
  }

  .section-title {
    margin-bottom: 20px;
  }
}

.kz-card-section {
  padding: 40px 20px;
}

.kz-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.kz-card {
  background-color: #161616;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
  min-height: 320px;
}

.kz-card:hover {
  transform: translateY(-5px);
}

.kz-card-img {
  width: 100%;
  height: 160px;
  color: transparent;
  object-fit: contain;
}

.kz-card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
}

.kz-card-desc {
  font-size: 14px;
  color: #c2c2c2;
  margin-bottom: 20px;
}

.kz-card-tag {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid;
  font-weight: bold;
  width: fit-content;
}

.kz-tag-yellow {
  color: #ffc107;
  border-color: #ffc107;
}

.kz-tag-red {
  color: #ff4d4f;
  border-color: #ff4d4f;
}

.kz-tag-green {
  color: #00e6aa;
  border-color: #00e6aa;
}

@media (max-width: 768px) {
  .kz-card-grid {
    grid-template-columns: 1fr;
  }
}

.zf-title {
  font-weight: 700;
  background: linear-gradient(135deg, #ffd700, #ffed4a, #f39c12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.bu-reviews-section {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.bu-title {
  font-size: clamp(1.1rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
}

.bu-review-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.bu-review-bubble {
  background: linear-gradient(135deg, #d0f500 0%, #d0f500 100%);
  color: #000;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 2rem;
  font-size: clamp(0.9rem, 2.5vw, 1.125rem);
  font-weight: 500;
  text-align: center;
  box-shadow: 0 0.5rem 2rem rgba(74, 144, 226, 0.3);
  position: relative;
  max-width: 32rem;
  margin: 0 auto;
}

.bu-review-bubble::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.75rem solid transparent;
  border-right: 0.75rem solid transparent;
  border-top: 0.75rem solid #d0f500;
}

.bu-avatars-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  min-height: 8rem;
}

.bu-avatars-wrapper {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  position: relative;
}

.bu-avatar {
  width: clamp(3rem, 6vw, 5rem);
  height: clamp(3rem, 6vw, 5rem);
  border-radius: 50%;
  overflow: hidden;
  border: 0.1875rem solid white;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.bu-avatar:hover {
  transform: translateY(-0.25rem) scale(1.05);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.bu-avatar.bu-active {
  border-color: #d0f500;
  transform: scale(1.1);
  box-shadow: 0 0.5rem 1.5rem rgba(74, 144, 226, 0.3);
}

.bu-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bu-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
}

.bu-nav-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.15);
}

.bu-nav-btn svg {
  width: 1rem;
  height: 1rem;
  fill: #666;
}

.bu-nav-prev {
  left: -1.25rem;
}

.bu-nav-next {
  right: -1.25rem;
}

.bu-user-info {
  text-align: center;
}

.bu-user-email {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #666;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.bu-user-label {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: #999;
  font-weight: 400;
}

/* 響應式調整 */
@media (max-width: 768px) {
  .bu-reviews-section {
    padding: 0 1rem;
  }

  .bu-avatars-wrapper {
    gap: 0.5rem;
  }

  .bu-nav-btn {
    width: 2rem;
    height: 2rem;
  }

  .bu-nav-btn svg {
    width: 0.75rem;
    height: 0.75rem;
  }

  .bu-nav-prev {
    left: -0.75rem;
  }

  .bu-nav-next {
    right: -0.75rem;
  }
}

@media (max-width: 480px) {
  .bu-review-bubble {
    margin: 0 0.5rem;
  }

  .bu-avatars-wrapper {
    gap: 0.375rem;
  }

  .bu-nav-prev {
    left: -0.5rem;
  }

  .bu-nav-next {
    right: -0.5rem;
  }
}

/* 輪播動畫 */
.bu-fade-transition {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bu-fade-transition.bu-active {
  opacity: 1;
}

.ao-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 8% 6%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.ao-header {
  text-align: center;
  margin-bottom: 8%;
}

.ao-title {
  font-size: 25px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3%;
  line-height: 1.2;
}

.ao-subtitle {
  font-size: calc(1vw + 14px);
  color: #a0a0b2;
  margin-bottom: 6%;
  font-weight: 400;
}

.ao-cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #d0f500, #d0f500);
  color: #000;
  padding: 1.5% 3%;
  border-radius: 25px;
  text-decoration: none;
  font-size: calc(0.8vw + 14px);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.ao-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #d0f50081;
  background: linear-gradient(45deg, #d0f500, #d0f500);
}

.ao-stats-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 10%;
  gap: 4%;
  flex-wrap: wrap;
}

.ao-stat-item {
  flex: 1;
  text-align: center;
  min-width: 100px;
  padding: 3%;
  border-radius: 15px;
  transition: all 0.3s ease;
  margin-bottom: 4%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ao-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgba(55, 55, 85, 0.9);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.ao-stat-number {
  font-size: calc(2vw + 16px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3%;
  line-height: 1.1;
}

.ao-stat-label {
  font-size: calc(0.8vw + 12px);
  color: #a0a0b2;
  font-weight: 500;
  line-height: 1.3;
}

/* 平板設備 */
@media (max-width: 1024px) {
  .ao-container {
    padding: 6% 5%;
  }

  .ao-stats-container {
    gap: 3%;
  }

  .ao-stat-item {
    min-width: 180px;
  }
}

/* 小平板 */
@media (max-width: 768px) {
  body {
    padding: 3%;
  }

  .ao-container {
    padding: 8% 5%;
  }

  .ao-stats-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .ao-stat-item {
    width: 80%;
    min-width: auto;
    margin-bottom: 5%;
  }

  .ao-title {
    font-size: calc(2vw + 16px);
  }

  .ao-subtitle {
    font-size: calc(1vw + 12px);
  }

  .ao-cta-button {
    font-size: calc(2vw + 12px);
    padding: 4% 8%;
  }

  .ao-stat-number {
    font-size: calc(3.5vw + 12px);
  }

  .ao-stat-label {
    font-size: calc(2vw + 10px);
  }
}

/* 手機設備 */
@media (max-width: 480px) {
  body {
    padding: 2%;
  }

  .ao-container {
    padding: 8% 4%;
    border-radius: 15px;
  }

  .ao-stat-item {
    width: 90%;
    padding: 6% 4%;
  }

  .ao-title {
    font-size: calc(5vw + 12px);
  }

  .ao-subtitle {
    font-size: calc(3vw + 10px);
  }

  .ao-cta-button {
    font-size: calc(3vw + 10px);
    padding: 5% 10%;
  }

  .ao-stat-number {
    font-size: calc(4vw + 10px);
  }

  .ao-stat-label {
    font-size: calc(2.5vw + 8px);
  }
}

/* 超小手機 */
@media (max-width: 320px) {
  .ao-stat-item {
    width: 95%;
  }

  .ao-title {
    font-size: calc(6vw + 10px);
  }
}

/* 大屏幕適配 */
@media (min-width: 1400px) {
  .ao-title {
    font-size: 55px;
  }

  .ao-subtitle {
    font-size: 24px;
  }

  .ao-cta-button {
    font-size: 20px;
  }

  .ao-stat-number {
    font-size: 44px;
  }

  .ao-stat-label {
    font-size: 18px;
  }
}