body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #000000, #060606 60%);
  color: #fff;
}

header {
  background: #0a0a0a;
  box-shadow: 0 0 20px rgba(0, 255, 128, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  background: #00ff88;
  color: #000;
  font-weight: bold;
  padding: 0.6rem;
  border-radius: 8px;
  margin-right: 10px;
}

.brand-text .title {
  font-size: 1.3rem;
  color: #00ff88;
  font-weight: bold;
  text-shadow: 0 0 8px #00ff88;
}

.brand-text .subtitle {
  font-size: 0.8rem;
  color: #999;
}

.main-nav a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
  transition: 0.2s;
}

.main-nav a.active,
.main-nav a:hover {
  color: #00ff88;
  text-shadow: 0 0 5px #00ff88;
}

.buy-btn {
  background: linear-gradient(90deg, #00ff88, #00ffaa);
  color: #000;
  font-weight: bold;
  border-radius: 25px;
  padding: 8px 18px;
  text-decoration: none;
  transition: transform 0.2s;
}

.buy-btn:hover {
  transform: scale(1.05);
}

.neon-line {
  height: 2px;
  background: linear-gradient(90deg, #00ff88, #00ffaa);
  box-shadow: 0 0 10px #00ff88;
}

.hero {
  text-align: center;
  padding: 6rem 2rem;
}

.hero h1 {
  font-size: 2.2rem;
}

.hero span {
  color: #00ff88;
  text-shadow: 0 0 10px #00ff88;
}

.hero .lead {
  color: #ccc;
  max-width: 700px;
  margin: 1rem auto;
  line-height: 1.6;
}

.hero-cta .btn {
  margin: 0.5rem;
}

.btn {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  display: inline-block;
}

.btn-neon {
  background: #00ff88;
  color: #000;
  transition: 0.3s;
}

.btn-neon:hover {
  box-shadow: 0 0 15px #00ff88;
}

.btn-outline {
  border: 2px solid #00ff88;
  color: #00ff88;
}

.btn-outline:hover {
  background: #00ff88;
  color: #000;
}

.status-section {
  text-align: center;
  padding: 5rem 2rem;
}

.status-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.status-card {
  background: #111;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 255, 128, 0.1);
  width: 220px;
}

.status-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 10px auto;
}

.online {
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
}

.offline {
  background: #ff0033;
  box-shadow: 0 0 10px #ff0033;
}

.maintenance {
  background: #ffaa00;
  box-shadow: 0 0 10px #ffaa00;
}

.staff-login {
  text-align: center;
  padding: 5rem 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 300px;
  margin: 2rem auto;
}

.login-form input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: none;
  outline: none;
  background: #111;
  color: #fff;
  box-shadow: inset 0 0 5px #00ff88;
}

.note {
  color: #888;
  font-size: 0.9rem;
}

footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #00ff88;
  font-size: 0.9rem;
  color: #ccc;
}

.center-title {
  text-align: center;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 40px;
  color: #00ff80;
  text-shadow: 0 0 15px #00ff80;
}

.status-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.status-box {
  width: 60%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #00ff80;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 255, 128, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.status-box:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(0, 255, 128, 0.4);
}

.status-box h2 {
  color: white;
  margin-bottom: 10px;
  font-weight: 600;
}

.status-led {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.led {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #00ff80;
  box-shadow: 0 0 10px #00ff80;
}

/* 🔥 Aggiornamento definitivo per rendere i box orizzontali e centrati */
.status-container.row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}

.status-container.row .status-box {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  border: 2px solid #00ff88;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 0 15px #00ff88;
  background: rgba(0, 0, 0, 0.6);
}

/* 📱 Responsività: su schermi piccoli torna in verticale */
@media (max-width: 768px) {
  .status-container.row {
    flex-direction: column;
    align-items: center;
  }

  .status-container.row .status-box {
    max-width: 80%;
  }
}
