.pc-e500-device {
    box-shadow: 
        inset -2px -2px 4px rgba(255, 255, 255, 0.1),
        inset 2px 2px 4px rgba(0, 0, 0, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.3);
}

.lcd-screen {
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.5),
        inset -1px -1px 2px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.lcd-scanlines {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 1px,
        rgba(0, 0, 0, 0.1) 2px
    );
    z-index: 1;
}

.lcd-screen pre {
    position: relative;
    z-index: 2;
}

/* Keyboard button effects */
button:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Blinking cursor animation */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.lcd-screen pre::after {
    content: '';
    animation: blink 1s infinite;
    background: #33ff33;
    width: 8px;
    height: 12px;
    display: inline-block;
    margin-left: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pc-e500-device {
        padding: 1rem;
    }
    
    button {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .lcd-screen {
        min-height: 100px;
    }
}

/* Retro green glow effect for LCD */
.lcd-screen pre {
    text-shadow: 
        0 0 2px #33ff33,
        0 0 4px #33ff33,
        0 0 8px #33ff33aa;
}

/* Button hover states for better feedback */
button:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Special styling for function keys */
button:contains('F1'), button:contains('F2'), button:contains('F3'), button:contains('F4'), button:contains('F5') {
    background: linear-gradient(145deg, #ffb347, #ff8c00);
    color: black;
}

/* Special styling for mode buttons */
.bg-amber-400 {
    box-shadow: 0 0 8px rgba(255, 180, 71, 0.5);
}