* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #1e1e1e, #2c2c2c);
  color: #f5f5f5;
  line-height: 1.6;
  padding: 40px 20px;
}

main,
header,
table,
h2:not(.categories),
a {
  max-width: 1100px;
  margin: 0 auto;
}

.title {
  font-size: 52px;
  text-align: center;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #c0392b;
  margin: 15px auto 0;
  border-radius: 3px;
}

.slogan {
  text-align: center;
  font-size: 20px;
  color: #cccccc;
  margin-bottom: 40px;
  font-style: italic;
}

.categories {
  font-size: 30px;
  margin: 40px 0 20px;
  color: #ff4d4d;
  border-left: 5px solid #ff4d4d;
  padding-left: 12px;
}

.products {
  list-style: none;
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.products > li {
  background: #ffffff;
  color: #333;
  padding: 20px;
  border-radius: 12px;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.products > li:hover {
  transform: translateY(-6px);
}

.products > li > ul {
  margin-top: 10px;
  padding-left: 18px;
  font-size: 15px;
  color: #555;
}

table {
  width: 100%;
  margin-top: 30px;
  border-collapse: collapse;
  background: #ffffff;
  color: #333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

th,
td {
  padding: 14px;
  text-align: center;
}

th {
  background: #c0392b;
  color: white;
  font-weight: 600;
}

tr:nth-child(even) {
  background: #f2f2f2;
}

a {
  display: block;
  margin: 40px auto;
  text-align: center;
  width: fit-content;
  padding: 10px 20px;
  background: #c0392b;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s ease;
}

a:hover {
  background: #e74c3c;
}

@media (min-width: 768px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }

  .title {
    font-size: 60px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 20px 10px;
  }

  .title {
    font-size: 36px;
  }

  .categories {
    font-size: 22px;
  }

  table {
    font-size: 14px;
  }
}
