* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: url('https://hebbkx1anhila5yf.public.blob.vercel-storage.com/%E6%99%BA%E6%85%A7%E4%BE%9B%E9%94%8000%20%281%29.png-BsNo7nlhDqHQntu21Sk7dheneNQT9b.jpeg') center center / cover no-repeat fixed;
    background-color: #0a2e2e;
    color: #00ffcc;
    overflow: hidden;
    height: 100vh;
}

/* 顶部导航 */
.top-header {
    height: 60px;
    background: linear-gradient(180deg, rgba(0, 50, 50, 0.9) 0%, rgba(0, 80, 80, 0.7) 100%);
    border-bottom: 2px solid #00ffcc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: relative;
}

.top-header::before,
.top-header::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 204, 0.1));
    pointer-events: none;
}

.top-header::before {
    left: 0;
    transform: skewX(-20deg);
}

.top-header::after {
    right: 0;
    transform: skewX(20deg);
}

.header-left,
.header-right {
    display: flex;
    gap: 40px;
    z-index: 10;
}

.nav-item {
    color: #00ffcc;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.nav-item:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 255, 204, 1);
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.main-title {
    font-size: 32px;
    font-weight: bold;
    color: #00ffcc;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.8);
    letter-spacing: 4px;
}

/* 主体容器 */
.main-container {
    display: flex;
    height: calc(100vh - 60px);
    padding: 10px;
    gap: 10px;
}

/* 左侧面板 */
.left-panel {
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 中间面板 */
.center-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 右侧面板 */
.right-panel {
    width: 420px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 通用面板样式 */
.panel {
    background: rgba(0, 50, 50, 0.85);
    border: 1px solid #00ffcc;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
    position: relative;
}

.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffcc, transparent);
}

.panel-title {
    color: #00ffcc;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.title-icon {
    color: #00ff88;
    font-size: 12px;
}

/* 日期时间天气 */
.datetime-weather {
    background: rgba(0, 50, 50, 0.85);
    border: 1px solid #00ffcc;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

.datetime-info {
    margin-bottom: 15px;
}

.date-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: #00ffcc;
}

.label {
    font-size: 14px;
}

.value {
    font-size: 16px;
}

.temp {
    font-size: 28px;
    font-weight: bold;
}

.weather-desc {
    font-size: 14px;
    color: #00ccaa;
}

.time {
    font-size: 16px;
}

.weather-range {
    font-size: 14px;
}

.calendar-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 204, 0.2);
    border: 1px solid #00ffcc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.weather-forecast {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 5px;
}

.forecast-item {
    text-align: center;
    padding: 5px 2px;
    background: rgba(0, 100, 100, 0.3);
    border-radius: 4px;
}

.weather-icon {
    font-size: 20px;
    margin-bottom: 3px;
}

.forecast-temp {
    font-size: 10px;
    color: #00ffcc;
    margin-bottom: 2px;
}

.forecast-date {
    font-size: 9px;
    color: #00ccaa;
}

/* 土壤监测 */
.soil-monitoring {
    flex: 1;
}

.chart-container {
    height: 180px;
    margin-bottom: 15px;
}

.soil-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.indicator-item {
    background: rgba(0, 100, 100, 0.4);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 4px;
    padding: 10px;
    text-align: center;
}

.indicator-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.indicator-label {
    font-size: 12px;
    color: #00ccaa;
    margin-bottom: 5px;
}

.indicator-value {
    font-size: 14px;
    font-weight: bold;
    color: #00ffcc;
}

/* 虫害监测 */
.pest-monitoring {
    height: 200px;
}

.pest-items {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.pest-item {
    background: rgba(0, 100, 100, 0.4);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 50%;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pest-icon {
    font-size: 28px;
    margin-bottom: 5px;
}

.pest-name {
    font-size: 12px;
    color: #00ccaa;
    margin-bottom: 3px;
}

.pest-count {
    font-size: 14px;
    font-weight: bold;
    color: #00ffcc;
}

/* 无人机地图 */
.drone-map {
    flex: 1;
}

.map-container {
    height: calc(100% - 40px);
    background: rgba(0, 30, 30, 0.6);
    border-radius: 4px;
    position: relative;
}

/* 中间区域 */
.status-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
}

.status-item {
    background: rgba(0, 80, 80, 0.6);
    border: 1px solid #00ffcc;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-item .icon {
    font-size: 24px;
}

.status-item .label {
    font-size: 14px;
    color: #00ccaa;
}

.status-item .value {
    font-size: 20px;
    font-weight: bold;
    color: #00ffcc;
    margin-left: auto;
}

.status-item .unit {
    font-size: 14px;
    color: #00ccaa;
}

.main-view {
    flex: 1;
    position: relative;
    background: url('/placeholder.svg?height=600&width=1000') center center / cover no-repeat;
    border: 1px solid #00ffcc;
    border-radius: 8px;
    overflow: hidden;
}

.drone-indicator {
    position: absolute;
    top: 40%;
    left: 35%;
    background: rgba(0, 100, 100, 0.9);
    border: 2px solid #00ffcc;
    border-radius: 8px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.drone-icon {
    font-size: 32px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.drone-label {
    font-size: 18px;
    color: #00ffcc;
    font-weight: bold;
}

.bottom-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    height: 250px;
}

.stats-panel,
.chart-panel {
    height: 100%;
}

.stats-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100% - 40px);
    overflow-y: auto;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(0, 100, 100, 0.3);
    border-left: 3px solid #00ffcc;
    border-radius: 4px;
}

.stats-label {
    color: #00ccaa;
    font-size: 14px;
}

.stats-value {
    color: #00ffcc;
    font-size: 14px;
    font-weight: bold;
}

.bar-chart-container {
    height: calc(100% - 40px);
}

/* 右侧面板 */
.monitoring-panel {
    height: 280px;
}

.monitoring-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    height: calc(100% - 40px);
}

.monitor-item {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 204, 0.3);
}

.monitor-item.large {
    grid-row: span 2;
}

.monitor-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-panel {
    height: 300px;
}

.expert-badge {
    margin-left: auto;
    background: rgba(255, 200, 0, 0.8);
    color: #000;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
}

.expert-video {
    height: calc(100% - 40px);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 204, 0.3);
}

.expert-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.finance-panel {
    flex: 1;
}

.finance-marquee {
    height: calc(100% - 40px);
    overflow: hidden;
    position: relative;
    background: rgba(0, 30, 30, 0.6);
    border-radius: 4px;
    padding: 10px;
}

.marquee-content {
    animation: marquee 20s linear infinite;
}

.marquee-content p {
    margin: 10px 0;
    color: #ffcc00;
    font-size: 13px;
    line-height: 1.6;
}

@keyframes marquee {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 50, 50, 0.3);
}

::-webkit-scrollbar-thumb {
    background: #00ffcc;
    border-radius: 3px;
}
