<template>
  <div class="water-station-content">
    <!-- 左侧统计面板 -->
    <div class="left-panel">
      <div class="left-panel-3d">
        <div class="stats-card">
          <div class="stats-title">圩区统计</div>
          <div class="stats-grid">
            <div class="stat-item">
              <div class="stat-value">18</div>
              <div class="stat-label">骨干河道</div>
            </div>
            <div class="stat-item">
              <div class="stat-value">94</div>
              <div class="stat-label">圩区总数</div>
            </div>
            <div class="stat-item">
              <div class="stat-value">618</div>
              <div class="stat-label">防洪闸</div>
            </div>
            <div class="stat-item">
              <div class="stat-value">560</div>
              <div class="stat-label">排涝站</div>
            </div>
            <div class="stat-item">
              <div class="stat-value">2173.69<span class="stat-unit">m³/s</span></div>
              <div class="stat-label">排涝流量</div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
</script>

<style lang="scss">
.water-station-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

.left-panel {
  position: absolute;
  z-index: 4;
  width: 398px;
  left: 32px;
  top: 180px;
  bottom: 50px;
  perspective: 500px;
  perspective-origin: 50% 50%;
}

.left-panel-3d {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translate3d(0px, 0px, 0px) scaleX(1) scaleY(1) rotateX(0deg) rotateY(6deg) rotateZ(0deg) skewX(0deg) skewY(0deg);
  z-index: 4;
}

.stats-card {
  height: 450px;
  background: rgba(0, 20, 40, 0.8);
  border: 1px solid rgba(48, 220, 255, 0.3);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(48, 220, 255, 0.1);
  padding: 20px;
  pointer-events: auto;
  transform: translateX(-150%);
  opacity: 0;
  
  .stats-title {
    font-size: 20px;
    font-weight: bold;
    color: #30dcff;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(48, 220, 255, 0.3);
    letter-spacing: 4px;
  }
  
  .stats-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(48, 220, 255, 0.05);
    border: 1px solid rgba(48, 220, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    
    &:hover {
      background: rgba(48, 220, 255, 0.1);
      border-color: rgba(48, 220, 255, 0.3);
    }
    
    .stat-value {
      font-size: 28px;
      font-weight: bold;
      color: #30dcff;
      text-shadow: 0 0 10px rgba(48, 220, 255, 0.5);
      
      .stat-unit {
        font-size: 14px;
        margin-left: 4px;
        opacity: 0.8;
      }
    }
    
    .stat-label {
      font-size: 15px;
      color: #a3dcde;
    }
  }
}
</style>
