/* ========================= */
/* RESET + BASE */
/* ========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: white;
  text-align: center;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 20%, rgba(0, 200, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #050b18 0%, #07101f 100%);
}

/* ========================= */
/* CONTENEDOR PRINCIPAL */
/* ========================= */

.app {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 20px 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ========================= */
/* IDIOMAS */
/* ========================= */

.lang {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  margin-bottom: 14px;
}

.lang span {
  opacity: 0.65;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang span:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.lang .active {
  opacity: 1;
  font-weight: 800;
}

/* ========================= */
/* DIVISORES */
/* ========================= */

.top-divider,
.mid-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.top-divider {
  margin-bottom: 26px;
}

.mid-divider {
  margin: 20px auto 18px;
}

/* ========================= */
/* BOTONES */
/* ========================= */

.btn {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 14px;
  padding: 18px 24px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.primary {
  background: linear-gradient(180deg, #9af5ff 0%, #3fdcff 55%, #1fb6e0 100%);
  color: #021019;
  box-shadow:
    0 10px 30px rgba(0, 200, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(180, 220, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.2);
}

/* ========================= */
/* TIPOGRAFÍA BASE */
/* ========================= */

h3 {
  font-weight: 700;
  color: #ffffff;
}

p {
  margin: 0;
}

/* ========================= */
/* RESPONSIVE BASE */
/* ========================= */

@media (max-width: 480px) {
  .app {
    padding: 18px 16px 34px;
  }

  .btn {
    font-size: 17px;
    padding: 16px 20px;
  }
}

/* TABLET */

@media (min-width: 768px) and (max-width: 1023px) {
  .app {
    max-width: 760px;
    padding: 24px 28px 44px;
  }
}

/* ESCRITORIO */

@media (min-width: 1024px) {
  body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .app {
    max-width: 1200px;
    width: 100%;
    padding: 28px 48px 50px;
  }
}

/* ESCRITORIO GRANDE */

@media (min-width: 1280px) {
  .app {
    max-width: 1280px;
    padding: 34px 64px 60px;
  }
}
/* ========================= */
/* AVISO CENTRADO */
/* ========================= */

.aviso-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.aviso-box {
  width: 90%;
  max-width: 320px;
  background: #0b1424;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  color: #9fe8ff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.aviso-box button {
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: #3fdcff;
  color: #021019;
  font-weight: 700;
  cursor: pointer;
}

.aviso-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.aviso-box {
  width: 90%;
  max-width: 320px;
  background: #0b1424;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  color: #9fe8ff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.aviso-box button {
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: #3fdcff;
  color: #021019;
  font-weight: 700;
  cursor: pointer;
}
.footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

.footer p {
  margin: 0;
}