/* 🌌 Base */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  background: radial-gradient(circle at top left, #000000, #1a1a1a);
  color: #fefefe;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 🧱 Container */
.container, .panel, form, ul {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

/* 🏷️ Titoli */
h1, h2, h3 {
  color: #ff0000;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 🔘 Bottoni & Link */
a, button {
  display: inline-block;
  margin: 10px 5px;
  padding: 14px 28px;
  background: linear-gradient(45deg, #ff0000, #660000);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  transition: background 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

a:hover, button:hover {
  background: linear-gradient(45deg, #cc0000, #330000);
}

/* 🧾 Input & Select */
input, select, textarea {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background-color: #1f1f1f;
  color: #fefefe;
  border: 1px solid #ff0000;
  border-radius: 10px;
  font-size: 16px;
}

input:focus, textarea:focus, select:focus {
  border-color: #ff0000;
  outline: none;
}

/* 🧑‍💼 Bottone Gestore */
.gestore-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(45deg, #ff0000, #660000);
  color: #fff;
  padding: 10px 15px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* 📋 Liste */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  background-color: #2a2a2a;
  margin: 10px 0;
  padding: 15px;
  border-radius: 12px;
  border-left: 4px solid #ff0000;
}

ul li:hover {
  background-color: #333;
}

/* 🧠 Card gestore */
.card-item, .scommessa-item, .contatto-item {
  background-color: #2a2a2a;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 12px;
  border-left: 4px solid #ff0000;
}

/* 🌟 Griglia orizzontale */
.grid-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.grid-menu a {
  background-color: #1f1f1f;
  color: #ff0000;
  padding: 25px 35px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.grid-menu a:hover {
  background-color: #2a2a2a;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .container, .panel, form, ul {
    margin: 20px;
    padding: 20px;
  }

  a, button {
    width: 100%;
    text-align: center;
  }

  .gestore-btn {
    position: static;
    display: block;
    margin: 20px auto;
  }

  .grid-menu {
    flex-direction: column;
    align-items: center;
  }

  .grid-menu a {
    width: 80%;
    text-align: center;
  }
}

/* ✨ Extra */
em {
  color: #999;
  font-style: italic;
}

strong {
  color: #ff0000;
}