/* style.css */
/*--------------------------------------------------------------
1. Reset e base
--------------------------------------------------------------*/
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: #212121;
  background: #FAFAFA;
  display: flex;
  flex-direction: column;
}

/*--------------------------------------------------------------
2. Container
--------------------------------------------------------------*/
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 auto;
  width: 100%;
}

/*--------------------------------------------------------------
3. Hero
--------------------------------------------------------------*/
.hero {
  position: relative;
  background: linear-gradient(135deg, #FFF8E1, #FFECB3, #B3E5FC);
  overflow: hidden;
  padding: 3rem 0 2rem;
  text-align: center;
  flex: none;
}
/* decorative bubbles */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
}
.hero::before {
  width: 300px; height: 300px;
  top: -100px; left: -80px;
  background: #FFEB3B;
}
.hero::after {
  width: 250px; height: 250px;
  bottom: -80px; right: -50px;
  background: #4FC3F7;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-size: 2rem;
  gap: 0.5rem;
}
.logo-emoji { font-size: 2.5rem; }
.logo-text {
  font-weight: bold;
  color: #212121;
}
.subtitle {
  margin-top: 0.5rem;
  color: #616161;
  font-style: italic;
}

/*--------------------------------------------------------------
4. Main
--------------------------------------------------------------*/
main {
  flex: 1;
  padding: 2rem 0;
}
.page-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}
.intro {
  text-align: justify;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/*--------------------------------------------------------------
5. Lista articoli
--------------------------------------------------------------*/
.articles-list {
  list-style: none;
}
.articles-list li {
  border-bottom: 1px solid #DDD;
  padding: 0.8rem 0;
}
.articles-list li:last-child { border-bottom: none; }
.articles-list a {
  text-decoration: none;
  color: #212121;
  font-weight: 500;
  transition: all 0.3s ease;
}
.articles-list a:hover {
  color: #FF8F00;
  padding-left: 5px;
}

/*--------------------------------------------------------------
6. Footer
--------------------------------------------------------------*/
.site-footer {
  background: #B3E5FC;
  color: #212121;
  text-align: center;
  padding: 1.5rem 0;
  flex: none;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}
.site-footer a:hover {
  text-decoration: underline;
}
.disclaimer {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #616161;
}

/*--------------------------------------------------------------
7. Responsive
--------------------------------------------------------------*/
@media (max-width: 480px) {
  .hero { padding: 2rem 0 1rem; }
  .logo { font-size: 1.5rem; }
  .page-title { font-size: 1.6rem; }
  .intro { font-size: 1rem; }
}
