* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.center { width: 100%; max-width: 480px; padding: 40px 20px; text-align: center; }
h1 { font-size: 2rem; margin-bottom: 8px; }
.center > p { color: #b7b0d9; margin-bottom: 40px; }

.product-card {
  display: flex;
  gap: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px;
  text-align: left;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.product-img {
  width: 110px;
  height: 110px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6c63ff, #00d4ff);
  flex-shrink: 0;
  position: relative;
}
.product-img::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.85);
}
.product-info h3 { font-size: 1.15rem; margin-bottom: 4px; }
.price { color: #00d4ff; font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: #6c63ff;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.cart-btn:hover { background: #5a52e0; transform: translateY(-2px); }
.cart-btn:active { transform: translateY(0) scale(0.97); }
.cart-icon { width: 18px; height: 18px; transition: transform 0.3s ease; }
.cart-btn.added { background: #2ecc71; pointer-events: none; }
.cart-btn.added .cart-icon { animation: cart-bounce 0.6s ease; }
.cart-btn.added .btn-label::after {
  content: " \2713  Added";
}
@keyframes cart-bounce {
  0% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(-8px) rotate(-15deg); }
  70% { transform: translateY(2px) rotate(10deg); }
  100% { transform: translateY(0) rotate(0); }
}
.feedback { margin-top: 24px; color: #2ecc71; font-size: 0.95rem; min-height: 24px; font-weight: 600; }