* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'VT323', monospace; 
}

body { 
    background-color: #000; 
    color: #00ff00; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

/*ТЕРМИНАЛ*/
.terminal-window { 
    background: rgba(5, 10, 5, 0.75); 
    border: 2px solid #00ff00; 
    width: 100%; 
    max-width: 700px; 
    height: 70vh; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2), 10px 10px 0px rgba(0, 255, 0, 0.4);
}

.terminal-header { 
    background: rgba(0, 34, 0, 0.9); 
    padding: 10px 15px; 
    border-bottom: 2px solid #00ff00; 
    display: flex; 
}

.dot { 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    margin-right: 8px; 
}

.dot.red { background: #ff5f56; } 
.dot.yellow { background: #ffbd2e; } 
.dot.green { background: #27c93f; }

.terminal-body { 
    flex: 1; 
    padding: 20px; 
    overflow-y: auto; 
    font-size: 22px; 
}

.terminal-input-line { 
    display: flex; 
    padding: 15px; 
    border-top: 2px dashed #00ff00; 
}

#terminal-input { 
    background: transparent; 
    border: none; 
    outline: none; 
    color: #00ff00; 
    font-size: 22px; 
    flex: 1; 
}

.highlight { 
    color: #000; 
    background: #00ff00; 
    padding: 0 4px; 
}

/*БОКОВЫЕ ПАНЕЛИ*/
.side-panel {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(5, 10, 5, 0.6);
    padding: 15px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.1);
    border-radius: 5px;
    opacity: 0;
    pointer-events: none; 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 80vh;
    z-index: 10;
}

.left-panel { transform: translateX(-50px); }
.right-panel { transform: translateX(50px); }

.side-panel.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.panel-title {
    font-size: 24px;
    border-bottom: 2px solid #00ff00;
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #00ff00;
}

#left-content, #right-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
    padding: 5px 15px 5px 5px; 
}

/* Кнопки */
.btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    font-size: 20px;
    color: #00ff00;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #00ff00;
    text-decoration: none;
    box-shadow: 4px 4px 0px rgba(0, 255, 0, 0.5); 
    transition: all 0.1s;
}

.btn:hover {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px #00ff00;
    background: #003300;
    color: #fff;
}

.btn i { font-size: 24px; color: inherit; }

/* Инфо-блоки */
.info-block {
    border: 2px dashed #00ff00;
    padding: 15px;
    background: rgba(0, 30, 0, 0.6);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    animation: slideInRight 0.4s ease-out;
}

.info-block h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #00ff00;
}

.info-block p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 5px;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    background: #000;
}

@media (max-width: 900px) {
    body {
        flex-direction: column; 
        padding: 0;
    }
    .terminal-window {
        width: 100%;
        max-width: 100%;
        height: 80vh;
        margin: 0;
    }
    .side-panel {
        display: none;
        width: 100%;
        margin-top: 10px;
    }
    .side-panel.show {
        display: flex;
        height: 50vh;
    }
}
