/* 游戏公司酷炫样式 */
@charset "utf-8";

/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: auto;
  font-size: 14px;
  color: #ffffff;
  font-family: "微软雅黑", Arial, sans-serif;
  background: linear-gradient(
    135deg,
    #0c0c0c 0%,
    #1a1a2e 25%,
    #16213e 50%,
    #0f3460 75%,
    #533483 100%
  );
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* 动态背景效果 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(120, 219, 255, 0.1) 0%,
      transparent 50%
    );
  z-index: -1;
  animation: backgroundShift 20s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
  0% {
    transform: translateX(0px) translateY(0px);
  }
  100% {
    transform: translateX(50px) translateY(-30px);
  }
}

/* 主内容区域 */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 头部样式 */
.header-box {
  width: 100%;
  position: relative;
  z-index: 999;
  padding: 15px 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  border-bottom: 2px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.header {
  text-align: center;
  width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
}

.header .first-menu .first-a {
  display: inline-block;
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 8px;
  position: relative;
}

.header .first-menu .first-a:hover {
  color: #00d4ff;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
  transform: translateY(-2px);
  background: rgba(0, 212, 255, 0.1);
}

.header .first-menu .first-a .cn {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 3px;
  letter-spacing: 1px;
}

.header .first-menu .first-a .en {
  font-size: 12px;
  opacity: 0.8;
  letter-spacing: 2px;
}

.header .first-menu.logo .first-a img {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  transition: all 0.3s ease;
}

.header .first-menu.logo .first-a:hover img {
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
  transform: scale(1.05);
}

/* 轮播图样式 */
.banner {
  position: relative;
  margin: 30px auto;
  width: 90%;
  max-width: 1200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 212, 255, 0.1) 0%,
    transparent 30%,
    transparent 70%,
    rgba(255, 119, 198, 0.1) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.swiper-container {
  position: relative;
  z-index: 2;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* 轮播按钮样式 */
.swiper-button-next,
.swiper-button-prev {
  background-size: 20px 20px !important;
  width: 50px !important;
  height: 50px !important;
  background-color: rgba(0, 0, 0, 0.6) !important;
  border-radius: 50% !important;
  border: 2px solid rgba(0, 212, 255, 0.5) !important;
  transition: all 0.3s ease !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(0, 212, 255, 0.8) !important;
  border-color: rgba(0, 212, 255, 1) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6) !important;
  transform: scale(1.1) !important;
}

/* 底部样式 */
.footer {
  background: rgba(0, 0, 0, 0.8);
  padding: 30px 0;
  margin-top: auto;
  border-top: 1px solid rgba(0, 212, 255, 0.3);
  backdrop-filter: blur(10px);
}

.footer .wrapper .blok2 {
  text-align: center;
  color: #cccccc;
}

.footer .wrapper .blok2 p {
  margin: 10px 0;
  line-height: 1.6;
}

.footer .wrapper .blok2 a {
  color: #00d4ff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
}

.footer .wrapper .blok2 a:hover {
  color: #ffffff;
  background: rgba(0, 212, 255, 0.2);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

/* 移动端整体页面结构优化 */
@media (max-width: 768px) {
  body {
    padding: 0;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
  }

  .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
    padding-bottom: 20px;
  }
}
@media (max-width: 1200px) {
  .header {
    width: 95%;
  }

  .banner {
    width: 95%;
  }
}

@media (max-width: 768px) {
  /* 头部导航优化 */
  .header-box {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
  }

  .header {
    flex-direction: column;
    gap: 15px;
    width: 90%;
    padding: 0 20px;
    align-items: center;
  }

  .header .first-menu.logo {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .header .first-menu.logo .first-a img {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
  }

  .header .first-menu:not(.logo) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .header .first-menu .first-a {
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 25px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    min-width: 80px;
    text-align: center;
  }

  .header .first-menu .first-a:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
  }

  .header .first-menu .first-a .cn {
    font-size: 15px;
    margin-bottom: 3px;
    font-weight: 600;
  }

  .header .first-menu .first-a .en {
    font-size: 11px;
    opacity: 0.8;
  }

  /* 轮播图优化 */
  .banner {
    margin: 25px auto;
    width: 92%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    overflow: hidden;
  }

  .swiper-slide img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* 轮播按钮移动端优化 */
  .swiper-button-next,
  .swiper-button-prev {
    width: 45px !important;
    height: 45px !important;
    background-size: 18px 18px !important;
    background-color: rgba(0, 212, 255, 0.8) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4) !important;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background-color: rgba(0, 212, 255, 1) !important;
    transform: scale(1.1);
  }

  /* 底部区域优化 */
  .footer {
    padding: 30px 0;
    margin-top: auto;
  }

  .footer .wrapper .blok2 {
    padding: 0 20px;
    text-align: center;
  }

  .footer .wrapper .blok2 p {
    font-size: 13px;
    margin: 12px 0;
    line-height: 1.6;
  }

  .footer .wrapper .blok2 a {
    font-size: 13px;
    padding: 5px 12px;
    margin: 3px;
    border-radius: 15px;
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
  }
}

@media (max-width: 480px) {
  /* 超小屏幕优化 */
  body {
    font-size: 13px;
  }

  .header-box {
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.98);
  }

  .header {
    flex-direction: column;
    gap: 12px;
    padding: 0 15px;
    width: 95%;
  }

  .header .first-menu.logo {
    margin-bottom: 8px;
  }

  .header .first-menu.logo .first-a img {
    max-width: 120px;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
  }

  .header .first-menu:not(.logo) {
    gap: 6px;
  }

  .header .first-menu .first-a {
    font-size: 13px;
    padding: 8px 15px;
    min-width: 70px;
    border-radius: 20px;
  }

  .header .first-menu .first-a .cn {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .header .first-menu .first-a .en {
    font-size: 10px;
  }

  /* 轮播图小屏优化 */
  .banner {
    margin: 20px auto;
    width: 95%;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.25);
  }

  .swiper-slide img {
    border-radius: 15px;
    max-height: 200px;
    object-fit: cover;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 38px !important;
    height: 38px !important;
    background-size: 15px 15px !important;
    background-color: rgba(0, 212, 255, 0.9) !important;
    box-shadow: 0 3px 12px rgba(0, 212, 255, 0.5) !important;
  }

  /* 底部小屏优化 */
  .footer {
    padding: 25px 0;
  }

  .footer .wrapper .blok2 {
    padding: 0 15px;
  }

  .footer .wrapper .blok2 p {
    font-size: 12px;
    margin: 10px 0;
    line-height: 1.5;
  }

  .footer .wrapper .blok2 a {
    font-size: 12px;
    padding: 4px 10px;
    margin: 2px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.25);
  }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  /* 移除hover效果，添加触摸友好的交互 */
  .header .first-menu .first-a:hover {
    transform: none;
  }

  .header .first-menu .first-a:active {
    transform: scale(0.95);
    background: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    transform: none;
  }

  .swiper-button-next:active,
  .swiper-button-prev:active {
    transform: scale(0.9);
    background-color: rgba(0, 212, 255, 1) !important;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.8) !important;
  }

  .footer .wrapper .blok2 a:hover {
    transform: none;
  }

  .footer .wrapper .blok2 a:active {
    transform: scale(0.95);
    background: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
  }
}

/* 移动端专用动画增强 */
@media (max-width: 768px) {
  .header-box {
    animation: slideInDown 0.6s ease-out;
  }

  .banner {
    animation: zoomIn 0.8s ease-out 0.3s both;
  }

  .footer {
    animation: slideInUp 0.6s ease-out 0.5s both;
  }

  .header .first-menu .first-a {
    animation: fadeInScale 0.5s ease-out both;
  }

  .header .first-menu:nth-child(2) .first-a {
    animation-delay: 0.1s;
  }
  .header .first-menu:nth-child(3) .first-a {
    animation-delay: 0.2s;
  }
  .header .first-menu:nth-child(4) .first-a {
    animation-delay: 0.3s;
  }
  .header .first-menu:nth-child(5) .first-a {
    animation-delay: 0.4s;
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 极小屏幕设备优化 (iPhone SE等) */
@media (max-width: 375px) {
  .header-box {
    padding: 10px 0;
  }

  .header {
    padding: 0 10px;
    gap: 10px;
  }

  .header .first-menu.logo .first-a img {
    max-width: 100px;
  }

  .header .first-menu .first-a {
    font-size: 12px;
    padding: 6px 12px;
    min-width: 60px;
  }

  .header .first-menu .first-a .cn {
    font-size: 12px;
  }

  .header .first-menu .first-a .en {
    font-size: 9px;
  }

  .banner {
    margin: 15px auto;
    width: 98%;
    border-radius: 12px;
  }

  .swiper-slide img {
    border-radius: 12px;
    max-height: 180px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 32px !important;
    height: 32px !important;
    background-size: 12px 12px !important;
  }

  .footer .wrapper .blok2 p {
    font-size: 11px;
    margin: 8px 0;
  }

  .footer .wrapper .blok2 a {
    font-size: 11px;
    padding: 3px 8px;
  }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
  .header-box {
    padding: 8px 0;
  }

  .header {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }

  .header .first-menu.logo {
    margin-bottom: 0;
  }

  .header .first-menu.logo .first-a img {
    max-width: 100px;
  }

  .header .first-menu:not(.logo) {
    flex-wrap: nowrap;
    gap: 5px;
  }

  .header .first-menu .first-a {
    font-size: 12px;
    padding: 6px 10px;
  }

  .banner {
    margin: 15px auto;
    max-height: 250px;
  }

  .swiper-slide img {
    max-height: 250px;
  }

  .footer {
    padding: 20px 0;
  }
}

/* 高分辨率屏幕优化 */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
  .header .first-menu .first-a {
    border-width: 0.5px;
  }

  .footer .wrapper .blok2 a {
    border-width: 0.5px;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-box,
.banner,
.footer {
  animation: fadeInUp 0.8s ease-out;
}

.banner {
  animation-delay: 0.2s;
}

.footer {
  animation-delay: 0.4s;
}
