:root {
    --bg-color: #050a30;
    --panel-bg: rgba(10, 20, 60, 0.4);
    --border-color: #1e3c72;
    --accent-cyan: #00f0ff;
    --accent-purple: #7000ff;
    --text-primary: #ffffff;
    --text-secondary: #8beaff;
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 50% 50%, #0d1a40 0%, #050a30 100%);
    color: var(--text-primary);
    font-family: var(--font-family);
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    height: 70px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 240, 255, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-title {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 5px;
    background: linear-gradient(to bottom, #fff 0%, #00f0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    /* standard property */
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.header-time {
    position: absolute;
    right: 30px;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    color: var(--accent-cyan);
}

/* Layout */
.main-container {
    flex: 1;
    display: flex;
    padding: 15px;
    gap: 15px;
    overflow: hidden;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.left-column {
    flex: 25;
}

.center-column {
    flex: 50;
}

.right-column {
    flex: 25;
}

/* Panels */
.panel-box {
    flex: 1;
    background: var(--panel-bg);
    border: 1px solid rgba(0, 240, 255, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3) inset;
}

/* Tech Corners */
.panel-box::before,
.panel-box::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid var(--accent-cyan);
    transition: all 0.3s;
}

.panel-box::before {
    top: -1px;
    left: -1px;
    border-right: 0;
    border-bottom: 0;
}

.panel-box::after {
    bottom: -1px;
    right: -1px;
    border-left: 0;
    border-top: 0;
}

.panel-title {
    font-size: 16px;
    color: var(--text-secondary);
    border-left: 4px solid var(--accent-cyan);
    padding-left: 10px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), transparent);
}

.panel-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* Center Stats */
.center-stats {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.stat-item {
    text-align: center;
    background: rgba(0, 240, 255, 0.05);
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.stat-label {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    font-family: 'Impact', sans-serif;
}

.stat-value .unit {
    font-size: 12px;
    color: var(--accent-cyan);
    font-weight: normal;
}

/* Map */
.map-container {
    flex: 2;
    border: 1px solid rgba(0, 240, 255, 0.1);
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    position: relative;
}

/* Center Bottom Panel */
.center-bottom-panel {
    height: 180px;
    background: var(--panel-bg);
    border-top: 2px solid var(--accent-purple);
    padding: 15px;
}

.panel-sub-title {
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}

.project-progress-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.progress-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #ccc;
}

.progress-name {
    width: 100px;
}

.progress-bar-bg {
    flex: 1;
    height: 8px;
    background: #111;
    margin: 0 10px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 4px;
}

.progress-value {
    width: 40px;
    text-align: right;
}

/* Table */
.project-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    color: #ccc;
}

.project-table th {
    background: rgba(0, 240, 255, 0.1);
    padding: 8px;
    text-align: left;
    color: var(--accent-cyan);
}

.project-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-badge {
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
}

.status-active {
    background: rgba(0, 255, 100, 0.2);
    color: #00ff66;
}

.status-building {
    background: rgba(255, 200, 0, 0.2);
    color: #ffcc00;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 2px;
}

::-webkit-scrollbar-track {
    background: transparent;
}