* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); min-height: 100vh; color: #fff; } .container { max-width: 1400px; margin: 0 auto; padding: 20px; } header { text-align: center; margin-bottom: 30px; } header h1 { font-size: 2.5rem; margin-bottom: 10px; background: linear-gradient(90deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .subtitle { color: #a0aec0; font-size: 1.1rem; } .built-with { display: inline-block; margin-top: 10px; padding: 5px 15px; background: rgba(102, 126, 234, 0.2); border-radius: 20px; color: #667eea; text-decoration: none; font-size: 0.9rem; transition: all 0.3s ease; } .built-with:hover { background: rgba(102, 126, 234, 0.4); transform: translateY(-2px); } main { display: grid; grid-template-columns: 280px 1fr 280px; gap: 20px; align-items: start; } @media (max-width: 1200px) { main { grid-template-columns: 1fr; } } .controls-panel, .info-panel { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border-radius: 15px; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.1); } .controls-panel h3, .info-panel h3 { margin-bottom: 20px; font-size: 1.2rem; color: #667eea; } .control-group { margin-bottom: 20px; } .control-group label { display: block; margin-bottom: 8px; color: #a0aec0; font-size: 0.9rem; } .time-buttons { display: flex; gap: 5px; } .time-btn { flex: 1; padding: 10px 5px; border: none; border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; transition: all 0.3s ease; font-size: 0.85rem; } .time-btn:hover { background: rgba(102, 126, 234, 0.3); } .time-btn.active { background: linear-gradient(135deg, #667eea, #764ba2); } input[type="range"] { width: 100%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); outline: none; -webkit-appearance: none; } input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); cursor: pointer; } select { width: 100%; padding: 10px; border: none; border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 0.9rem; cursor: pointer; } select option { background: #1a1a2e; color: #fff; } input[type="checkbox"] { margin-right: 10px; width: 18px; height: 18px; cursor: pointer; } .reset-btn { width: 100%; padding: 12px; border: none; border-radius: 8px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; } .reset-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4); } .visualization-container { position: relative; background: rgba(0, 0, 0, 0.3); border-radius: 15px; overflow: hidden; min-height: 600px; } #building-canvas { width: 100%; height: 600px; display: block; } .floor-info { position: absolute; top: 20px; left: 20px; background: rgba(0, 0, 0, 0.7); padding: 10px 20px; border-radius: 10px; display: none; } .floor-info.visible { display: block; } .floor-number { display: block; font-size: 1.2rem; font-weight: bold; color: #667eea; } .floor-type { color: #a0aec0; font-size: 0.9rem; } .shape-indicator { position: absolute; top: 20px; right: 20px; background: rgba(102, 126, 234, 0.8); padding: 10px 20px; border-radius: 10px; font-weight: bold; } .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; } .info-item { background: rgba(255, 255, 255, 0.05); padding: 15px; border-radius: 10px; text-align: center; } .info-label { display: block; color: #a0aec0; font-size: 0.8rem; margin-bottom: 5px; } .info-value { font-size: 1.3rem; font-weight: bold; color: #667eea; } .shape-preview { background: rgba(255, 255, 255, 0.05); padding: 15px; border-radius: 10px; margin-bottom: 20px; } .shape-preview h4 { margin-bottom: 10px; color: #a0aec0; font-size: 0.95rem; } #shape-preview-canvas { width: 100%; height: 150px; background: rgba(0, 0, 0, 0.3); border-radius: 8px; } .floor-legend h4 { margin-bottom: 15px; color: #a0aec0; font-size: 0.95rem; } .legend-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.85rem; color: #cbd5e0; } .legend-color { width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0; } footer { text-align: center; margin-top: 30px; color: #a0aec0; font-size: 0.9rem; } /* Animations */ @keyframes glow { 0%, 100% { box-shadow: 0 0 5px rgba(102, 126, 234, 0.5); } 50% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.8); } } .visualization-container:hover { animation: glow 2s ease-in-out infinite; }