/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Fondo GIF adaptado */
body {
  background: url("https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExZDU1dHcyY2xqNGFudXlobHJjMnNqc3loMjVqOWlob21qODJ4a3A3NCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/pVGsAWjzvXcZW4ZBTE/giphy.gif") 
              no-repeat center center fixed;
  background-size: cover;
}

/* Oscurecer fondo para contraste */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* Contenedor principal */
.login-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  padding: 40px;
  color: #fff;
  gap: 40px;
  flex-wrap: wrap;
}

/* Sección izquierda */
.welcome-section {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.welcome-section h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.welcome-section p {
  margin-bottom: 20px;
  line-height: 1.5;
}

.socials a {
  color: #fff;
  font-size: 1.2rem;
  margin-right: 15px;
  transition: 0.3s;
}

.socials a:hover {
  color: #00f2fe;
}

/* Sección derecha (opciones de acceso) */
.form-section {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  text-align: center;
}

.form-section h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
}

/* Tarjetas */
.card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  margin: 15px auto;
  padding: 12px;
  width: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* Botones */
.btn {
  display: block;
  padding: 14px;
  border-radius: 10px;
  background: #ffffff;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

/* Hover */
.btn:hover {
  background: #4facfe;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Botón Google */
.btn.google {
  background: #fff;
  color: #db4437;
  border: 1px solid #db4437;
}

.btn.google:hover {
  background: #db4437;
  color: #fff;
}

/* Responsivo */
@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
    text-align: center;
  }
}
