section {
	height: 100%;
	padding: 3rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	background: whitesmoke;
}

/* reset basico para todos los botones */
button {
	border: none;
	cursor: pointer;
	font-family: system-ui, -apple-system, sans-serif;
	font-weight: 600;
	padding: 0;
	margin: 20px;
	position: relative;
	overflow: hidden;
}

/* boton 1, elevacion con sombra dinamica ---------------- */
.btn-elevated {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 14px 32px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);

	/* transiciones suaves para multiples propiedades */
	/* transicion sobre: transform, box-shadow y gap */
	transition: transform 0.3s ease, box-shadow 0.3s ease, gap 0.3s ease;
}

/* el boton sube, la sombra se agranda, el texto e icono se distancian*/
.btn-elevated:hover {
	/* elevacion visual mediante transform (mejor performance) */
	transform: translateY(-2px); /*translateY: mover verticalmente*/
	/* sombra mas pronunciada en hover */
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
	/* el icono se separa mas del texto */
	gap: 12px;
}

/* efecto de click presionando el boton */
.btn-elevated:active {
	/* el boton baja, la sombra se reduce */
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

/* boton 2, relleno progresivo desde abajo --------------------- */
.btn-fill {
	background: white;
	color: #2563eb;
	padding: 14px 32px;
	border: 2px solid #2563eb;
	border-radius: 8px;
	z-index: 1; /* por encima de el relleno */
}

/* capa de relleno que se anima desde abajo */
.btn-fill::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
	z-index: -1; /* por detras del boton */
	background: #2563eb;
	border-radius: 6px;

	/* transicion en la altura del relleno */
	transition: height 0.4s ease-in;
}

/* cuando hay hover, activar la altura del before */
.btn-fill:hover::before {
	height: 100%;
}

.btn-content {
	position: relative;
	z-index: 2;
	transition: color 0.4s ease;
}

.btn-fill:hover .btn-content {
	color: white;
}

/* ---------- boton 3: efecto glass con brillo animado ---------- */
.btn-glass {
	/* fondo visible con tono oscuro y glass effect */
	background: rgba(1, 22, 30, 0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: white;
	padding: 14px 32px;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(249, 220, 92, 0.3);

	transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* brillo que atraviesa el botón */
.btn-shine {
	position: absolute;
	top: 0;
	left: -100%;
	width: 50%;
	height: 100%;
	/* brillo más visible y definido */
	background: linear-gradient(
		90deg,
		transparent,
		rgba(250, 214, 67, 0.8),
		transparent
	);
	/* efecto de difuminado para el brillo */
	filter: blur(8px);

	transition: left 0.6s ease-in-out;
}

.btn-glass:hover {
	/* fondo más claro en hover */
	/*background: rgba(51, 65, 85, 0.6);*/
	/* borde más brillante */
	border-color: rgba(203, 213, 225, 0.6);
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(250, 214, 67, 0.8);
}

.btn-glass:hover .btn-shine {
	left: 100%;
}

.btn-glass .btn-content {
	z-index: 2;
	color: white;
}



.float{
    position:fixed;
    width:55px;
    height:55px;
    bottom:50px;
    left:50px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
  font-size:35px;
    box-shadow: 2px 2px 3px #999;
  z-index:100;
}