



/* ======= ФУТЕР ======= */
/* footer {
  background: #0a0a40;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  width: 100%;
  padding-top: 40px;
  border-top: 5px solid #009688;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  gap: 180px;
  align-items: flex-start;
}
.footer-left img {
  padding-top: 15px;
}
.footer-left,
.footer-right {
  flex: 1 1 400px;
  margin: 20px;
}

.footer-logo {
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-map iframe {
  width: 100%;
  height: 200px;
  border: none;
  margin-top: 20px;
  border-radius: 8px;
}

.footer-right h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-right p {
  margin: 5px 0;
}

.footer-right a {
  color: #8ecae6;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

.footer-socials a {
  color: #fff;
  margin-right: 15px;
  font-size: 20px;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #00bfa6;
}

.footer-bottom {
  background: #000;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  color: #ccc;
}

/* ======= АДАПТИВ ======= */




body {
  font-family: Arial, sans-serif;
  background: white;
  margin: 0;
  padding: 0;

}

.gallery-title {
  font-size: 28px;
  color: #FFF;
  margin: 30px 0;
  font-weight: bold;
  
}

.gallery-wrapper {
  position: relative;
  width: 1290px; /* 3 карточки × 430px (включая margin) */
  margin: 0 auto;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
}
.gallery_block{
  text-align: center;
}
.card {
  width: 420px;
  flex-shrink: 0;
  margin: 0 5px;
  background: white;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;

  /* Удаляем внешние тени */
  /* box-shadow: 0 -8px 12px rgba(0, 63, 115, 0.3), 0 8px 12px rgba(0, 63, 115, 0.3); */

  /* Добавляем внутреннюю тень */
  box-shadow: inset 0 0 12px rgba(0, 63, 115, 0.15);
}


.card:hover {
  transform: scale(1.02);
}

.card .main-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: #003f73;
  border: none;
  font-size: 36px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background 0.3s;
}

.nav-btn:hover {
  background: #e0ecf5;
}

.nav-btn.left {
  left: 10px;
}

.nav-btn.right {
  right: 10px;
}

.dots-wrapper {
  margin-top: 20px;
  padding-bottom: 30px;
}

.dots-wrapper .dot {
  display: inline-block;
  width: 8px;         /* раньше было 12px */
  height: 8px;        /* раньше было 12px */
  margin: 0 4px;      /* немного меньше отступы */
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
      text-align: center;
}

.dots-wrapper .dot.active {
  background-color: #003f73;
}
@media (max-width: 1024px) {
  .gallery-wrapper {
    width: 860px; /* 2 карточки */
  }

  .card {
    width: 420px;
  }
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
  .gallery-wrapper {
    width: 100%;
    padding: 0 3px; /* 8px слева и справа */
    box-sizing: border-box;
  }

  .gallery-track {
    padding: 0;
    gap: 0;
  }

  .card {
    width: calc(100% - 16px); /* учёт margin: 0 8px */
    max-width: calc(100% - 16px);
    margin: 0 8px;
  }

  .card .main-img {
    width: 100%;
    height: 350px;
  }
}


.main-background {
  /* background-color: #18385c; */
  background-image: url('/img/459.jpg'); 
  background-size: cover;
  background-position: center;
  padding: 0px 0px;
  padding-top: 100px;
  text-align: center;
  /* color: white; */
}

                           .partners {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.partner {
  display: flex;
  align-items: center;
  gap: 0px;
  margin: 20px 0;
}

.partner-icon img {
  width: 130px;
  height: auto;
}
.partner-icon img[alt="Партнёр 1"] {
  width: 230px;
}
.partner-text {
   max-width: 490px;
     white-space: normal;
  word-wrap: break-word;
  font-size: 1.6em;
  color: #fff;
  line-height: 1.2;
}

/* ======= АДАПТИВ ======= */
@media (max-width: 768px) {
  .partners {
    flex-direction: column;
    align-items: center;
  }
}


.ludomania-text {
  background: transparent;
  padding: 40px;
  margin-bottom: 50px;
  border-radius: 16px;
  color: #ffff00da;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
}

.ludomania-text h2 {
  font-size: 45px;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
}

@media (max-width: 480px) {
  .partner-icon img {
    width: 80px !important;
  }

  .partner-icon img[alt="Партнёр 1"] {
    width: 120px !important;
  }

  .partner-text {
    font-size: 1.2em;
    text-align: center;
    max-width: 100%;
  }

  .ludomania-text h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .ludomania-text {
    font-size: 16px;
    padding: 20px;
  }
}


@media (max-width: 480px) {
  .partners {
    gap: 10px;
    margin-top: 10px;
  }

  .partner {
    margin: 5px 0;
    gap: 5px;
  }
}
