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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #070720, #130f3d, #1c1450);
  background-attachment: fixed;
  color: #ffffff;
  min-height: 100vh;
}

h1 {
  text-align: center;
  padding: 40px;
}
/* Luces de color de fondo, para que el vidrio se note */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

body::before {
  width: 400px;
  height: 400px;
  background: #3b5bdb;
  top: -100px;
  left: -100px;
  opacity: 0.6;
}

body::after {
  width: 350px;
  height: 350px;
  background:#b44cf0;
  bottom: -100px;
  right: -100px;
  opacity: 0.5;
}

/* Barra de navegación de vidrio */
.navbar {
  position: sticky;
  top: 15px;
  z-index: 100;
  margin: 15px auto 0;
  width: 90%;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

.navbar .logo {
  font-weight: 700;
  font-size: 1.2rem;
}

.navbar ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

.navbar a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.navbar a:hover {
  color: #ffffff;
}
/* Portada */
.hero {
  text-align: center;
    padding: 0 20px 10px;
}

.hero h1 {
  font-size: 3rem;
  padding: 0;
}

.hero p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Tarjetas de las apps */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  width: 90%;
  max-width: 1000px;
  margin: 40px auto 80px;
  perspective: 1000px;
}

.card {
  display: block;
  padding: 32px 26px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  transition: transform 0.3s, background 0.3s;
}

.card:hover {
  transform: translateY(-8px) rotateX(6deg);
  background: rgba(255, 255, 255, 0.14);
}

.card h2 {
  margin-bottom: 10px;
}

.card p {
  color: rgba(255, 255, 255, 0.7);
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
}
.card img.ancho {
  width: 100%;
  height: 160px;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: linear-gradient(135deg, #1c1450, #3b2a8f);
  border-radius: 12px;
  display: block;
  margin: 0 0 18px;
}
.hero-logo {
  display: block;
  width: 90%;
  max-width: 520px;
  margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(124, 58, 237, 0.45));
}
/* Botón para bajar */
.scroll-down {
  position: fixed;
  bottom: 28px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4),
              inset 0 2px 6px rgba(255, 255, 255, 0.35);
  animation: rebote 1.8s ease-in-out infinite;
  z-index: 10;
}

/* Reflejo brillante (el gloss) */
.scroll-down::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 10px;
  right: 10px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

/* La flecha */
.flecha {
  width: 14px;
  height: 14px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(45deg);
  margin-top: -5px;
}

@keyframes rebote {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.scroll-down {
  transition: opacity 0.3s;
}

.scroll-down.oculto {
  opacity: 0;
  pointer-events: none;
}
.navbar .logo img {
  height: 70px;
  display: block;
}

.navbar .btn-contacto {
  padding: 8px 20px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  transition: background 0.2s;
}

.navbar .btn-contacto:hover {
  background: rgba(255, 255, 255, 0.2);
}
.footer {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

.footer h3 {
  margin-bottom: 18px;
}

.redes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.redes a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}

.redes a:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.2);
}

.redes img,
.redes svg {
  width: 22px;
  height: 22px;
}

.footer p {
  margin-top: 18px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
/* Páginas legales (política, términos) */
.legal {
  width: 90%;
  max-width: 800px;
  margin: 40px auto 60px;
  padding: 40px 36px;
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

.legal h1 {
  text-align: left;
  padding: 0;
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.legal .fecha {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.legal h2 {
  font-size: 1.15rem;
  margin: 32px 0 10px;
  color: #c4b5fd;
}

.legal p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.legal ul {
  margin: 0 0 12px 22px;
  color: rgba(255, 255, 255, 0.8);
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: #c4b5fd;
}

@media (max-width: 600px) {
  .legal {
    padding: 28px 20px;
  }
}
/* Página de cada app */
.app-detalle {
  text-align: center;
}

.app-detalle h1 {
  text-align: center;
}

.btn-play {
  display: inline-block;
  margin: 10px 0 24px;
  padding: 12px 28px;
  text-decoration: none;
  background: linear-gradient(135deg, #3b5bdb, #b44cf0);
  border-radius: 14px;
}

.legal a.btn-play {
  color: #ffffff;
}

.links-legales {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
  font-size: 0.85rem;
}

.legal .links-legales a {
  color: rgba(255, 255, 255, 0.55);
}

.volver {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.9rem;
}
.capturas {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
}

.capturas img {
  width: 32%;
  height: auto;
}
.apps {
  scroll-margin-top: 100px;
}
.card .misterio {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1c1450, #3b2a8f);
  border-radius: 12px;
  margin-bottom: 18px;
}
.testers-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.testers-info div {
  background: rgba(139, 120, 255, 0.12);
  border: 1px solid rgba(139, 120, 255, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
}

.tester-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 10px;
}

.tester-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(139, 120, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 16px;
}

.tester-form button {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid #8b78ff;
  background: rgba(139, 120, 255, 0.25);
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.tester-form button:hover {
  background: rgba(139, 120, 255, 0.4);
}

.aviso {
  font-size: 14px;
  opacity: 0.75;
}
.tester-banner {
  max-width: 900px;
  margin: 40px auto;
  padding: 24px 28px;
  background: rgba(139, 120, 255, 0.1);
  border: 1px solid rgba(139, 120, 255, 0.35);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.tester-banner h2 {
  margin: 0;
  font-size: 20px;
}

.tester-banner p {
  margin: 4px 0 0;
  opacity: 0.75;
}

.btn-tester {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid #8b78ff;
  background: rgba(139, 120, 255, 0.25);
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.btn-tester:hover {
  background: rgba(139, 120, 255, 0.4);
}