@font-face {
    font-family: 'ProggyTiny';
    src: url('ProggyTiny.ttf') format('truetype');
}

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

body {
    background: #000;
    color: #fff;
    font-family: 'ProggyTiny', 'Courier New', monospace;
    font-size: 20px;
    line-height: 1.5;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.terminal {
    width: 100vw;
    height: 100vh;
    background: #000;
}

.terminal-header {
    display: none;
}

.terminal-title {
    display: none;
}

.terminal-controls {
    display: none;
}

.control {
    display: none;
}

.control:hover {
    display: none;
}

.terminal-body {
    padding: 30px;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ascii-art {
    color: #888;
    white-space: pre;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.3;
}

.info {
    margin-bottom: 30px;
    font-size: 16px;
    color: #888;
}

.separator {
    display: none;
}

.header {
    width: 100%;
    max-width: 600px;
}

.menu {
    width: 100%;
    max-width: 600px;
}

.menu-title {
    margin-bottom: 20px;
    font-size: 18px;
    color: #888;
}

.menu-options {
    margin-bottom: 25px;
    font-size: 16px;
    color: #666;
}

.input-line {
    margin: 15px 0;
    font-size: 20px;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'ProggyTiny', 'Courier New', monospace;
    font-size: 20px;
    outline: none;
    padding: 4px 8px;
    border-bottom: 2px solid #444;
    margin-left: 5px;
}

.terminal-input.full-width {
    width: 100%;
    margin-top: 5px;
    margin-left: 0;
}

.terminal-input:focus {
    border-bottom-color: #ff00ff;
}

.button-group {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.terminal-button {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    padding: 12px 32px;
    font-family: 'ProggyTiny', 'Courier New', monospace;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.terminal-button:hover {
    border-color: #888;
    color: #fff;
}

.terminal-button.gray-btn {
    border-color: #333;
    color: #666;
}

.terminal-button.gray-btn:hover {
    border-color: #666;
    color: #888;
}

.hidden {
    display: none !important;
}

.logs {
    margin-top: 20px;
    font-size: 16px;
    width: 100%;
    max-width: 800px;
    text-align: left;
}

.log-entry {
    margin: 3px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.log-entry.info {
    color: #888;
}

.log-entry.success {
    color: #aaa;
}

.log-entry.warn {
    color: #999;
}

.log-entry.error {
    color: #666;
}

.cursor {
    display: none;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.purple { color: #888; }
.cyan { color: #888; }
.gray { color: #666; }
.green { color: #888; }
.yellow { color: #888; }
.red { color: #666; }

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.popup-modal {
    background: #0a0a0a;
    border: 1px solid #333;
    padding: 40px;
    min-width: 500px;
    max-width: 80vw;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-modal {
    transform: scale(1);
    opacity: 1;
}

.popup-title {
    color: #888;
    font-size: 18px;
    margin-bottom: 25px;
    text-align: center;
}

.popup-input {
    width: 100%;
    background: transparent;
    border: 1px solid #333;
    color: #888;
    font-family: 'ProggyTiny', 'Courier New', monospace;
    font-size: 16px;
    padding: 12px;
    outline: none;
    margin-bottom: 25px;
    text-align: center;
}

.popup-input:focus {
    border-color: #555;
    color: #fff;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0px 1000px #0a0a0a inset;
    transition: background-color 5000s ease-in-out 0s;
}
