/* =====================================================
   RESET Y ESTILOS GLOBALES
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
  font-family: "Nanum Gothic", sans-serif;
  color: white;
  background-size: 150%;
  background-position: center;
  background-repeat: no-repeat, no-repeat;
  animation: gradientFlow 15s ease infinite;

  background-image: 
    linear-gradient(160deg, rgba(0, 0, 0, 0.95), rgba(26, 26, 26, 0.9), rgba(46, 46, 46, 0.85)),
    url('./Wallpaper-altoquenomas.png'); /* <- reemplaza con la ruta real de la imagen */

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  margin-bottom: 60px;
}


/* =====================================================
   ANIMACIONES
===================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =====================================================
   TÍTULO
===================================================== */
.titulo {
    font-family: "Luckiest Guy", cursive;
    font-size: clamp(30px, 8vw, 60px);
    font-weight: bold;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    animation: fadeIn 1s ease-in-out;
    margin-bottom: 30px;
}

.titulo span {
    display: inline-block;
    animation: fadeIn 1s ease-in-out;
}

/* =====================================================
   FORMULARIOS DE AUTENTICACIÓN
===================================================== */
.auth-container {
    width: 90%;
    max-width: 450px;
    margin: 0 auto;
    animation: fadeIn 1.5s ease-in-out;
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-login,
.btn-register {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #ff5f6d, #ffc371);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover,
.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 95, 109, 0.4);
}

.btn-google {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #4285F4;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.auth-switch a {
    color: #ffc371;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: #ff5f6d;
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding: 15px 0;
    animation: slideUp 1s ease-out;
    z-index: 1000;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-btn {
    background-color: #00000017;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: popIn 1.5s ease-out;
}

.footer-btn:hover {
    background-color: #0f0f0f;
    transform: scale(1.05);
}

/* =====================================================
   MEDIA QUERIES PARA RESPONSIVIDAD
===================================================== */
@media (max-width: 768px) {
    .form-container {
        padding: 25px;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }

    .form-group input {
        padding: 12px;
    }

    .btn-login,
    .btn-register,
    .btn-google {
        padding: 12px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px;
    }

    .form-container h2 {
        font-size: 1.3rem;
    }

    .form-group input {
        padding: 10px;
        font-size: 14px;
    }

    .btn-login,
    .btn-register,
    .btn-google {
        padding: 10px;
        font-size: 14px;
    }

    .divider {
        margin: 15px 0;
    }

    .auth-switch {
        font-size: 14px;
    }
}