/* =========================
   Base & Tipografia
========================= */
body {
  font-family: 'Roboto', sans-serif;
  background: #fdf6e3; /* sfondo tipo carta */
  margin: 0;
  padding: 20px;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 {
  font-family: 'Press Start 2P', cursive;
  color: #d35400;
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
}

h2 {
  color: #2980b9;
  border-left: 6px solid #2980b9;
  padding-left: 10px;
  background: #ecf0f1;
  border-radius: 5px;
}

h3 {
  color: #16a085;
  margin-top: 20px;
}

p {
  margin-bottom: 15px;
}

ul, ol {
  margin: 10px 0 20px 20px;
}

li {
  margin-bottom: 8px;
}

/* =========================
   Layout & Sezioni
========================= */
.section-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 25px;
}

.note {
  background: #fef5e7;
  border-left: 4px solid #f39c12;
  padding: 10px 15px;
  border-radius: 5px;
  margin: 15px 0;
}

/* =========================
   Menu
========================= */
.menu {
  display: flex;
  justify-content: space-between;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
}

.menu-link {
  flex: 1;
  text-decoration: none;
  color: #2980b9;
  font-weight: bold;
  font-size: 1em;
  transition: color 0.3s;
}

.menu-link:hover {
  color: #d35400;
}

.menu-link.active {
  color: #d35400;
  position: relative;
}

.menu-link.active::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background-color: #d35400;
  border-radius: 2px;
}

/* =========================
   Card / Etichette
========================= */
.card-type {
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 8px;
  margin: 10px 0;
  color: white;
  display: inline-block;
}

.verde { background-color: #27ae60; }
.arancione { background-color: #e67e22; }
.rosso { background-color: #c0392b; }
.nera { background-color: #2c3e50; }

/* =========================
   Emoji
========================= */
.emoji {
  font-size: 1.2em;
  margin-right: 6px;
}

/* =========================
   Form Acquista
========================= */
.acquista-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
}

.acquista-form label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  font-size: 0.9em;
}

.acquista-form input {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.acquista-form input:focus {
  outline: none;
  border-color: #2980b9;
}

.acquista-form button {
  margin-top: 10px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #2980b9;
  color: white;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.acquista-form button:hover {
  background: #1f6391;
}

.form-message {
  margin-top: 15px;
  font-weight: bold;
  color: #27ae60;
}

/* =========================
   Video Home
========================= */
.video-container {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  background: #000;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}
