/* HERO background */
.hero {
  position: relative;
  background: linear-gradient(
    90deg,
    #b11226 0%,
    #450c14 50%,
    #0e0505 100%
  );
  padding: 80px 0;
}


.hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  gap: 60px;
}

/* Inner bright container */
.hero-box {
  width: 360px;
  min-height: 420px;
  padding: 40px 35px;

  background: linear-gradient(135deg, #ffffff, #f4eaea);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);

  display: flex;
  flex-direction: column;
  justify-content: center;

  text-align: left;

  margin-left: -60px; /* ← сдвиг влево */
}

/* Text styles */
.hero-box h1 {
  font-size: 42px;
  margin-bottom: 14px;
  color: #4a1414;
  text-align: center;
}

.hero-tagline {
  font-size: 16px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #6a0c0c;
  font-weight: 600;
  margin-bottom: 18px;
  text-align: center;
}


.hero-description {
  font-size: 17px;
  line-height: 1.6;
  color: #333;
  max-width: 700px;
  margin: 0,0;
}

/* CTA */
.cta-button {
  display: inline-block;
  padding: 14px 28px;
  background-color: #7a3e3e;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.cta-button:hover {
  background-color: #5f2f2f;
  transform: translateY(-2px);
}


/* =========================
   FOOTER
========================= */

.footer {
  background: linear-gradient(135deg, #3f0f0f, #2c0a0a);
  padding: 45px 0;
  color: #d8cfcf;
  font-size: 14px;
}

.footer .container {
  text-align: center;
}

.footer p {
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer p:first-child {
  font-weight: 600;
  color: #f0e6e6;
}

.footer .disclaimer {
  font-size: 13px;
  color: #bfaeae;
  max-width: 720px;
  margin: 0 auto;
}

/* Optional subtle top border */
.footer::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 30px;
}

/* Responsive */


/* Top bar */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.top-bar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 120px;
}

/* Top CTA button */
.top-cta {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;

  color: #ffffff;
  text-decoration: none;

  background: linear-gradient( #e88905);
  border-radius: 999px;

  box-shadow: 0 8px 22px rgba(255, 47, 85, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.top-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(255, 47, 85, 0.6);
  opacity: 0.95;
}

/* Right-side placeholder container */
.hero-image {
  width: 400px;
  height: 175px;
  overflow: hidden;

  position: relative;

  border-radius: 12px;
  background: rgba(232, 230, 230, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.25);

  flex-shrink: 0;
}

.cards-track {
  display: flex;
  gap: 20px;
  background-color: #0e0505;

  width: max-content;
  animation: scrollCards 55s linear infinite;
}

.card {
  position: relative;

  width: 165px;
  height: 175px;

  border-radius: 10px;
  flex-shrink: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.05) 45%,
    rgba(0,0,0,0.7)
  );
  z-index: 1;
}

.card-city {
  position: absolute;
  top: 10px;
  left: 12px;

  font-size: 16px;
  font-weight: 500;
  color: #fff;
  opacity: 0.9;

  z-index: 2;
}

.card-age {
  position: absolute;
  top: 10px;
  right: 10px;

  font-size: 16px;
  font-weight: 700;
  color: #fff;
  opacity: 0.9;

  z-index: 2;
}

.card-name {
  position: absolute;
  bottom: 10px;
  left: 12px;

  font-size: 18px;
  font-weight: 600;
  color: #fff;

  z-index: 2;
}

.card-status {
  position: absolute;
  top: 150px;
  right: 12px;

  font-size: 16px;
  font-weight: 600;
  text-transform:lowercase;

  z-index: 2;
}

/* ONLINE — зелёный */
.card.online .card-status {
  color: #2dff63;
}

/* OFFLINE — красный */
.card.offline .card-status {
  color: #ff3b3b;
}



@keyframes scrollCards {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}





.hero-media-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;

  color: rgba(213, 235, 11, 0.85);
  text-align: center;
}

.hero-media-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin: 6px auto 0;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}

.hero-media-link {
  margin-top: 12px;

  font-size: 16px;
  font-weight: 600;
  text-align: center;

  color: #ffd2d2;
  text-decoration: none;
  letter-spacing: 0.6px;

  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.hero-media-link:hover {
  color: #ffffff;
  text-decoration: underline;
}


.card {
  width: 165px;
  height: 175px;

  border-radius: 14px;
  overflow: hidden;

  background-size: cover;        /* масштабирует PNG */
  background-position: center;   /* центрирует */
  background-repeat: no-repeat;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}


.hero-info {
  width: 250px;
  padding: 28px 18px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);

  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);

  color: #f5eaea;

  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-info h2 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.hero-info-list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-info-list li {
  font-size: 15px;
  line-height: 1.4;
  color: #f0dede;
}

.hero-info-note {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

.hero-layout {
  gap: 40px;
}

@media (max-width: 992px) {
  .hero-layout {
    flex-direction: column;
    align-items: center;
  }

  .hero-box,
  .hero-info,
  .hero-media {
  width: 100%;
  overflow: hidden;
}


  .hero-info {
    text-align: center;
  }
}

.footer-nav {
  margin-bottom: 10px;
}

.footer-link {
  margin-right: 15px;
  text-decoration: none;
  color: #ccc;
  font-size: 14px;
}

.footer-link:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {

  /* защита от горизонтального скролла */
  body,
  .hero,
  .hero-layout {
    overflow-x: hidden;
  }

  /* hero layout — в колонку (как у тебя на 992px, но для мобилы) */
  .hero-layout {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  /* убираем отрицательный сдвиг ТОЛЬКО на мобиле */
  .hero-box {
    margin-left: 0;
    width: 100%;
    max-width: 420px;
  }

  /* media-блок на всю ширину */
  .hero-media {
    width: 100%;
    padding: 0;
  }

  .hero-image {
    width: 100%;
    height: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* отключаем анимацию — свайп пальцем */
  .cards-track {
    animation: none;
    gap: 12px;
    padding-bottom: 6px;
  }

  /* уменьшаем карточки */
  .card {
    width: 130px;
    height: 150px;
  }

  /* компактнее текст */
  .card-name {
    font-size: 15px;
  }

  .card-city,
  .card-age,
  .card-status {
    font-size: 13px;
  }

  /* заголовок */
  .hero-media-title {
    font-size: 15px;
    margin-bottom: 8px;
  }
}

