* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #0b0b0f;
  color: white;
}

.hero {
  padding: 80px 20px;
  text-align: center;
  background: radial-gradient(circle at top, #1f2937, #000);
}

.hero h1 {
  font-size: 60px;
  font-weight: 900;
}

.hero p {
  color: #9ca3af;
  margin-top: 10px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* CATEGORY BUTTON */
.category {
  margin-bottom: 20px;
}

.category-btn {
  width: 100%;
  padding: 18px 20px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;

  color: white;
  font-size: 18px;
  font-weight: 700;

  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  transition: 0.3s;
}

.category-btn:hover {
  background: rgba(255,255,255,0.1);
}

.category-btn::after {
  content: "+";
  font-size: 22px;
}

.category.open .category-btn::after {
  content: "−";
}

/* CONTENT */
.category-content {
  max-height: 0;
  overflow: hidden;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;

  opacity: 0;
  transform: translateY(-10px);

  transition: 0.4s ease;
}

.category.open .category-content {
  max-height: 2000px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 15px;
}

/* CARD */
.card {
  background: #111827;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #1f2937;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #374151;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content span {
  color: #9ca3af;
  font-size: 13px;
}

.card-content h3 {
  font-size: 22px;
  margin: 10px 0;
}

.engine {
  color: #a1a1aa;
  font-size: 14px;
}

.price {
  font-size: 20px;
  font-weight: 800;
  margin-top: 10px;
}