body, html {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background: url('/bg-karen-rp.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  height: 100%;
  overflow-x: hidden;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  max-width: 90%;
}

h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.intro {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ddd;
}

.buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  padding: 15px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary {
  background-color: #ffffff;
  color: #000;
}

.btn-primary:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #ffffff33;
  transform: translateY(-3px);
}

.btn-secondary1 {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary1:hover {
  background-color: #ffffff33;
  transform: translateY(-3px);
}

.specs {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 1rem;
  margin-top: 1rem;
}

.specs div {
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
  transition: background-color 0.3s, transform 0.3s;
}

.specs div:hover {
  background-color: #ffffff33;
  color: #000;
  transform: translateY(-5px);
}

footer {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  z-index: 2;
}

nav {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.nav-left img {
  height: 40px;
  width: auto;
}

.nav-right {
  display: flex;
  gap: 25px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover {
  color: #fff;
  transform: scale(1.05);
}

nav a.active {
  text-decoration: underline;
  font-weight: bold;
  color: #fff;
}

/* Бургер и мобильное меню */
.burger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  z-index: 4;
}

.mobile-overlay {
  display: none;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  nav {
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
    padding: 10px 20px;
  }

  .burger {
    display: block;
    position: absolute;
    top: 22px;
    right: 30px;
  }

  .nav-right {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 3;
  }

  .nav-right.open {
    right: 0;
  }

  .mobile-overlay.active {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }

  h1 {
    font-size: 3rem;
  }

  .specs {
    flex-direction: column;
    gap: 10px;
    display: none; /* <--- Скрываем на мобайле */
  }

  .btn-secondary1 {
    flex-direction: column;
    gap: 10px;
    display: none; /* <--- Скрываем на мобайле */
  }

  .btn {
    width: 100%;
    padding: 12px;
  }
}
