/* ===== БАЗА ===== */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: #0f0f0f;
    color: #fff;
}

/* ===== КОНТЕЙНЕР ===== */
.container {
    width: 420px;
    margin: 0 auto;
    padding: 20px 0;
    flex: 1; 
}

/* ===== ХЕДЕР ===== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #1a1a1a;
}

.dashboard-logo {
    font-size: 22px;
    font-weight: bold;
}

.nav-btn {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
    transition: 0.2s;
}

.nav-btn:hover {
    color: #ccc;
}

/* ===== ЗАГОЛОВОК ===== */
.logo {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
}

/* ===== КАРТОЧКИ ===== */
.card {
    background: #1a1a1a;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
}

/* ===== FAQ ===== */
.faq-item {
    cursor: pointer;
}

.faq-question {
    font-weight: bold;
    font-size: 16px;
}

/* АНИМАЦИЯ РАСКРЫТИЯ */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition: 
        max-height 0.35s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
    color: #ccc;
}

.faq-answer.open {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 10px;
}

/* ССЫЛКА */
.faq-link {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}

.faq-link:hover {
    color: #ccc;
}

/* ===== ФУТЕР ===== */
.footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    background: #141414;
}