.hero {
  position: relative;
}

.online__counter {
  position: fixed;
  right: 0;
  top: 120px;
  background: #030305;
  border-radius: 8px 0 0 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  text-align: right;
  z-index: 9;
}

html {
  scroll-behavior: smooth;
}

.online__barvalue {
  display: none;
  background: #e91932;
  transform: skew(0, 45deg);
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  transition: 200ms;
  transform: skew(-13deg, 0) translateX(-12px);
  padding-left: 10px;
}

@keyframes dotSine {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.online__counter-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00bf00;
  flex-shrink: 0;
  animation-duration: 3.5s;
  animation-name: dotSine;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: linear;
  box-shadow: 0px 0px 7px 1px #00bf00;
}

.online__bar.offline {
  opacity: 0.6;
}

.online__counter-dot.offline {
  background: #e74c3c;
}

.online__counter-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .online__counter {
    position: static;
    margin: 32px 16px 0;
    border-radius: 8px;
    text-align: left;
    gap: 12px;
    top: auto;
    left: auto;
    right: auto;
    background: #1e1e1e;
    padding: 14px 14px;
  }
  .online__bar {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 28px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #353535;
    font-size: 16px;
  }
  .online__barvalue {
    display: block;
  }
  .online__counter-title {
    font-size: 16px;
  }
}

.hero__slider {
  margin: 0;
}

.hero__slide-inner {
  min-height: 700px;
  height: 100vh;
  height: 100dvh;
  position: relative;
  isolation: isolate;
  display: flex;
}

.hero__slide-inner::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, black, rgba(0, 0, 0, 0.5));
}

.hero__slide-bg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  background-attachment: fixed;
  width: 100%;
  height: 100%;
}

.hero__slide-content {
  max-width: calc(1280px + 16px);
  padding: 0 16px;
  margin: auto auto 190px;
  width: 100%;
  color: #b0b0b0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 24px;
}

.hero__slide-title {
  max-width: 560px;
  font-size: 52px;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-family: "Tektur", sans-serif;
  line-height: 1;
}

.hero__slide-textcontent {
  max-width: 620px;
}

.section--about {
  margin-top: -40px;
  position: relative;
  isolation: isolate;
}

.triple {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
}

.triple--reversed {
  grid-template-columns: 1fr 1.5fr;
}

.triple__cards {
  position: relative;
}

.triple__card {
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  filter: drop-shadow(0px 0px 3px black);
}
.triple__card--back {
  width: 260px;
  height: auto;
  position: absolute;
  right: 0;
  bottom: -10px;
  transform: rotate(5deg);
}
.triple__card--back--left {
  transform: rotate(-4deg);
  left: 0;
  right: auto;
}

.triple__card--front {
  width: 420px;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(2deg);
  z-index: 2;
  transition: 300ms ease-in;
}
.triple__card--front:hover {
  transform: rotate(1deg);
}

.triple__card--front--left {
  transform: rotate(-1deg);
  right: 0;
  left: auto;
  transition: 300ms ease-in;
}

.triple__card--front--left:hover {
  transform: rotate(0deg);
}

.container--about {
  display: grid;
  flex-direction: column;
  gap: 128px;
}

.section--trailer {
  position: relative;
  isolation: isolate;
  background-color: rgba(0, 0, 0, 0.3);
  background-image: url("../csssource/bus.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: multiply;
}

.section--trailer::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  content: " ";
  z-index: -1;
}

.section--trailer iframe {
  width: 100%;
  max-width: 1000px;
  height: auto;
  object-fit: contain;
  aspect-ratio: 16/9;
  display: block;
  filter: drop-shadow(0px 0px 24px black);
  border-radius: 14px;
  border: 1px solid black;
}

.fractioncard {
  border-radius: 14px;
  display: flex;
  flex-direction: row-reverse;
  gap: 12px;
  height: 100%;
  background: #000;
  position: relative;
  font-size: 16px;
  overflow: hidden;
  gap: 0;
  align-items: flex-start;
  gap: 24px;
  justify-content: flex-end;
}
.fractioncard__wrapper {
  transition: 300ms ease-in;
  filter: drop-shadow(0 0 0.25rem #676767) drop-shadow(1px 1px 0.25rem #848484);
  margin: 0 20px;
}

.fractioncard__wrapper:hover {
  filter: drop-shadow(0 0 0.25rem #e91932) drop-shadow(1px 1px 0.25rem #e91932);
}

.fraction__slider {
  margin-top: 48px;
}

.fractioncard__title {
  font-size: 24px;
  font-weight: 600;
}

.fractioncard__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.2;
  padding: 14px 20px 16px 0;
  line-height: 1.1;
}

.fractioncard__image {
  width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.fraction__slider {
  padding: 0 32px;
}
.fraction__slider .slick-list {
  padding: 16px 0;
}

.fraction__slider .slick-arrow {
  position: absolute;
  font-size: 0px;
  color: transparent;
  width: 32px;
  height: 32px;
}

.fraction__slider .slick-arrow::before {
  content: " ";
  background-image: url("../csssource/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCIgZmlsbD0iI2ZmZiIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0xNjUuNjYsMjAyLjM0YTgsOCwwLDAsMS0xMS4zMiwxMS4zMmwtODAtODBhOCw4LDAsMCwxLDAtMTEuMzJsODAtODBhOCw4LDAsMCwxLDExLjMyLDExLjMyTDkxLjMxLDEyOFoiPjwvcGF0aD48L3N2Zz4=");
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.fraction__slider .slick-prev {
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}

.fraction__slider .slick-next {
  right: 0;
  top: 50%;
  transform: translate(0, -50%) scale(-1, 1);
}

.fraction__slider .slick-dots {
  position: absolute;
  left: 50%;
  bottom: -24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  transform: translate(-50%, 100%);
  gap: 12px;
  font-size: 0;
  color: transparent;
}

.fraction__slider .slick-dots button {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: #676767;
  transition: 300ms ease;
}

.fraction__slider .slick-dots .slick-active button {
  width: 16px;
  filter: drop-shadow(0 0 0.2rem #e91932);
  background: #e91932;
  /* background: #e91932; */
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 32px;
  margin-top: 58px;
}

.benefits__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.title__secondary {
  font-size: 24px;
  font-weight: 600;
}

.benefits__section {
  position: relative;
  isolation: isolate;
}

@keyframes dropshadowing {
  0% {
    filter: drop-shadow(-4px -4px 0.25rem #e91932)
      drop-shadow(-2px -2px 0.1rem #e9193199);
  }
  25% {
    filter: drop-shadow(5px -5px 0.25rem #e91932)
      drop-shadow(1px -1px 0.25rem #676767);
  }

  50% {
    filter: drop-shadow(5px 5px 0.25rem #676767)
      drop-shadow(1px 1px 0.1rem #676767);
  }

  100% {
    filter: drop-shadow(-5px 5px 0.25rem #676767)
      drop-shadow(-2px 2px 0.1rem #676767);
  }
}

.benefits__logo {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  opacity: 0.2;
  animation: dropshadowing 14s linear infinite alternate;
  width: 400px;
  object-fit: contain;
}

.benefits__col li::before {
  content: "⏺";
  display: inline-block;
  margin-right: 6px;
  width: 8px;
  height: 8px;
  color: #e91932;
  font-weight: bold;
  font-size: 0.6em;
  transform: translateY(-1px);
}

.benefits__col li {
  padding: 3px 0;
}

.howto__section {
  position: relative;
  isolation: isolate;
  background-image: url("../csssource/5.png");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.howto__section::before {
  background: linear-gradient(to right, black, black 5%, rgba(0, 0, 0, 0.6));
  position: absolute;
  left: 0;
  top: -1px;
  right: 0;
  bottom: -1px;
  content: " ";
  z-index: -1;
  height: calc(100% + 2px);
}

.howto__column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
  max-width: 720px;
}

.howto__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.howto__number {
  width: 30px;
  height: 30px;
  border: 2px solid #e91932;
  background: #e91932;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  line-height: 0.8;
}

.howto__column .title__secondary {
  margin-bottom: 4px;
  margin-top: -4px;
}

.link {
  color: #e91932;
  transition: 200ms;
  text-underline-offset: 2px;
}

.link:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 1260px) {
  .fractioncard__wrapper {
    margin: 0 10px;
  }
  .fractioncard__title {
    font-size: 20px;
  }
  .fractioncard__content {
    padding: 14px 12px 10px 0;
  }
  .fraction__slider {
    padding: 0 22px;
  }
  .fraction__slider .slick-prev {
    left: -10px;
  }
  .fraction__slider .slick-next {
    right: -10px;
  }
  .fractioncard {
    gap: 12px;
    font-size: 14px;
  }
}

.triple__card--mobile {
  display: none;
}
@media (max-width: 1024px) {
  .triple__card--mobile {
    display: block;
    margin: 32px 0;
  }
  .hero__slide-inner {
    min-height: 550px;
    display: flex;
    flex-direction: column;
  }
  .hero__slide-content {
    margin: auto 0 80px;
    gap: 16px;
    font-size: 20px;
  }
  .hero__slide-title {
    font-size: 38px;
  }

  .hero__slide-content .button {
    margin-top: 16px;
  }
  .hero__slide-bg {
    object-position: right bottom;
    width: 100%;
    height: 100%;
  }
  .triple {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .section--about {
    margin: 0;
  }

  .triple__cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    display: none;
  }
  .section--about .triple__card {
    position: static;
    transform: translate(0, 0) rotate(0);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    max-height: 210px;
  }
  .container--about {
    gap: 0;
  }
  .triple--reversed {
    flex-direction: column-reverse;
  }

  .section--trailer iframe {
    margin-top: 24px;
    filter: drop-shadow(0px 0px 12px black);
  }
  .hero__slide-textcontent {
    line-height: 1.3;
  }
  .fraction__slider {
    margin-top: 24px;
    padding: 0;
  }
  .benefits__logo {
    width: 160px;
    height: 160px;
    right: -40px;
  }
  .benefits {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 24px;
  }
  .title__secondary {
    font-size: 20px;
  }
  .benefits__col {
    gap: 10px;
  }
}
/* Контейнер таблицы */
.stalker-table-container {
    margin: 20px 0;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(20,20,20,0.9), rgba(30,30,30,0.9));
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Сама таблица */
.stalker-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

/* Заголовок таблицы */
.stalker-table thead {
    background: linear-gradient(to bottom, #2a2a2a, #1f1f1f);
    border-bottom: 2px solid #4a9c3a;
}

.stalker-table th {
    padding: 14px 12px;
    text-align: left;
    color: #e0e0e0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    border-right: 1px solid #3a3a3a;
}

.stalker-table th:last-child {
    border-right: none;
}

/* Ширина колонок */
.stalker-table .col-name { width: 20%; }
.stalker-table .col-code { width: 20%; }
.stalker-table .col-type { width: 10%; }
.stalker-table .col-form { width: 10%; }
.stalker-table .col-duration { width: 20%; }
.stalker-table .col-overdose { width: 10%; }

/* Строки таблицы */
.stalker-table tbody tr {
    background: rgba(40, 40, 40, 0.7);
    border-bottom: 1px solid #3a3a3a;
    transition: background-color 0.2s ease;
}

.stalker-table tbody tr:hover {
    background: rgba(60, 60, 60, 0.8);
}

.stalker-table tbody tr:nth-child(even) {
    background: rgba(35, 35, 35, 0.7);
}

.stalker-table tbody tr:nth-child(even):hover {
    background: rgba(55, 55, 55, 0.8);
}

/* Ячейки таблицы */
.stalker-table td {
    padding: 12px;
    color: #ccc;
    border-right: 1px solid #3a3a3a;
    vertical-align: middle;
}

.stalker-table td:last-child {
    border-right: none;
}

/* Специальные стили для ячеек */
.cell-name {
    font-weight: 500;
    color: #e0e0e0;
}

.vaccine-icon {
    margin-right: 8px;
    font-size: 0.9em;
}

.cell-code code {
    background: rgba(0,0,0,0.4);
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid #5a5a5a;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    color: #8bb;
}

.form-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(74, 156, 58, 0.2);
    border: 1px solid rgba(74, 156, 58, 0.5);
    border-radius: 12px;
    font-size: 0.85em;
    color: #8bc34a;
}

.cell-duration {
    display: flex;
    flex-direction: column;
}

.duration-value {
    font-weight: 600;
    color: #e0e0e0;
}

.duration-seconds {
    font-size: 0.85em;
    color: #8b8b8b;
    margin-top: 2px;
}

.cell-overdose {
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
}

.cell-overdose.danger {
    color: #ff6b6b;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.3);
}

/* Футер таблицы */
.table-footer {
    margin-top: 20px;
    padding: 15px;
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid #3a3a3a;
    border-radius: 4px;
}

.footer-note {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #4a4a4a;
}

.note-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

.note-text {
    color: #aaa;
    font-size: 0.9em;
    line-height: 1.4;
}

.footer-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
}

.legend-text {
    font-size: 0.85em;
    color: #8b8b8b;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .stalker-table-container {
        overflow-x: auto;
    }
    
    .stalker-table {
        min-width: 900px;
    }
}
