* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Mono', monospace;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background-color: #121212;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    padding: 25px;
    box-shadow: 0 0 25px rgba(0, 80, 255, 0.2);
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2a2a2a;
}

h1 {
    color: #ff0000;
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.subtitle {
    color: #aaaaaa;
    font-size: 0.9rem;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.key-btn {
    width: 70px;
    height: 70px;
    background-color: #1a1a1a;
    border: 2px solid #333333;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.key-btn:active {
    background-color: #0066ff;
    border-color: #0066ff;
    transform: scale(0.95);
}

.input-section {
    margin-bottom: 30px;
    text-align: center;
}

#codeInput {
    width: 100%;
    padding: 18px;
    font-size: 1.8rem;
    text-align: center;
    background-color: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 8px;
    color: white;
    letter-spacing: 8px;
    text-transform: uppercase;
    outline: none;
}

#codeInput::placeholder {
    color: #444;
    letter-spacing: normal;
}

.input-hint {
    color: #666;
    font-size: 0.8rem;
    margin-top: 8px;
}

#callBtn {
    width: 100%;
    padding: 20px;
    background-color: #0066ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 3px;
    cursor: pointer;
    margin-bottom: 25px;
    transition: background-color 0.3s;
}

#callBtn:active {
    background-color: #0052d4;
}

#result {
    min-height: 80px;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
}

footer {
    margin-top: 25px;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}

.signal {
    width: 12px;
    height: 12px;
    background-color: #0f0;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Кнопка Путина */
#putinBtn {
    width: 100%;
    padding: 15px;
    background-color: #1a1a1a;
    color: white;
    border: 2px solid #333333;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

#putinBtn:active {
    background-color: #2a2a2a;
    transform: scale(0.98);
}

/* Цифры над кнопками Путина */
.number-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.number {
    width: 70px;
    text-align: center;
    color: #ffff00;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Кнопка 67 */
#sixSevenBtn {
    width: 100%;
    padding: 10px;
    background-color: #1a1a1a;
    color: white;
    border: 2px solid #333333;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

#sixSevenBtn:active {
    background-color: #2a2a2a;
    transform: scale(0.98);
}

/* Адаптивность для режима 67 */
@media (max-width: 400px) {
    h1 {
        font-size: 1rem;
    }
    .key-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}