:root {
    --bg-color: #0d1117;
    --text-color: #c9d1d9;
    --accent-color: #58a6ff;
    --border-color: #30363d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* Использование моноширинного шрифта критично для ASCII арта */
    font-family: "Courier New", Courier, monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.terminal-container {
    max-width: 640px;
    width: 100%;
    margin: auto;
    text-align: center;
}

/* Стилизация ASCII логотипа птицы */
.ascii-logo {
    font-family: "Courier New", Courier, monospace;
    display: inline-block;
    text-align: left;
    font-size: 14px;
    line-height: 1.2;
    color: var(--accent-color);
    margin-bottom: 30px;
    white-space: pre;
}

.system-header {
    font-size: 0.85rem;
    color: #8b949e;
    border: 1px dashed var(--border-color);
    padding: 10px;
    margin-bottom: 30px;
    text-align: left;
}

h1 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.lead {
    font-size: 0.95rem;
    color: #8b949e;
    margin-bottom: 30px;
}

/* Текстовые карточки-блоки */
.ascii-card {
    white-space: pre-wrap;
    text-align: left;
    font-size: 0.9rem;
    color: #8b949e;
    margin-bottom: 40px;
}

.subscription-form {
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Псевдо-консольное поле ввода */
.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    background: #161b22;
    padding: 12px 16px;
    width: 100%;
    max-width: 400px;
}

.input-label {
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

/* СТИЛИЗАЦИЯ ASCII КНОПКИ */
.ascii-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    padding: 0;
}

.ascii-btn span {
    display: block;
    line-height: 1;
}

/* Состояние ХОВЕРА (наведение курсора) -> Меняем плюсы на знаки равно */
.ascii-btn:hover {
    color: var(--accent-color);
}

.ascii-btn:hover .btn-top,
.ascii-btn:hover .btn-bot {
    content: "==============="; /* Имитация через JS динамическую замену текста */
}

/* Состояние АКТИВНОСТИ (нажатие) */
.ascii-btn:active {
    transform: translateY(1px);
    color: #58a6ff;
}

.form-hint {
    font-size: 0.8rem;
    color: #8b949e;
    margin-top: 15px;
}

.status-section {
    margin-bottom: 40px;
    text-align: left;
}

.status-title {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.progress-block {
    font-size: 0.9rem;
    color: #8b949e;
    line-height: 1.6;
}

/* ASCII Ссылки */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.ascii-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 10px;
    transition: color 0.1s;
}

/* Ховер и активное состояние для ссылок */
.ascii-link:hover {
    color: var(--accent-color);
    background-color: #161b22;
}

.ascii-link:active {
    color: #fff;
}

@media (max-width: 500px) {
    .ascii-logo {
        font-size: 10px;
    }
}
