:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

html {
  height: 100%;
}

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-image: url("../images/bg.jpg");
  background-size: cover;
  height: 100%;
}
.fSize-14 {
  font-size: 14px;
}
.bg-customs {
  background: #e3e7ff;
  padding: 0.5rem;
  /* color: #fff; */
  width: 75%;
  border-left: 4px solid #673ab7;
}
.bg-customs strong {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}
.h-58 {
  height: 58%;
}

.h-70 {
  height: 70%;
}

.h-80 {
  height: 80%;
}

.h-90 {
  height: 90%;
}

.hero-section {
  text-align: center;
  color: white;
  padding: 3rem 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
}

.template-grid {
  height: 100%;
  width: 100%;
  padding-top: 1rem;
}

.template-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  /* height: 94%; */
  width: 100%;
  height: 100%;
  background: white;
}

.template-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.template-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-enter {
  background: var(--primary-gradient);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  color: white;
}

.btn-enter:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.card-icon {
  font-size: 3rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  height: 240px;
  overflow: overlay;
  margin-bottom: 0.5rem;
}

.feature-list li {
  padding: 0.5rem 0;
  color: #6c757d;
}

.feature-list i {
  color: #667eea;
  margin-right: 0.5rem;
}

.webTitleTab ul .nav-link {
  color: #ffffff;
  opacity: 0.8;
}
.webTitleTab ul .nav-link small {
  font-size: 12px;
}

.webTitleTab ul .nav-link.active {
  color: #ffffff;
  opacity: 1;
  font-weight: 600;
  border: 1px #fff solid;
  border-radius: 5px;
  /* font-size: 18px; */
}

.webTitleTab ul .nav-link:hover {
  color: #ffffff;
  opacity: 1;
}
.webTab ul .nav-item {
  margin: 0 0.5rem;
}
.webTab ul .nav-link {
  color: #ffffff;
  opacity: 0.8;
}

.webTab ul .nav-link.active {
  color: #7452ac;
  opacity: 1;
  font-weight: 600;
  border: 1px #fff solid;
  border-radius: 20px;
  background: #fff;
  transition: all 0.3s ease;
}

.webTab ul .nav-link:hover {
  opacity: 1;
}

.vertical-swiper {
  display: flex;
}

/* 轮播容器样式 */
.vertical-swiper-container {
  width: 100%;
  /* 限制最大宽度 */
  height: 500px;
  /* 轮播高度 */
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* 轮播-slide样式 */
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
}

/* 自定义箭头图标 */
.custom-swiper-icon {
  font-size: 1.5rem;
  color: white;
}

/* 分页器样式（垂直排列） */
.swiper-pagination {
  transform: translateY(-0%) !important;
  width: auto !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  margin-left: 10px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  width: 12px;
  height: 36px;
  border-radius: 6px;
  background-color: white;
}
.swHtmlContent {
  max-width: 100%;
  height: 70vh;
  overflow-y: auto;
  text-align: left;
  padding: 0 10px;
}
.marginTRDL {
  margin: 4px 0 4px 20px;
}
.urlClass {
  padding: 0.75rem;
  width: 60%;
  display: flex;
  cursor: pointer;
  color: #667eea;
  text-decoration: none;
  font-size: 14px;
}

.urlClass:hover {
  background: linear-gradient(135deg, #764ba2 10%, #667eea 100%);
  text-decoration: none;
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.updateTime {
  padding: 0.5rem;
  color: #ababab;
  font-size: 12px;
}
.noURL {
  margin: 4px 0 4px 20px;
  color: #6c757d;
  padding: 0.5rem;
}
.color-33 {
  color: #333;
}
/* 自定义滚动条样式 */
.feature-list::-webkit-scrollbar,
.swHtmlContent::-webkit-scrollbar {
  width: 10px;
}

.feature-list::-webkit-scrollbar-track,
.swHtmlContent::-webkit-scrollbar-track {
  border-radius: 5px;
}

.feature-list::-webkit-scrollbar-thumb,
.swHtmlContent::-webkit-scrollbar-thumb {
  background: #5869c9;
  border-radius: 5px;
}

.feature-list::-webkit-scrollbar-thumb:hover,
.swHtmlContent::-webkit-scrollbar-thumb:hover {
  background: #3f51b5;
}
/* 语言切换按钮样式 */
.lang-switch {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 8px 15px;
  color: #3f51b5;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.lang-switch i {
  margin-left: 5px;
}
