/* Подключение шрифтов */
@font-face {
    font-family: "Poppins-Regular";
    src: url("/static/fonts/Poppins-Regular.woff") format("woff");
}

@font-face {
    font-family: "Poppins-Bold";
    src: url("/static/fonts/Poppins-Bold.woff") format("woff");
}

body, .container, .card, .card-header, .steps {
    text-align: center;
    font-family: "Poppins-Regular", sans-serif;
}

/* Контейнер по центру */
.container {
    max-width: 800px;
    margin: 50px auto;
}

.container p {
    font-size: 20px;
    color: #cfcfcf;
    max-width: 700px;
    margin: 0 auto 38px;
    line-height: 1.55;
    text-align: center;
    font-family: "Poppins-Regular", sans-serif;
}


/* Заголовок */
.title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    font-family: "Poppins-Bold", sans-serif;
    text-align: center;
}

/* Карточка */
.card {
    margin-bottom: 25px;
    padding: 25px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

/* Заголовок карточки */
.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    font-family: "Poppins-Bold";
    font-size: 30px;
}

/* Иконки */
.os-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

/* Список */
.steps {
    list-style-position: inside;
    padding: 0;
    margin-top: 10px;
    font-size: 18px;
}

.steps li {
    margin-bottom: 6px;
}

.help-btn-wrapper {
    margin-top: 40px;
    text-align: center;
}

.help-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 30px;
    font-family: "Poppins-Bold";
    text-decoration: none;
    color: white;

    background: rgb(255, 0, 0);
    backdrop-filter: blur(12px);
    border: 1px solid rgb(255, 0, 0);

    transition: 0.25s ease;
}

.help-btn:hover {
    background: rgba(255, 0, 0, 0.18);
    transform: translateY(-2px);
}

.header-row {
    display: flex;
    align-items: center; /* выравнивание по вертикали */
    gap: 20px; /* расстояние между кнопкой и заголовком */
    margin-bottom: 20px; /* отступ под этой строкой */
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: center; /* центрируем все по горизонтали */
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.exit-btn {
    position: absolute;
    left: 0;
    font-size: 16px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #3a7bff, #295bff); 
    border-radius: 12px;
    box-shadow: 0 0 22px rgba(50, 100, 255, 0.45); 
    color: #fff;
    text-decoration: none;
    transition: 0.25s ease;
}

.exit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(60, 120, 255, 0.6); 
}


.title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
}
footer {
    background: #0b0c10;
    padding: 60px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d0d0d0;
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
}

.footer-links a:hover {
    color: #4c8dff;
}

.footer-copy {
    color: #888;
    font-size: 15px;
    opacity: 0.8;
}

/* Для мобильных экранов */
@media (max-width: 768px) {
    .header-row {
        justify-content: center; /* центрируем все */
        flex-direction: column;  /* перенос элементов вертикально */
    }

    .exit-btn {
        position: relative; /* убираем absolute */
        left: auto;
        margin-bottom: 10px; /* отступ снизу для кнопки */
    }

    .title {
        font-size: 36px; /* уменьшаем заголовок для мобильных */
    }
}
