/*	++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/*	HoverDir = css/plugins/HoverDir.css                                                                                                                      */
/*	++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/**
 * @file        HoverDir.css
 * @description Базова структура и keyframe анимации за direction-aware hover (plugins/HoverDir.js)
 * @version     1.0.0
 * @created     2026-12-02
 * @modified    2026-12-02 21:20
 * @requires    HoverDir.js
 */

.hoverdir {
	position: relative;
	overflow: hidden;
}

.hoverdir .label {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: translate3d(0, -101%, 0);
	pointer-events: none;
}

/* Влизане */
.hoverdir .label.in-top    { animation: hd-in-top    0.3s ease forwards; }
.hoverdir .label.in-right  { animation: hd-in-right  0.3s ease forwards; }
.hoverdir .label.in-bottom { animation: hd-in-bottom 0.3s ease forwards; }
.hoverdir .label.in-left   { animation: hd-in-left   0.3s ease forwards; }

/* Излизане */
.hoverdir .label.out-top    { animation: hd-out-top    0.3s ease forwards; }
.hoverdir .label.out-right  { animation: hd-out-right  0.3s ease forwards; }
.hoverdir .label.out-bottom { animation: hd-out-bottom 0.3s ease forwards; }
.hoverdir .label.out-left   { animation: hd-out-left   0.3s ease forwards; }

@keyframes hd-in-top    { from { transform: translate3d(0, -100%, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes hd-in-right  { from { transform: translate3d(100%, 0, 0); }  to { transform: translate3d(0, 0, 0); } }
@keyframes hd-in-bottom { from { transform: translate3d(0, 100%, 0); }  to { transform: translate3d(0, 0, 0); } }
@keyframes hd-in-left   { from { transform: translate3d(-100%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

@keyframes hd-out-top    { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -100%, 0); } }
@keyframes hd-out-right  { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(100%, 0, 0); } }
@keyframes hd-out-bottom { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 100%, 0); } }
@keyframes hd-out-left   { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-100%, 0, 0); } }
/*	++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/*	END - HoverDir = css/plugins/HoverDir.css                                                                                                                */
/*	++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
