<template>
  <footer class="footer">
    <!-- 背景图片容器 -->
    <div class="footer-background"></div>

    <div class="footer-content">
      <div class="robot-container">
        <div class="robot-item">
          <div class="robot-placeholder"></div>
          <div class="robot-label">膳食营养AI监管员</div>
        </div>
        <div class="robot-item">
          <div class="robot-placeholder"></div>
          <div class="robot-label">消防安全AI监管员</div>
        </div>
        <div class="robot-item">
          <div class="robot-placeholder"></div>
          <div class="robot-label">津贴补贴AI审核员</div>
        </div>
        <div class="robot-item">
          <div class="robot-placeholder"></div>
          <div class="robot-label">居家服务AI调度员</div>
        </div>
        <div class="robot-item">
          <div class="robot-placeholder"></div>
          <div class="robot-label">家属沟通AI联络员</div>
        </div>
        <div class="robot-item">
          <div class="robot-placeholder"></div>
          <div class="robot-label">AI协同调度监管员</div>
        </div>
        <div class="robot-item">
          <div class="robot-placeholder"></div>
          <div class="robot-label">廉政风险AI监督员</div>
        </div>
      </div>
    </div>
  </footer>
</template>

<script setup lang="ts">
// Footer组件
</script>

<style lang="scss" scoped>
// SCSS变量定义
$footer-height: 218.62px;
$robot-height: 93.9px;
$neon-cyan: #78fee0;
$transition-speed: 0.3s ease;

.footer {
  height: $footer-height;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;

  // 背景图片容器
  .footer-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 280px;
    background: url('@/assets/images/footer_bg.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 1;
  }

  // 内容容器
  .footer-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    justify-content: center;

    // 机器人容器
    .robot-container {
      display: flex;
      gap: 40px;
      align-items: flex-end;
      padding-bottom: 23px;

      // 机器人项
      .robot-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 204px;
        height: 144px;

        // 机器人占位符
        .robot-placeholder {
          width: 88px;
          height: $robot-height;
          background: rgba(0, 255, 230, 0.2);
          border: 1px solid $neon-cyan;
          border-radius: 8px;
          display: flex;
          align-items: center;
          justify-content: center;

          &:after {
            content: '机器人';
            color: $neon-cyan;
            font-size: 14px;
          }
        }

        // 机器人标签
        .robot-label {
          color: $neon-cyan;
          font-size: 24px;
          line-height: 42px;
          text-align: center;
          white-space: nowrap;
        }
      }
    }
  }
}
</style>
