/* === Основной фон и шрифт === */
body {
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  color: #e0e0e0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  transition: background 0.5s ease;
}

/* === Заголовки === */
h1, h2, h3 {
  color: #ff6666;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 102, 102, 0.5);
  margin-bottom: 12px;
}

/* === Анимация появления элементов === */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* === Карточки товаров (общие) === */
.product-card {
  background: #ffffff;
  border: 2px solid #ff6666;
  border-radius: 16px;
  padding: 28px;
  margin: 28px 0;
  box-shadow: 0 0 20px rgba(255, 102, 102, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(255, 102, 102, 0.3);
}

/* === Названия товаров внутри карточек === */
.product-card h3 {
  color: #ff6666;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 12px;
}

/* === Описание товаров === */
.product-card p {
  color: #444;
  font-size: 1.05em;
  font-weight: 500;
}

/* === Кнопки покупки === */
.buy-button {
  background: #ff6666;
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.buy-button:hover {
  background: #e05555;
  transform: scale(1.05);
}

/* === Ссылки === */
a {
  color: #ff6666;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff9999;
}

/* === Корзина (если используется сбоку) === */
.cart-sidebar {
  background: #1a1a1a;
  border-left: 2px solid #ff6666;
  box-shadow: -5px 0 15px rgba(255, 102, 102, 0.2);
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* === VK карточка === */
.product-vk {
  background: #ffffff;
  border: 2px solid #4a76a8;
  border-radius: 16px;
  padding: 28px;
  margin: 28px 0;
  box-shadow: 0 0 20px rgba(74, 118, 168, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-vk h3 {
  color: #4a76a8;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-vk:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(74, 118, 168, 0.4);
}

/* === Telegram карточка === */
.product-tg {
  background: #ffffff;
  border: 2px solid #0088cc;
  border-radius: 16px;
  padding: 28px;
  margin: 28px 0;
  box-shadow: 0 0 20px rgba(0, 136, 204, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-tg h3 {
  color: #0088cc;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-tg:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(0, 136, 204, 0.4);
}

/* === Адаптивность === */
@media (max-width: 768px) {
  .product-card,
  .product-vk,
  .product-tg {
    padding: 20px;
  }

  .buy-button {
    width: 100%;
    padding: 14px;
    font-size: 1em;
  }
}
