* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}

html, body {
  height: 100%;
}

body {
  background: linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,.78)),
              url('https://i.pinimg.com/1200x/66/93/18/669318c401c3c9b6f6f8ffd940df29f9.jpg') center/cover fixed no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Comfortaa', sans-serif;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 40px;
  overflow-x: hidden;
  gap: 40px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.quote {
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
}

.quote h2 {
  font-size: 28px;
  font-weight: 400;
  color: #ffb3ec;
  margin-bottom: 10px;
}

.quote p {
  font-size: 16px;
  color: #ccc;
  opacity: 0.7;
}

.container blockquote {
  font-size: 14px;
  color: #888;
  font-style: italic;
  margin: 10px 0 20px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.container {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
  padding: 40px;
  width: 360px;
  text-align: center;
  transition: 0.4s;
}

.container:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 50px rgba(255, 0, 255, 0.2);
}

h1 {
  color: #9909a7;
  font-size: 32px;
  letter-spacing: 10px;
  margin-bottom: 20px;
}

img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

p {
  color: #bd0be0;
  font-size: 16px;
  margin-bottom: 15px;
}

.wife h1 {
  color: #ff9edb;
}

.wife p {
  color: #ff90d0;
}

.btn {
  display: block;
  margin: 10px auto;
  padding: 12px 24px;
  color: white;
  background: transparent;
  border: 2px solid white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease-in-out;
  width: 160px;
}

.btn:hover {
  background: white;
  color: black;
  transform: scale(1.05);
}

/* эффект кнопки */
.effect04 {
  position: relative;
  overflow: hidden;
}

.effect04::before {
  content: attr(data-sm-link-text);
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 200%) scale(0.1, 5);
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 14px;
  text-align: center;
}

.effect04:hover span {
  opacity: 0;
  transform: translateY(-400%) scale(-0.1, 20);
}

.effect04:hover::before {
  transform: translate(-50%, -50%) scale(1, 1);
  letter-spacing: 0.05em;
  color: black;
}

.bg-video {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.4; /* было 0.15 – слишком серо */
  pointer-events: none;
  filter: brightness(1.1) contrast(1.1); /* усиливаем чёткость и яркость */
}



/* === мобилка свайп === */
@media (max-width: 768px) {
  .desktop { display: none !important; }
  .buttons {
    display: block;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 20px;
  }
  .container {
    display: inline-block;
    vertical-align: top;
    scroll-snap-align: center;
    width: 85vw;
    max-width: 320px;
    margin: 0 10px;
  }

  .swiper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
  }

  .swiper-track {
    display: flex;
    gap: 20px;
    padding: 10px 10px 30px;
    width: max-content;
  }

  .swiper .container {
    scroll-snap-align: center;
    flex: 0 0 90vw;
    max-width: 300px;
    padding: 20px 15px;
  }

  img {
    width: 140px;
    height: 140px;
    margin-bottom: 15px;
  }

  h1 {
    font-size: 20px;
    letter-spacing: 2px;
  }

  p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .btn {
    font-size: 13px;
    line-height: 42px;
    width: 100%;
    margin: 6px 0;
  }

  .container blockquote {
    font-size: 12px;
    margin: 8px 0 15px;
  }
}

@media (min-width: 769px) {
  .mobile { display: none !important; }
  .swiper {
    display: none !important;
  }
}
