/* 旋转特性模块 CSS */
.rotating-features-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  overflow: hidden;
}

.rotating-features-container {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.rotating-features-center {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.rotating-features-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rotating-feature-item {
  position: absolute;
  width: 160px;
  height: 160px;
  background-color: transparent;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  text-align: center;
  transition: filter 0.3s ease;
}

.rotating-feature-item:hover {
  filter: brightness(1.2);
}

.rotating-feature-icon {
  width: 60px;
  height: 60px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.rotating-feature-icon span {
  font-size: 36px;
  color: white;
}

.rotating-feature-title {
  font-weight: bold;
  margin-bottom: 5px;
  color: white;
}

.rotating-feature-description {
  font-size: 14px;
  color: white;
  line-height: 1.4;
}

/* 媒体查询 - 小屏幕布局 */
@media (max-width: 991px) {
  .rotating-features-container {
    height: auto;
    min-height: 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 150px; /* 为中心logo留出空间 */
  }
  
  .rotating-features-center {
    top: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 50px;
  }
  
  .rotating-feature-item {
    position: relative;
    margin: 15px;
    transform: none !important; /* 覆盖JS设置的transform */
    width: calc(50% - 30px); /* 每行两个项目 */
    max-width: 160px;
    height: auto;
    min-height: 160px;
  }
  
  /* 确保描述文本在小屏幕上可见 */
  .rotating-feature-description {
    display: block;
    max-height: none;
    overflow: visible;
  }
}

/* 更小的屏幕上每行只显示一个项目 */
@media (max-width: 576px) {
  .rotating-feature-item {
    width: calc(100% - 30px);
    max-width: 200px;
  }
} 