/* STYLE PRINCIPALE - THARO FUTURE PRO SECURE */
body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: radial-gradient(circle at center, #0f0f0f, #000000);
    color: #00f0ff;
}
h1 {
    text-align: center;
    margin-top: 20vh;
    font-size: 3em;
    text-shadow: 0 0 10px #00f0ff;
}
p {
    text-align: center;
    color: #ccc;
}
.button {
    display: block;
    width: 200px;
    margin: 40px auto;
    padding: 15px;
    text-align: center;
    background: #ff00ff;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 0 10px #ff00ff;
    text-decoration: none;
}
.menu-item {
    position: relative;
    color: #00f0ff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 30px;
}
.menu-item::after {
    content: attr(data-hover);
    position: absolute;
    left: 0;
    top: 0;
    color: #00f0ff;
    opacity: 0;
    transition: opacity 0.3s;
}
.menu-item:hover::after {
    opacity: 1;
}
.menu-item:hover {
    color: transparent;
}

/* MODALE */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15,15,15,0.95);
}
.modal-content {
    background-color: #111;
    margin: auto;
    padding: 20px;
    border: 2px solid #00f0ff;
    width: 300px;
    box-shadow: 0 0 15px #00f0ff;
    color: #fff;
    font-family: Orbitron;
    border-radius: 10px;
}
.close {
    color: #ff00ff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
input[type=text], input[type=password], input[type=email] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: none;
    background: #222;
    color: #00f0ff;
}
.login-button {
  width: 260px;
  margin: 20px auto;
  background-color: transparent;
  color: #00ffff;
  border: 2px solid #00ffff;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 0 8px #00ffff;
}

.login-button:hover {
  background-color: #e600e6;
  box-shadow: 0 0 20px #ff00ff, 0 0 35px #ff00ff;
}
.guest-button {
  width: 260px;
  margin: 15px auto;
  background-color: transparent;
  color: white;
  border: 1px solid #00ffff;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}
.guest-button:hover {
    background-color: #00ffff33;
    color: #00ffff;
}
.login-icon {
    text-align: center;
    margin: 15px 0;
}

/* BARRA VITA */
.life-progress-container {
  margin-top: 60px;
  text-align: center;
}

.life-progress-bar {
  width: 80%;
  height: 10px;
  margin: 0 auto;
  background: #222;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 10px #00ffff;
  position: relative;
}

.life-progress {
  height: 10px;
  transition: width 0.5s ease;
}

.neon-bar {
  background: #00ffff;
  box-shadow: 0 0 10px #00ffff;
  height: 10px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}



.red-bar {
  position: absolute;
  top: 0;
  left: 50%;
  height: 10px;
  width: 0;
  background: linear-gradient(to right, #ff9999, #ff0000);
  box-shadow: 0 0 8px #ff0000;
  z-index: 2;
}

.life-progress-text {
  margin-top: 10px;
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  text-shadow: 0 0 5px #00ffff;
}

.projects-page {
  padding: 50px 20px;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background-color: rgba(0, 0, 0, 0.75);
  border: 2px solid #00ffff;
  border-radius: 10px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 0 15px #00ffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px #ff00ff;
}

.project-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.panda-icon {
  max-width: 90px;
  display: block;
  margin: 10px auto 20px auto;
  filter: drop-shadow(0 0 8px #00ffff);
  transition: transform 0.3s ease;
}
.panda-icon:hover {
  transform: scale(1.05);
}

/* MODALE PROGETTO 1 */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background: rgba(10, 10, 10, 0.95);
  border: 2px solid #00ffff;
  box-shadow: 0 0 20px #00ffff;
  border-radius: 15px;
  width: 320px;
  max-width: 90%;
  margin: auto;
  padding: 25px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-content input {
  width: 260px;
  padding: 10px;
  margin-top: 15px auto 0;
  border: none;
  background: #111;
  color: #00ffff;
  border-radius: 5px;
  box-shadow: 0 0 8px #00ffff;
  display: block;

}

