* {
  margin: 0;
  padding: 0;
  background-color: #1f1d1d;

}

.center {
  max-width: 2000px;
  margin: auto;
  min-width: 600px;
  background-color: #1f1d1d;


}

.center-content {
  max-width: 2000px;
  margin: auto;

}

/* Стили меню */

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Стили логотипа */
.logo img {
  padding-left: 20px;
  /* padding-top: 10px; */
  height: 48px;
  width: 48px;


}

/* Стили ссылок меню */
.menu-links {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: end;
  padding: 10px;

}

a {
  text-decoration: none;
  color: white;
  font-size: 24px;
  background-color: inherit;
  width: 100%;
  text-align: center;

}


/* Стили обложки баннера */
.main-banner {
  position: relative;
  top: 0;
  background-image: url('/src/img/banners/banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 900px;
  min-width: 200px;
  overflow: hidden;
  border-bottom: #FFF solid 1px;
}

.banner-text {
  position: relative;
  top: 200px;
  left: 10px;
  font-size: 72px;
  color: white;
  background-color: transparent;

}

/* Стили подвала */
.footer {
  position: relative;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 180px;

  background-color: #1f1d1d;
  width: 100%;

}



.svg-format {
  width: 64px;
  height: 64px;
}

.footer-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  gap: 15px;


}


/* Стили слаййдера */

.store-block {
  padding-top: 20px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: row;
  /* border: #ddd solid 2px; */
}

.slider {
  position: relative;
  width: 250px;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
  /* border: 2px solid #ddd; */
  border-radius: 12px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.slide img {
  width: 100%;
  height: auto;
  cursor: pointer;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 44px;
}

.prev {
  top: 220px;
  left: 1px;
  color: #FFF;
  height: 400px;
  width: 40px;

  /* border: #ffffff solid 1px; */
}

.next {
  right: 1px;
  top: 220px;
  color: #FFF;
  height: 400px;
  width: 40px;
  /* border: #ffffff solid 1px; */
}

.next:hover {
  font-size: 60px;
}

.prev:hover {
  font-size: 60px;
}

.description {
  display: flex;
  justify-content: center;
  align-items: center;
  color: aliceblue;
  text-align: center;
  background-color: transparent;
}

.btn {
  color: aliceblue;
  border: none;
  border-radius: 12px;
  background-color: #E32636;
  width: 50%;
  margin: auto;
  padding: 10px;
  cursor: pointer;

}

.toys {
  margin-top: 70px;
  margin-bottom: 50px;

  background: #1F1E1E;
  /* background: linear-gradient(135deg, #1F1E1E, #A7855A); */
  display: grid;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;

}

.toy {
  width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  background-color: transparent;
}

.toy img {
  width: 80%;
  height: auto;
  border-radius: 15px;
}



.m-plus-rounded-1c-thin {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.m-plus-rounded-1c-light {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.m-plus-rounded-1c-regular {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.m-plus-rounded-1c-medium {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.m-plus-rounded-1c-bold {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.m-plus-rounded-1c-extrabold {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.m-plus-rounded-1c-black {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.amatic-sc-regular {
  font-family: "Amatic SC", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.amatic-sc-bold {
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;
}







.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: #FFF;
  height: 20px;
  background-color: #1f1d1d;
  padding: 1.2em;
  z-index: 5;
  border-bottom: #FFF solid 1px;

}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 100;

}

.menu>li {
  margin: 0 1rem;
  overflow: hidden;

}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}



.body-gal {

  min-height: 100vh;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
}

.h1-g {
  color: #fff;
  margin: 20px auto;
  width: 450px;
  font-size: 3rem;
  text-align: center;
  background: none;
}

.gallery-class {
  height: 300px;
  margin: 10px;
  /* border: 1px solid #fff; */
  /* transition-duration: 1s; */
  border-radius: 15px;
}

/* .gallery-class:hover {
  border: 5px solid #fff;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-filter: none;
  filter: none;
  z-index: 1;
} */


.container-g {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Стили для модального окна */
.modal {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 20px;
}

.modal-content {
  color: #FFF;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  border-radius: 12px;
}

select {
  color: #FFF;
  border-radius: 12px;
  border: #FFF 1px solid;
}

input {
  color: #FFF;
  border-radius: 12px;
  border: #FFF 1px solid;
  width: 100%;
}

input-btn:hover {
  background: #aaa;

}


.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.purchase-rules {
  border-radius: 8px;
  max-width: 800px;
  margin: 20px auto;
}

.purchase-rules h2 {
  color: #fff;
  font-size: 64px;
  margin-bottom: 10px;
  text-align: center;
}

.purchase-rules ul {
  list-style-type: disc;
  padding-left: 20px;
}

.purchase-rules li {
  color:#FFF;
  padding: 20px;
  margin-bottom: 10px;
  font-size: 46px;
}
.purchase-rules p{
  color:#FFF;
  padding: 20px;
  margin-bottom: 10px;
  font-size: 36px;
  border-bottom: solid 1px #FFF;
  text-align: center;
}

.purchase-rules strong {
  color: #555;

}






@media (max-width: 700px) {

  .h1-g {
    font-size: 1.2em;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .body-gal {
    overflow-x: hidden;
  }

  .menu-button-container {
    display: flex;
  }

  .menu {
    position: absolute;
    top: 0;
    margin-top: 50px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 2;
  }

  #menu-toggle~.menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  #menu-toggle:checked~.menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .menu>li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
  }

  .menu>li:not(:last-child) {
    border-bottom: 1px solid #444;
  }

  .footer-text {
    font-size: 20px;
  }

  .banner-text {
    font-size: 44px;
  }

  .main-banner {
    width: 100%;
    height: 500px;
    }

  .logo img {
    padding-left: 5px;
    padding-top: 10px;
    height: 40px;
    width: 40px;
  }

  .gallery-class:hover {
    border: none;
    transform: scale(1.5);
    z-index: 6;
  }

  .gallery-class {
    border: none;
    border-radius: 12px;
  }

  .container-g {
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
  }

  .btn {

    width: 100%;
  }

  .modal-in {
    font-size: 24px;
    width: 250px;
  }

  .modal-content {
    width: 80%;
  }

  .toys {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
  }

  .toy {
    width: 430px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .toy img {
    width: 90%;
    border-radius: 12px;
  }

  .btn {
    background-color: #E32636;
    width: 50%;
    font-size: medium;
  }

  .purchase-rules {
    padding: 15px;
    border-radius: 6px;
  }

  .purchase-rules h2 {
    font-size: 30px;
  }

  .purchase-rules li {
    font-size: 24px;
    margin-bottom: 8px;
  }
}
.metric-notification {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  padding: 20px;
  z-index: 10000;
  display: none;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

.metric-notification.show {
  display: block;
  animation: slideUp 0.5s ease;
}

.metric-content {
  margin-bottom: 15px;
}

.metric-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #ffffff;
}

.metric-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  line-height: 1.4;
}

.metric-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.metric-btn {
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 500;
}

.metric-btn.accept {
  color: white;
}

.metric-btn.accept:hover {
  transform: translateY(-2px);
}

.metric-btn.reject {
  color: #ffffff;
}

.metric-btn.reject:hover {
  transform: translateY(-2px);
}

.metric-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  backdrop-filter: blur(3px);
}

.metric-overlay.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Анимации для десктопа */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ==================== МОБИЛЬНАЯ ВЕРСИЯ ==================== */
@media (max-width: 768px) {
  .metric-notification {
    /* На мобильных уведомление занимает всю ширину снизу */
    width: 100%;
    max-width: 90%;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    border-radius: 20px 20px 0 0;
    padding: 25px 20px;
  }

  .metric-notification.show {
    animation: slideUpMobile 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .metric-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .metric-text {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .metric-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .metric-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 12px;
    text-align: center;
  }

  .metric-overlay {
    background: rgba(0, 0, 0, 0.8);
  }

  /* Кнопка закрытия для мобильных */
  .metric-close-mobile {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
  }

  /* Анимация выезжания снизу для мобильных */
  @keyframes slideUpMobile {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Анимация для затемнения фона */
  @keyframes fadeInMobile {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .metric-notification {
    padding: 20px 15px;
  }

  .metric-title {
    font-size: 18px;
  }

  .metric-text {
    font-size: 14px;
  }

  .metric-btn {
    padding: 12px 20px;
    font-size: 15px;
  }
}