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

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

header {
  background: #111;
  color: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 1.5em;
  font-weight: bold;
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to right, #0066ff, #00ccff);
  color: #fff;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero .cta {
  margin-top: 20px;
  display: inline-block;
  background: #fff;
  color: #0066ff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

.categorie, .in-evidenza {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.grid-categorie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cat {
  background: #e3e3e3;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  font-size: 1.1em;
}

.grid-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.item {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.item audio {
  width: 100%;
  margin-bottom: 10px;
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
