* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6a11cb;
  --secondary: #2575fc;
  --accent: #ff2277;
  --dark: #0f0c1d;
  --darker: #090715;
  --light: #ffffff;
  --gray: #a0a0c0;
  --navbar-height: 60px;
  --transition: all 0.3s ease-in-out;
}

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, var(--darker), var(--dark));
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  background-attachment: fixed;
  padding-top: var(--navbar-height);
}

h1,
h2,
h3,
h4 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

li {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 60px;
  transition: var(--transition);
  background-image: url(../static/bg/img_tab_background.png);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  padding-top: 10px;
}

.navbar.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  padding-top: 0px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 50px;
  list-style: none;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  padding: 8px 15px;
  border-radius: 30px;
}

.nav-links a:hover {
  background: #ffc001;
}

.contract-area {
  position: relative;
}

.contract-button {
  background-color: #000000;
  color: white;
  border: none;
  padding: 10px 30px 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Orbitron', sans-serif;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
}

.contract-button:hover {
  transform: translateY(-3px);
}

.contract-icon {
  height: 15px;
  margin-bottom: -4px;
}

.contract-menu {
  transition: var(--transition);
  position: absolute;
  left: 0;
  height: 0;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  z-index: 9;
  background-color: #000000;
  border-radius: 4px;
}
.contract-menu > li {
  font-size: 15px;
  transition: var(--transition);
  text-align: center;
  padding: 8px;
}
.contract-menu > li > a {
  display: inline-block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.contract-menu > li:hover {
  cursor: pointer;
  opacity: 0.6;
  transform: translateY(-3px);
}

.contract-area:hover > .contract-menu {
  height: 84px;
  opacity: 1;
}

section {
  min-height: calc(100vh - var(--navbar-height));
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 15px auto;
  border-radius: 2px;
}
.bg-image {
  background-repeat: no-repeat;
  background-size: cover;
  width: 100vw;
  height: calc(100vh - var(--navbar-height));
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
}
.yellow-bg {
  background-image: url(../static/bg/img_background_1.png);
}
.yellow-white-bg {
  background-image: url(../static/bg/bg-yellow-white.png);
}
.black-bg {
  background-image: url(../static/bg/bg-yellow-black.png);
}

.home {
  padding-top: var(--navbar-height);
  background: var(--darker);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.home-bg {
  background: url(../static/home/home-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-width: 100vw;
  min-height: calc(100vh - var(--navbar-height));
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
}

.home-icon {
  width: 40vw;
  min-width: 400px;
  z-index: 111;
}

.demo {
  padding: 100px 0;
  background: var(--darker);
  position: relative;
  height: calc(100vh - var(--navbar-height));
}

.demo .container {
  height: 100%;
  position: relative;
}

.demo .swiper {
  height: 100%;
  width: 100%;
  margin-top: 20px;
}

.demo .demo-slide-container {
  height: 100%;
  width: 1000px;
}

.demo .swiper-slide > .slide-title {
  text-align: center;
  margin-bottom: 1vh;
}
.demo .swiper-slide > .picture-container {
  display: grid;
  height: 60vh;
  column-gap: 10px;
  position: relative;
  padding: 10px;
}

.demo .swiper-slide > .picture-container > li {
  height: 100%;
  max-height: 60vh;
  overflow: hidden;

  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}
.demo .swiper-slide > .picture-container > li:hover {
  padding: 0;
}
.demo .swiper-slide > .picture-container > li > img {
  transition: var(--transition);
  border: 3px solid #1784fc;
  border-radius: 4px;
  display: block;
  width: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  transform: scale(1);
}
.demo .swiper-slide > .picture-container > li > img.vertical {
  width: initial;
  height: 100%;
}
.demo .swiper-slide > .picture-container > li:hover > img {
  border: 3px solid #f0a536;
  transform: scale(1);
}

.demo .swiper-slide.slide-special-effects > .picture-container > li > img {
  border: none;
}

.description {
  padding-top: var(--navbar-height);
  background: var(--darker);
  position: relative;
}

.description > section {
  padding-top: 100px;
  height: calc(100vh - var(--navbar-height));
  position: relative;
}

.description > section > .container {
  z-index: 1;
  position: relative;
}

.description .title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 50px;
  color: #000000;
}

.description .title::after {
  content: '';
  background-image: url(../static/description/img_2.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.business-section .title {
  color: #000000;
}
.business-section .business-text {
  margin-top: 40px;
  font-family: Adobe Heiti Std;
  font-weight: normal;
  font-size: 30px;
  color: #000000;
}
.business-section .diamond {
  background-image: url(../static/description/img_2.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.business-section .business-png {
  display: block;
  width: 70%;
  object-fit: contain;
  object-position: center;
  position: relative;
  margin: 80px auto 0;
  left: 0;
  right: 0;
}

.partner-items {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  row-gap: 40px;
}
.partner-items .partner-item {
  width: 220px;
  height: 90px;
  background: #fad432;
  box-shadow: 0px 4px 0px 0px #888888;
  border-radius: 20px;
  position: relative;
  padding: 16px 30px;
}
.partner-items .partner-item.has-url {
  cursor: pointer;
  opacity: 0.8;
}

.partner-items .partner-icon {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}

.partner-section .partner-footer {
  position: relative;
  margin: 60px auto 0;
  width: 50vw;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #000000;
}

.team-section .title {
  color: #ffc001;
}

.team-section .content {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  height: 400px;
  gap: 63px;
}

.team-section .brief {
  font-size: 30px;
  color: #000000;
  background: #ffffff;
  box-shadow: 0px 14px 0px 0px #ffc001;
  border-radius: 40px;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
}
.team-section .brief .personnel {
  margin-bottom: 80px;
}
.team-section .brief .yellow {
  color: #ffc001;
}

.team-section .project {
  flex: 1;
  background: #000000;
  box-shadow: 0px 14px 0px 0px #2d71c2;
  border-radius: 40px;
  padding: 40px 40px;
}
.team-section .project h3 {
  line-height: 1;
  border-radius: 42px;
  font-family: Adobe Heiti Std;
  font-weight: normal;
  font-size: 30px;
  color: #ffffff;
  background: #7171718a;
  padding: 16px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.team-section .project p {
  width: 100%;
  font-family: Adobe Heiti Std;
  font-weight: normal;
  font-size: 18px;
  color: #ffffff;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .home {
    text-align: center;
  }

  .home-content {
    margin: 0 auto;
    padding-top: 60px;
  }

  .home-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 500px;
    margin: 40px auto 0;
  }

  .home-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 0;
  }

  .nav-links {
    display: none;
  }

  .home h1 {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }
}

.footer-bg {
  position: fixed;
  width: 100vw;
  height: 48px;
  bottom: 0;
  left: 0;
  background: url(../static/bg/img_background_2.png);
  background-size: cover;
  z-index: 999;
}

/* 动画效果 */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}
