body {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 300;
    background: black;
    color: #00ff00;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px #00ff00;
}

.machine {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.lampboard {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.lamp-row {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Offset middle and bottom rows for keyboard stagger effect */
.lamp-row:nth-child(2) {
    margin-left: 20px; /* Offset ASDF row */
}

.lamp-row:nth-child(3) {
    margin-left: 40px; /* Offset ZXCV row more */
}

.lamp {
    width: 40px;
    height: 40px;
    border: 2px solid #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lamp.active {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 15px #00ff00;
    animation: glow 1s ease-in-out;
}

@keyframes glow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.rotor-settings {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.rotor {
    text-align: center;
}

.rotor label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.rotor select {
    background: #333;
    color: #00ff00;
    border: 2px solid #555;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
}

.message-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

textarea {
    background: #111;
    color: #00ff00;
    border: 2px solid #555;
    border-radius: 5px;
    padding: 15px;
    font-family: "Special Elite", system-ui;
    font-weight: 400;
    font-style: normal;
    min-height: 150px;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}