body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  background: #0a0015 url("img/phone.png") no-repeat center center fixed;
  background-size: cover;
}

header {
  text-align: center;
}

.logo-img {
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 15px magenta);
}
nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background: #0d0020;
}
nav a {
  text-decoration: none;
  color: #00ffff;
  padding: 10px 20px;
  border: 2px solid #00ffff;
  border-radius: 20px;
  transition: all 0.3s ease;
}
nav a:hover {
  background: #00ffff;
  color: #0a0015;
}
section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
h2 {
  color: #fff;
  text-shadow: 0 0 10px magenta;
  text-align: center;
}
.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.intro img {
  border-radius: 10px;
  max-height: 200px;
}
.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.categories a {
  color: #fff;
  padding: 10px 15px;
  border: 1px solid #ff00ff;
  border-radius: 10px;
  text-decoration: none;
  background: rgba(255, 0, 255, 0.2);
  box-shadow: 0 0 10px magenta;
  transition: all 0.3s ease;
}
.categories a:hover {
  background: #ff00ff;
  color: #0a0015;
  box-shadow: 0 0 15px #ff00ff, 0 0 30px #ff00ff;
  transform: scale(1.05);
}

.slider {
  position: relative;
  overflow: hidden;
  margin: 20px 0;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: #1a0030;
  border: 1px solid #00ffff;
  margin: 0 10px;
}
.slider-buttons {
  text-align: center;
  margin-top: 10px;
}
.slider-buttons button {
  background: none;
  border: 1px solid #00ffff;
  color: #00ffff;
  padding: 5px 10px;
  cursor: pointer;
  margin: 0 5px;
}
.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.columns > div {
  flex: 1;
  min-width: 300px;
  background: #110022;
  padding: 20px;
  border-radius: 10px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}
input, textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #200040;
  color: #fff;
}
input:focus, textarea:focus {
  outline: 2px solid #ff00ff;
}
button {
  padding: 10px;
  background: #ff00ff;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
footer {
  text-align: center;
  padding: 30px;
  background: #110011;
  color: #888;
  font-size: 14px;
}
.owl-carousel .item {
  background: #1a0030;
  padding: 40px;
  border: 1px solid #00ffff;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  transform: scale(0.8) translateY(40px); /* маленькие по краям */
  opacity: 0.6;
}

.owl-carousel .center .item {
  transform: scale(1) translateY(0); /* центральный больше и по центру */
  opacity: 1;
  box-shadow: 0 0 30px #00ffff;
  z-index: 2;

}
#scrollToTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: none;
  background: #ff00ff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 0 15px magenta, 0 0 30px #ff00ff;
  z-index: 999;
  transition: all 0.3s ease;
}

#scrollToTop:hover {
  background: #00ffff;
  box-shadow: 0 0 20px #00ffff, 0 0 40px cyan;
}
.popup-message {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.popup-content {
  background: #1a0030;
  padding: 30px;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 0 20px magenta;
  max-width: 90%;
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    text-align: center;
  }

  .intro img {
    max-height: 150px;
  }

  .columns {
    flex-direction: column;
  }

  .owl-carousel .item {
    padding: 20px;
    transform: none !important;
    opacity: 1 !important;
  }

  .owl-carousel .center .item {
    transform: none !important;
    box-shadow: none;
  }

  nav {
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    width: 80%;
    text-align: center;
  }

  .logo-img {
    max-width: 100px;
  }

}
