/* 终端风格样式 - 黑底绿字 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #00ff00;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 16px;
    line-height: 1.4;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #111111;
    border: 2px solid #00ff00;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

h1 {
    color: #00ff00;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    border-bottom: 2px solid #00ff00;
    padding-bottom: 15px;
}

.display-panel {
    margin-bottom: 30px;
}

.display-textarea {
    width: 100%;
    min-height: 120px;
    background-color: #000000;
    color: #00ff00;
    border: 2px solid #00ff00;
    border-radius: 4px;
    padding: 20px;
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 18px;
    line-height: 1.6;
    box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.2);
    overflow-y: auto;
    transition: all 0.3s ease;
}

/* 闪烁动画效果 */
.display-textarea.flash {
    animation: flashEffect 0.6s ease-in-out;
}

@keyframes flashEffect {
    0% {
        background-color: #000000;
        border-color: #00ff00;
        box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.2);
    }
    25% {
        background-color: #001100;
        border-color: #00ff00;
        box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.6), 0 0 30px rgba(0, 255, 0, 0.4);
    }
    50% {
        background-color: #002200;
        border-color: #00ff00;
        box-shadow: inset 0 0 25px rgba(0, 255, 0, 0.8), 0 0 40px rgba(0, 255, 0, 0.6);
    }
    75% {
        background-color: #001100;
        border-color: #00ff00;
        box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.6), 0 0 30px rgba(0, 255, 0, 0.4);
    }
    100% {
        background-color: #000000;
        border-color: #00ff00;
        box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.2);
    }
}

.indicator-panel {
    background-color: #111111;
    border: 2px solid #00ff00;
    border-radius: 4px;
    padding: 20px;
}

.indicator-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.indicator {
    background-color: #000000;
    color: #00ff00;
    border: 2px solid #00ff00;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.indicator:hover {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    transform: translateY(-2px);
}

/* 修饰键激活状态 */
.indicator.active {
    background-color: #002200;
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8), inset 0 0 10px rgba(0, 255, 0, 0.3);
    transform: scale(1.05);
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

/* 终端风格的滚动条 */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
    border: 1px solid #00ff00;
}

::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 10px;
        font-size: 14px;
    }
    
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .display-textarea {
        font-size: 16px;
        min-height: 100px;
    }
    
    .indicator-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .indicator {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .indicator-list {
        grid-template-columns: 1fr;
    }
}
