.auth-left {
  position: fixed;
  top: 15px;
  right: 28px;
  display: flex;
  gap: 12px;
  z-index: 3000;
}

.auth-left .auth-item {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  color: #2c3e50;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.auth-left .register {
  background: linear-gradient(45deg, #2563eb, #7c3aed);
  color: white;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.capa {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.6;
  mix-blend-mode: overlay;
  z-index: -1;
}

.container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 5px;
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
  text-align: center;
  max-width: 510px;
  width: 100%;
  max-height: 470px;
  height: 100%;
  position: absolute;
}

.profile-btn {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0.99;
}

.profile-btn:hover { transform: translateX(-50%) scale(0.95); }

.perfil-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.floating-btn {
  position: fixed;
  right: 26px;
  background: #fff;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 16px;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  color: #2c3e50;
  transition: all 0.5s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-btn:hover { transform: scale(0.92); }

.settings-btn { bottom: 25px; }
.about-btn { bottom: 95px; }
.survey-btn { bottom: 165px; }

.title {
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: bold;
  margin: 46px 0px 1px 33px;
}

.subtitle {
  font-size: 1rem;
  color: #8e9393;
  margin-bottom: 50px;
  margin: -4px 0px 25px 10px;
}

.nav-button {
  color: #fff;
  padding: 20px 60px;
  font-size: 1.5rem;
  border-radius: 15px;
  text-decoration: none;
  display: block;
  transition: .3s;
  margin: 0 auto 20px;
  max-width: 420px;
  cursor: pointer;
}

.btn-gramatica   { background: linear-gradient(45deg,#e74c3c,#c0392b); }
.btn-vocabulario { background: linear-gradient(45deg,#2ecc71,#27ae60); }
.btn-juegos      { background: linear-gradient(45deg,#573dcb,#573dcb); }

.nav-button:hover { transform: translateY(-4px); }

.floating-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 5000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 45px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    width: 90%;
    animation: popIn 0.35s ease;
}

.modal span.material-icons {
    font-size: 60px;
    color: #e67e22;
    display: block;
    margin-bottom: 10px;
}

.modal h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.modal p {
    color: #7f8c8d;
    font-size: 1rem;
    margin-bottom: 20px;
}

.close-modal {
    background: linear-gradient(45deg, #e67e22, #f39c12);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: scale(0.95);
    background: linear-gradient(45deg, #d35400, #e67e22);
}

.floating-btn.music-btn {
  bottom: 236px;
  
}

.floating-btn.music-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  pointer-events: none;
  
}
