 html,body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
  overflow: hidden;
  background-color: #001122;
}

:root {
  --rog-blue: #0066cc;
}

/* =========================
   HOME LAYOUT
   ========================= */

.home-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #001122;
}

.home-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.home-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 3px solid var(--rog-blue);
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 102, 204, 0.3);
}

.home-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

/* =========================
   INVISIBLE HOME BUTTONS
   ========================= */

.home-btn {
  position: absolute;
  display: block;
  cursor: pointer;
  background: transparent(0, 170, 255, 0.2); /* blu chiaro per debug */
  border: none;
  border-radius: 999px;
  color: transparent;
  text-decoration: none;
  outline: none;
  padding: 0;
}

/* Posizioni iniziali (puoi aggiustarle) */
.btn-obiettivi   { top: 58.5%; left: 47%; width: 20%; height: 7%; }
.btn-progetti    { top: 59%; left: 69%; width: 24%; height: 7%; }
.btn-filosofia   { top: 70.5%; left: 47%; width: 20%; height: 7%; }
.btn-chisiamo    { top: 72%; left: 70%; width: 24%; height: 7%; }
.btn-community   { top: 82.5%; left: 47%; width: 20%; height: 7%; }
.btn-gia-iscritto{ top: 83.5%; left: 69%; width: 24%; height: 7%; }

.home-btn:hover {
  background: rgba(0, 255, 0, 0.6);
}

.home-btn:active {
  transform: translateY(1px);
}

/* =========================
   ALTRE COSE (immagini, auth, ecc.)
   ========================= */

.section-image {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 15px auto;
  border: 3px solid var(--rog-blue);
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 102, 204, 0.3);
  display: block;
}

.return-home {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  border: 2px solid var(--rog-blue);
  transition: all 0.3s ease;
}

.return-home:hover {
  background-color: var(--rog-blue);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .home-content {
    gap: 1.5rem;
    padding: 1rem;
  }

  .btn-row {
    gap: 1rem;
    flex-direction: column;
    width: 100%;
  }

  .rog-logo {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .home-content {
    gap: 1rem;
  }

  .rog-logo {
    width: 100px;
  }

  .section-image {
    width: calc(100% - 20px);
    margin: 10px auto;
  }
}

.auth-container {
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 102, 204, 0.5);
  border: 3px solid var(--rog-blue);
}

.auth-title {
  color: var(--rog-blue);
  margin-bottom: 20px;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-input {
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.auth-input:focus {
  border-color: var(--rog-blue);
  outline: none;
  box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

.auth-button {
  background-color: var(--rog-blue);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.auth-button:hover {
  background-color: #0055aa;
  transform: translateY(-2px);
}