/* Скрываем страницу, пока тема не применится */
html:not([data-theme]) {
  visibility: hidden;
}

/* Общие стили СВЕТЛАЯ ТЕМА*/
:root {
  --base-color: #30b621;
  --white-color: #fff;
  --base-color-hover: #4ec83d;
  --base-color-active: #28a809;
  --btn-color: #238a3d;
  --btn-text-color: #e3e3e3;
  --H-color: #223527;
  --border-color: #e3e3e3;
  --placeholder-color: #8d8d8d;
  --base-color-black: #374151;
  --main-color: rgb(245 255 244);
  --section-color: rgb(176 241 194);
  --head-footer--color: rgb(176 241 194);
  --black-only: #223527;
  --starpets: #febe00;
  --minecraft: #3a9720;
  --3bukvi: #00b7ac;
  --ugoloc: #2b6b8a;
  --red: #ff2323;
  --scorpion: #000000;
  --scorpion5: #0000004d;
  --green: linear-gradient(15deg, #a8e6cf, #d4f8e8);
  --green2: rgb(100, 221, 142);
  --darkreader-text--H-color: var(--darkreader-text-bfecc5, #abe6b3);
  --darkreader-text-000000: #e8e6e3;
  --darkreader-text--base-color-active: #00792c;
  --gray: rgb(95, 95, 95);
}

[data-theme="dark"] {
  --base-color: #1e5d33;
  --white-color: #3a3a3a;
  --base-color-hover: #267a45;
  --base-color-active: #21753f;
  --btn-color: #1d6a3c;
  --btn-text-color: #e3e3e3;
  --H-color: #abe6b3;
  --border-color: #3a3a3a;
  --placeholder-color: #b1b1b1;
  --base-color-black: rgb(227, 235, 231);
  --main-color: rgb(31, 31, 31);
  --section-color: rgb(38, 55, 48);
  --head-footer--color: rgb(28, 38, 34);
  --starpets: #ffd146;
  --ugoloc: #67a0c3;
  --minecraft: #5ed13d;
  --3bukvi: #57e1d9;
  --red: #b80606;
  --scorpion: #fff;
  --scorpion5: #ffffff4d;
  --green: linear-gradient(45deg, #1a3d32, #2a5240);
  --green2: rgb(30, 45, 38);
  --darkreader-text--H-color: var(--darkreader-text-bfecc5, #abe6b3);
  --darkreader-text-000000: #e8e6e3;
  --darkreader-text--base-color-active: var(--darkreader-text-21753f, #85dda5);
  --gray: #b1b1b1;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
::after,
::before {
  box-sizing: inherit;
  -webkit-tap-highlight-color: transparent; /* УБИРАЕТ выделение элемента при нажатии */
}

body {
  color: var(--base-color-black);
  font-size: 18px;
  font-weight: 500;
  /* font-family: "DM Sans", sans-serif; */
  font-family: "Gilroy", -apple-system, blinkmacsystemfont, "Segoe UI", roboto,
    "Helvetica Neue", arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji",
    sans-serif;
  margin: 0;
  line-height: 1.2;
  /* transition: background-color 0.3s ease, color 0.3s ease; */
  background-color: var(--main-color);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  padding: 0;
  color: var(--H-color);
}

h1,
h2 {
  font-size: 2em;
  line-height: 50px;
  font-weight: bold;
  margin: 20px 0;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: var(--base-color-black);
}

button {
  padding: 0;
  margin: 0;
  background-color: inherit;
  border: none;
  cursor: pointer;
}

ul {
  padding: 0 0 0 20px;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-20 {
  gap: 20px;
}
.flex {
  display: flex;
}

.column {
  flex-direction: column;
}

.theme__btn {
}

.display {
  display: flex;
}
.flex_direct {
  flex-direction: column;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.none {
  display: none;
}

.no-scroll {
  overflow: hidden;
}

/* CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

.main__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* NAVBAR */
.navbar {
  position: relative;
  font-size: 20px;
}

.navbar__burger {
  cursor: pointer;
}

.navbar__dropdown {
  /* position: relative; */
}

.navbar__dropdown-checkbox {
  display: none;
}

.navbar__dropdown-checkbox:checked ~ .navbar__content {
  display: block;
}

.navbar__img {
  display: block;
  transition: all 0.3s;
}

.navbar__img:hover {
  transform: scale(1.05);
}
.navbar__content {
  position: absolute;
  background-color: var(--main-color);
  transition: all 0.5s;
  display: none;
  width: 140px;
  padding: 0;
  margin: 0;
  right: -5px;
  border-radius: 15px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.navbar__list {
  list-style-type: none;
  width: 100%;
  margin: 15px;
}

.navbar__link {
  color: var(--base-color-black);
  transition: all 0.3s;
}
.navbar__active {
  color: var(--base-color-active);
  font-weight: 700;
}
.navbar__link:hover {
  color: var(--base-color-hover);
  transform: scale(1.05);
}
.navbar__link:active {
  color: var(--base-color-active);
}

.navbar__dropdown_link {
  position: fixed;
  bottom: 3%;
  left: 3%;
  background-color: #ffe3c7;
  color: var(--black-only);
  border-bottom: 3px solid #fea501;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 20px 40px;
  border-radius: 5px;
  z-index: 100;
  animation: prikol 0.3s 1;
}
@keyframes prikol {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* SECTION */
.section {
  background-color: var(--section-color);
  padding: 20px;
  border-radius: 1.5rem;
  box-shadow: 0px 8px 20px 0 rgba(0, 0, 0, 0.1);
}

/* STRONG */
strong {
  font-weight: 600;
  color: var(--H-color);
  /* filter: drop-shadow(0 0 0.15rem #06801054); */
  transition: background-color var(--base-color), color var(--base-color);
}

/* HELLO */
.hello {
  animation: swing 6s infinite;
  display: inline-block;
}
@keyframes swing {
  0% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  70% {
    transform: rotate(10deg);
  }
}

/* SLEEP CAT */
.sleep-cat {
  width: 60px;
  position: absolute;
  right: 5px;
  bottom: 10px;
  cursor: grab;
}

.sleep-cat__dropdown {
  display: none;
  position: absolute;
  bottom: 40px;
  border-radius: 40px;
  border: 1px solid #2a9b4b;
  padding: 5px;
  color: var(--base-color-black);
  background-color: var(--white-color);
}
.sleep-cat__triangle-down {
  position: absolute;
  bottom: -5px;
  right: 44%;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--base-color);
}

.sleep-cat:hover .sleep-cat__dropdown {
  display: block;
}

.minecraft-status__dropdown {
  display: none;
  position: absolute;
  right: 0;
  border-radius: 20px;
  min-width: 255px;
  margin-top: 12px;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
}
.minecraft-status__triangle-down {
  position: absolute;
  top: -5px;
  right: 5%;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--base-color);
}

.minecraft-status_title:hover {
  opacity: 0.8;
}

.minecraft-crepeer {
  border-radius: 20px;
  opacity: 0.6;
}

.minecraft-status__dropdown.active {
  display: block;
}

/* circle-cat */
.circle-cat {
  width: 60px;
  position: absolute;
  left: 5px;
  top: -20px;
  cursor: grab;
}

/* dance-cat */
.dance-cat {
  position: absolute;
  width: 70px;
  bottom: -10px;
  right: 100%;
}

/* BUTTON */
.modal-btn {
  font-weight: 600;
  width: auto;
  height: fit-content;
  background-color: var(--btn-color);
  border: none;
  border-radius: 15px;
  padding: 10px;
  color: var(--btn-text-color);
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s;
}
.modal-btn:hover {
  background-color: var(--base-color);
}
.modal-btn:active {
  transform: scale(1.05);
}

/* -------------------------------------------------------- */

/* HEADER */
.header {
  background-color: var(--head-footer--color);

  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 99;
  transition: top 0.3s; /* Плавная анимация для скрытия/показа */
}

.header__container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 10px 15px;
}

.header__logotype {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__logo {
  width: 50px;
}

.header__logo_link {
  text-decoration: none;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__link {
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
}
.header__link:hover {
  color: var(--base-color-hover);
  transform: scale(1.05);
}

.header__link_noactive {
  color: rgb(146, 146, 146);
  cursor: not-allowed;
}
.header__link_noactive:hover {
  color: rgb(146, 146, 146);
  cursor: not-allowed;
}
.header__logo-text {
  color: white;
  font-size: 2.7em;
  margin: 0;
  /* filter: drop-shadow(0 0 0.75rem #f3f3f375); */
  text-decoration: none;
  animation: flicker 12s infinite;
  /* text-shadow: 5px 0px 20px #d6f3d2; */
  text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 4px #fff, 0 0 6px #0fa,
    0 0 8px #0fa, 0 0 12px #0fa, 0 0 16px #0fa, 0 0 24px #0fa;
}

.header__crepeer {
  width: 30px;
  position: relative;
  border-radius: 40px;
  top: 3px;
}

/* MAIN */
.main {
  min-height: 100vh;
  padding: 90px 0 15px 0;
  position: relative;
}

/* aboutme */
/* .aboutme {
  grid-column: 1/-1;
} */

.aboutme__section {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.aboutme_pc__active {
  display: inherit;
}

.aboutme_mobile__active {
  display: none;
}

/* Новые стили для секции "Обо мне" (Вариант 5) */
.about-me {
  grid-column: 1 / -1;
  padding: 0;
  background-color: var(--main-color);
  color: var(--white-color);
  padding-top: 20px;
  position: relative;
  margin-bottom: 20px;
  overflow: hidden; /* Скрываем выходящие за пределы элементы, например, тень */
}

/* Контейнер для всего hero-контента */
.about-me__hero-content {
  display: flex;
  flex-direction: row;
  color: var(--white-color);
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Левая панель (теперь основной контент) */
.about-me__main-info {
  position: relative;
  padding: 60px 5px 40px 60px; /* Увеличил отступы для воздушности */
  flex: 2;
  text-align: left;
  color: var(--white-color);
  z-index: 0; /* Поднимаем контент выше фона */
}

/* Псевдо-элемент для создания затемненного и размытого фона */
.about-me__main-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../img/panorama_0.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: blur(5px);
  transform: scale(1.009);
  z-index: -1;
  /* Улучшенный градиентный оверлей */
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)),
    url(../img/panorama_0.jpg);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply; /* Или darken, для лучшего смешивания */
}

.about-me__main-info h1 {
  font-size: 3rem; /* Увеличил размер для Hero Section */
  color: #abe6b3;
  margin: 0;
  margin-bottom: 20px;
}

.about-me__main-info p {
  line-height: 1.6;
  color: rgb(227, 235, 231);
  margin-bottom: 20px;
}

/* Стили для тегов с навыками */
.about-me__skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.skill-tag {
  background-color: #4b9162; /* Более насыщенный цвет */
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: default;
}

.skill-tag:hover {
  transform: translateY(-3px);
  background-color: #5aa170;
}

/* Правая панель */
.about-me__right-panel {
  transform: scale(1.01);
  padding: 40px 30px 20px 20px;
  background-color: var(--section-color);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.about-me__right-panel h3 {
  font-size: 1.5rem;
  color: var(--H-color);
  margin-bottom: 15px;
}

.about-me__interests-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-me__interests-list li {
  line-height: 1.8;
  color: var(--base-color-black);
  margin-bottom: 10px;
}

.about-me__links-block p {
  line-height: 1.6;
  color: var(--base-color-black);
}

/* Анимации при загрузке */
@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-me__main-info h1 {
  animation: fadeInSlideUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.about-me__main-info p {
  animation: fadeInSlideUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
}

.about-me__skills-tags {
  animation: fadeInSlideUp 0.8s ease-out forwards;
  animation-delay: 0.6s;
}

.about-me__right-panel {
  animation: fadeInSlideUp 0.8s ease-out forwards;
  animation-delay: 0.8s;
}

.post__img {
  border-radius: 15px;
  height: 100px;
  float: right;
  margin-left: 5px;
  margin-bottom: 5px;
}

.vergil {
  /* content: url(../img/vergill1.png); */
  position: absolute;
  bottom: -25px;
  right: 5px;
  background-image: url(../img/vergill1.png);
  width: 50px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: grab;
  margin: 10px 0 auto 0;
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* .aboutme__content {
  max-width: 800px;
} */

/* .aboutme__ul {
  margin: 10px 0;
} */
/* .hero__li::marker {
  color: var(--H-color);
} */

.aboutme__li,
.work__li,
.project__li {
  margin: 10px 0;
}

.aboutme__img {
  /* float: left; */
  transform: scaleX(-0.9);
  border-radius: 50%;
  /* height: 100%;
  width: 120px; */
  margin: 0 5px 5px 0;
}

/* i */

.i {
  font-size: 0.85em;
  font-weight: 500;
  padding-left: 10px;
}

/* WORK */
.work {
  /* height: 100%; */
  grid-column: 1/-1;
  grid-column: 1/-1;
  margin-bottom: 40px;
}

.work__container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.work__entry {
  display: flex;
  gap: 20px;
  position: relative;
}

.work__timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  position: relative;
}

.work__timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--base-color);
  border: 2px solid var(--main-color);
  margin-bottom: 10px;
}

.work__entry:not(:last-child) .work__timeline::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 20px);
  background-color: var(--base-color);
  opacity: 0.3;
}

.work__timeline-date {
  color: var(--H-color);
  font-size: 0.85em;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 12px;
  padding: 4px 10px;
  margin-left: 0px;
  display: inline-block;
  z-index: 1;
}

.work__content {
  flex: 1;
  background-color: var(--section-color);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.work__header {
  margin-bottom: 15px;
}

.work__title-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  margin-bottom: 5px;
  color: var(--H-color);
}

.work__title-link:hover {
  color: var(--base-color-hover);
  transform: translateX(3px);
}

.work__arrow-icon {
  width: 16px;
  height: 16px;
  color: var(--base-color);
  transition: transform 0.3s;
}
.work__arrow-icon-meows {
  color: var(--H-color);
}
.work__arrow-icon-starpets {
  color: var(--starpets);
}
.work__arrow-icon-ugoloc {
  color: var(--ugoloc);
}

.work__title-link:hover .work__arrow-icon {
  transform: translate(3px, -3px);
}

.work__location {
  color: var(--placeholder-color);
  font-size: 0.9em;
  margin-top: 5px;
}

.work__summary {
  margin-bottom: 15px;
  color: var(--base-color-black);
  line-height: 1.6;
}

.work__summary strong {
  color: var(--H-color);
  display: block;
  margin-bottom: 8px;
}

.work__summary p {
  margin: 0;
  color: var(--base-color-black);
}

.work__toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--H-color);
  cursor: pointer;
  font-size: 0.95em;
  padding: 8px 0;
  margin-bottom: 15px;
  transition: all 0.3s;
}

.work__toggle-btn:hover {
  color: var(--base-color-hover);
}

/* Скрываем верхнюю кнопку когда контент раскрыт */
.work__content--expanded > .work__toggle-btn:not(.work__toggle-btn--bottom) {
  display: none;
}

.work__toggle-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.work__toggle-btn.active .work__toggle-icon {
  transform: rotate(180deg);
}

.work__toggle-btn--bottom {
  margin-top: 20px;
  margin-bottom: 0;
  padding-top: 15px;
  border-top: 1px solid rgba(30, 93, 51, 0.2);
  display: none;
}

.work__details.active .work__toggle-btn--bottom {
  display: flex;
}

.work__toggle-btn--bottom .work__toggle-icon {
  transform: rotate(180deg);
}

.work__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, margin 0.3s ease-out;
  margin-bottom: 0;
}

.work__details.active {
  max-height: 3000px;
  margin-bottom: 15px;
}

.work__responsibilities {
  color: var(--base-color-black);
  line-height: 1.6;
}

.work__responsibilities strong {
  color: var(--H-color);
  display: block;
  margin-bottom: 10px;
}

.work__technical-skills {
  margin-top: 25px;
  color: var(--base-color-black);
  line-height: 1.6;
}

.work__technical-skills > strong {
  color: var(--H-color);
  display: block;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.work__skills-category {
  margin-bottom: 20px;
}

.work__category-title {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95em;
  font-weight: 600;
}

.work__skills-category .work__ul {
  margin-top: 5px;
  margin-bottom: 0;
}

.work__skills-category .work__li {
  margin-bottom: 6px;
  font-size: 0.9em;
}

.work__ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.work__li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--base-color-black);
}

.work__li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--base-color);
  font-weight: bold;
  font-size: 1.2em;
}

.work__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  cursor: default;
}

.work__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: var(--base-color);
  color: white;
  border: 1px solid var(--base-color);
  border-radius: 20px;
  font-size: 0.85em;
  transition: all 0.3s;
}

.work__tag:hover {
  background-color: rgba(30, 93, 51, 0.2);
  transform: translateY(-2px);
}

.work__tag-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.work__section {
  position: relative;
  grid-column-start: span 2;
  width: 50%;
}

.work__title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 10px 0;
  /* margin-left: 20px; */
  font-size: 1.2em;
  font-weight: bold;
  color: var(--H-color);
  width: fit-content;
  transition: all 0.3s;
}
.work__title:hover {
  opacity: 0.7;
}

.work__title-sp {
  color: var(--starpets);
}

.work__title-sp::before {
  content: "";
  display: block;
  background-image: url(../img/main/sp.ico);
  background-repeat: no-repeat;
  background-size: cover;
  width: 25px;
  height: 25px;
}

.work__title-meows::before {
  content: "";
  display: block;
  background-image: url(../img/main/meowsvpn.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.work__title-ug {
  color: var(--ugoloc);
}

.work__title-ug::before {
  content: "";
  display: block;
  background-image: url(../img/main/u.ico);
  background-repeat: no-repeat;
  background-size: cover;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

/* .work__title::before {
  content: "QA";
  padding: 2px 4px;
  display: block;
  position: relative;
  background-color: var(--btn-color);
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 12px;
} */

.work__ul {
  /* margin: 0; */
}

/* PROJECT */
.project {
  grid-column: 1/-1;
  grid-column: 1/-1;
  margin-bottom: 40px;
}

.project__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.project__card {
  position: relative;
  background-color: var(--section-color);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.project__card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
}

.project__card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.project__card-title:hover {
  color: var(--base-color-hover);
  transform: translateX(3px);
}

.project__arrow-icon {
  width: 16px;
  height: 16px;
  color: var(--base-color);
  transition: transform 0.3s;
}
.project__arrow-icon-trx {
  color: red;
}
.project__arrow-icon-meows {
  color: var(--H-color);
}

.project__card-title:hover .project__arrow-icon {
  transform: translate(3px, -3px);
}

.project__card-description {
  color: var(--base-color-black);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray);
  line-height: 1.5;
}

.project__feature-icon {
  font-size: 1.2em;
  flex-shrink: 0;
  margin-top: 2px;
}

.project__section {
  position: relative;
  width: 100%;
  min-height: 100%;
}
.project_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.project__title {
  font-size: 1.2em;
  font-weight: 600;
  margin: 15px 0;
  /* margin-left: 20px; */
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 5px;
  transition: transform 0.3s;
}
.project__title:hover {
  transform: scale(1.05);
}

.project__title_threeVVV {
  color: var(--H-color);
}
.project__title_threeVVV::before {
  content: "";
  display: block;
  background-image: url(../img/main/meowsvpn.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}
.project__title_minecraft {
  color: var(--minecraft);
}

.project__title_minecraft::before {
  content: "";
  display: block;
  background-image: url(../img/main/crepeer.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
}

.project__title_trx {
  color: red;
}
.project__title_trx::before {
  content: "";
  display: block;
  background-image: url(../img/main/tron.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
}

.project__link {
  color: var(
    --darkreader-text--base-color-active,
    var(--darkreader-text-000000, #e8e6e3)
  );
  transition: all 0.3s;
  text-align: left;
  width: -moz-fit-content;
  width: fit-content;
  transition-property: border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.3s;
  text-decoration: underline;
}

.project__link:hover {
  transform: scale(1.05);
}

.project__link:active {
  transform: scale(1.05);
}

.project_conteiner {
  display: flex;
  flex-direction: column;
}

.blog {
  grid-column: span 2;
}

/* BOOK */
.book {
  grid-column: span 2;
}

.book__list {
  display: flex;
  flex-direction: row;
  gap: 4em;
  margin: 0;
  padding: 3px 3px;
  overflow-x: auto;
  cursor: grab; /* Изменяем курсор для интерактивного эффекта */
}
.book__list:active {
  cursor: grabbing; /* Курсор при перетаскивании */
}
.book__list::-webkit-scrollbar {
  width: 12px;
  height: 5px;
}
.book__list::-webkit-scrollbar-track {
  background: var(--white-color);
  border-radius: 10px;
}
.book__list::-webkit-scrollbar-thumb {
  background: var(--section-color);
  border-radius: 10px;
}

.book-btn {
  width: 12em;
  height: 18em;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: outline 0.1s;
  outline: 3px solid transparent;
  text-decoration: none;
}

.book-btn:hover {
  outline: 3px solid var(--base-color);
}

.dune,
.lord-of-the-rings,
.flowers-for-algernon,
.witcher,
.dol,
.triffids {
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: darken; /* Затемняем фон */
  background-color: rgba(0, 0, 0, 0); /* Добавляем затемнение */
}
.dune {
  background-image: url(https://content.img-gorod.ru/pim/products/images/3c/7a/018fa1e1-abe8-7e79-9101-4b33de393c7a.jpg?width=0&height=1200&fit=bounds);
}
.lord-of-the-rings {
  background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTic3QFR3orZa6YdNtaH4L-fTy2VCcDh12xqA&s);
}
.flowers-for-algernon {
  background-image: url(https://cdn1.ozone.ru/s3/multimedia-r/6053509131.jpg);
}
.witcher {
  background-image: url(https://www.litres.ru/pub/c/cover/122542.jpg);
}
.dol {
  background-image: url(https://ndc.book24.ru/resize/410x590/pim/products/images/44/be/018fa173-ed45-7bea-ad85-af6dab8444be.jpg);
}
.triffids {
  background-image: url(https://www.litres.ru/pub/c/cover/18310054.jpg);
}

.book__item {
  list-style-type: none;
}

.image-book {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
  gap: 5px;
}

/* MINECRAFT section project  */

.minecraft-btn {
  display: inherit;
  /* position: absolute; */
  color: var(--base-color-black);
  inset: 0;
  padding: 10px 0;
  border: 0px solid var(--base-color-black);
  height: 100%;
  z-index: 1;
  background: var(--green2);
  /* box-shadow: 0 1px 5px var(--border-color); */
  /* border: none; */
  cursor: pointer;
  transition: transform 0.2s ease;
  outline: 0px solid transparent;
}
.minecraft-btn:hover {
  outline: none;
  opacity: 0.8;
}
.minecraft-btn:active {
  opacity: 0.6;
  transform: scale(1.015);
}

.minecraft-imgs {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 12px;
  margin: 0px;
  margin-top: 10px;
}

.minecraft-content {
  background-color: var(--white-color);
  margin: 5% auto;
  padding: 30px 20px 20px 20px;
  border-radius: 15px;
  width: 100%;
  max-width: 1024px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.minecraft-content img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 0px;
}
.fullscreen-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.fullscreen-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 30px #000;
}
.fullscreen-overlay.active {
  display: flex;
}
/* end */

/* Обёртка */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

/* Прячем стандартный чекбокс */
.switch input {
  display: none;
}

/* Фон переключателя */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000000; /* светлый фон по умолчанию */
  border-radius: 34px;
  transition: background-color 0.4s;
}

/* Бегунок */
.slider:before {
  content: "☀️"; /* солнце по умолчанию */
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.4s, content 0.4s, background-color 0.4s;
}

/* При тёмной теме */
input:checked + .slider {
  background-color: #555; /* тёмный фон */
}

input:checked + .slider:before {
  content: "🌙"; /* луна */

  transform: translateX(22px);
}

/* FOOTER */
.footer {
  background-color: var(--head-footer--color); /* Темный фон для подвала */
  color: var(--H-color); /* Цвет текста в подвале */
  padding: 5px; /* Внутренние отступы подвала */
  text-align: center; /* Выравнивание содержимого по центру */
  border-radius: 0;
  margin: 0 auto;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
  /* display: flex;
  flex-direction: column; */
  padding: 20px;
  margin-top: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 10px 10px 0 0;
  position: relative;
}

.footer_container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-weight: 500;
  padding: 60px;
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}

.footer__logo {
  justify-content: left;
}
.footer__logo-text {
  animation: flicker2 10s infinite;
}
@keyframes flicker2 {
  0%,
  20%,
  24%,
  50%,
  53%,
  80%,
  100% {
    text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 4px #fff, 0 0 8px #0fa,
      0 0 10px #0fa, 0 0 22px #0fa, 0 0 28px #0fa, 0 0 40px #0fa;
  }
  22%,
  75% {
    text-shadow: none;
  }
}

.footer__c {
  text-align: left;
}

.footer__right {
  display: flex;
  gap: 5em;
}

.kitty {
  position: absolute;
  width: 300px;
  bottom: 70%;
  left: 10px;
  filter: drop-shadow(-6px 20px 6px rgba(0, 0, 0, 0.4));
}
.young-cat {
  position: absolute;
  right: 10px;
  bottom: -55px;
  width: 300px;
  transform: rotate(3.5deg);
  /* filter: drop-shadow(-6px 20px 6px rgba(0, 0, 0, 0.4)); */
}

.footer__social-links {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  margin: 5px;
  gap: 1em;
  align-items: stretch;
  padding: 0;
  margin: 0;
}

.footer__social-links img {
  width: 40px;
}

.footer__link {
  transition: all 0.3s;
  text-align: left;
  padding-bottom: 5px;
  /* border-bottom: 1px solid var(--base-color-black); */
  width: -moz-fit-content;
  width: fit-content;
  transition-property: border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.3s;
  text-decoration: underline;
}
.footer__link:hover {
  transform: scale(1.05);
}

.footer__link:active {
  transform: scale(1.1);
}

.footer__title {
  font-weight: 700;
  text-align: left;
}

/* STATS SITE */
.stats-users {
  color: var(--H-color);
  border-top: 1px solid rgba(128, 128, 128, 0.219);
  border-bottom: 1px solid rgba(128, 128, 128, 0.219);
  padding: 10px 0;
  text-align: left;
}

/* ВРЕМЕННО НЕ ИСПОЛЬЗУЮ!! ПЕРЕДЕЛАЛ РАЗДЕЛ БЛОГА В ОБЫЧНЫЙ РЕЖИМ, СЛАЙДЕР НЕ ЗАШЕЛ */
/* СЛАЙДЕР */
.slider-container {
  position: relative;
  grid-column: span 2;
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 4px;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

.blog__cards {
  min-width: 100%;
  flex-shrink: 0;
}

/* Кнопки управления */
.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.dot {
  width: 20px; /* Ширина кружка */
  height: 20px; /* Высота кружка */
  border-radius: 50%; /* Делает кружок кругом */
  background-color: gray; /* Цвет по умолчанию */
  margin: 0 5px; /* Отступы между кружками */
  cursor: pointer; /* Курсор при наведении */
  transition: background-color 0.3s; /* Анимация смены цвета */
}

.dot.active {
  background-color: var(--btn-color); /* Цвет активного кружка */
}

.main-blog__cards {
  grid-column: 1/-1;
  position: relative;
}

.main-blog__card {
  position: relative;
}
.main-blog__title-link {
  color: var(--H-color);
  text-decoration: none;
}
.main-blog__title-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.link__blog {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  font-size: 1.1em;
  transition: transform 0.1s ease;
}
.link__blog:hover {
  transform: scale(1.03);
}

/* AUDIO */
audio::-webkit-media-controls-enclosure {
  border-radius: 15px;
  background-color: var(--section-color);
  color: var(--base-color-black);
}

.music_section {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
}

.music__content {
  /* width: fit-content; */
  grid-column: span 2;
  max-width: 400px;
  overflow: hidden;
  position: relative;
}

.music__name {
  white-space: nowrap;
  font-size: 1.2em;
  font-weight: 600;
  animation: move 8s linear infinite;
}

.music-btn {
  width: 300px;
  height: auto;
  background: var(--head-footer--color);
  outline: none;
  border: none;
}

.music__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 15px;
}
.music-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  width: fit-content;
}
.music-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative; /* Родитель для абсолютного позиционирования */
}
.music-thumb {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px; /* Опционально */
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 15px;
  opacity: 1;
  transition: opacity 0.3s;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Полупрозрачный оверлей */
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px; /* Совпадает с music-thumb */
}

.music-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  z-index: 2; /* Выше оверлея */
}

.music-item:hover .overlay {
  opacity: 1;
}
.music-item:active {
  transform: scale(1.05);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  opacity: 0;
  transition: all 0.3s;
}
.music-item:hover .play-icon {
  opacity: 0.8;
}

@keyframes move {
  0% {
    transform: translateX(30%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* CHAT */
/* Стили для модального окна */
.chat__modal {
  display: none;
  /* Скрыто по умолчанию */
  position: fixed;
  overflow-y: auto;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  /* затемнение */
}

.chat__title {
  margin: 10px;
}

.chat__textarea {
  width: 100%;
  padding: 10px;
  margin: 5px 0 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1em;
  color: var(--base-color-black);
  background-color: var(--white-color);
}
.chat__textarea:focus {
  border-color: var(--base-color-hover);
  outline: none;
}

.header__chat {
  width: 60px;
  height: 60px;
  cursor: pointer;
  position: fixed;
  bottom: 4%;
  right: 2%;
  z-index: 1;
  fill: var(--H-color); /* Применяем переменную к атрибуту fill */
}

.chat__modal-content {
  background-color: var(--main-color);
  margin: 5% auto;
  line-height: 120%;
  scrollbar-width: 10%;
  padding: 30px 20px 20px 20px;
  border-radius: 15px;
  width: 100%;
  max-width: 1024px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.chat__modal-content::-webkit-scrollbar {
  width: 10px;
}
.chat__modal-content::-webkit-scrollbar-track {
  background: var(--white-color);
  margin: 10px;
  border-radius: 15px;
}
.chat__modal-content::-webkit-scrollbar-thumb {
  background: var(--section-color);
  border-radius: 10px;
}

.chat__close {
  position: fixed;
  top: 10px;
  right: 15px;
  font-size: 2em;
  cursor: pointer;
}

/* Отключаем прокрутку для body, когда добавлен класс 'no-scroll' */
body.no-scroll {
  overflow: hidden;
}

/* Анимация свечения для кнопки */
.animated-text-button {
  position: relative;
  overflow: hidden; /* Скрываем выходящие части градиента */
  transition: transform 0.2s;
  background: linear-gradient(90deg, #00ff84, #5676b4, #00ff84);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-glow 3s linear infinite;
}
/* Ключевые кадры для переливания градиента на тексте */
@keyframes text-glow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* САМ ЧАТ */
.message {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
  background-color: var(--section-color);
  word-wrap: break-word;
}

.message__message {
  margin: 8px 0;
  line-height: 1.5;
}

.message__title {
  font-size: 1.3em;
}

.message-meows {
  background: var(--green);
}

.chat__errorMessages {
  padding: 5px;
  color: red;
  font-weight: 600;
  font-size: 18px;
}

.chat__success-message {
  padding: 5px;
  border: 1px solid green;
  border-radius: 5px;
  background-color: green;
  color: white;
  font-weight: 600;
  font-size: 18px;
  margin: 5px 0;
}

.message__error {
  padding: 4px 0;
}

.message__container-name-date {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.message strong {
  color: var(--H-color);
  font-size: 24px;
}

.message em {
  display: block;
  font-size: 0.8em;
  color: var(--placeholder-color);
  margin-top: 5px;
  text-align: right;
}

#chatForm {
  /* display: flex; */
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

#chatForm input[type="text"],
#chatForm textarea {
  width: 100%;
  padding: 10px;
  margin: 5px 0 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1em;
  color: var(--base-color-black);
  background-color: var(--white-color);
}

textarea {
  resize: none; /* Отключает возможность изменения размера */
}

#chatForm input[type="text"]:focus,
#chatForm textarea:focus {
  border-color: var(--base-color-hover);
  outline: none;
}

#chatForm button {
  align-self: flex-end;
  padding: 10px 20px;
  font-size: 1em;
  color: var(--btn-text-color);
  background-color: var(--btn-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  max-height: 43px;
}

#chatForm button:hover {
  background-color: var(--base-color-hover);
}

.emojiPicker {
  display: none;
  position: absolute;
  border: 1px solid var(--border-color);
  background-color: var(--main-color);
  padding: 10px;
  border-radius: 5px;
  z-index: 1000;
  grid-template-columns: repeat(7, 1fr);
}

.emoji {
  font-size: 20px;
  margin: 5px;
  cursor: pointer;
}

.emoji:hover {
  opacity: 0.7;
}

.emojiButton {
  cursor: pointer;
  font-size: 18px;
}

/* КОНЕЦ ЧАТ */
/* CHAT END */

#meows {
  display: none;
}

/* server minecraft */
.minecraft_server-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: bold;
}

.minecraft_server-status--online {
  background-color: #4caf50;
  color: white;
}

.minecraft_server-status--offline {
  background-color: #ad1a1a;
  color: white;
}

.minecraft_online_text {
  color: var(--base-color-black);
  font-weight: 600;
}

.minecraft_status-text {
  color: var(--base-color-black);
}

.server-status--offline {
  background-color: #f44336;
  color: white;
}

.server-status--maintenance {
  background-color: #ffc107;
  color: black;
}

.minecraft_check_status {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--green);
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  max-width: fit-content;
  /* border: 2px solid #4a4a4a; */
}

.minecraft_status-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #777;
  animation: pulse 2s infinite;
}

.minecraft_status-text {
  font-size: 18px;
  font-weight: bold;
}

.minecraft_icon_online {
  color: #4caf50;
  animation: pulse 2s infinite;
}

.minecraft_icon_offline {
  color: #ffc107;
}

/* ТРЕК СТАТУС */
#lastfm-track {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

#now-playing-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.status-dot.online {
  background-color: #4caf50;
  box-shadow: 0 0 5px #4caf50;
  background: #5dff8a;
  border-radius: 50%;
  box-shadow: 0 0 0 0 #5dff8a;
  animation: pulse 2s infinite;
  display: inline-block;
  vertical-align: middle;
  margin-top: 4px;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(93, 255, 138, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(93, 255, 138, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(93, 255, 138, 0);
  }
}

.status-dot.offline {
  background-color: #888;
}

.track-image img {
  width: 100px;
  max-width: inherit;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  background: #333;
  flex-shrink: 0;
}

.track-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 200px;
}

.track-artist {
  margin: 0;
  font-size: 1.2em;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-name-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.track-name {
  margin: 0;
  font-size: 1em;
  white-space: nowrap;
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 8s linear infinite;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.track-name.short {
  animation: none;
  padding-left: 0;
}

.track-time {
  margin: 0;
  font-size: 0.8em;
  color: var(--placeholder-color);
  opacity: 0.8;
}

/* Стили для contenteditable поля ввода */
.message-input {
  width: 100%;
  min-height: 100px;
  border: 1px solid var(--border-color);
  padding: 10px;
  font-family: inherit;
  font-size: inherit;
  background-color: var(--white-color);
  border-radius: 4px;
  resize: vertical;
  white-space: pre-wrap;
  margin-bottom: 10px;
  outline: none;
}

.message-input:empty:before {
  content: attr(placeholder);
  color: gray;
  display: block;
}

/* Стили для смайликов в сообщениях */
.message__message img {
  vertical-align: middle;
  max-height: 20px;
  width: auto;
}

.emoji:hover {
  background: #e0e0e0;
}

.emoji img {
  vertical-align: middle;
}

/* VPN SLIDER */
.vpn-slider {
  position: relative;
  margin: 20px 0;
  overflow: hidden;

}

.vpn-slider__wrapper {
  overflow: hidden;
  border-radius: 15px;
}

.vpn-slider__container {
  display: flex;
  transition: transform 0.5s ease;
  position: relative;
}

.vpn-slider__slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vpn-slider__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 500px;
  border-radius: 15px;
}

.vpn-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

.vpn-slider__arrow:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.vpn-slider__arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.vpn-slider__arrow--left {
  left: 15px;
}

.vpn-slider__arrow--right {
  right: 15px;
}

.vpn-slider__dots {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.vpn-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.vpn-slider__dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.vpn-slider__dot.active {
  background-color: var(--base-color);
  border-color: var(--base-color);
  transform: scale(1.3);
}
