* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;

  background:
    linear-gradient(rgba(0,0,0,0.66), rgba(0,0,0,0.76)),
    url("../png/fonmain.PNG") center top / 100% auto no-repeat,
    #080808;

  color: #f5f5f5;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 20px;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 430px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 34px 26px;
  text-align: center;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.logo {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}

.title {
  text-align: center;
}

h1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}

.subtitle {
  color: #b8b8b8;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.buttons {
  display: grid;
  gap: 14px;
}

.social-button {
  height: 58px;
  padding: 0 20px;
  border-radius: 18px;
  text-decoration: none;
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.25s ease;
}

.social-button:hover {
  background: #f5f5f5;
  color: #111;
  transform: translateY(-2px);
}

.social-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
}

.social-left i {
  width: 22px;
  font-size: 22px;
  text-align: center;
}

.arrow {
  font-size: 14px;
  opacity: 0.65;
}

.footer {
  margin-top: 28px;
  color: #777;
  font-size: 13px;
}

.divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  margin: 8px 0 4px;
}

.logo img {
  width: 120%;
  height: 120%;
  object-fit: contain;
  transform: scale(1.2);
}

/* Новинки */

.new-products {
  margin-top: 34px;
  text-align: center;
}

.new-products h2 {
  font-size: 24px;
  margin-bottom: 22px;
  font-weight: 700;
}

.new-stack {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-item {
  position: absolute;
  width: 135px;
  height: 175px;
  border: none;
  padding: 0;
  background: transparent;
  border-radius: 22px;
  cursor: pointer;
  transition: 0.35s ease;
}

.new-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.item-1 {
  transform: translateX(-70px) rotate(-10deg);
  z-index: 1;
}

.item-2 {
  transform: translateY(-8px);
  z-index: 3;
}

.item-3 {
  transform: translateX(70px) rotate(10deg);
  z-index: 2;
}

.item-1.active {
  transform: translateX(-70px) translateY(-18px) rotate(-10deg) scale(1.06);
  z-index: 10;
}

.item-2.active {
  transform: translateY(-26px) scale(1.06);
  z-index: 10;
}

.item-3.active {
  transform: translateX(70px) translateY(-18px) rotate(10deg) scale(1.06);
  z-index: 10;
}

.new-info {
  position: absolute;
  left: 50%;
  bottom: -78px;
  width: 210px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 15, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f5f5f5;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: 0.25s ease;
}

.new-item.active .new-info {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.new-info h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.new-info p {
  font-size: 12px;
  line-height: 1.4;
  color: #b8b8b8;
}

@media (max-width: 480px) {
  .card {
    padding: 30px 20px;
    border-radius: 24px;
  }

  h1 {
    font-size: 26px;
  }

  .new-stack {
    height: 210px;
  }

  .new-item {
    width: 115px;
    height: 155px;
  }

  .item-1 {
    transform: translateX(-52px) rotate(-9deg);
  }

  .item-2 {
    transform: translateY(-6px);
  }

  .item-3 {
    transform: translateX(52px) rotate(9deg);
  }

  .item-1.active {
    transform: translateX(-52px) translateY(-14px) rotate(-9deg) scale(1.05);
    z-index: 10;
  }

  .item-2.active {
    transform: translateY(-20px) scale(1.05);
    z-index: 10;
  }

  .item-3.active {
    transform: translateX(52px) translateY(-14px) rotate(9deg) scale(1.05);
    z-index: 10;
  }

  .new-info {
    width: 185px;
  }
}

@media (max-width: 560px) {
  body {
    padding: 20px 16px;
    background:
      linear-gradient(rgba(0,0,0,0.68), rgba(0,0,0,0.78)),
      url("../png/fonmain-mobile.jpg") center top / cover no-repeat,
      #080808;
  }
}
.footer a {
  color: #b8955f;
  text-decoration: none;
  font-weight: 700;
}

.footer a:hover {
  text-decoration: underline;
}
