/* Основной контейнер */

html {
  font-family: "Noto Sans", sans-serif;
  font-variation-settings: "wdth" 200;
  overflow-x: hidden;
}
body {
  margin: 0;
  background-color: #ffffff;
  cursor: url(my-cursor.png), auto;
  overflow-x: hidden;
}
a {
  color: rgb(255, 171, 14);
  text-decoration: underline;
  transition: color 0.2s;
}
a:visited {
  color: rgb(255, 175, 26);
}
a:hover,
a:active {
  color: #ffbf5e; /* светло-оранжевый при наведении */
}
::-webkit-scrollbar {
  width: 12px;
  background: #fff3e0;
}
::-webkit-scrollbar-thumb {
  background: orange;
  border-radius: 8px;
  border: 2px solid #fff3e0;
}
::-webkit-scrollbar-thumb:hover {
  background: #ffb84d;
}

/* Для Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: orange #fff3e0;
}
h1 {
  font-weight: 900;
  font-size: 3.5rem;
  letter-spacing: -2px;
  /* line-height: 1.05; */
  /* color: #fe9b00; */
  /* background-image: linear-gradient(30deg, #fe9b00, #ffaf20, #ffc040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
  background-clip: text;
  color: #000000b2;
  /* text-shadow: 0 4px 32px #f1a31134, 0 1px 0 #0002; */
  margin: 12px !important;
}
h3 {
  font-weight: 600;
  color: #333333e1;
}
h2 {
  margin: 12px !important;
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: -1px;
  line-height: 1.05;
  color: #000000;
  margin: 0 0 0.7em 0;
  background-image: linear-gradient(30deg, #fe9d00, #ffad20, #ffbf40);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {
  padding: 24px 0 12px 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  justify-content: center;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
}
.glass {
  background: rgba(0, 0, 0, 0);
  border-radius: 0px 30px 30px 0px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-image: linear-gradient(210deg, #fe9d0056, #ff910025, #ffbf4046);

  padding: 13px;
}

.glass2 {
  background: rgba(0, 0, 0, 0); /* полупрозрачный фон */
  backdrop-filter: blur(10px); /* размытие фона под текстом */
  -webkit-backdrop-filter: blur(10px);
  background-image: linear-gradient(210deg, #d4d4d465, #83838338, #e0e0e04d);
  margin: auto;
  margin-left: 15px;
  margin-right: 15px;
  border-radius: 25%;
  backdrop-filter: url(#glass-distortion);
  -webkit-backdrop-filter: url("#glass-distortion");
}
.glass3 {
  background: rgba(0, 0, 0, 0); /* полупрозрачный фон */
  backdrop-filter: blur(10px); /* размытие фона под текстом */
  -webkit-backdrop-filter: blur(10px);
  background-image: linear-gradient(210deg, #5353534b, #49494923, #55555517);
  margin-right: 12px;
}
.main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.models {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 100vw;
  min-height: 500px;
  position: absolute; /* было fixed */
  left: 0;
  top: 0;
  height: 100vh;
  pointer-events: none;
  z-index: 1000;
}

.models model-viewer {
  pointer-events: auto;
}

.models::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80%;
  height: 60%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.footer {
  width: 100%;
  bottom: 0%;
  right: 0%;
  /* transform: translate(-50%, -50%); */
  min-height: 20px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

model-viewer {
  width: 200px;
  height: 200px;
  border-radius: 24px;
  margin: 0 40px;
}
/* #poizon-box {
  position: absolute;
  left: 45%;
  top: 40%;
  transform: translateY(-50%) scale(0.4);
  z-index: 3;
}
#charmy-box {
  position: absolute;
  left: 40%;
  top: 40%;
  transform: translateY(-50%) scale(0.4);
  z-index: 2;
} */
#model-left {
  position: absolute;
  left: -5%;
  top: 50%;
  transform: translateY(-50%) scale(1);
  z-index: 2;
}

#model-right {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%) scale(1);
  z-index: 2;
}
#preload-blur {
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.4);
  pointer-events: all;
  opacity: 1;
  transition: opacity 1s;
}
#preload-blur.hide {
  opacity: 0;
  pointer-events: none;
}

.bee-bg-wrap {
  position: relative;
  display: flex;
  /* justify-content: center;
  align-items: center; */
  width: 100%;
  min-height: 180px;
  position: relative;
  display: flex;
  width: 100%;
  min-height: 180px;
  align-items: center;
}

.bee-bg {
  position: absolute;
  left: 20%;
  top: 50%;
  width: 320px;
  max-width: 80vw;
  transform: translate(-70%, -50%) scale(1);
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
  user-select: none;
}

.bee-bg-wrap h1 {
  position: relative;
  z-index: 1;
}

::selection {
  background: orange;
  color: #fff;
}

.input-cost {
  color: rgb(255, 174, 0);
  border: 2px solid #00000000;
  border-radius: 10px;
  padding: 10px;
  background: transparent;
  max-width: 125px;
  margin: 2px;
  font-size: 2rem;
  font-weight: 600;
}
.input-cost:focus {
  border: 2px solid #fe9b00;
  outline: none;
}
.input:active {
  border: 2px solid #fe9b00;

  /* box-shadow: 2px 2px 15px #fe9b00 inset; */
}
.select-type {
  border: 2px solid #00000000;
  color: white;
  border-radius: 10px;
  padding: 10px;
  background: #000000;
  margin: 2px;
  font-size: 2rem;
}

.select-type:focus {
  border: 2px solid #fe9b00;
  outline: none;
}
#add-btn {
  border: #00000000;
  text-align: center !important;
  border-radius: 45px;
  font-size: 1rem;
  text-align: left;
  padding: 11px 10px 11px 10px;
  cursor: pointer;
  transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 15px;
}
#add-btn:active {
  transform: scale(0.94);
}
.header-bottom {
  color: #0000006c;
  line-height: 1;
  margin-bottom: 19px;
}
#sum {
  padding: 20px;
  color: orange;
  font-size: 4rem;
  font-weight: 900;
}
.description-bottom {
  font-size: 2rem;
  margin-top: 10px;
  margin-bottom: 15px;
  color: rgba(0, 0, 0, 0.685);
}
.order-btn {
  background: orange;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 18px 48px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 16px #fe9b0033;
  transition: background 0.2s, transform 0.15s;
  margin-top: 24px;
}
.order-btn:hover {
  background: #ffb84d;
  transform: scale(1.06);
}
.carousel-fade {
  animation: carouselFadeIn 0.4s;
}



@keyframes carouselFadeIn {
  0% {
    transform: translate(0%, -50%);
  }

  100% {
    transform: scale(1);
  }
}
@media (max-width: 1900px) {
  .models {
    display: none !important;
  }
}

@media (max-width: 1280px) {
  .bee-bg {
    transform: translate(-70%, -40%) scale(1);
    z-index: 3;
  }

  /* .header {
    display: none !important;
  } */
}
@media (max-width: 875px) {
  .wsc {
    display: none !important;
  }
  /* .header {
    display: none !important;
  } */
}
@media (max-width: 700px) {
  .bee-bg {
    transform: translate(20%, 70%) scale(1);
    z-index: 0;
    display: none;
  }

  /* .header {
    display: none !important;
  } */
}
@media (max-width: 700px) {
  .nachalo {
    width: 100% !important;
  }
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 3rem;
    max-width: min-content;
  }
  .header-bottom {
    margin: 12px;
    font-size: clamp(2.4rem, 8vw, 6rem);
  }
  .select-type {
    max-width: 225px;
  }
  .description-bottom {
    font-size: 1.5rem;
  }
  model-viewer {
    width: 250px;
    height: 250px;
  }
  .bee-bg-wrap {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 180px;
    justify-content: center;
    align-items: center;
  }
}
