/* AI运营板块样式 */
.operation-section {
  height: auto;
  background: #18191b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0 64px 0;
  font-family: 'Source Han Sans SC VF', sans-serif;
}

.operation-card {
  background: #23262b;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 95vw;
  margin: 0 auto;
  min-height: 600px;
  height: auto;
  display: flex;
  overflow: hidden;
}

/* 左侧标题区域 */
.operation-title {
  background: #23262b;
  color: white;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  position: relative;
}

.title-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.title-text span {
  font-size: 5vw;
  font-weight: 700;
  font-family: 'Source Han Sans SC VF', sans-serif;
  line-height: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.title-text span:nth-child(1) { animation-delay: 0.1s; }
.title-text span:nth-child(2) { animation-delay: 0.2s; }
.title-text span:nth-child(3) { animation-delay: 0.3s; }
.title-text span:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 右侧内容区域 */
.operation-content {
  flex: 1;
  padding: 1vw;
  display: flex;
  flex-direction: column;
}

/* 标签页容器 */
.tab-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 标签页按钮 */
.tab-buttons {
  display: flex;
  gap: 1vw;
  margin-bottom: 2rem;
  border-bottom: 2px solid #555a60;
  padding-bottom: 1rem;
}

.tab-button {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #b0b0b0;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s ease;
  position: relative;
}

.tab-button:hover {
  color: #ffffff;
  background: #55585c;
}

.tab-button.active {
  color: #ffffff;
  background: #55585c;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  right: 0;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
}

/* 标签页内容 */
.tab-content {
  flex: 1;
  position: relative;
  height: auto;
}

.tab-panel {
  display: none;
  height: auto;
}

.tab-panel.active {
  display: block;
}

/* 六宫格布局 */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1.5rem;
  height: auto;
}

.grid-item {
  background: #23262b;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  height: auto;
}

.grid-item:hover {
  background: #55585C;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-color: #ffffff;
}

.grid-item.clickable {
  cursor: pointer;
}

.grid-item.non-clickable {
  cursor: default;
}

.grid-item.non-clickable:hover {
  background: #55585C;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 图标样式 */
.item-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(100%);
}

/* 标题和描述 */
.item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.item-desc {
  font-size: 0.9rem;
  color: #b0b0b0;
  line-height: 1.4;
  font-weight: 400;
}

/* 独立站运营页面 */
.independent-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  height: auto;
  padding: 1rem;
  align-items: start;
}

.independent-grid-item {
  background: #23262b;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
  cursor: default;
  border: 2px solid transparent;
  position: relative;
  height: auto;
}

.independent-grid-item:hover {
  background: #55585C;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-color: #ffffff;
}

.independent-grid-item .item-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.independent-grid-item .item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.independent-grid-item .item-desc {
  font-size: 0.9rem;
  color: #b0b0b0;
  line-height: 1.4;
  font-weight: 400;
}

/* 工具提示 */
.tooltip {
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .operation-card {
    flex-direction: column;
    min-height: auto;
  }
  
  .operation-title {
    min-width: auto;
    padding: 2rem 1rem;
  }
  
  .title-text span {
    font-size: 2rem;
  }
  
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  
  .independent-grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .tab-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .tab-button {
    border-radius: 8px;
  }
  
  .tab-button.active::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
  }
  
  .operation-content {
    padding: 1rem;
  }
  
  .grid-item {
    padding: 1rem;
  }
} 