/* Pretpot Simple Round Icon Buttons Styles */

.pretpot-round-buttons-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
}

.pretpot-round-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

/* ============================================
   FROSTED/BLURRED GLASS (Default)
   High blur, low transparency - like frosted window
   ============================================ */
.pretpot-round-btn.pretpot-bg-glass {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(12px) saturate(150%);
	-webkit-backdrop-filter: blur(12px) saturate(150%);
	border: 1px solid rgba(255, 255, 255, 0.25);
	box-shadow: 
		0 4px 30px rgba(0, 0, 0, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ============================================
   LIQUID GLASS
   Clearer but with refraction/warp effects
   Like a water droplet or thick glass lens
   ============================================ */
.pretpot-round-btn.pretpot-bg-liquid {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(2px) contrast(1.1) brightness(1.05);
	-webkit-backdrop-filter: blur(2px) contrast(1.1) brightness(1.05);
	border: 1px solid rgba(255, 255, 255, 0.4);
	box-shadow: 
		0 8px 32px rgba(0, 0, 0, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.6),
		inset 0 -1px 0 rgba(0, 0, 0, 0.05);
	
	/* Liquid refraction animation */
	animation: liquid-shimmer 4s ease-in-out infinite;
}

/* Light refraction highlight (the "lens" effect) */
.pretpot-round-btn.pretpot-bg-liquid::before {
	content: '';
	position: absolute;
	top: 10%;
	left: 15%;
	width: 30%;
	height: 20%;
	background: radial-gradient(
		ellipse at center,
		rgba(255, 255, 255, 0.8) 0%,
		rgba(255, 255, 255, 0.2) 40%,
		transparent 70%
	);
	border-radius: 50%;
	transform: rotate(-45deg);
	pointer-events: none;
	filter: blur(1px);
}

/* Secondary refraction spot */
.pretpot-round-btn.pretpot-bg-liquid::after {
	content: '';
	position: absolute;
	bottom: 20%;
	right: 20%;
	width: 20%;
	height: 15%;
	background: radial-gradient(
		ellipse at center,
		rgba(255, 255, 255, 0.4) 0%,
		transparent 60%
	);
	border-radius: 50%;
	pointer-events: none;
	filter: blur(2px);
}

/* Edge refraction ring - creates the "thick glass" look */
.pretpot-bg-liquid .liquid-edge {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 2px solid transparent;
	background: linear-gradient(135deg, 
		rgba(255, 255, 255, 0.6) 0%, 
		transparent 30%,
		transparent 70%,
		rgba(255, 255, 255, 0.3) 100%
	) border-box;
	-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

/* Subtle liquid movement animation */
@keyframes liquid-shimmer {
	0%, 100% {
		background: rgba(255, 255, 255, 0.05);
		box-shadow: 
			0 8px 32px rgba(0, 0, 0, 0.1),
			inset 0 1px 0 rgba(255, 255, 255, 0.6),
			inset 0 -1px 0 rgba(0, 0, 0, 0.05);
	}
	50% {
		background: rgba(255, 255, 255, 0.08);
		box-shadow: 
			0 8px 32px rgba(0, 0, 0, 0.08),
			inset 0 2px 0 rgba(255, 255, 255, 0.7),
			inset 0 -1px 0 rgba(0, 0, 0, 0.03);
	}
}

/* Hover states for liquid - enhance refraction */
.pretpot-round-btn.pretpot-bg-liquid:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: scale(1.1);
	box-shadow: 
		0 12px 40px rgba(0, 0, 0, 0.15),
		inset 0 2px 0 rgba(255, 255, 255, 0.8),
		inset 0 -2px 0 rgba(0, 0, 0, 0.05);
}

.pretpot-round-btn.pretpot-bg-liquid:hover::before {
	opacity: 1;
	transform: rotate(-45deg) scale(1.1);
}

/* ============================================
   CUSTOM COLOR
   ============================================ */
.pretpot-round-btn.pretpot-bg-custom {
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: none;
}

/* Icon Styles */
.pretpot-round-btn i,
.pretpot-round-btn svg {
	display: block;
	line-height: 1;
	transition: transform 0.3s ease;
	position: relative;
	z-index: 2;
}

/* Frosted glass hover */
.pretpot-round-btn.pretpot-bg-glass:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: scale(1.1);
}

/* Container Compatibility */
.elementor-element-edit-mode .pretpot-round-buttons-wrapper {
	min-height: 60px;
}

/* Responsive */
@media (max-width: 767px) {
	.pretpot-round-btn {
		width: 50px !important;
		height: 50px !important;
	}
	
	.pretpot-round-btn i,
	.pretpot-round-btn svg {
		font-size: 16px !important;
	}
}