@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Noto+Sans+KR:wght@400;700&display=swap');

body {
    margin: 0;
    background-color: #0d0d0d;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

#start-screen {
    position: absolute;
    z-index: 10;
    text-align: center;
}

#start-btn {
    background-color: #00ff00;
    color: #000;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

#start-btn:hover {
    background-color: #00cc00;
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.7);
}

.subtitle {
    margin-top: 15px;
    color: #555;
    font-size: 0.9rem;
}

#terminal-window {
    width: 95%;
    max-width: 1100px;
    height: 90vh;
    background-color: #000000;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 0 1px #333;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.terminal-titlebar {
    background-color: #1e1e1e;
    height: 35px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid #333;
    user-select: none;
}

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

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

.close { background-color: #ff5f56; }
.minimize { background-color: #ffbd2e; }
.maximize { background-color: #27c93f; }

.window-title {
    flex: 1;
    text-align: center;
    color: #999;
    font-family: sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-right: 56px;
}

#terminal {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    line-height: 1.2;
    font-size: 1rem;
    color: #cccccc;
}

#terminal::-webkit-scrollbar {
    width: 10px;
}
#terminal::-webkit-scrollbar-track {
    background: #000;
}
#terminal::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 0; 
}

#output {
    white-space: pre-wrap;
    word-break: break-all;
}

.line {
    display: block;
    margin-bottom: 0px;
}

.system { color: #00ff00; }  
.lyric { color: #ffffff; }   
.credit { color: #3b82f6; }  

.line:last-child::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 1.1em;
    background-color: #00ff00;
    vertical-align: text-bottom;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
}

#output:empty::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 1.1em;
    background-color: #00ff00;
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}

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