/* brygada-1918-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Brygada 1918';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/brygada-1918-v27-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* brygada-1918-500 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Brygada 1918';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/brygada-1918-v27-cyrillic_latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* brygada-1918-600 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Brygada 1918';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/brygada-1918-v27-cyrillic_latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* brygada-1918-600italic - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Brygada 1918';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/brygada-1918-v27-cyrillic_latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* brygada-1918-700 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Brygada 1918';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/brygada-1918-v27-cyrillic_latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/**
  Нормализация блочной модели
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
  padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure):where([class]) {
  margin: 0;
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  ul,
  ol,
  dl
):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
  list-style: none;
}

/**
  Упрощаем работу с изображениями
 */
img {
  display: block;
  max-width: 100%;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
  font: inherit;
}

html {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  height: 100%;
  /**
    Плавный скролл
   */
  scroll-behavior: smooth;
}

body {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  min-height: 100%;
  /**
    Унифицированный интерлиньяж
   */
  line-height: 1.5;
}

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


:root {
	--color-dark-red: #220808;
	--color-light-red: #2e1717;
	--color-normal-red: #300b12;
	--color-white: #FFFFFF;
	--color-line-red: #5f4e4e;
	--color-gray: #808080;

	--border-radius: 30px;
	--border: 1px solid var(--color-light-red);

	--font-family-base: 'Brygada', sans-serif;
	--font-family-accent: 'Brygada', sans-serif;

	--input-height: 50px;
	
	--container-width: 1000px;
	--container-padding-x: 15px;

	--transition-duration: 0.2s;

	--grid-min-card-width: 350px;
    --grid-gap: 30px;             
}

body {
	font-family: var(--font-family-base);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.5;
	color: var(--color-white);
	background-color: var(--color-dark-red);
	display: flex;
	flex-direction: column;
	min-height: 100vh;

}

main {
	flex: 1 0 auto;
	padding-bottom: 270px;
}

a, button, input, textarea, svg * {
	transition-duration: var(--transition-duration);
}

a {
	color: var(--color-white)
}

a:hover{
	color: var(--color-light-red);
}

.container {
	max-width: calc(var(--container-width) + var(container-padding-x) * 2);
	margin-inline: auto;
	padding-inline: var(--container-padding-x);
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
}

/* HEADER */

.button {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding-inline: 26px;
	font-size: 12px;
	font-weight: 600;
	line-height: 2;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--color-white);
	background-color: var(--color-light-red);
	border: none;
	border-radius: var(--border-radius);
}

.button:hover {
	background-color: var(--color-line-red);
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	column-gap: 15px;
	padding-inline: 32px;
	background-color: var(--color-light-red);
}

.header li {
	list-style: none;
}

.header-logo {
	flex-shrink: 0;
}

header nav ul li a {
	display: block;
}

nav ul li ul {
	position: absolute;
	top: 20;
	width: 180px;
	background: var(--color-light-red);
	display: none;
	z-index: 1000;
}

nav ul li ul li {
	width: 50%;
	border: none;
	text-align: center;
}

nav ul li:hover > ul {
	display: initial;
}

.header-menu-list {
	display: flex;
	flex-wrap: wrap;
	column-gap: 50px;
}

.header-menu-link {
	display: inline-flex;
	align-items: center;
	height: 90px;
	text-decoration: none;
	text-transform: uppercase;
	text-weight: 700;
	font-size: 12px;
	letter-spacing: 1.2px;
}

/* Профиль в шапке */
.header-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-white);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    transition: background-color 0.2s;
}

.header-profile:hover {
    background-color: var(--color-normal-red);
}

.header-profile__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-line-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-white);
    flex-shrink: 0;
}

.header-profile__avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.header-profile__avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.header-profile__name {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* На мобилках прячем имя, оставляем только кружок */
@media (max-width: 767px) {
    .header-profile__name {
        display: none;
    }
}

/* FOOTER */

.footer {
    background-color: var(--color-light-red); 
}

.footer__inner {
    max-width: var(--container-width); 
    margin: 0 auto;                   
    padding: 30px var(--container-padding-x); 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
}

.footer__logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer__nav-list {
    display: flex;
    flex-wrap: wrap;           
    justify-content: center;
    gap: 20px 35px;            
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__nav-list a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.8px;
    transition: color 0.3s;
}

.footer__nav-list a:hover {
    color: var(--color-line-red);
}

.footer__copy {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* INDEX.PHP */

.nexus {
	margin-top: 60px;
	max-width: 1200px;
	letter-spacing: 1.2;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid var(--color-line-red);
	border-radius: var(--border-radius);
	background: var(--color-light-red); 
}

/* SOCIETY */

.society {
	margin-top: 40px;
	max-width: 1000px;
	letter-spacing: 1.2;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 3px solid var(--color-line-red);
	padding-bottom: 8px;
	margin-bottom: 10px;
}

.society__inner {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}

.society__title {
	margin-top: 10px;
	font-weight: 700;
	font-size: 32px;
	text-align: center;
}

.society__subtitle {
	font-weight: 600;
	font-size: 26px;
	text-align: center;
}

.society__link-btn, .techblock__link-btn, .instruction-register-btn, .instruction-subscribe-btn, .instruction-shop-btn, .instruction-rules-btn, .instruction-faq-btn {
    /* Превращаем ссылку в кнопку */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    
    /* Твой фирменный стиль кнопок */
    background-color: var(--color-light-red);
    color: var(--color-white);
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.8px;
    
    /* Анимация */
    transition: background-color 0.2s, transform 0.2s;
}

.society__link-btn:hover, .techblock__link-btn:hover, .instruction-register-btn:hover, .instruction-subscribe-btn:hover, .instruction-shop-btn:hover, .instruction-rules-btn:hover, .instruction-faq-btn:hover {
    background-color: var(--color-line-red);
    transform: translateY(-2px); /* лёгкий "подскок" при наведении */
    color: var(--color-white); /* чтобы цвет текста точно не слетел */
}

/* Иконки Font Awesome внутри кнопок */
.society__link-btn i {
    font-size: 22px;
}

.society__links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.society__link-btn:hover {
    background-color: var(--color-line-red);
    transform: translateY(-2px); /* лёгкий "подскок" при наведении */
    color: var(--color-white); /* чтобы цвет текста точно не слетел */
}

/* Иконки Font Awesome внутри кнопок */
.society__link-btn i {
    font-size: 22px;
}

/* STORYTELLING */

.storytelling {
	margin-top: 40px;
	max-width: 1000px;
	letter-spacing: 1.2;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 3px solid var(--color-line-red);
	padding-bottom: 8px;
	margin-bottom: 10px;
}

.storytelling__inner {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	align-items: center;
}

.storytelling__title {
	margin-top: 10px;
	font-weight: 700;
	font-size: 32px;
	text-align: center;
	margin-bottom: 10px;
}

.storytelling__desc {
	font-weight: 500;
	font-size: 18px;
	color: var(--color-gray);
}

.video__title {
	margin-top: 35px;
	font-weight: 600;
	font-size: 26px;
	color: var(--color-white);
	margin-bottom: 10px;
}

.video__container {
    position: relative;
    width: 100%;
    /* Это делает высоту пропорциональной ширине (16:9) */
    padding-bottom: 56.25%; /* 9 / 16 = 0.5625 */
    overflow: hidden;
}

.video__container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-line-red);
    border-radius: var(--border-radius);
}

.storytelling__story {
	margin-top: 40px;
	font-weight: 500;
	font-size: 24px;
	margin-bottom: 10px;
}

.storytelling__info {
	margin-top: 10px;
	font-weight: 500;
	font-size: 20px;
	margin-bottom: 10px;
}

/* TECHBLOCK */

.techblock {
	margin-top: 40px;
	max-width: 1000px;
	letter-spacing: 1.2;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 3px solid var(--color-line-red);
	padding-bottom: 8px;
	margin-bottom: 10px;
}

.techblock__inner {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	align-items: center;
}

.techblock__title {
	margin-top: 10px;
	font-weight: 700;
	font-size: 32px;
	text-align: center;
	margin-bottom: 10px;
}

/* ----- ТЕХНИЧЕСКАЯ ИНФОРМАЦИЯ (КЛЮЧ-ЗНАЧЕНИЕ) ----- */
.techblock-info {
	width: 100%;
    max-width: 600px;
    margin: 0 auto;              /* центрируем сам блок */
    display: flex;
    flex-direction: column;      /* строки друг под другом */
    gap: 20px;                   /* отступ между строками */
}

.techblock-info__row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* две равные колонки */
    align-items: center;
    border: 2px solid var(--color-line-red);
    border-radius: var(--border-radius);
    padding: 20px;
    width: 100%;                 /* ← ВОЛШЕБНАЯ СТРОКА */
    box-sizing: border-box;      /* чтобы padding не увеличивал ширину */
}

.techblock-info__key {
	text-align: left;
    font-weight: 500;
    font-size: 20px;
    color: var(--color-white);
    margin: 0;
    border-right: 1px solid var(--color-line-red);
    padding-right: 20px;
    padding-left: 5px;
}

.techblock-info__value {
    font-weight: 500;
    font-size: 20px;
    color: var(--color-gray);
    margin: 0;
    padding-left: 20px;
    text-align: right;
}

.techblock__mods {
	font-weight: 600;
	font-size: 24px;
	margin-top: 20px;
	margin-bottom: 10px;
}

/* INSTRUCTIONS */

.instruction {
	margin-top: 40px;
	max-width: 1000px;
	letter-spacing: 1.2;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 3px solid var(--color-line-red);
	padding-bottom: 8px;
	margin-bottom: 10px;
}

.instruction__inner {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	align-items: center;
}

.instruction__title {
	margin-top: 10px;
	font-weight: 700;
	font-size: 32px;
	text-align: center;
	margin-bottom: 10px;
}

.instruction__desc {
	margin-top: 10px;
	font-weight: 500;
	font-size: 20px;
	margin-bottom: 10px;
}

/* ENDING */

.ending {
	margin-top: 40px;
	max-width: 1000px;
	letter-spacing: 1.2;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 3px solid var(--color-line-red);
	padding-bottom: 8px;
	margin-bottom: 10px;
}

.ending__inner {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	align-items: center;
}

.ending__title {
	margin-top: 10px;
	font-weight: 700;
	font-size: 32px;
	text-align: center;
	margin-bottom: 10px;
}

.ending__desc {
	margin-top: 10px;
	font-weight: 500;
	font-size: 20px;
	margin-bottom: 10px;
}

/* NEWS */

.news {
	margin-top: 40px;
	max-width: 1000px;
	letter-spacing: 1.2;
	margin-left: auto;
	margin-right: auto;
}

.news__inner {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	align-items: center;
}

.news__title {
	margin-top: 10px;
	font-weight: 700;
	font-size: 32px;
	text-align: center;
	margin-bottom: 10px;	
}

.news__subtitle {
	margin-top: 10px;
	font-weight: 500;
	font-size: 20px;
	margin-bottom: 10px;
}

#vk_groups {
	width: 100%;
	max-width: 600px;
	margin: 30px auto 0;
	background-color: var(--color-light-red);
	border: 1px solid var(--color-line-red);
	border-radius: var(--border-radius);
	overflow: hidden;
	margin-bottom: 10px;
}

/* AUTH.PHP */

.auth {
	margin-top: 100px;
	margin-bottom: 100px;
}

.contain-reg-log, .reg-log-tooltip {
	display: flex;
	margin: auto;
	column-gap: 15px;
	justify-content: center;
	align-items: center;
	width: 220px;
	height: 500px;
}

.reg-box, .login-box, .reg-log-tooltip {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	background-size: hover;
	font-size: 20px;
	border-inline: 20px;
	border-spacing: 20px;
	border-radius: var(--border-radius);
	border: 2px solid var(--color-line-red);
	margin-top: 270px;
	margin-left: 20px;
	padding: 40px;
	flex-direction: column;
	align-items: center;
	text-align: center;
	justify-content: center;
	line-height: 1.2;
}

.reg-log-tooltip {
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
}

.rlt-title {
	font-weight: 700;
	font-size: 20px;
}

.rlt-block {
	padding: 10px;
}

.form-reg, input[type="login"], input[type="password"], input[type="passrepeat"], input[type="email"], .form-buy-donate input[type="donate"], input[type="login"], input[type="email"], .form-login input[type="login"], input[type="password"] {
	background: none;
	font-size: 16px;
	margin: 15px;
	padding-top: 20px;
	padding-bottom: 20px;
	flex-direction: column;
	text-align: center;
	width: 200px;
	outline: none;
	transition: 0.3s;
	color: var(--color-white);
}

.form-buy-donate input[type="donate"]:focus, input[type="login"]:focus, input[type="email"]:focus, .form-reg, input[type="login"]:focus, input[type="password"]:focus, input[type="passrepeat"]:focus, input[type="email"]:focus, .form-login input[type="login"]:focus, input[type="password"]:focus {
	width: 300px;
	border-color: var(--color-white);
}

.reg-title, .login-title {
	font-size: 30px;
	padding: 30px;
	font-weight: 700;
}

.register-button, .login-button {
	margin-top: 20px;
	text-align: center;
	justify-content: center;
    color: #ffffff;
} 

.auth-notification {
    max-width: 400px;
    margin: 20px auto;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    box-sizing: border-box;
}

/* На всякий случай, чтобы чекбоксы точно были видны */
.form-buy__agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    accent-color: var(--color-line-red); /* перекрасит даже обычную галочку в красный */
}

.auth-notification--success {
    background-color: #1a3a1a; /* тёмно-зелёный, под цвет твоей темы */
    border: 1px solid #2d5a2d;
    color: #a0e0a0;
}

.auth-notification--error {
    background-color: #3a1a1a; /* тёмно-красный */
    border: 1px solid #5a2d2d;
    color: #e0a0a0;
}

/* ABOUTSERVER.PHP */

.slider {
	margin: 20px;
	display: flex;
	border: none;
	border-radius: var(--border-radius);
	padding: 30px;
	text-align: center;
	justify-content: center;
	flex-direction: column;
}

.blockSlider {
	display: flex;
	max-width: 768px;
	width: 100%;
	height: 388px;
	border: var(--border);
	border-radius: var(--border-radius);
	margin: auto;
	position: relative;
	overflow: hidden;
}

.full-area {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
}

.slider-title {
	margin-bottom: 20px;
}

.points-area-size{
	width: 150px;
	display: flex;
	justify-content: space-between;
	position: absolute;
	bottom: 5%;
}

.point {
	display: flex;
	width: 10px;
	height: 10px;
	background: var(--color-white);
	border-radius: 100px;
	cursor: pointer;
}

.point:hover{
	background: var(--color-light-red);
}

.images-area{
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.imageSlider{
	display: none;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	animation-name: Animation;
	animation-duration: 0.2s;
}

.active-image{
	background: rgb(115, 126, 250);
	display: flex;
	border-radius: 20px;
}

.buttons-area-size {
	position: absolute;
	display: flex;
	width: 95%;
	justify-content: space-between;
}

i.fa.fa-angle-left, i.fa.fa-angle-right {
	color: var(--color-white);
	font-size: 24px;
	cursor: pointer;
	font-weight: 800;
}

.block-arrow {
	display: flex;
	width: 40px;
	height: 40px;
	background-color: var(--color-light-red);
	border: 1ps solid var(--color-white);
	border-radius: 50px;
	align-items: center;
	justify-content: center;
}

.block-arrow:hover {
	background-color: var(--color-normal-red);
	border: 1px solid var(--color-white);
	color: var(--color-white);
	cursor: pointer;
}

.block-arrow:active {
	background: var(--color-normal-red);
	border: 1px solid var(--color-white);
	color: var(--color-white);
	cursor: pointer;
}

@-webkit-keyframes Animation {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

.lore {
	margin-top: 30px;
	letter-spacing: 1.2;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.lore-inner {
	border: 1px solid var(--color-line-red);
	border-radius: var(--border-radius);
	background: var(--color-light-red);
	display: flex;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
	padding: 40px 0;
	max-width: 800px;
	text-align: center;
	align-items: center;
	justify-content: space-between;
}

.lore-title {
	font-weight: 700;
	font-size: 32px;
	margin-left: 20px;
	margin-right: 20px;
}

.lore-subtitle {
	font-weight: 600;
	font-size: 26px;
	margin-left: 20px;
	margin-right: 20px;
	padding-bottom: 20px;

}

.lore-desc {
	font-weight: 500;
	font-size: 20px;
	margin-left: 20px;
	margin-right: 20px;
	padding-bottom: 20px;

}

.lore-desc--angels {
	font-weight: bold;
	color: var(--color-gray);
}

/* SUBSCRIBE.PHP  */

.subscribe {
	margin-top: 40px;
	max-width: 1300px;
	letter-spacing: 1.2;
	margin-left: auto;
	margin-right: auto;
}

.subscribe__inner {
	max-width: 1150px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--color-line-red);
	border-radius: var(--border-radius);
	background-color: var(--color-light-red);
	padding: 30px;
	text-align: center;
}

.subscribe__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.subscribe__desc {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 25px;
}

.subscribe__info {
	font-size: 18px;
	font-weight: 600;
	color: var(--color-gray);
	margin-bottom: 30px;
	padding-bottom: 40px;
	border-bottom: 3px solid var(--color-line-red); 
}

.subscribe__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.subscribe-card {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-line-red);
    border-radius: var(--border-radius);
}

.subscribe-card__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.subscribe-card__price {
	margin-top: 15px;
	margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    height: 100px;
    width: 100px;
    border: 1px solid var(--color-line-red);
    border-radius: 100%;
    display: flex;
    padding-inline: center;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-card__features {
    list-style: none;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-grow: 1;
    border: 1px solid var(--color-line-red);
    border-radius: var(--border-radius);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-card__features li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #cfcfcf;
}


.subscribe-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;                   /* расстояние между иконкой и текстом */
    padding: 12px 28px;        /* внутренние отступы */
    background-color: var(--color-light-red);
    color: var(--color-white);
    border: 1px solid var(--color-line-red);
    border-radius: var(--border-radius); /* использует твою переменную, обычно 30px */
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;     /* если это ссылка */
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    outline: none;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    margin-bottom: 15px;
}

.subscribe-card__btn:hover {
    background-color: var(--color-line-red);
    border-color: var(--color-white);
    color: var(--color-white);
}

/* Акцентная кнопка (чуть ярче) */
.subscribe-card__btn--primary {
    background-color: var(--color-line-red);
    border-color: var(--color-white);
    font-size: 18px;
    padding: 14px 32px;
}

.subscribe-card__btn--primary:hover {
    background-color: var(--color-normal-red);
    border-color: var(--color-white);
}

/* INFO.PHP */

.info {
	margin-top: 40px;
	max-width: 1300px;
	letter-spacing: 1.2;
	margin-left: auto;
	margin-right: auto;
}


.info__inner {
	max-width: 1150px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--color-line-red);
	border-radius: var(--border-radius);
	background-color: var(--color-light-red);
	padding: 30px;
	text-align: center;
}

.info__title {
	font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.info__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding-left: 0;
}

.info-card {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-line-red);
    border-radius: var(--border-radius);
}

.info-card__title {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--color-line-red);
}

.info-card__key {
	font-weight: 500;
	margin-bottom: 10px;
	font-size: 18px;
}

.info-card__key-desc-mode, .info-card__title-mode {
	color: var(--color-gray);
}

/* RULES.PHP */

.rules {
	display: flex;
	margin-top: 30px;
	border: var(--border);
	border-radius: var(--border-radius);
	background-color: var(--color-light-red);
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	justify-content: center;
	flex-direction: column;
	padding: 30px;
}

.rules li {
	list-style: none;
}

.rules-title {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 10px;
}

.rules-subtitle {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 5px;
}

.rules__principle {
	font-size: 24px;
	font-weight: 500;
	margin-bottom: 30px;
}

.rules__infoblock {
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--color-line-red);
}

.rules__info {
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 20px;
}

.rules-name-list {
	font-size: 20px;
	font-weight: 600;
	margin-top: 15px;
	margin-bottom: 15px;
}

.rules__item {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 10px;
}

.rules__link {
	text-decoration: none;
	color: var(--color-white);
}

.violation {
	margin-top: 20px;
	padding: 30px;
	border: 2px solid var(--color-line-red);
	border-radius: var(--border-radius);
	margin-bottom: 20px;
}

.rules__ending {
	text-align: center;
	margin-top: 30px;
	margin-bottom: 30px;
	font-size: 20px;
	font-weight: 600; 
}

/* DOWNLOAD.PHP */

.dload {
	display: flex;
	border: var(--border);
	border-radius: var(--border-radius);
	background-color: var(--color-light-red);
	max-width: var(--container-width);
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
	padding: 30px var(--container-padding-x);
	text-align: center;
	justify-content: center;
	flex-direction: column;
	text-decoration: none;
	letter-spacing: 1.2;
}

.dload-title {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 15px;
}

.dload-subtitle {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 15px;
}

.download-info {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 30px;
	color: var(--color-white);
}

.download-install-tooltip {
	color: #aaa;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 30px;
}

.download-install-title {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 5px;
}

.download__list--two-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 40px;
	list-style: none;
	padding-left: 0;
}

.download__list-item {
	font-size: 18px;
	margin: 0;
}

.download-install__nav-list {
	margin: 15px;
}

.download-install__nav-item {
	padding-bottom: 10px;
}

.dload-button {
	font-size: 16px;
	font-weight: 600;
	padding: 15px;
	border: var(--border);
	color: var(--color-white);
	text-align: center;
	margin-bottom: 15px;
}

.download-info {
	font-weight: 500;
	text-align: center;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--color-line-red);
	display: inline-block;
	margin-bottom: 15px;
}

/* ----- FAQ.PHP (АККОРДЕОН) ----- */

.faq__outer {
	margin-top: 40px;
	max-width: 1300px;
	letter-spacing: 1.2;
	margin-left: auto;
	margin-right: auto;
}

.faq__inner {
	max-width: 1150px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--color-line-red);
	border-radius: var(--border-radius);
	background-color: var(--color-light-red);
	padding: 30px;
	text-align: center;
}

.faq__title {
	font-weight: 700;
	font-size: 32px;
	margin-bottom: 30px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
    height: 500px;       /* фиксированная высота */
    overflow-y: auto;    /* скролл внутри, если вопросы не влезают */
    padding-right: 10px; /* чтобы скролл не перекрывал текст */
}

.faq__item {
	width: 800px;
    background-color: var(--color-light-red);
    border: 1px solid var(--color-line-red);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq__question {
    padding: 30px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    cursor: pointer;
    list-style: none; /* убираем родной маркер */
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

/* Убираем стандартный треугольник в Webkit */
.faq__question::-webkit-details-marker {
    display: none;
}

/* Наш кастомный индикатор (плюс/минус) */
.faq__question::after {
	margin-left: 30px;
    content: "+";
    font-size: 24px;
    font-weight: 400;
    color: var(--color-line-red);
    transition: transform 0.3s ease;
}

details[open] .faq__question::after {
    margin-left: 30px;
    content: "−";
    transform: rotate(180deg);
}

.faq__answer {
	max-height: 350px;   /* <-- высота, при которой появится скролл */
    overflow-y: auto;    /* <-- сам скролл, появляется только если текст не влезает */
    padding: 0 25px 20px;
    font-size: 16px;
    color: #cfcfcf;
    line-height: 1.6;
}

.faq__answer p {
    margin: 0;
}


/* PRIVPOLIC.PHP */
/* AND */
/* OFFER.PHP */

.legal__outer {
	margin-top: 40px;
	max-width: 1300px;
	letter-spacing: 1.2;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

.legal__inner {
	max-width: 1150px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--color-line-red);
	border-radius: var(--border-radius);
	background-color: var(--color-light-red);
	padding: 30px;
	text-align: center;
}

.legal__title {
	font-weight: 700;
	font-size: 32px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--color-line-red);
}

.legal__block {
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--color-line-red);
	text-align: left;
}

.legal__block-title {
	font-weight: 600;
	font-size: 24px;
	margin-bottom: 20px;
}

.legal__title-desc {
	font-weight: 600;
	font-size: 24px;
	margin-bottom: 10px;
}

.legal__block-desc {
	font-weight: 500;
	font-size: 18px;
	margin-bottom: 10px;
}

.legal__list-sub {
    list-style: none;      /* убираем стандартные точки */
    padding-left: 25px;    /* делаем красивый отступ */
    margin-bottom: 1.5em;
}

.legal__list-sub li {
    margin-bottom: 0.6em; /* чтобы пункты не слипались */
    position: relative;
    padding-left: 20px;    /* место для нашей кастомной метки */
}

.legal__list {
    list-style: none;      /* убираем стандартные точки */
    padding-left: 25px;    /* делаем красивый отступ */
    margin-bottom: 1.5em;
}

.legal__list li {
    margin-bottom: 0.6em; /* чтобы пункты не слипались */
    position: relative;
    padding-left: 20px;    /* место для нашей кастомной метки */
}

/* Рисуем свою метку (красное тире или кружок) */
.legal__list li::before {
    content: "—";         /* или "•" или "●" */
    position: absolute;
    left: 0;
    color: var(--color-gray);
    font-weight: bold;
}

.legal__block-details {
	border: 1px solid var(--color-line-red);
	border-radius: var(-border-radius);
	margin-left: auto;
	margin-right: auto;
	padding: 20px;
	display: inline-flex;
	align-items: center;
	align-content: center;
	text-align: center;
	justify-content: column;
}

.legal__table {
    max-width: 650px;
    margin: 20px 0;
}

.legal__table-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-line-red);
    padding: 12px 0;
}

.legal__table-key {
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
    flex-shrink: 0;
    padding-right: 20px;
}

.legal__table-value {
    color: var(--color-gray);
    margin: 0;
    text-align: right;
}

/* DONATE.PHP */

.donate {
	border: var(--border);
	border-radius: var(--border-radius);
	margin: 30px;
	background-color: var(--color-light-red);
	padding: 20px var(--container-padding-x);
}

.donate__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* твой любимый рецепт */
    gap: 30px;
}

.donate-card {
    background-color: var(--color-light-red);
    border: 1px solid var(--color-line-red);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.donate-card__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.donate-card__features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.donate-card__feature {
    margin-bottom: 10px;
    font-size: 16px;
}

.donate-card__price {
    margin-top: auto;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
}

/* ----- BUY.PHP ----- */
.buy {
    margin-top: 30px;
}

.buy__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 30px var(--container-padding-x);
}

.buy__grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* две равные колонки */
    gap: 30px;
    align-items: start; /* чтобы верхние края были на одном уровне */
}

/* На мобилках — в столбик */
@media (max-width: 767px) {
    .buy__grid {
        grid-template-columns: 1fr;
    }
}

/* Левая колонка (форма) */
.buy__form {
    background-color: var(--color-light-red);
    border: var(--border);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
}

.buy__title,
.buy__hint-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.form-buy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* ----- ОБЩИЕ СТИЛИ ДЛЯ ВСЕХ ПОЛЕЙ В ФОРМЕ ПОКУПКИ ----- */
/* ----- ПОЛЯ ФОРМЫ (исправлено) ----- */
.form-buy input,
.form-buy__select {
    /* Твой авторский стиль */
    border-radius: 5px;
    background-color: var(--color-light-red);
    color: var(--color-white);
    border: 1px solid var(--color-line-red);
    font-size: 16px;
    padding: 12px 15px;
    outline: none;

    /* ФИКС ПРЫЖКОВ */
    width: 280px;               /* чёткая начальная ширина */
    max-width: 100%;            /* не шире контейнера */
    box-sizing: border-box;
    transition: width 0.3s ease, border-color 0.3s ease; /* анимируем только ширину и рамку */
}

/* Плавное расширение каждого поля САМОСТОЯТЕЛЬНО */
.form-buy input:focus,
.form-buy__select:focus {
    width: 340px;               /* конечная ширина при фокусе */
    border-color: var(--color-white);
}

/* Стили для выпадающего списка (стрелочка и фон) */
.form-buy__select {
    appearance: none; /* убираем родную стрелку (можно вернуть, если хочешь) */
    cursor: pointer;
}

/* Опции внутри селекта */
.form-buy__select option {
    background-color: var(--color-dark-red);
    color: var(--color-white);
}

/* ----- ГАЛОЧКА СОГЛАСИЯ ----- */
.form-buy__agreement {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #cfcfcf;
    cursor: pointer;
    user-select: none;
    max-width: 350px;
    margin-top: 5px;
}

/* Прячем родной браузерный чекбокс */
.form-buy__agreement input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Наш кастомный квадратик (неотмеченное состояние) */
.form-buy__checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-line-red);
    border-radius: 4px;          /* можно 0 для острого квадрата */
    background-color: var(--color-dark-red);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* При наведении — подсветка */
.form-buy__agreement:hover .form-buy__checkmark {
    border-color: var(--color-white);
    background-color: var(--color-light-red);
}

/* Когда чекбокс отмечен — рисуем красную галочку */
.form-buy__agreement input:checked + .form-buy__checkmark {
    background-color: var(--color-line-red);
    border-color: var(--color-white);
    position: relative;
}

/* Сама "галочка" через псевдоэлемент */
.form-buy__agreement input:checked + .form-buy__checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


.form-buy__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #555;
    border-color: #444;
}

.form-buy__button {
    color: var(--color-white);
    cursor: pointer;
}

/* Правая колонка (подсказка) */
.buy__hint {
    background-color: var(--color-light-red);
    border: var(--border);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
}

.buy__hint-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.buy__hint-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.buy__hint-list {
    text-align: left;
    list-style: none;
    padding-left: 0;
    font-size: 16px;
    color: #cfcfcf;
}

.buy__hint-list li {
    margin-bottom: 8px;
}
/* TEAM.PHP */

.team {
	padding: 40px;
	letter-spacing: 1.2px;
}

.team__outer {
	display: flex;
	padding: 40px;
	border: var(--border);
	border-radius: var(--border-radius);
	border-color: var(--color-white);
}

.team__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-inline: var(--container-padding-x); 
}

.team__title {
	font-weight: 700;
	margin-bottom: 15px;
	font-size: 32px;
	color: #fff;
	text-align: center;
}

.team__subtitle {
	font-weight: 600;
	font-size: 26px;
	margin-bottom: 15px;
	color: #fff;
	text-align: center;
}

.team__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(var(--grid-min-card-width), 1fr));
	gap: var(--grid-gap);
}

.team-card {
	margin: 20px;
	padding: 40px 30px;
	border: 1px solid var(--color-white);
	border-radius: var(--border-radius);
	font-weight: 500;
	font-size: 22px;
}

.team-card__ava img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.team-card__nick {
	font-size: 28px;
	text-align: center;
	margin-bottom: 20px;
	border-bottom: 3px solid var(--color-line-red);
	display: inline-block;
}

.team-card__role {
	font-size: 22px;
	color: var(--color-line-red);
	margin-bottom: 10px;
}

.team-card__desc {
	font-size: 18px;
	color: var(--color-white);
	line-height: 1.6;
}

.team-card__soc {
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	color: var(--color-line-red);
}


/* THANKS */

.team__thanks {
	border: 1px solid var(--color-line-red);
	border-radius: var(--border-radius);
	margin-top: 50px;
	padding: 25px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.team__thanks-title {
	font-size: 26px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 20px;
}

.team__thanks-desc {
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 20px;
}

.team__thanks-item {
	margin-top: 30px;
	list-style: none;
	font-size: 18px;
	margin-bottom: 10px;
	text-align: left;
	max-width: 70%;
}

.team__thanks-item strong { 
	color: var(--color-line-red);
}

/* PROFILE.PHP */

.profile {
	margin-top: 40px;
	letter-spacing: 1.2;
}

.profile__outer {
	margin-left: auto;
	margin-right: auto;
	border: 1px solid var(--color-line-red);
	border-radius: var(--border-radius);
	padding: 40px 0;
	max-width: 800px;
	background: var(--color-light-red);
}

.profile__inner {
	max-width: 700px;
	margin: 0 auto;
	padding-inline: 20px;
}

.profile-card {
	font-weight: 500;
	text-align: center;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--color-line-red);
	margin-bottom: 15px; 
}

.profile-card__header {
	display: flex;
}

.profile-card__avatar {
	border: 1px solid var(--color-line-red);
	border-radius: 50%;
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	text-align: center;
	justify-content: center;
	line-height: 1;
	font-size: 32px;
	font-weight: 700;
	object-fit: cover;
}

.profile-card__avatar-img {
    width: 70px;      
    height: 70px;           
    border-radius: 50%;     
    object-fit: cover;      
    display: block;        
    flex-shrink: 0;        
}

.profile-card__nick {
	margin-left: 30px;
	font-weight: 700;
	font-size: 26px;
	color: var(--color-white);
	padding-bottom: 3px;
	border-bottom: 2px solid var(--color-line-red);
	margin-bottom: 3px;
}

.profile-card__roles {
	margin-left: 30px;
	font-weight: 500;
	font-size: 20px;
	color: var(--color-gray);
}

/* Роль в профиле (статус доната) */


.profile-card__roles--staff {
    color: #f0a0a0;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
} /* ADMIN */

.profile-card__roles--donator {
    color: var(--color-gray); 
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 0 6px rgba(255, 100, 100, 0.3);
}

.profile-details {
	margin-top: 20px;
}

.profile-details__title {
	text-align: center;
	font-weight: 600;
	font-size: 26px;
	margin-top: 10px;
}

.profile-details__list {
	font-weight: 500;
	font-size: 20px;
}

.profile-details__item {
	display: flex;
	justify-content: space-between;
	border: 1px solid var(--color-line-red);
	border-radius: 2%;
	padding: 10px;
	margin: 20px;
}

.profile-details__label {
	border-right: 1px solid var(--color-line-red);
	padding-left: 5px;
	padding-right: 20px;
}

.profile-details__value {
	color: var(--color-gray);
}

/* ----- ЗАГРУЗКА АВАТАРА (КАСТОМ) ----- */
.avatar-upload-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

/* Прячем родной инпут */
.avatar-upload-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Кастомная кнопка (label) */
.avatar-upload-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: var(--color-light-red);
    color: var(--color-white);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.2s;
}

.avatar-upload-btn:hover {
    background-color: var(--color-line-red);
}

/* Текст с именем файла */
.avatar-upload-filename {
    font-size: 14px;
    color: #aaa;
    text-align: center;
    min-height: 1.2em;
}

/* Кнопка "Загрузить" */
.avatar-upload-submit {
	color: var(--color-white);
    cursor: pointer;
}

.profile__actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.profile__logout-btn {
	text-decoration: none;
}

/* НАДО ДОРАБОТАТЬ АДАПТИВ */

@media (max-width: 1024px) {
	
	.header {
		flex-wrap: wrap;
		row-gap: 10px;
		padding-top: 20px;
		padding-inline: 15px;
	}

	.header-menu {
		order: 1;
		flex-basis: 100%;
	}

	.header-menu-link {
		height: 50px;
	}

	.story-book, .make-new-story, .old-story, .society {
		flex-wrap: wrap;
		row-gap: 10px;
		padding-top: 20px;
		padding-inline: 15px;
	}
}

@media (max-width: 767px) {
	.button {
		padding-inline: 18px;
	}

	.header {
		padding-top: 10px;
	}

	.header-menu-list {
		column-gap: 24px;
	}

	.header-menu-link {
		height: 32px;
	}

	.header-actions {
		column-gap: 15px;
	}

	.story-book, .make-new-story, .old-story, .society {
		flex-wrap: wrap;
		row-gap: 10px;
		padding-top: 20px;
		padding-inline: 15px;
	}

	.download__list--two-cols {
        grid-template-columns: 1fr;  /* всё в один столбик */
        gap: 16px;
    }

    #vk_groups {
        margin-top: 20px;
        padding: 10px;
        border-radius: 12px;    /* чуть меньше скругление */
    }
}