* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #111827;
  color: #fff;
  height: 100vh;
  padding-top: 60px;
}

.page {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.box {
  background: #010d19;
  border-radius: 16px;
  padding: 40px 30px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  text-align: center;
}

h1 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

p {
  font-size: 1em;
}

.subtitle {
  font-size: 0.9em;
  color: #ccc;
  margin-bottom: 25px;
}

.message {
  background-color: rgba(0, 255, 174, 0.12);
  border-left: 4px solid #00ffae;
  color: #b6ffe0;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.95em;
  margin-bottom: 20px;
  text-align: left;
}

.form button {
  width: 100%;
  background-color: #00ffae;
  border: none;
  border-radius: 30px;
  padding: 14px 0;
  font-size: 1em;#010d19
  font-weight: 600;
  color: #000;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form button:hover {
  background-color: #00d89f;
}

.form button:disabled {
  background-color: #444;
  color: #bbb;
  cursor: not-allowed;
}
.form-button {
  display: inline-block;
  background-color: #00ffae;
  color: #000;
  padding: 12px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  margin: 5px;
  transition: background 0.3s ease;
}

.form-button:hover {
  background-color: #00d89f;
}

.input-link {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 10px;
  font-size: 0.95em;
  background-color: #1f2937;
  color: #ffffff;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.input-link:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(0, 255, 174, 0.6);
  background-color: #111827;
}


.hash {
  margin-top: 25px;
  font-size: 0.85em;
  color: #bbb;
  word-break: break-word;
}

.button-link {
  background-color: #00ffae;
  border-radius: 30px;
  padding: 14px 0;
  font-size: 1em;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  transition: background 0.3s ease;
  display: block;
}

.button-link:hover {
  background-color: #00d89f;
}


/* Header y navegación */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #010d19;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: #fff;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.top-bar .title {
  font-weight: 600;
  text-align: center;
}

/* Hamburguesa */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  width: 30px;
  height: 22px;
  position: absolute;
  right: 20px;
  cursor: pointer;
  z-index: 200;
}

.menu-icon::before,
.menu-icon::after,
.menu-icon span {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: #00ffae;
  border-radius: 2px;
  transition: 0.3s;
}

.menu-icon span {
  top: 9px;
}

.menu-icon::before {
  top: 0;
}

.menu-icon::after {
  bottom: 0;
}

#menu-toggle:checked + .menu-icon::before {
  transform: rotate(45deg);
  top: 9px;
}

#menu-toggle:checked + .menu-icon::after {
  transform: rotate(-45deg);
  bottom: 9px;
}

#menu-toggle:checked + .menu-icon span {
  opacity: 0;
}

/* NAV */
.nav {
  background-color: #111827;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  padding: 10px 20px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 99;
}

/* Mostrar menú en móvil cuando está checked */
#menu-toggle:checked ~ .nav {
  display: flex;
    padding: 5px 30px 15px 30px;
        box-shadow: 0 5px 15px rgb(0 255 174 / 15%);
            position: fixed;
}
#menu-toggle:checked ~ .body {
  background: #000;
}

.menu {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.menu li a {
  color: #ccc;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 0.95em;
  transition: background 0.3s, color 0.3s;
}

.menu li a:hover,
.menu li a.active {
  background-color: #00ffae;
  color: #000;
}

/* Modo escritorio */
@media (min-width: 769px) {
  .menu-icon {
    display: none;
  }

  .nav {
    display: flex !important;
    position: sticky;
    top: 60px;
    flex-direction: row;
    justify-content: center;
    padding: 0px 20px 10px;
  }

  .menu {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
}

/* Modo móvil */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav {
    flex-direction: column;
    text-align: left;
  }

  .menu li {
    text-align: left;
  }
}
.footer {
  background: #010d19;
  border-radius: 16px;
  padding: 20px;
  margin: 20px auto 0 auto;
  width: 100%;
  max-width: 400px;
  text-align: center;
  color: #bbb;
  font-size: 0.85em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.footer a {
  color: #00ffae;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #00d89f;
}