*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 20px;
  background: #141414;
  color: #ffffff;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

h2 {
  margin-top: 40px;
  color: #e50914;
  font-size: 1.8rem;
}

main {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
}

.category {
  flex: 0 1 calc(33.333% - 30px);
  background: rgba(32, 32, 32, 0.95);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  min-width: 300px;
}

.category:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(229,9,20,0.2);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin: 12px 0;
  padding: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  transition: background 0.3s ease;
}

li:hover {
  background: rgba(229,9,20,0.1);
}

label {
  margin-left: 12px;
  font-size: 1.1rem;
  cursor: pointer;
}

input[type="checkbox"] {
  transform: scale(1.2);
  cursor: pointer;
  accent-color: #e50914;
}

@media (max-width: 1024px) {
  .category {
    flex: 0 1 calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .category {
    flex: 0 1 100%;
  }
  
  body {
    padding: 15px;
  }
  
  h1 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .category {
    min-width: 0;
    padding: 20px;
  }
}
