@font-face {
    font-family: 'Evolventa';
    src: url('../fonts/Evolventa-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Evolventa';
    src: url('../fonts/Evolventa-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
:root {
    --highlight-color: #f51356;
    --primary-color: #f51356;
    --secondary-color: #ffe7c4;
    --dark-bg: #131217;
    --content-width: 1400px;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Evolventa', Arial, sans-serif;
    font-weight: bold;
    scroll-behavior: smooth;
    background-color: var(--dark-bg);
    color: white;
}
.checkbox-block {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
/* Основной контейнер: флекс для checkbox + текста */
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6em;
    max-width: 600px;
    margin: 1em auto;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

/* Немного подвинем чекбокс, чтобы выровнять его по тексту */
.consent-checkbox {
    flex-shrink: 0;
}

/* Текст и ссылки */
.consent-text {
    display: block;
    color: #ffffff;
    word-break: break-word;
}

/* Ссылки с подводкой в фирменном цвете */
.consent-text a {
    color: #0070BA;
    text-decoration: none;
    border-bottom: 1px solid #0070BA;
    transition: color .2s, border-color .2s;
}

/* Hover-эффект */
.consent-text a:hover {
    color: #005EA6;
    border-color: #005EA6;
}

/* Адаптив */
@media (max-width: 767px) {
    .consent-label {
        font-size: 13px;
        max-width: 100%;
        gap: 1em;
    }
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: var(--dark-bg);
}

.main-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Шапка */
.logo-header {
    margin-top: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-direction: row; /* Изменено с row-reverse на row */
    flex-wrap: wrap;
}

.logo {
    border-radius: 5px;
    max-width: 100%;
    width: 379px;
    margin-left: 40px;
}
.achievements-title {

    color: white;

    font-size: clamp(0.2rem, 4.2vw, 2.5rem);

    text-align: center;

    margin-top: 5%;

    font-weight: 700;

    text-transform: uppercase;

    position: relative;

}
.header-text {
    margin-top: 5%;
    text-align: left;
}

.header-text h1 {
    text-align: left;
    margin-bottom: 0;
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 1.2;
    color: var(--secondary-color);
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: var(--highlight-color);
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.highlight-number {
    color: var(--highlight-color);
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

/* Список достижений */
.achievements {
    list-style: none;
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 5%;
}

.achievements li {
    margin-bottom: 15px;
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    color: white;
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    position: relative;
}

.achievements li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.check-icon {
    width: clamp(40px, 8vw, 80px);
    margin-right: 15px;
    filter: drop-shadow(0 2px 5px rgba(245, 19, 86, 0.5));
    flex-shrink: 0;
}

/* Блок с кнопками */
.content-block {
    max-width: 100%;
    margin: 0 auto;
    padding: 10% 90px;
    text-align: center;
}

.system-description {
    line-height: 1.2;
    color: var(--secondary-color);
    font-size: clamp(2rem, 6vw, 4rem);
    text-align: left;
    font-weight: 700;
}

.manager-description {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.3;
    margin-bottom: 50px;
    padding-top: 5%;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.choose-role {
    font-size: clamp(1.5rem, 4vw, 3rem);
    padding-top: 24px;
    margin-bottom: 5%;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}

.buttons-container {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.role-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 120px;
    align-items: stretch;
}

.button-wrapper {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
}

.button-title {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.role-button {
    background: transparent;         /* прозрачный фон */
    color: #f51356;                  /* красный текст */
    border: none;                    /* без рамки */
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 16px 0 rgba(245,19,86,0.36), 0 1.5px 4px 0 rgba(245,19,86,0.23); /* подсветка/тень красная */
    /* для "glow" эффекта можно добавить text-shadow: */
    text-shadow: 0 0 14px rgba(245,19,86,0.32), 0 1.5px 4px rgba(245,19,86,0.25);
}


.role-button:hover,
.role-button:focus {
    background: transparent;
    color: #ff3e6b; /* можно чуть светлее при наведении */
    box-shadow: 0 5px 28px 0 rgba(245,19,86,0.48), 0 2px 8px 0 rgba(245,19,86,0.23);
    text-shadow: 0 0 24px rgba(245,19,86,0.46), 0 2px 8px rgba(245,19,86,0.25);
}

/* Футер */
.site-footer {
    background: linear-gradient(180deg, transparent, rgba(19, 18, 23, 0.9), rgba(19, 18, 23, 1));
    padding: 50px 0 30px;
    margin-top: 100px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.7;
}

.footer-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-img {
    max-width: 150px;
    border-radius: 5px;
}

.footer-info {
    text-align: center;
    margin: 20px 0;
}

.footer-info p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    transition: all 0.3s;
}
/* Улучшенные стили для подсветки */
.consent-label.highlight-checkbox {
    position: relative;
    animation: highlight-pulse 1.2s;
}

@keyframes highlight-pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 19, 86, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(245, 19, 86, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 19, 86, 0); }
}

/* Стиль для чекбокса при подсветке */
.highlight-checkbox input[type="checkbox"] {
    outline: 2px solid #f51356;
    outline-offset: 3px;
    border-radius: 2px;
}

/* Стиль для нажатой кнопки */
.button-pressed {
    transform: scale(0.98);
    opacity: 0.9;
}
@media (max-width: 600px) {
    .consent-label {
        font-size: 8px;
    }

    /* Адаптация для планшетов */
    @media (max-width: 1200px) {
        .logo-header {
            flex-direction: column;
            align-items: center;
        }

        .logo {
            margin-left: 0;
            margin-bottom: 30px;
        }

        .header-text {
            margin-top: 0;
            text-align: center;
        }

        .header-text h1 {
            text-align: center;
        }

        .system-description {
            text-align: center;
        }

        .role-buttons {
            gap: 60px;
        }
    }
}