.icon-borntobebad {
background-image: url(/promo_bonus/img/clans/borntobebad.jpg);
}

.icon-tribunal {
background-image: url(/promo_bonus/img/clans/tribunal.jpg);
}

.icon-goldenglory {
background-image: url(/promo_bonus/img/clans/goldenglory.jpg);
}

.icon-twg {
background-image: url(/promo_bonus/img/clans/twg.jpg);
}

.icon-blackz {
background-image: url(/promo_bonus/img/clans/blackz.jpg);
}

.icon-fearfactory {
background-image: url(/promo_bonus/img/clans/fearfactory.jpg);
}

.icon-soulstealers {
background-image: url(/promo_bonus/img/clans/soulstealers.jpg);
}

.icon-impact {
background-image: url(/promo_bonus/img/clans/impact.jpg);
}

.icon-karmateam {
background-image: url(/promo_bonus/img/clans/karmateam.jpg);
}

.icon-hitme {
background-image: url(/promo_bonus/img/clans/hitme.png);
}

.icon-furia {
background-image: url(/promo_bonus/img/clans/furia.jpg);
}

.header-lang-flag {
	border-radius: 5px;
}

.footer-link {
	margin: 10px;
}

.footer-link:hover {
	color: #dad0a4;
	transition: color 0.5s ease;
}

.promo-video {
	width: 100%;
}

.streams-video::after {
	border: 2px solid #00000000; !important;
}

/* Фон на body — прокручивается со страницей (без position:fixed слоя). */
body {
  background-image: url("../img/bg-xm.jpg") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center 0% !important;
  background-attachment: scroll !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.button-primary {
  background-image: url("../img/button-bg.png") !important;
} 

.button-sm::after {
  background-image: url("../img/button-sm-filled.png") !important;
}


.events-home-timer-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px; 
    margin-bottom: 10px;
    flex-wrap: wrap;
    margin-left: 20px;
}

.events-timer-values {
    display: flex;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    color: #AFAFAF;
    width: 70px;
    aspect-ratio: 1;
    text-transform: uppercase;
    position: relative;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    margin: 10px 0 0 0px;
}

.events-timer-values:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(../img/circle-lg.png);
    background-size: 100% 100%;
    top: 50%;
    left: 47%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.events-timer-values span {
    font-size: 20px;
    color: #ffffff;
    text-shadow: 0 0 6px #ffd217, 0 0 10px #ff9800;
}

.footer-socials__link--cyan {
  --hover-bg: #A06897 !important;
}
.footer-socials__link--dark-blue {
    --hover-bg: #2f33409e !important;
}

.footer-socials__link--green {
    --hover-bg: #0ae97a9e !important;
}

.footer-socials {
	grid-template-columns: repeat(5, 1fr) !important;
}

.logo-main {
	height: 24px;
	width: 24px;
	opacity: 0.75;
}

.logo-main:hover {
	opacity: 1;
}

.footer-socials__link::after {
    top: calc(50% + 2px) !important;
    left: calc(50% - 8px) !important;
}


@media (max-width: 1280px) {
    .footer-socials__link::after {
        top: calc(50% + 1px) !important;
        left: calc(50% - 6px) !important;
    }

    .footer-socials__link img, .footer-socials__link svg {
        max-height: 28px !important;
    }
}

.header .navigation__contact__language {
    padding: 10px 10px !important;
}

.header .navigation__contact {
    gap: 20px !important;
}

/* .header .navigation__contact__cabinet button {
    background: url(../img/button-sm-filled.png) no-repeat center center !important;
} */

.cards .card-items__heading {
/*    background-color: #252525cf;
    border-radius: 10px;
    padding: 10px;*/
}

.card-items:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(70%, #2f1d1d)); */
    background-image: -webkit-gradient(linear, left top, left bottom, from(#acacac4a), color-stop(70%, #000000d4));
}

.countdown-box {
    /* text-shadow: 0 0 6px #ffd217, 0 0 10px #ff9800; */
  text-shadow: 0 0 20px rgb(235 235 235);
}

.events-heading .heading-label {
    /* margin-bottom: 0px !important; */
}

/*.events-server-info__footer {
    grid-gap: 0px !important;
}*/

.events-server-info__description {
    gap: 0px !important;
}

.modal-open {
  overflow: hidden;
}

.home-timer {
    margin-left: 15px;
}

/* /aw-xm: поднять стек героя (в .home контент по вертикали по центру) */
.home .home-hero-stack {
  margin-top: clamp(-7rem, -14vh, -3rem);
}

.events-server-info__label {
    color: #B52A25 !important;
}
.roadmap-block-title span{
    color: #B52A25 !important;
}

.projects-slider-heading::after {
  background-color: #ffffff2e !important;
}

.projects-slider-btn img {
  width: 250px !important;
}

.projects-slider-btn.left {
    left: -100px !important;
}
.projects-slider-btn.right {
    right: -100px !important;
}



/* === ИНДИВИДУАЛЬНЫЕ ТЁМНЫЕ ГРАДИЕНТЫ ДЛЯ КЛАНОВ === */
/* === Базовая карточка === */
/* .reviews-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 10, 20, 0.4);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.8rem;
  transition: transform 0.4s ease, border-color 0.4s ease;
  z-index: 0;
} */

/* === Плавный фон через before === */
.reviews-grid-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 0.6s ease, background 0.6s ease;
  z-index: 0;
  border-radius: inherit;
}

/* === Общие эффекты при наведении === */
.reviews-grid-item:hover {
  /* transform: translateY(-4px); */
  border-color: rgba(255, 255, 255, 0.2);
}

.reviews-grid-item:hover::before {
  opacity: 1;
}

/* === Уникальные градиенты (появляются плавно) === */

/* GOLDENGLORY */
.reviews-grid-item:hover:has(.icon-goldenglory) {
  border-color: #c8c8c8;
}
.reviews-grid-item:hover:has(.icon-goldenglory)::before {
  background: linear-gradient(135deg, #0f0f0f 0%, #1f1f1f 50%, #3b3b3b 100%);
  box-shadow: 0 0 25px rgba(200, 200, 200, 0.15);
}

/* === BLACKZ — вертикальный градиент сверху вниз, черно-серая рамка === */
.reviews-grid-item:hover:has(.icon-blackz) {
  border-color: #161111;
}

.reviews-grid-item:hover:has(.icon-blackz)::before {
  background: linear-gradient(to bottom, #000000 0%, #0a0a0a 50%, #2b2b2b 100%);
  box-shadow: 0 0 25px rgba(90, 90, 90, 0.25);
}

/* TWG */
.reviews-grid-item:hover:has(.icon-twg) {
  border-color: #0d47a1;
}
.reviews-grid-item:hover:has(.icon-twg)::before {
  background: linear-gradient(135deg, #0b0f2a 0%, #1a237e 50%, #0d47a1 100%);
  box-shadow: 0 0 25px rgba(13, 71, 161, 0.35);
}

/* === BORNTOBEBAD — черно-белый с красным акцентом, белая рамка и свет === */
.reviews-grid-item:hover:has(.icon-borntobebad) {
  border-color: #444444;
}

.reviews-grid-item:hover:has(.icon-borntobebad)::before {
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    ),
    linear-gradient(
      135deg,
      #000000 0%,
      #2b2b2b 50%,
      #5e0a0a 70%,
      #b30000 85%,
      #ffffff 100%
    );
  box-shadow:
    inset 0 0 30px rgba(255, 255, 255, 0.08),
    0 0 30px rgba(255, 0, 0, 0.25);
  transition: all 0.4s ease-in-out;
}


/* FEARFACTORY */
.reviews-grid-item:hover:has(.icon-fearfactory) {
  border-color: #cb8238;
}
.reviews-grid-item:hover:has(.icon-fearfactory)::before {
  background: linear-gradient(135deg, #0d0a07 0%, #1a120a 50%, #cb8238 100%);
  box-shadow: 0 0 25px rgba(203, 130, 56, 0.35);
}

/* TRIBUNAL */
.reviews-grid-item:hover:has(.icon-tribunal) {
  border-color: #8b0000;
}
.reviews-grid-item:hover:has(.icon-tribunal)::before {
  background: linear-gradient(135deg, #000000 0%, #250000 50%, #8b0000 100%);
  box-shadow: 0 0 25px rgba(139, 0, 0, 0.4);
}

/* SOULSTEALERS */
.reviews-grid-item:hover:has(.icon-soulstealers) {
  border-color: #7c4dff;
}
.reviews-grid-item:hover:has(.icon-soulstealers)::before {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #7c4dff 100%);
  box-shadow: 0 0 25px rgba(124, 77, 255, 0.35);
}

/* IMPACT */
.reviews-grid-item:hover:has(.icon-impact) {
  border-color: #546e7a;
}
.reviews-grid-item:hover:has(.icon-impact)::before {
  background: linear-gradient(135deg, #0d1420 0%, #263238 50%, #546e7a 100%);
  box-shadow: 0 0 25px rgba(84, 110, 122, 0.35);
}

/* KARMATEAM — /aw-xm: при ховере чёрный градиент и рамка #CA7812 */
.reviews-grid-item:hover:has(.icon-karmateam) {
  border-color: #CA7812;
  box-shadow:
    0 0 18px rgba(202, 120, 18, 0.3),
    0 0 0 1px rgba(202, 120, 18, 0.35),
    inset 0 1px 0 rgba(235, 176, 90, 0.15);
}

.reviews-grid-item:hover:has(.icon-karmateam)::before {
  background: linear-gradient(155deg, #000000 0%, #0d0d0d 35%, #141414 65%, #080808 100%);
  box-shadow:
    inset 0 0 48px rgba(0, 0, 0, 0.75),
    0 0 25px rgba(202, 120, 18, 0.22);
}

/* HITME */
.reviews-grid-item:hover:has(.icon-hitme) {
  border-color: #c62828;
}

.reviews-grid-item:hover:has(.icon-hitme)::before {
  background: linear-gradient(135deg, #1a0505 0%, #4a0e0e 50%, #c62828 100%);
  box-shadow: 0 0 25px rgba(198, 40, 40, 0.35);
}

/* FURIA */
.reviews-grid-item:hover:has(.icon-furia) {
  border-color: #ff6d00;
}
.reviews-grid-item:hover:has(.icon-furia)::before {
  background: linear-gradient(135deg, #3e0000 0%, #bf360c 50%, #ff6d00 100%);
  box-shadow: 0 0 25px rgba(255, 109, 0, 0.4);
}

/* === Текст и заголовки === */
.reviews-grid-item * {
  position: relative;
  z-index: 1;
}

.reviews-grid-item:hover .reviews-grid-item__heading-hl,
.reviews-grid-item:hover .reviews-grid-item__heading-title {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.reviews-grid-item__heading-hl,
.reviews-grid-item__heading-title,
.reviews-grid-item p {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}



.reviews-grid-item__heading-hl {
  color: #B52A25 !important;
}








.heading-label {
  color: #E65971  !important;
  font-size: 2rem;
}
.home-aside__title span {
  color: #E65971  !important;
}

.home-aside__title {
  white-space: nowrap;
}

/* .header .navigation__menu__bar-list li a {
  color: #C3BD9D;
  /* text-shadow: 0 0 3px #ffffff78; */
  /* text-shadow: 0 0 6px rgba(229,181,103,0.4); 
*/

/* .header .navigation__menu__bar-list li a:hover {
  color: #E5B567;
  text-shadow: 0 0 6px rgba(229,181,103,0.4);
} */

.header .navigation__menu__bar-list li a::after {
  background-color: #E65971;
}

.header .navigation__menu__bar-list li a:hover {
  color: #ffffff !important;
}





.card-btn {
  opacity: 0.5;
  transition: all 0.3s ease-in-out;
}

.card-btn img {
  opacity: 1;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.card-items:hover .card-btn img {
  content: url("../img/button-sm-filled.png");
}




.projects-slider-image {
  position: relative;
  overflow: hidden;
}

.projects-slider-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease-in-out;
  opacity: 0.8; /* слегка затемнено, как превью */
}

.projects-slider-image:hover video {
  opacity: 1;
}
 
.home-slider-pagination .progress {
  background: #E65971  !important;
}



.events-main {
  position: relative;
}


.events-server-pagination {
  position: absolute;
  bottom: 20px;
  left: 45px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.events-server-pagination .swiper-pagination-bullet {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
  cursor: pointer;
}

.events-server-pagination .progress {
  position: absolute;
  inset: 0;
  background: #E65971;
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}





.events-server {
  position: relative;
  overflow: hidden;
}

.events-server .events-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  transition: transform 3s ease;
}

.events-server::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* затемнение */
  z-index: 1;
}

.events-server > *:not(.events-bg) {
  position: relative;
  z-index: 2;
}

/* активный слайд слегка оживает */
.events-server.swiper-slide-active .events-bg {
  transform: scale(1.05);
}

















/* === КНОПКА DIABLO IV — статичная, без пульсации === */
.diablo4-wrapper {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
}

.diablo4-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Cinzel', serif !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #fff3d6 !important;
  padding: 10px 32px !important;
  border: 3px solid #f3e8e987 !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, #3a0000 0%, #080000 100%) !important;
  box-shadow:
    inset 0 0 10px rgba(255, 60, 0, 0.5),
    0 0 0 rgba(0, 0, 0, 0); /* без внешнего свечения */
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  z-index: 2 !important;
}

/* Внутренний жар */
.diablo4-btn::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at 50% 80%, rgba(255, 70, 0, 0.55), rgba(255, 0, 0, 0.1) 70%) !important;
  mix-blend-mode: screen !important;
  opacity: 0.9 !important;
  z-index: 1 !important;
}

/* Текстура / металл */
.diablo4-btn::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 6px !important;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0,
      transparent 6px,
      rgba(0, 0, 0, 0.35) 7px,
      transparent 9px
    ),
    repeating-linear-gradient(
      -65deg,
      transparent 0,
      transparent 8px,
      rgba(255, 255, 255, 0.04) 9px,
      transparent 11px
    ),
    linear-gradient(180deg, rgba(255, 40, 0, 0.05), rgba(255, 0, 0, 0.07)) !important;
  background-blend-mode: overlay !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

/* Текст */
.diablo4-btn span {
  position: relative !important;
  z-index: 3 !important;
  color: #fff3d6 !important;
  text-shadow:
    0 0 5px rgba(255, 100, 0, 0.7),
    0 0 14px rgba(255, 0, 0, 0.6);
  transition: text-shadow 0.3s ease, color 0.3s ease !important;
}

/* Hover — добавляет рамку и внешнее свечение */
.diablo4-wrapper:hover .diablo4-btn {
  border-color: #c60000 !important;
  box-shadow:
    0 0 14px rgba(255, 40, 0, 0.6),
    inset 0 0 10px rgba(255, 80, 0, 0.6);
  transform: scale(1.04);
}

.diablo4-wrapper:hover .diablo4-btn::before {
  opacity: 1 !important;
  filter: brightness(1.4) saturate(1.5);
}

.diablo4-wrapper:hover .diablo4-btn span {
  text-shadow:
    0 0 6px rgba(255, 100, 0, 0.8),
    0 0 16px rgba(255, 0, 0, 0.7);
}

/* Актив — сжатие */
.diablo4-wrapper:active .diablo4-btn {
  transform: scale(0.97);
  box-shadow:
    inset 0 0 10px rgba(255, 0, 0, 0.6),
    0 0 16px rgba(255, 0, 0, 0.4);
}




.events-server-info__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

/* общий стиль для онлайн и даты открытия */
.events-server-info__description-online,
.events-server-info__label {
  position: relative;
  display: inline-block;
  color: #f5eada !important; /* универсальный светлый оттенок */
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55); /* полу-прозрачная подложка для читаемости */
  backdrop-filter: blur(2px);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 6px rgba(0, 0, 0, 0.7);
  transition: background 0.3s ease, text-shadow 0.3s ease;
}

/* при наведении карточки чуть усиливаем контраст */
.events-slider__item:hover .events-server-info__description-online,
.events-slider__item:hover .events-server-info__label {
  background: rgba(0, 0, 0, 0.75);
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 1),
    0 0 8px rgba(0, 0, 0, 0.9);
}


.events-server-info__logo img {
  filter: brightness(0) invert(1) !important;
}

/* фикс слайдера */
/* Основной контейнер — режем всё лишнее */
.events-main {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 0 !important; /* обязательно */
}

/* Обёртка Swiper — без отступов и скролла */
.events-main .swiper {
  overflow: hidden;
}

/* Выровняем внутренности */
.events-main .swiper-wrapper {
  display: flex;
  margin: 0 !important;
  padding: 0 !important;
}

/* Каждый слайд ровно на ширину контейнера */
.events-main .swiper-slide {
  width: 100% !important;
  flex-shrink: 0;
  margin: 0 !important;
}

/* Видео корректно вписывается */
.events-main video.events-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.events-main::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: inherit;
}
.events-main {
  margin-right: -1px;
}








/* === Контейнер отзывов === */
.reviews-grid {
  position: relative;
  /* max-height: 700px; */
  max-height: none;
  overflow: hidden;
  transition: max-height 0.6s ease-in-out;
}

/* Градиентное затенение снизу */
.reviews-grid::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px; /* высота зоны затемнения */


  /* background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0)); */

  pointer-events: none;
  transition: opacity 0.4s ease;
  opacity: 1;
}



.reviews-grid.expanded {
  max-height: 3000px; /* или auto, если контента немного */
}

/* При раскрытии — убираем градиент */
.reviews-grid.expanded::after {
  opacity: 0;
}

/* /aw-xm: четыре клана — одна строка, 4 карточки (на промежуточных ширинах иначе сетка 4 колонки даёт только 2 малых в ряд) */
@media (max-width: 1281px) and (min-width: 577px) {
  .reviews-grid-item--xm-four:not(.reviews-grid-item--span) {
    grid-column: span 1 !important;
  }
}

/* === КНОПКА РАСКРЫТИЯ === */
.reviews-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 100px;
  margin: 40px auto 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* === ФОН — статичный (47×70), без реакций === */
.reviews-toggle__bg {
  width: 47px;
  height: 70px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* === СТРЕЛКА — пульсирует и анимируется === */
.reviews-toggle__icon {
  width: 40px;
  height: 65px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulseArrow 1.8s ease-in-out infinite;
  transition: transform 0.3s ease;
}

/* === Пульс стрелки (до 50×75) === */
@keyframes pulseArrow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.25);
  }
}

/* === Раскрытое состояние — стрелка поворачивается вверх === */
.reviews-toggle.active .reviews-toggle__icon {
  transform: translate(-50%, -50%) rotate(180deg);
  animation: none; /* пульс отключается при раскрытии */
}

.button-primary-w {
  min-height: 132px;
  font-size: var(--root-button-text-size_primary);
  background-image: url("../img/button-bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  min-width: var(--root-button-min-w_primary);
}





/* === Кнопка "Выбрать" под карточкой клана === */
/* Большие карточки reviews — колонка */
.reviews-grid-item--span {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* === Иконки === */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  /* border-radius: 10px; */
  /* border: 1px solid rgba(255, 255, 255, 0.12); */
  /* background: rgba(255, 255, 255, 0.05); */
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-right: 0.6rem;
}

.social-link:last-child {
  margin-right: 0;
}

.social-link:hover {
  transform: translateY(-2px);
}

/* === Индивидуальные цвета === */
.social-link:hover .fa-discord {
  color: #5865F2; /* Discord */
}

.social-link:hover .fa-twitch {
  color: #9146FF; /* Twitch */
}

.social-link:hover .fa-youtube {
  color: #FF0000; /* YouTube */
}

.social-link:hover .fa-telegram {
  color: #24A1DE; /* Telegram */
}

/* === Подсветка рамки по цвету карточки === */
.reviews-grid-item:hover .social-link {
  border-color: inherit;
}

/* === ВИДЕО ФОН В КАРТОЧКЕ === */
.cards .item1,
.cards .item2,
.cards .item3,
.cards .item4 {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Видео */
.cards .item1 .card-video,
.cards .item2 .card-video,
.cards .item3 .card-video,
.cards .item4 .card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.cards .item1:hover .card-video,
.cards .item2:hover .card-video,
.cards .item3:hover .card-video,
.cards .item4:hover .card-video {
  opacity: 1;
}

/* Постоянный градиент поверх видео (всегда включён) */
.cards .item1::before,
.cards .item2::before,
.cards .item3::before,
.cards .item4::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#acacac4a),
    color-stop(70%, #000000d4)
  );
  background-image: linear-gradient(
    to bottom,
    #acacac4a 0%,
    #000000d4 70%
  );
  pointer-events: none;
}

/* Контент поверх */
.card-items__heading,
.card-items__paragraph-cont,
.card-btn {
  position: relative;
  z-index: 2;
}

.card-items__heading {
  position: relative;
  top: 40px;
  margin-bottom: 10px;
}

.projects-slider-heading {
font-size: clamp(24px, 1.875vw, 25px) !important;
}








.events-server .events-server-socials {
  position: absolute;
  bottom: -90px; /* как у тебя */
  left: 30px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

/* Иконки */
.events-server .social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 18px;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.events-server .social-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* Индивидуальные цвета при наведении */
.social-link:hover .fa-telegram,
.social-link:hover .fa-paper-plane {
  color: #24A1DE;
}
.social-link:hover .fa-discord {
  color: #5865F2;
}
.social-link:hover .fa-instagram {
  color: #E1306C;
}

/* тултип */
.events-server .social-link::after {
  content: attr(data-title);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.events-server .social-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* адаптив */
@media (max-width: 768px) {
  .events-server .events-server-socials {
    position: static;
    justify-content: center;
    margin-top: 10px;
  }
}


 main section.streams::after {
    background-image: none !important;
}





.home-slider-pagination .swiper-pagination-bullet {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.home-slider-pagination .progress {
  content: "";
  position: absolute;
  inset: 0;
  background: #E65971;
  transform: scaleX(0);
  transform-origin: left;
}
@keyframes fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.header .navigation__contact__language .language-selector .language-option:hover {
    background-color: #792222 !important;
}

/* === /aw-xm: блок classes-section (как promo_index, стиль промо XM) === */
/* <section>: нижний разделитель как у main section::after (глобальные стили) */
main section.xm-classes-section {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
  min-height: 560px;
  overflow: visible;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: var(--section-pb, 100px);
}

main section.xm-classes-section .is-hidden {
  display: none !important;
}

.xm-classes-section__inner {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 0;
}

.xm-classes-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  min-height: 520px;
}

@media (min-width: 1024px) {
  .xm-classes-layout {
    display: grid;
    /* было 40% / 60%; main ×1.3 и aside ×0.7 → 52fr / 42fr (~55.3% / 44.7%) */
    grid-template-columns: minmax(0, 52fr) minmax(0, 42fr);
    align-items: center;
    gap: 2rem 1.5rem;
    min-height: 640px;
  }

  .xm-classes-aside {
    min-height: 480px;
  }
}

.xm-classes-main {
  min-width: 0;
}

.xm-classes-frame {
  position: relative;
  padding: 0.75rem;
}

.xm-classes-frame-border {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(243, 232, 233, 0.35);
  border-radius: 2px;
  pointer-events: none;
}

.xm-classes-frame-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #c9a227;
  border-style: solid;
  z-index: 2;
}

.xm-classes-frame-corner--tl {
  top: -4px;
  left: -4px;
  border-width: 2px 0 0 2px;
}

.xm-classes-frame-corner--tr {
  top: -4px;
  right: -4px;
  border-width: 2px 2px 0 0;
}

.xm-classes-frame-corner--bl {
  bottom: -4px;
  left: -4px;
  border-width: 0 0 2px 2px;
}

.xm-classes-frame-corner--br {
  bottom: -4px;
  right: -4px;
  border-width: 0 2px 2px 0;
}

.xm-classes-frame-side {
  position: absolute;
  background: rgba(201, 162, 39, 0.35);
  border-radius: 999px;
  z-index: 2;
}

.xm-classes-frame-side--l {
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 32px;
}

.xm-classes-frame-side--r {
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 32px;
}

.xm-classes-frame-side--t {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 6px;
}

.xm-classes-frame-side--b {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 6px;
}

.xm-classes-video-wrap {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 9;
}

.xm-classes-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xm-classes-compare-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  overflow: hidden;
  background: #000;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.xm-classes-compare-base,
.xm-classes-compare-top {
  position: absolute;
  inset: 0;
}

.xm-classes-compare-base video,
.xm-classes-compare-top video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xm-classes-compare-top {
  clip-path: inset(0 0 0 50%);
}

.xm-classes-fps {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.xm-classes-fps-badge {
  position: absolute;
  top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  font-family: system-ui, sans-serif;
}

.xm-classes-fps--old .xm-classes-fps-badge {
  left: 0.75rem;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.xm-classes-fps--new .xm-classes-fps-badge {
  right: 0.75rem;
  left: auto;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.xm-classes-fps-badge img {
  height: 1rem;
  width: auto;
  object-fit: contain;
}

.xm-classes-fps-num {
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.xm-classes-fps--old .xm-classes-fps-num,
.xm-classes-fps--old .xm-classes-fps-label {
  color: #f87171;
}

.xm-classes-fps--new .xm-classes-fps-num,
.xm-classes-fps--new .xm-classes-fps-label {
  color: #6ee7b7;
}

.xm-classes-fps-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.xm-classes-compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  margin-left: -1.5px;
  background: linear-gradient(180deg, #c9a227, #fff3d6, #c9a227);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.55);
  z-index: 20;
  left: 50%;
}

.xm-classes-compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.88);
  border: 2px solid #c9a227;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.xm-classes-compare-handle svg {
  color: #fff3d6;
}

.xm-classes-compare-hint {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  color: rgba(255, 243, 214, 0.75);
  font-size: 0.7rem;
  z-index: 20;
  pointer-events: none;
}

.xm-classes-compare-inner:hover .xm-classes-compare-hint {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.xm-classes-text {
  margin-top: 1.75rem;
  box-sizing: border-box;
}

.xm-classes-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff3d6;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(201, 162, 39, 0.35);
}

.xm-classes-desc {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 248, 230, 0.82);
}

.xm-classes-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin-top: 1.25rem;
  width: 100%;
}

.xm-classes-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 0.35rem;
  padding: 0.65rem 0.2rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 243, 214, 0.55);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
  font-family: inherit;
}

.xm-classes-tab:hover {
  color: #fff3d6;
  background: rgba(60, 20, 10, 0.35);
}

.xm-classes-tab.is-active {
  color: #fff3d6;
  border-color: #c9a227;
  background: rgba(201, 162, 39, 0.12);
}

.xm-classes-tab.is-active .xm-classes-tab__icon {
  transform: scale(1.06);
}

.xm-classes-tab__icon {
  display: flex;
  transition: transform 0.25s ease;
}

.xm-classes-tab__icon svg {
  display: block;
  width: clamp(28px, 6.5vw, 40px);
  height: clamp(28px, 6.5vw, 40px);
}

.xm-classes-tab__label {
  font-size: clamp(0.55rem, 2.1vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xm-classes-aside {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.xm-classes-character {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.xm-classes-character-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 62vh;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 0 28px rgba(201, 162, 39, 0.22));
}

@media (min-width: 1024px) {
  .xm-classes-character-img {
    max-height: min(88vh, 820px);
  }
}

.xm-classes-perf {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 1.35rem 1.25rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(201, 162, 39, 0.32);
  backdrop-filter: blur(8px);
}

.xm-classes-perf__title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff3d6;
}

.xm-classes-perf__rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.xm-classes-perf__row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.xm-classes-perf__label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 243, 214, 0.55);
  flex: 1;
  min-width: 0;
}

.xm-classes-perf__value {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #6ee7b7;
  white-space: nowrap;
  flex-shrink: 0;
}

.xm-classes-perf__arrow {
  width: 12px;
  height: auto;
  object-fit: contain;
}

.xm-classes-perf__bars {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.xm-classes-perf__bar-track {
  height: 14px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.xm-classes-perf__bar {
  height: 100%;
  border-radius: 4px;
}

.xm-classes-perf__bar--old {
  background: linear-gradient(90deg, #b91c1c, #ef4444);
}

.xm-classes-perf__bar--new {
  width: 100%;
  background: linear-gradient(90deg, #059669, #34d399);
}

.xm-classes-perf__btn {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin-top: 1.1rem;
  min-height: 3.25rem;
  padding: 0.95rem 1.25rem;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a0a0a !important;
  border-radius: 8px;
  border: 2px solid rgba(255, 243, 214, 0.45);
  background: linear-gradient(180deg, #f0d78c 0%, #c9a227 100%) !important;
  box-shadow: 0 4px 18px rgba(201, 162, 39, 0.35);
  opacity: 1;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.xm-classes-perf__btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #1a0a0a !important;
}