/* ------------------------- index.html------------------------- */
.feature_area .tab-menu-area {
  background: url("../picture/index/huo-dong-bg.png") no-repeat center center;
  background-size: cover;
}
.feature_area .title-img {
  text-align: center;
}
.title-img img {
  /* width: 30%; */
  height: 60px !important;
}

.view_details {
  background-color: var(--themcolor);
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  font-size: 16px;
  border-radius: 6px;
}

.index_ico {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}
.index_ico img {
  width: 100%;
}
.classification {
  display: flex;
  flex-direction: column;
  justify-content: content;
  align-items: center;
  width: 10%;
}
.classification .gameplay_title {
  margin-top: 20px;
  color: #000;
}
.index_recommend {
  margin: 10px 0;
  text-align: left;
}
.index-service-content {
  padding: 0 10px 20px;
  margin: 16px 0 0px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.index-service-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--brcolor);
  transition: 0.5s;
}
.index-service-content h3:hover {
  color: var(--hvcolor);
}
.index-service-content p {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--brcolor);
  width: 100%;
  overflow: hidden;
  /*文本不会换行*/
  white-space: nowrap;
  /*当文本溢出包含元素时，以省略号表示超出的文本*/
  text-overflow: ellipsis;
}

.index_ico_btn {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  font-size: 14px;
}
.index_ico_more,
.index_ico_use_immediately {
  padding: 0px 20px;
  border-radius: 6px;
  border: 1px solid #9b9b9b;
  cursor: pointer;
  /* height: 20px; */
}
.index_ico_more {
  color: #000;
}
.index_ico_use_immediately {
  /* background-color: var(--themcolor); */
  border: none;
  color: #fff;
}
.index_ico_use_immediately a {
  padding: 0px 20px;
  border-radius: 6px;
  cursor: pointer;
}

.index-tab .gbtn a {
  padding: 5px 72px;
  width: 100%;
  background-color: var(--themcolor);
  border-radius: 6px;
  font-weight: 400;
}

.tab_area .tab-menu-area {
  display: flex;
  margin-top: 40px;
}

.tab_area .tab-menu-area .product-thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  height: 100%;
  padding: 60px;
}

.tab_area .tab-menu-area .product-thumb img {
  width: 100%;
}

.tab_area .tab-menu-area .tab-menu ul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}
.tab_area .tab-menu-area .tab-menu ul li {
  width: 100%;
}

.tab_area .tab-menu-area .tab-menu ul li:nth-child(1) {
  margin-left: 130px;
}

.tab_area .tab-menu-area .tab-menu ul li:nth-child(2) {
  margin-left: 300px;
}

.tab_area .tab-menu-area .tab-menu ul li:nth-child(3) {
  margin-left: 320px;
}
.tab_area .tab-menu-area .tab-menu ul li:nth-child(4) {
  margin-left: 230px;
}

.tab-menu ul li .active {
  background-color: transparent;
  border: none;
  transform: scale(1.1);
}

.tab-menu ul li a img {
  width: 100px;
}

.tab-menu ul li a {
  border: none;
}

.tab_menu_title {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}

.tab-menu ul li a:hover {
  background-color: transparent;
  border: none;
  transform: scale(1.1);
}

.come_on_style {
  /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
  text-align: center;
  color: #000;
}
.come_on_style img {
  width: 60px;
}
.come_on_bg {
  padding: 0 30px 120px;
  margin: 20px auto 30px;
  background: no-repeat center;
  background-size: 100% 100%;
  width: 100%;
  /* height: 200%; */
}
.come_on_title {
  padding: 40px 0 20px;
  font-size: 28px;
  font-weight: 500;
}
.come_on_describe {
  color: #666;
  text-align: justify;
  text-align-last: center;
  text-justify: inter-ideograph;
}

@media (max-width: 1399px) {
  .tab_area .tab-menu-area .tab-menu ul li:nth-child(1) {
    margin-left: 190px;
  }

  .tab_area .tab-menu-area .tab-menu ul li:nth-child(2) {
    margin-left: 330px;
  }

  .tab_area .tab-menu-area .tab-menu ul li:nth-child(3) {
    margin-left: 380px;
  }
  .tab_area .tab-menu-area .tab-menu ul li:nth-child(4) {
    margin-left: 270px;
  }
}

@media (max-width: 1199px) {
  .tab_area .tab-menu-area .tab-menu ul li:nth-child(1) {
    margin-left: 250px;
  }

  .tab_area .tab-menu-area .tab-menu ul li:nth-child(2) {
    margin-left: 400px;
  }

  .tab_area .tab-menu-area .tab-menu ul li:nth-child(3) {
    margin-left: 400px;
  }
  .tab_area .tab-menu-area .tab-menu ul li:nth-child(4) {
    margin-left: 300px;
  }
}

@media (max-width: 991px) {
  .come_on_style {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.mobile_classification {
  display: none;
}
.pc_classification {
  margin-top: 20px;
  padding: 0 40px 0 10px;
}

@media (max-width: 991px) {
  .pc_classification {
    display: none;
  }

  .mobile_classification {
    display: flex;
    justify-content: space-between;
    padding: 15px 45px 15px 25px;
    margin-top: 20px;
  }
  .mobile_classification .gameplay_title {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    padding: 5px 15px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--themcolor), var(--hovercolor));
  }

  .mobile_right_card_style {
    margin-top: 50px;
    padding-bottom: 50px;
  }

  .mobile_advantage_card_style {
    margin-bottom: 50px;
  }
}

/* ------------------------- screen.html------------------------- */

.screen_left {
  padding-top: 8px;
  box-sizing: border-box;
}
.screen_left_area {
  margin-bottom: 25px;
  color: #7d7d7d;
  box-sizing: border-box;
  position: relative;
}
.screen_left_area img {
  width: 15px;
  height: 15px;
}
.screen_hover {
  cursor: pointer;
  margin-left: 25px;
  border-bottom: 1px solid transparent;
}
.screen_left_area:hover .screen_hover {
  color: var(--themcolor);
  border-bottom: 1px solid var(--themcolor);
}

.screen_mobile {
  display: none;
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.screen_mobile::-webkit-scrollbar {
  display: none;
}

.screen_mobile .interactive_classification {
  display: inline-block;
  padding: 8px 16px;
  margin-right: 12px;
  border-radius: 20px;
  background: #f5f5f5;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.screen_mobile .interactive_classification:hover,
.screen_mobile .interactive_classification.active {
  background: var(--themcolor);
  color: #fff;
}

.screen_mobile .screen_select {
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 991px) {
  .screen_mobile {
    display: flex;
  }
  .screen_left {
    display: none;
  }
}

@media (max-width: 576px) {
  .screen_mobile {
    padding: 12px;
  }
  .screen_mobile .interactive_classification {
    padding: 6px 12px;
    margin-right: 8px;
  }
  .screen_mobile .screen_select {
    font-size: 13px;
  }
}

/* ------------------------- case.html------------------------- */
.case_banner {
  background-color: var(--greycolor);
}
.case_banner_row {
  position: relative;
  height: 410px;
  padding: 0 22px;
}
.case_banner_row_item {
  padding: 20px;
}
.case_banner_row .col-lg-6 {
  padding: 10px;
  height: 80%;
  background-color: var(--whitec);
  border-radius: var(--border-radius);
}
.case_banner_row .col-lg-6:nth-child(1) {
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}
.case_banner_row .col-lg-6:nth-child(2) {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
.case_banner_row .col-lg-6 img {
  border-radius: var(--border-radius);
}
.case_banner_right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.case_banner_right_type {
  font-size: 14px;
  font-weight: 400;
  color: var(--themcolor);
}

.comma + .comma::before {
  content: "、";
}

.case_banner_right_title {
  margin: 20px 0;
  font-size: 24px;
  font-weight: 500;
  color: var(--blackc);
}
.case_banner_right_describe {
  font-size: 14px;
  font-weight: 400;
  color: var(--paracolor);
  overflow: hidden;
  /*将对象作为弹性伸缩盒子模型显示*/
  display: -webkit-box;
  /*设置子元素排列方式*/
  -webkit-box-orient: vertical;
  /*设置显示的行数，多出的部分会显示为...*/
  line-clamp: 5;
  -webkit-line-clamp: 5;
}
.case_banner_right_btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  color: var(--whitec);
  background-color: var(--themcolor);
  border-radius: 100px;
  padding: 5px 0;
  width: 200px;
  text-align: center;
  cursor: pointer;
}

@media (max-width: 991px) {
  .mobile_case_banner_right {
    display: none;
  }
}

/* ------------------------- case-details.html------------------------- */

.case-details {
  padding: 60px 0;
  background-color: var(--greycolor);
}
.case-details .container {
  background-color: var(--whitec);
  border-radius: var(--border-radius);
  padding: 10px 200px 30px;
}
.case-details-prev-next {
  display: flex;
  justify-content: center;
  align-items: center;
}
.case_details_describe {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-ideograph;
}
.case-details-prev-next-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--themcolor);
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 10px;
  color: var(--themcolor);
  border-radius: var(--border-radius);
  cursor: pointer;
}

.case-details-prev-next-item:first-child {
  border: 1px solid var(--fontcolor999);
  color: var(--fontcolor999);
}

.case-details-prev-next-item i {
  position: relative;
  top: 1.7px;
  font-size: 14px;
  font-weight: 800;
}

.case-details-prev-next-item img {
  width: 100%;
}

/* ------------------------- service cards ------------------------- */
.service-card-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin: 0 auto;
  padding: 10px 0;
}

.service-card {
  position: relative;
  height: 260px;
  width: 160px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service_card_title {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
}

.service-small-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.3s ease;
}

.service-small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-large-img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  z-index: 2;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  overflow: hidden;
  opacity: 0;
}

.service-large-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  width: 360px;
  height: 260px;
  z-index: 10;
}

.service-card:hover .service-large-img {
  width: 100%;
  opacity: 1;
}

.service-card:hover .service-small-img {
  opacity: 0;
}

/* 添加滚动条样式 */
.service-card-container::-webkit-scrollbar {
  height: 8px;
}

.service-card-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.service-card-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.service-card-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.technology-and-services .technology-and-services-content {
  padding: 20px 5px;
  background-color: var(--whitec);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.technology-and-services .technology-and-services-content img {
  border-radius: var(--border-radius);
}

.service_technology_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--blackc);
  padding: 60px 0 60px 20px;
  height: 100%;
}
.service_technology_container h3 {
  color: var(--blackc);
}
.service_technology_container .service_technology::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: var(--themcolor);
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
}
.service_img {
  position: relative;
}
.service_img h3 {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 60px;
}

/* ------------------------- about.html------------------------- */

.about-main-area ul li a {
  border: 1px solid transparent;
}

.about-main-area ul li a:hover {
  border: 1px solid transparent;
}

.about-main-area .h2_top_main ul li a.active {
  color: var(--themcolor);
}

.about-img-area {
  position: relative;
  right: -50px;
}
.about-text-area {
  padding: 30px 60px;
}

.about_number {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 200px;
}

.about_number_style {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25%;
  color: var(--whitec);
  font-size: 50px;
  height: 100%;
}
.about_number_style_text {
  text-align: center;
  font-size: 12px;
  margin-top: 30px;
}

/* ------------------------- screen-details.html------------------------- */

.product-details-container {
  padding: 40px;
  padding-top: 0;
  background-color: #fff;
  border-radius: 8px;
  margin-left: 20px;
}

.product-title h1 {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.product-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.5;
}

.product-showcase {
  display: flex;
  gap: 40px;
}

.product-images {
  flex: 1;
  max-width: 600px;
}

.main-image {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.thumbnails {
  display: flex;
  gap: 15px;
  flex: 1;
  overflow: hidden;
  max-width: 405px; /* 3张图片的宽度: 120px * 3 + 15px * 2 */
  position: relative;
  justify-content: center;
}

.thumbnails-wrapper {
  display: flex;
  gap: 15px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.thumbnail {
  width: 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
  /* background: linear-gradient(135deg, #7c4dff, #9c7cff); */
  position: relative;
}

.thumbnail.active {
  /* border-color: #ff6b3590; */
  border: 2px solid var(--themcolor);
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.4);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

/* 如果没有图片，显示紫色背景 */
.thumbnail:not(:has(img)) {
  background: linear-gradient(135deg, #7c4dff, #9c7cff);
}

/* 当缩略图数量超过3个时，隐藏导航按钮 */
.nav-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #ff6b35;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.nav-btn:hover {
  background: #ff5722;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.nav-btn:disabled:hover {
  background: #ff6b35;
  transform: none;
}

/* 当缩略图少于等于3个时隐藏导航按钮 */
.thumbnail-nav.hide-nav .nav-btn {
  display: none;
}

.thumbnail-nav.hide-nav .thumbnails {
  max-width: none;
}

.product-info {
  flex: 1;
  max-width: 400px;
}

.applicable-scenarios {
  margin-bottom: 30px;
}

.applicable-scenarios h3,
.interactive-effects h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 16px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tag:hover {
  background: #e8f4fd;
  border-color: var(--themcolor);
  color: var(--themcolor);
}

.interactive-effects {
  margin-bottom: 40px;
}

.interactive-effects p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.price-section {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.discount-label {
  font-size: 14px;
  color: #666;
}

.current-price {
  font-size: 32px;
  font-weight: 700;
  color: #ff4757;
}

.price-unit {
  font-size: 16px;
  font-weight: 400;
  color: #666;
}

.original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.view-details-btn {
  width: 100%;
  padding: 12px 0;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  border: none;
  border-radius: 25px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.view-details-btn:hover {
  background: linear-gradient(135deg, #ff5252, #ff7979);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .product-showcase {
    flex-direction: column;
  }

  .product-info {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .product-details-container {
    padding: 20px;
    margin-left: 0;
  }

  .product-title h1 {
    font-size: 24px;
  }

  .main-image {
    height: 250px;
  }

  .thumbnails {
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .thumbnail {
    flex-shrink: 0;
  }
}

/* ------------------------- 游戏详情展示区域 ------------------------- */

.game-details-section {
  margin-top: 60px;
  width: 100%;
}

.gameplay-section,
.screen-display-section {
  margin-bottom: 40px;
}

.section-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.title-bar {
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #ff6b35, #ff8e53);
  border-radius: 2px;
  margin-right: 12px;
}

.gameplay-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  padding-left: 16px;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.screen-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screen-image {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.screen-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.screen-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-caption {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
  text-align: center;
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .game-details-section {
    margin-top: 40px;
  }

  .screen-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .screen-image {
    max-width: 100%;
  }

  .section-title {
    font-size: 16px;
  }

  .gameplay-description {
    padding-left: 12px;
  }
}

/* ------------------------- 手机端画面展示区域 ------------------------- */

.mobile-display-section {
  margin-bottom: 40px;
}

.mobile-gallery {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.mobile-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
}

.mobile-frame {
  position: relative;
  width: 180px;
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  background-color: transparent;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.mobile-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mobile-screen {
  width: 100%;
  height: 100%;
}

.mobile-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-caption {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
  text-align: center;
  font-weight: 500;
}
.screen-line {
  width: 100%;
  height: 1px;
  background-color: var(--themcolor);
  margin: 20px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .mobile-gallery {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .mobile-item {
    max-width: 200px;
  }

  .mobile-frame {
    width: 160px;
    height: 320px;
  }
}

.current a {
  color: var(--themcolor) !important;
}

.pagination {
  display: flex;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 20px 0;
}
.pagination li {
  margin-right: 5px;
  cursor: pointer;
}
.pagination li a {
  display: block;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  background-color: var(--greycolor);
  color: #333;
  text-decoration: none;
  border-radius: 3px;
}
.news-pagination .selected a {
  background-color: var(--themcolor);
  color: #fff;
}

.screen_select.selected {
  color: var(--themcolor);
}

@media (max-width: 500px) {
  .pagination {
    margin-top: -20px;
    padding-bottom: 20px;
  }

  .news-pagination {
    margin-top: 0px;
    padding-bottom: 20px;
  }
}

/* ------------------------- 右侧悬浮按钮 hover 效果 ------------------------- */

.right_side_suspension > div {
  position: relative;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.right_side_suspension .function_buttons {
  transition: all 0.3s ease;
  cursor: pointer;
}

.right_side_suspension .function_buttons:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* 悬浮提示框样式 */
.hover-tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-right: 15px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hover-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: rgba(0, 0, 0, 0.8);
}

.hover-tooltip img {
  width: 100%;
  height: 100%;
}

.img-hover-tooltip {
  width: 155px;
  padding: 8px 10px;
  height: 150px;
}

/* 不同按钮的 hover 效果 */
.right_side_suspension > div:nth-child(1) .hover-tooltip {
  background: linear-gradient(135deg, #ff6b35, #ff8e53);
}

.right_side_suspension > div:nth-child(1) .hover-tooltip::after {
  border-left-color: #ff6b35;
}

.right_side_suspension > div:nth-child(2) .hover-tooltip {
  background: linear-gradient(135deg, #007bff, #4dabf7);
}

.right_side_suspension > div:nth-child(2) .hover-tooltip::after {
  border-left-color: #007bff;
}

.right_side_suspension > div:nth-child(3) .hover-tooltip {
  background: linear-gradient(135deg, #28a745, #51cf66);
}

.right_side_suspension > div:nth-child(3) .hover-tooltip::after {
  border-left-color: #28a745;
}

.right_side_suspension > div:nth-child(4) .hover-tooltip {
  background: linear-gradient(135deg, #6f42c1, #9775fa);
}

.right_side_suspension > div:nth-child(4) .hover-tooltip::after {
  border-left-color: #6f42c1;
}

/* 显示提示框 */
.right_side_suspension > div:hover .hover-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-10px);
}

/* 按钮容器的 hover 效果 */
.right_side_suspension > div:hover {
  transform: translateX(-5px);
}

/* 特殊的按钮动画效果 */
/* .right_side_suspension > div:nth-child(1):hover .function_buttons {
    animation: pulse-orange 2s infinite;
  } */

.right_side_suspension > div:nth-child(1):hover .function_buttons {
  animation: bounce-blue 1.5s infinite;
}

.right_side_suspension > div:nth-child(2):hover .function_buttons {
  animation: shake-green 0.8s infinite;
}

.right_side_suspension > div:nth-child(3):hover .function_buttons {
  animation: shake-green 0.8s infinite;
}

/* 动画定义 */
@keyframes pulse-orange {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(255, 107, 53, 0);
    transform: scale(1.1);
  }
}

@keyframes bounce-blue {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes shake-green {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

@keyframes rotate-purple {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* 响应式设计 */
@media (max-width: 768px) {
  .hover-tooltip {
    font-size: 12px;
    padding: 6px 12px;
    margin-right: 10px;
  }

  .right_side_suspension .function_buttons {
    width: 50px;
  }

  .right_side_suspension .three_circles {
    width: 75px;
    margin-bottom: -15px;
  }
}

@media (max-width: 480px) {
  .hover-tooltip {
    display: none; /* 在小屏幕上隐藏提示框 */
  }
}

.gradient_color_background {
  /* 由下往上渐变 */
  background: linear-gradient(to top, #fff6f2, #ffffff);
}
