@font-face {
  font-family: "Times New Roman Regular";
  src: url("../fonts/TimesNewRomanPSMT.eot");
  src: url("../fonts/TimesNewRomanPSMT.eot#iefix") format("embedded-opentype"),
    url("../fonts/TimesNewRomanPSMT.woff") format("woff"),
    url("../fonts/TimesNewRomanPSMT.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
*,
*::after,
*::before {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
ul[class],
ol[class] {
  padding: 0;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}
ul[class] {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
a {
  text-decoration: none;
}
html,
body {
  width: 100%;
  font-family: "Times New Roman Regular";
  background-color: #f8f7f5;
}
.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100%;
}
.main {
  width: 100%;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}
.footer {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
}
.header {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: initial;
  background-image: url(../images/bghd.png);
}
.header__logo {
  padding-right: 20px;
  font-size: 42px;
  font-family: "Cinzel";
  color: #5e2a44;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  text-align: center;
  margin: 0 auto 15px;
}
.header__lend {
  margin-left: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}
.header__lend select {
  margin-left: 9px;
  background: none;
  border: none;
}
.header__nav {
  padding-top: 37px;
  padding-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
}
.header__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  text-align: center;
}
.header__menu a {
  padding-left: 19px;
  padding-right: 19px;
  font-size: 16px;
  font-family: "Cinzel", "Times New Roman", serif;
  color: #5e2a44;
  position: relative;
  transition: all 0.3s ease;
  font-weight: 700;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.header__menu a:hover {
  color: #f8f7f5;
  padding: 10px 19px 10px 19px;
  background-color: rgba(200, 6, 102, 0.9);
  border-radius: 25px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}
.header__menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: #c80666;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.header__menu a:hover::after {
  width: 70%;
}

.header__lend {
  font-size: 16px;
  font-family: "Times New Roman";
  color: #5e2a44;
}
.header__btn {
  font-size: 16px;
  font-family: "Times New Roman";
  color: #5e2a44;
}
.header__btn span {
  padding-left: 20px;
  padding-right: 20px;
  font-size: 12px;
  font-family: "Times New Roman";
  color: #a4919a;
}
.header__btn-new {
  padding-left: 20px;
  padding-right: 20px;
  font-size: 16px;
  font-family: "Times New Roman";
  color: #5e2a44;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}
.header__btn-open {
  padding-left: 12px;
  padding-right: 12px;
  font-size: 16px;
  font-family: "Times New Roman";
  color: #5e2a44;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}
.header__btn-open:hover {
  padding: 15px 12px 15px 12px;
  border: solid #c80666 2px;
  border-radius: 25px;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(200, 6, 102, 0.2);
}
.header__btn-new {
  padding-left: 12px;
  padding-right: 12px;
  font-size: 16px;
  font-family: "Times New Roman";
  color: #5e2a44;
}
.header__btn-new:hover {
  padding: 15px 12px 15px 12px;
  border: solid #c80666 2px;
  border-radius: 25px;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(200, 6, 102, 0.2);
}

.header__btn-new::before, .header__btn-open::before {
  transition: all 0.3s ease;
}

.header__btn-open::before {
  content: url(../images/hdopen.png);
  margin-right: 18px;
}

/* РЎС‚РёР»Рё РєР°СЂСѓСЃРµР»Рё */
.slider__box .carousel-slide {
  margin-right: 15px;
}

.aca__sl .carousel-slide {
  margin-right: 10px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.carousel-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  cursor: grab;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-slide {
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-slide:hover {
  transform: scale(1.02);
  z-index: 1;
}

.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  animation: fadeIn 0.5s ease-out;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.carousel-prev:hover, .carousel-next:hover {
  transform: translateY(-50%) scale(1.15);
  background: rgba(255, 255, 255, 0.9);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.slider .carousel-prev {
  left: 10px;
}

.slider .carousel-next {
  right: 10px;
}

.aca__sl .carousel-prev {
  left: 10px;
}

.aca__sl .carousel-next {
  right: 10px;
}

.carousel-arrow {
  display: block;
  transition: filter 0.3s;
  width: 20px;
  height: 20px;
}

.carousel-prev:hover .carousel-arrow,
.carousel-next:hover .carousel-arrow {
  filter: drop-shadow(0 0 5px rgba(200, 6, 102, 0.7));
}

.carousel-indicators {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(200, 6, 102, 0.3);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.carousel-dot.active, .carousel-dot:hover {
  background: rgba(200, 6, 102, 1);
  transform: scale(1.2);
}

/* РђРЅРёРјР°С†РёСЏ РґР»СЏ РєРЅРѕРїРѕРє РЅР°РІРёРіР°С†РёРё */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

/* РЎС‚РёР»Рё РґР»СЏ Р°РєС‚РёРІРЅРѕР№ РєР°СЂС‚РѕС‡РєРё РєР»Р°СЃСЃР° */
.aca__card {
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  margin-right: 10px;
  margin-bottom: 10px;
}

.aca__card img {
  max-width: 100%;
  height: auto;
  display: block;
}

.aca__card:hover {
  transform: translateY(-5px);
}

.aca__card.active {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(200, 6, 102, 0.3);
}

.aca__card.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background-color: #c80666;
  border-radius: 3px;
}

/* РЈР»СѓС‡С€РµРЅРЅС‹Рµ СЃС‚РёР»Рё РґР»СЏ С„СѓС‚РµСЂР° */
.footer__item a {
  position: relative;
  transition: all 0.3s ease;
}

.footer__item a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #c80666;
  transition: all 0.3s ease;
}

.footer__item a:hover {
  color: #c80666;
}

.footer__item a:hover::after {
  width: 100%;
}

/* Р­С„С„РµРєС‚С‹ РґР»СЏ РёРєРѕРЅРѕРє СЃРѕС†РёР°Р»СЊРЅС‹С… СЃРµС‚РµР№ */
.footer__icon img {
  transition: all 0.3s ease;
}

.footer__icon img:hover {
  transform: translateY(-5px) scale(1.1);
  filter: drop-shadow(0 5px 15px rgba(200, 6, 102, 0.5));
}

/* РњРµРґРёР°-Р·Р°РїСЂРѕСЃС‹ РґР»СЏ Р°РґР°РїС‚РёРІРЅРѕСЃС‚Рё */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }
  .carousel-prev {
    left: 10px;
  }
  .carousel-next {
    right: 10px;
  }
}

@media (max-width: 992px) {
  .header__nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .header__menu {
    margin: 10px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .header__menu a {
    padding: 5px 10px;
    margin-bottom: 5px;
  }
  .footer__wrapper {
    flex-wrap: wrap;
  }
  .footer__item {
    width: 50%;
    margin-bottom: 20px;
  }
  .carousel-prev {
    left: -20px;
  }
  .carousel-next {
    right: -20px;
  }
  .slider .carousel-prev {
    left: -20px;
  }
  .slider .carousel-next {
    right: -20px;
  }
  .aca__sl .carousel-prev {
    left: -20px;
  }
  .aca__sl .carousel-next {
    right: -20px;
  }
  .footer {
    display: none !important;
  }
  .class-icons-grid,
  .aca__card,
  .aca__box {
    display: none !important;
  }
  .aca__inner,
  .aca__img,
  .aca__img2,
  .aca__item2 {
    display: none !important;
  }
  .aca__content {
    margin-right: 0;
    text-align: center;
  }
  .aca__text, .aca__text2, .aca__text p, .aca__text2 p {
    text-align: center;
  }
  .aca__box {
    margin: 30px auto;
  }
  .class-icons-grid {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .anons__wrapper {
    flex-direction: column;
  }
  .aca__wrapper {
    flex-direction: column;
  }
  .aca__item {
    text-align: center;
  }
  .aca__title {
    text-align: center;
  }
  .aca__content {
    margin-right: 0;
    text-align: center;
  }
  .aca__text, 
  .aca__text2 {
    text-align: center;
  }
  .aca__item2 {
    margin-top: 20px;
  }
  .aca__inner {
    flex-direction: column;
  }
  .footer__item {
    width: 100%;
  }
  .header__btn {
    margin-top: 10px;
  }
  .header__lend {
    margin: 5px 0;
  }
  .carousel-prev, .carousel-next {
    width: 35px;
    height: 35px;
    top: 40%;
  }
  .carousel-arrow {
    width: 18px;
    height: 18px;
  }
  .header__logo {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }
  
  /* Стили для адаптации навбара */
  .header__nav {
    flex-wrap: wrap !important;
  }
  
  .header__logo {
    width: 100% !important;
    margin: 0 auto 15px !important;
  }
}

@media (max-width: 576px) {
  .header__lend {
    margin-left: 0;
  }
  .header__btn {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  .header__btn a {
    margin: 5px;
  }
  .slider__content p {
    padding: 5px;
  }
  .carousel-prev, .carousel-next {
    width: 30px;
    height: 30px;
    z-index: 100;
    background: rgba(255, 255, 255, 1);
  }
  .carousel-arrow {
    width: 15px;
    height: 15px;
  }
  .aca__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .aca__btn-play, .aca__btn-aca {
    margin-bottom: 10px;
  }
  .slider .carousel-prev,
  .slider .carousel-next,
  .aca__sl .carousel-prev,
  .aca__sl .carousel-next {
    top: 50%;
    width: 30px;
    height: 30px;
  }
}

/* РЈР»СѓС‡С€РµРЅРёСЏ РґР»СЏ РјРѕР±РёР»СЊРЅРѕР№ РІРµСЂСЃРёРё */
@media (max-width: 480px) {
  .header__logo {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  
  .slider__card1, .slider__card2, .slider__card3, .slider__card4 {
    min-height: 300px;
  }
  
  .slider__content {
    padding: 15px;
  }
  
  .footer__item1, .footer__item, .footer__item2 {
    text-align: center;
    width: 100%;
  }
  
  .footer__icon {
    justify-content: center;
  }
  
  .footer__list {
    justify-content: center;
  }
}

.anons__wrapper {
  padding-top: 125px;
  padding-bottom: 125px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.anons__title {
  font-size: 15px;
  font-family: "Times New Roman";
  color: #fff;
  width: 97px;
  padding-bottom: 18px;
  background-color: #c80666;
  border-radius: 20px;
  padding: 12px 30px 12px 30px;
}
.anons__item p {
  font-size: 16px;
  font-family: "Open Sans";
  color: #5e2a44;
  line-height: 1.625;
  text-align: left;
}
.anons__perfect {
  padding-top: 18px;
  font-size: 24px;
  font-family: "Times New Roman";
  color: #5e2a44;
}
.anons__open {
  font-size: 43px;
  font-family: "Times New Roman";
  color: #5e2a44;
  padding-bottom: 30px;
}
.anons__btn {
  margin-top: 41px;
}
.anons__btn a {
  font-size: 14px;
  font-family: "Times New Roman";
  color: #5e2a44;
  border-radius: 50px;
  border: solid #c80666 2px;
  padding: 14px 18px 14px 30px;
}
.anons__btn a::before {
  content: url(../images/anbtn.png);
  margin-right: 13px;
}
.slider {
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../images/bgsl.png);
  padding-bottom: 100px;
}
.slider__box {
  height: 100%;
}
.slider__card1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  height: 409px;
  width: 347px;
  background-repeat: no-repeat;
  background-image: url(../images/bg-sl1.png);
}
.slider__card2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  height: 409px;
  width: 347px;
  background-repeat: no-repeat;
  background-image: url(../images/bg-sl2.png);
}
.slider__card3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  height: 409px;
  width: 347px;
  background-repeat: no-repeat;
  background-image: url(../images/bg-sl3.png);
}
.slider__card4 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  height: 409px;
  width: 347px;
  background-repeat: no-repeat;
  background-image: url(../images/bg-sl4.png);
}
.slider__time {
  font-size: 14px;
  font-family: "Times New Roman";
  color: #94878b;
  padding-bottom: 18px;
  padding-top: 160px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.slider__time::before {
  margin-right: 5px;
  content: url(../images/clok.png);
}
.slider__title {
  font-size: 18px;
  font-family: "Times New Roman";
  color: #5e2a44;
  padding-bottom: 23px;
}
.slider__card1 p {
  font-size: 14px;
  font-family: "Open Sans";
  color: #7e6d76;
  text-align: left;
  padding-bottom: 45px;
}
.slider__card2 p {
  font-size: 14px;
  font-family: "Open Sans";
  color: #7e6d76;
  text-align: left;
  padding-bottom: 45px;
}
.slider__card3 p {
  font-size: 14px;
  font-family: "Open Sans";
  color: #7e6d76;
  text-align: left;
  padding-bottom: 45px;
}
.slider__card4 p {
  font-size: 14px;
  font-family: "Open Sans";
  color: #7e6d76;
  text-align: left;
  padding-bottom: 45px;
}
.slider__content {
  margin-bottom: 30px;
  margin-left: 28px;
}
.slider__btn {
  height: 70px;
}
.slider__btn a {
  font-size: 14px;
  font-family: "Times New Roman";
  color: #5e2a44;
  border-radius: 50px;
  border: solid #c80666 2px;
  padding: 14px 18px 14px 30px;
}
.slider__btn a::before {
  content: url(../images/btn-sl.png);
  margin-right: 14px;
}
.aca {
  background-image: url(../images/aca_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.aca__title {
  font-size: 38px;
  font-family: "Times New Roman";
  color: #5e2a44;
  text-transform: uppercase;
  line-height: 0.579;
  padding-bottom: 40px;
  text-align: center;
}

.aca__wrapper {
  padding-top: 100px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: row;
}

.aca__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.aca__content {
  margin-right: 110px;
  text-align: left;
}

.aca__text {
  font-size: 16px;
  font-family: "Open Sans";
  color: #5e2a44;
  padding-bottom: 36px;
  text-align: left;
}

.aca__text2 {
  font-size: 16px;
  font-family: "Open Sans";
  color: #5e2a44;
  text-align: left;
}

.aca__text p, 
.aca__text2 p {
  text-align: left;
}

.aca__box {
  margin-top: 50px;
  width: 620px;
  margin-bottom: 50px;
}

.aca__btn {
  display: flex;
  flex-direction: row;
  margin-bottom: 30px;
}

.aca__btn-play {
  display: inline-block;
  background-color: #c80666;
  color: #fff;
  font-size: 16px;
  font-family: "Times New Roman";
  text-align: center;
  padding: 15px 25px;
  border-radius: 25px;
  border: none;
  margin-right: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.aca__btn-play:hover {
  background-color: #a8055a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(200, 6, 102, 0.3);
}

.aca__btn-aca {
  display: inline-block;
  background-color: transparent;
  color: #c80666;
  font-size: 16px;
  font-family: "Times New Roman";
  text-align: center;
  padding: 13px 25px;
  border-radius: 25px;
  border: 2px solid #c80666;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.aca__btn-aca:hover {
  background-color: #c80666;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(200, 6, 102, 0.3);
}

@media (max-width: 576px) {
  .aca__btn {
    text-align: center;
    margin-bottom: 30px;
  }

  .aca__btn-play {
    display: block;
    margin: 0 auto 15px;
    padding: 12px 20px;
    font-size: 14px;
    max-width: 200px;
  }

  .aca__btn-aca {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 14px;
    max-width: 200px;
  }
}

/* Стили для эффекта ряби (ripple) */
.ripple {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
  z-index: 1;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Обеспечиваем overflow:hidden для контейнера с эффектом ряби */
.aca__btn-play, .aca__btn-aca {
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .aca__btn {
    flex-direction: column;
    margin-top: 40px;
  }
  .aca__btn-play, .aca__btn-aca {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    justify-content: center;
  }
  .aca__btn-play {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .aca__btn-play, .aca__btn-aca {
    padding: 15px 30px;
    font-size: 16px;
  }
  .aca__btn-play::before, .aca__btn-aca::before {
    transform: scale(0.9);
    margin-right: 10px;
  }
}

/* Медиа запросы */
@media (min-width: 993px) {
  .aca__wrapper {
    padding: 50px 0;
  }
  
  .aca__title {
    font-size: 48px;
  }
  
  .aca__text, 
  .aca__text2 {
    font-size: 18px;
  }
  
  .class-icons-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    max-width: 700px;
  }
}

@media (max-width: 992px) {
  .aca__wrapper {
    padding: 40px 0;
  }
  
  .aca__title {
    font-size: 38px;
  }
  
  .class-icons-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
  }
}

@media (max-width: 768px) {
  .aca__wrapper {
    padding: 30px 0;
  }
  
  .aca__title {
    font-size: 34px;
  }
  
  .aca__text, 
  .aca__text2 {
    font-size: 16px;
  }
  
  .class-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
  }
}

@media (max-width: 576px) {
  .aca__title {
    font-size: 30px;
  }
  
  .class-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
  }
}

@media (max-width: 480px) {
  .aca__title {
    font-size: 28px;
    padding-bottom: 25px;
  }
  
  .aca__title::after {
    width: 80px;
    bottom: 12px;
  }
  
  .class-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 8px;
  }
}

.slick-prev {
  width: 0px !important;
  height: 0px !important;
  top: 25% !important;
}

.slick-prev:before {
  content: url(../images/arrov1.png) !important;
  margin-left: -30px;
}

.slick-next {
  width: 0px !important;
  height: 0px !important;
  top: 25% !important;
}

.slick-next:before {
  content: url(../images/arrov2.png) !important;
  margin-left: -20px;
}

.footer {
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../images/bg-footer.png);
}

.footer__wrapper {
  padding-top: 100px;
  padding-bottom: 64px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.footer__item1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  cursor: pointer;
}

.footer__logo h3 {
  font-size: 42px;
  font-family: "Cinzel";
  color: #5e2a44;
  line-height: 0.81;
  padding-bottom: 19px;
}

.footer__title h4 {
  font-size: 16px;
  font-family: "Times New Roman";
  color: #5e2a44;
  line-height: 1.563;
  padding-bottom: 27px;
}

.footer__item1 p {
  font-size: 10px;
  font-family: "Open Sans";
  color: #5e2a44;
  line-height: 1.6;
  padding-bottom: 33px;
  text-align: inherit;
}

.footer__item2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-left: 197px;
}

.footer__item img {
  width: 168px;
}

.footer__icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

.footer__icon img:nth-child(2) {
  padding-left: 15px;
  padding-right: 15px;
}

.footer__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

.footer__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-left: 124px;
}

.footer__item a {
  font-size: 16px;
  font-family: "Times New Roman";
  color: #5e2a44;
  line-height: 3.125;
}

.footer__list a {
  padding-right: 29px;
  font-size: 12px;
  font-family: "Times New Roman";
  color: #5e2a44;
  text-decoration: none;
  line-height: 1.667;
}

.footer__item1 {
  padding-left: 0px;
}

/* Р”РѕР±Р°РІР»СЏРµРј РёРєРѕРЅРєРё СЃРѕС†РёР°Р»СЊРЅС‹С… СЃРµС‚РµР№ */
.social-icon {
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.social-icon.discord {
    background-image: url('../images/discord.png');
}

.social-icon.youtube {
    background-image: url('../images/yt.png');
}

.social-icon.facebook {
    background-color: #4267B2;
    border-radius: 50%;
    position: relative;
}

.social-icon.facebook::before {
    content: 'f';
    position: absolute;
    color: white;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*
     FILE ARCHIVED ON 20:55:47 Nov 24, 2021 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 17:02:38 May 12, 2025.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.698
  exclusion.robots: 0.031
  exclusion.robots.policy: 0.017
  esindex: 0.014
  cdx.remote: 159.951
  LoadShardBlock: 265.422 (3)
  PetaboxLoader3.datanode: 234.026 (4)
  PetaboxLoader3.resolve: 146.96 (2)
  load_resource: 132.089
*/
.header__cabinet-btn {
  padding: 10px 15px;
  font-size: 16px;
  font-family: "Times New Roman";
  color: #5e2a44;
  background-color: transparent;
  transition: all 0.3s ease;
  border: 2px solid #c80666;
  border-radius: 25px;
  text-transform: uppercase;
  display: inline-block;
  margin: 0 15px;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.header__cabinet-btn:hover {
  background-color: #c80666;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(200, 6, 102, 0.2);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

/* Дополнительные стили для центрирования навбара */
.header__nav {
  justify-content: center !important;
  display: flex !important;
  width: 100% !important;
  margin: 0 auto !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}

.header__logo {
  text-align: center !important;
  margin: 0 20px 0 0 !important;
  padding-right: 0 !important;
  width: auto !important;
  flex-shrink: 0 !important;
}

.header__menu {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  margin: 0 auto !important;
  width: auto !important;
}

.header__cabinet-btn {
  margin: 0 15px !important;
}

@media (max-width: 768px) {
  .header__nav {
    flex-wrap: wrap !important;
  }
  
  .header__logo {
    width: 100% !important;
    margin: 0 auto 15px !important;
  }
}

/* Мобильное меню */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  position: relative;
  z-index: 999;
  margin: 0 15px;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #5e2a44;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(248, 247, 245, 0.98);
  z-index: 998;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu a {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 20px;
  color: #5e2a44;
  margin: 15px 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  color: #c80666;
  transform: translateY(-3px);
}

.mobile-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: #c80666;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.mobile-menu a:hover::after {
  width: 100%;
}

.mobile-menu.active {
  display: flex;
}

.body-overflow-hidden {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Медиа-запросы для мобильного меню */
@media (max-width: 992px) {  .header__menu {    display: none !important;  }    .mobile-menu-toggle {    display: flex !important;  }    .header__nav {    justify-content: space-between !important;    padding: 15px 0 !important;  }    .header__logo {    margin: 0 !important;    flex-grow: 1;  }    /* Центрирование блока PERFECT WORLD на мобильных */  .aca__content {    margin-right: 0 !important;    text-align: center !important;  }    .aca__title {    text-align: center !important;  }    .aca__text,   .aca__text2,   .aca__text p,   .aca__text2 p {    text-align: center !important;  }    .aca__box {    margin: 30px auto !important;  }    .class-icons-grid {    justify-content: center !important;  }}

.aca__text {
  font-size: 16px;
  font-family: "Open Sans";
  color: #5e2a44;
  padding-bottom: 36px;
  text-align: left; /* Явное выравнивание по левому краю для десктопа */
}

.aca__text2 {
  font-size: 16px;
  font-family: "Open Sans";
  color: #5e2a44;
  text-align: left; /* Явное выравнивание по левому краю для десктопа */
}

.aca__text p, 
.aca__text2 p {
  text-align: left; /* Явное выравнивание по левому краю для десктопа */
}

.slick-prev {
  width: 0px !important;
  height: 0px !important;
  top: 25% !important;
}

.slick-prev:before {
  content: url(../images/arrov1.png) !important;
  margin-left: -30px;
}

.slick-next {
  width: 0px !important;
  height: 0px !important;
  top: 25% !important;
}

.slick-next:before {
  content: url(../images/arrov2.png) !important;
  margin-left: -20px;
}

.class-icons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0;
}

