body {
  overflow-x: hidden;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-image: url('../assets/fondo.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  cursor: url('../assets/cursorl2.cur') 19 19, auto;
}

.top-access {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 1000;
}

.top-access button,
.top-access select {
  font-weight: bold;
  border-radius: 5px;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
}

.top-access button {
  background-color: #ffcc00;
  color: #000;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.top-access select {
  background-color: #222;
  color: #fff;
  border: 1px solid #555;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.6);
}

/* Panel de login y registro */
.login-panel {
  position: relative;
  max-width: 420px;
  margin: 10% auto;
  padding: 30px;
  background-image: linear-gradient(to bottom, #1a1208, #2c1e0f, #3b2a17);
  border: 2px groove #ffd700;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.3);
}

/* Título del panel */
.login-panel h2 {
  margin-bottom: 20px;
  font-size: 26px;
  text-transform: uppercase;
  color: #ffcc00;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.4);
  font-family: 'Cinzel', serif;
}

/* Campos de entrada */
.login-panel form input {
  width: 85%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #5a4225;
  border-radius: 6px;
  background-color: #2a1d10;
  color: #ffcc99;
  font-family: 'Unica One', sans-serif;
  box-shadow: inset 0 0 6px rgba(255, 204, 0, 0.2);
}

/* Botones del panel */
.login-panel form button,
.login-panel button {
  width: 90%;
  padding: 12px;
  background-image: linear-gradient(to right, #a67c00, #ffcc00, #a67c00);
  color: #000;
  font-weight: bold;
  border: 2px solid #ffd700;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
  transition: background-position 0.4s ease, transform 0.2s ease;
  background-size: 200% auto;
  background-position: left center;
  font-family: 'Orbitron', sans-serif;
}

.login-panel form button:hover,
.login-panel button:hover {
  background-position: right center;
  transform: scale(1.05);
}

/* Botón cerrar modal */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #ffcc00;
  cursor: pointer;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.5);
}

/* Mensaje de registro */
#reg-mensaje {
  margin-top: 10px;
  font-size: 14px;
  color: #ffcc99;
  font-family: 'Rajdhani', sans-serif;
}


.content {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 150px;
  padding: 20px;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  color: #ccc;
}

.btn,
.top-access button {
  padding: 12px 24px;
  background-image: linear-gradient(to right, #3b2f1c, #5a4225, #7a5a2e);
  color: #ffcc00;
  font-weight: bold;
  border: 2px groove #ffd700;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(122, 90, 46, 0.4);
  transition: background-position 0.4s ease, transform 0.2s ease;
  background-size: 200% auto;
  background-position: left center;
  margin: 2px;
}

.btn:hover,
.top-access button:hover {
  background-position: right center;
  transform: scale(1.05);
}

.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
  z-index: 1;
}

.download-btn {
  background-color: #ffcc00;
  color: #000;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 280px;
  text-align: center;
  font-size: 16px;
}

.download-btn:hover {
  background-color: #e6b800;
  transform: scale(1.05);
}

.social-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links a:hover img {
  transform: scale(1.2);
  filter: brightness(1.2);
}

  max-width: 100%;
  height: auto;

 @media (max-width: 768px) {
  body {
    background-position: center top;
    background-size: cover;
    overflow-x: hidden;
  }

  header {
    flex-direction: column;
    padding: 15px 20px;
    text-align: center;
  }

  .logo {
    width: 80%;
    margin-bottom: 15px;
  }

  nav {
    flex-direction: column;
    gap: 10px;
  }

  .top-access {
    position: static;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .content {
    padding: 60px 15px;
  }

  .login-panel {
    width: 90%;
    margin: 60px auto;
    padding: 20px;
  }

  .login-panel h2 {
    font-size: 22px;
  }

  .login-panel form input,
  .login-panel form button,
  .login-panel button {
    width: 100%;
  }

  .menu a {
    width: 90%;
    font-size: 16px;
    padding: 10px 16px;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-links img {
    width: 28px;
    height: 28px;
  }

  .contador-flotante {
    font-size: 22px;
    top: 10px;
    right: 10px;
  }

  footer {
    font-size: 12px;
    padding: 15px;
  }
}

