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

body {
    background: #000000;
    font-family: 'Courier New', monospace;
    color: #b3adad;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

a {
    color: #b3adad;
    text-decoration: underline;
}

a:hover {
    color: #928d8d;
    text-decoration: none;
}

.terminal-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-radius: 14px;
    background: rgba(10, 8, 12, 0.28);
    -webkit-backdrop-filter: blur(16px) saturate(1.05);
    backdrop-filter: blur(16px) saturate(1.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(2, 6, 10, 0.6), 0 2px 0 rgba(255, 255, 255, 0.02) inset;
}

.terminal-container::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 18px;
    pointer-events: none;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.18);
    z-index: 0;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.terminal-title {
    color: #3b82f6;
    font-size: 14px;
    font-weight: bold;
}

.buttons {
    display: flex;
    gap: 8px;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn.close {
    background: #ff5f56;
}

.btn.minimize {
    background: #ffbd2e;
}

.btn.maximize {
    background: #27c93f;
}

.terminal {
    flex: auto;
    overflow-y: auto;
    padding: 8px 0;
    margin-bottom: 10px;
}

.terminal::-webkit-scrollbar {
    width: 8px;
}

.terminal::-webkit-scrollbar-track {
    background: #0a0e14;
}

.terminal::-webkit-scrollbar-thumb {
    background: #1c252c;
    border-radius: 4px;
}

.prompt {
    color: #b3adad;
}

.command {
    color: #60a5fa;
}

.error {
    color: #60a5fa;
}

.success {
    color: #c3e88d;
}

.info {
    color: #b3adad;
}

.line {
    margin-bottom: 5px;
    line-height: 1.5;
}

.tree-prefix {
    color: #6b7280;
}

.tree-name {
    padding-left: 0.2rem;
}

.tree-level-0 .tree-name {
    color: #93c5fd;
}

.tree-level-1 .tree-name {
    color: #60a5fa;
}

.tree-level-2 .tree-name {
    color: #7dd3fc;
}

.tree-level-3 .tree-name {
    color: #67e8f9;
}

.tree-level-4 .tree-name {
    color: #c3e88d;
}

.tree-file.tree-level-0 .tree-name,
.tree-file.tree-level-1 .tree-name,
.tree-file.tree-level-2 .tree-name,
.tree-file.tree-level-3 .tree-name,
.tree-file.tree-level-4 .tree-name {
    color: #b3adad;
}

.prompt-symbol {
    color: #3b82f6;
    font-weight: bold;
}

.user {
    color: #93c5fd;
}

.at {
    color: #b3adad;
}

.host {
    color: #2563eb;
}

.path {
    color: #3b82f6;
}

#command-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.sudo-password-input {
    background: transparent;
    border: none;
    outline: none;
    color: transparent;
    caret-color: transparent;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #60a5fa;
    animation: blink 1s infinite;
}

.ascii-art {
    color: #3b82f6;
    font-family: 'DejaVu Sans Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: 0.6px;
    font-variant-ligatures: none;
    white-space: pre;
}

.ascii-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.ascii-info {
    color: #b3adad;
    display: flex;
    flex-direction: column;
    min-width: 260px;
}

.ascii-info .info-top {
    color: #93c5fd;
    font-weight: 700;
    margin-bottom: 8px;
}

.ascii-info .info-line {
    margin-bottom: 4px;
}

.color-palette {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.color-palette .sw {
    width: 22px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
}

.color-palette .c1 {
    background: #a80000;
}

.color-palette .c2 {
    background: #d97300;
}

.color-palette .c3 {
    background: #d9d100;
}

.color-palette .c4 {
    background: #2fb84b;
}

.color-palette .c5 {
    background: #3b82f6;
}

.color-palette .c6 {
    background: #8b5cf6;
}

.color-palette .c7 {
    background: #14b8a6;
}

.color-palette .c8 {
    background: #9ca3af;
}


#bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.92;
    pointer-events: none;
}

.bg-tint {
    position: fixed;
    inset: 0;
    background: rgba(10, 6, 6, 0.18);
    z-index: -1;
    pointer-events: none;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@supports not ((-webkit-backdrop-filter: blur(16px)) or (backdrop-filter: blur(16px))) {
    .terminal-container {
        background: rgba(10, 6, 6, 0.4);
    }
}