* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460, #1a1a2e);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.footer {
  text-align: center;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  width: 100%;
  margin-top: auto;
  z-index: 10;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 25%),
              radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 15%),
              radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 15%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(0.5deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(3px) rotate(-0.5deg);
  }
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #4a90e2;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #357abd;
}

::-webkit-scrollbar-corner {
  background: #1e1e1e;
}

#app {
  width: 1400px;
  margin: 30px auto 0;
  background-color: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#app .mian-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  padding-bottom: 25px;
  border-bottom: 2px solid #4a90e2;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#app .tab-content {
  padding-bottom: 20px;
}

#app .card-box {
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(5px);
  overflow: hidden;
  color: #e0e0e0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  padding: 25px;
  margin-top: 25px;
  white-space: initial;
  position: relative;
}

#app .card-box:hover {
  box-shadow: 0 5px 25px rgba(74, 144, 226, 0.3);
  transform: translateY(-2px);
  border-color: rgba(74, 144, 226, 0.5);
}

#app .card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #4a90e2, #357abd);
}

#app .card-box .title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

#app .card-box .title::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-left: 15px;
}

#app .card-box .item-warp {
  width: fit-content;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-left: 0;
}

#app .card-box .serve-box {
  margin: 0 20px 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 160px;
  padding: 25px 15px;
  cursor: pointer;
  display: inline-block;
  background-color: rgba(45, 55, 72, 0.8);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#app .card-box .serve-box:hover {
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
  transform: translateY(-3px);
  border-color: rgba(74, 144, 226, 0.6);
  background-color: rgba(55, 65, 82, 0.9);
}

#app .card-box .serve-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #4a90e2, #357abd);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

#app .card-box .serve-box:hover::before {
  transform: scaleX(1);
}

#app .card-box .serve-box img {
  height: 65px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

#app .card-box .serve-box:hover img {
  transform: scale(1.05);
}

#app .card-box .serve-box .item-tit {
  font-size: 13px;
  color: #e0e0e0;
  font-weight: 600;
  line-height: 1.4;
}

#mobile {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  margin: 20px;
}

#mobile .mian-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 15px 0;
  color: #1a1a1a;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#mobile .serve-box {
  margin: 0 15px 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  text-align: center;
  padding: 20px 10px;
  cursor: pointer;
  display: inline-block;
  background-color: #ffffff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#mobile .serve-box:hover {
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
  transform: translateY(-2px);
  border-color: #4a90e2;
}

#mobile .serve-box .item-tit {
  font-size: 14px;
  line-height: 30px;
  color: #333333;
  font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 1440px) {
  #app {
    width: 95%;
    margin: 20px auto;
  }
}

@media (max-width: 768px) {
  #app {
    padding: 20px;
  }
  
  #app .mian-title {
    font-size: 24px;
    padding-bottom: 20px;
  }
  
  #app .card-box {
    padding: 20px;
  }
  
  #app .card-box .serve-box {
    width: 140px;
    margin: 0 15px 15px 0;
  }
}

/* 加载动画 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.loading {
  animation: pulse 1.5s infinite;
}
