html {
  font-family: "Nunito", sans-serif;
}

body {
    background: linear-gradient(180deg, #e0f7fa 0%, #ffffff 100%);
    background-image: url('data:image/svg+xml;utf8,<svg width="70" height="70" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg"><g opacity="0.03"><rect x="10" y="10" width="32" height="22" rx="4" stroke="%23162029" stroke-width="2"/><path d="M26 10V6a4 4 0 0 1 4-4h0a4 4 0 0 1 4 4v4" stroke="%23162029" stroke-width="2"/><path d="M20 21h12" stroke="%23162029" stroke-width="2" stroke-linecap="round"/><path d="M80 30c0-8 12-8 12 0" stroke="%23162029" stroke-width="2"/><path d="M86 30v10" stroke="%23162029" stroke-width="2"/><ellipse cx="86" cy="45" rx="8" ry="4" stroke="%23162029" stroke-width="2"/><path d="M60 80l10-10 10 10" stroke="%23162029" stroke-width="2"/><rect x="65" y="80" width="10" height="20" rx="2" stroke="%23162029" stroke-width="2"/><path d="M30 90c0-6 8-6 8 0" stroke="%23162029" stroke-width="2"/><path d="M34 90v8" stroke="%23162029" stroke-width="2"/><ellipse cx="34" cy="104" rx="6" ry="3" stroke="%23162029" stroke-width="2"/></g></svg>');
    background-repeat: repeat;
    background-size: 70px 70px;
}

.bg-img {
    background-image: url(https://balthazar.club/o/uploads/posts/2024-01/1704961045_balthazar-club-p-luchshie-plyazhi-pangana-oboi-65.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

.card-anim {
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
}
.card-anim:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(22,32,41,0.10);
}

.social-float-anim {
  animation: pulse-float 2.5s infinite;
}
@keyframes pulse-float {
  0% { box-shadow: 0 0 0 0 rgba(22,32,41,0.10); }
  50% { box-shadow: 0 0 0 8px rgba(22,32,41,0.08); }
  100% { box-shadow: 0 0 0 0 rgba(22,32,41,0.10); }
}

@media (max-width: 600px) {
  .floating-social {
    right: 1rem;
    bottom: 1rem;
    gap: 0.5rem;
  }
  .floating-social a {
    padding: 0.6rem !important;
  }
  .social-icon {
    width: 1.5rem !important;
    height: 1.5rem !important;
  }
  /* .hero-section a.bg-\[\#162029\] {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    font-size: 1rem !important;
  } */
}

.hero-bg-slide, .benefits-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s cubic-bezier(.4,0,.2,1), opacity 1s cubic-bezier(.4,0,.2,1);
  will-change: transform, opacity;
}
.hero-bg-slide.next, .benefits-bg-slide.next {
  transform: translateX(100%);
  opacity: 1;
  z-index: 2;
}
.hero-bg-slide.active, .benefits-bg-slide.active {
  transform: translateX(0);
  opacity: 1;
  z-index: 2;
}
.hero-bg-slide.prev, .benefits-bg-slide.prev {
  transform: translateX(-100%);
  opacity: 0;
  z-index: 1;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.hero-section, .benefits-section {
  overflow-x: hidden;
}

/* Маскот анимация */
.mascot-slide-in {
  transform: translateX(-80px);
  opacity: 0;
  animation: mascot-slide-in 1.2s cubic-bezier(.4,0,.2,1) 0.2s forwards;
  max-width: 600px;
}
@keyframes mascot-slide-in {
  0% {
    transform: translateX(-80px);
    opacity: 0;
  }
  80% {
    transform: translateX(10px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .mascot-slide-in {
    position: static !important;
    margin: 0 auto 1.5rem auto;
    width: 180px !important;
    min-width: 0;
    max-width: 98vw;
    width: 98vw !important;
    transform: translateY(40px);
    animation: mascot-slide-in-mobile 1.1s cubic-bezier(.4,0,.2,1) 0.2s forwards;
  }
}
@keyframes mascot-slide-in-mobile {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-section a.bg-\[\#162029\] {
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}