/* Path: assets/css/style.css */

:root { 
    --blue-neon: #3b82f6; 
    --bg-dark: #020617;
    --glass-bg: rgba(30, 58, 138, 0.35); /* Blue 900 base */
}

/* Base Styles */
body { 
    font-family: 'Noto Sans TC', sans-serif; 
    background-color: var(--bg-dark);
    color: #e2e8f0;
}

.tech-font { 
    font-family: 'Orbitron', sans-serif; 
    letter-spacing: 0.05em; 
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(30, 58, 138, 0.5);
}

/* Map Grid Overlay */
.map-grid-overlay {
    position: absolute;
    inset: 0;
    /* 藍色網格線 */
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 5;
}

/* Lidar/Sensor Pins */
.sensor-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
}

.sensor-pin:hover {
    transform: translate(-50%, -60%) scale(1.2);
    z-index: 30;
}

.sensor-icon {
    width: 32px; height: 32px;
    background: #0f172a;
    border: 2px solid var(--blue-neon);
    border-radius: 4px; /* 方形代表硬體設備 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 15px var(--blue-neon);
}

.sensor-label {
    margin-top: 4px;
    background: rgba(0,0,0,0.85);
    color: var(--blue-neon);
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 2px;
    white-space: nowrap;
    text-align: center;
    font-family: monospace;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Scrollbar */
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.3); border-radius: 2px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(59, 130, 246, 0.8); }

/* LiSA Response Card */
.lisa-response-card {
    background: rgba(30, 58, 138, 0.9);
    backdrop-filter: blur(30px);
    border: 3px solid var(--blue-neon);
    box-shadow: 0 0 100px rgba(59, 130, 246, 0.2);
    border-radius: 2rem;
}

@keyframes radar-glow {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}