/* Xeye Slider Frontend Styles */
:root {
    --xeye-white: #ffffff;
    --xeye-black: #000000;
    --xeye-glass: rgba(255, 255, 255, 0.1);
    --xeye-border: rgba(255, 255, 255, 0.2);
}

.xeye-slider-wrapper {
    position: relative;
    width: var(--xeye-width, 100%);
    max-width: var(--xeye-max-width, none);
    height: var(--xeye-height, 600px);
    min-height: var(--xeye-min-height, 320px);
    overflow: hidden;
    isolation: isolate;
    background: #000;
    color: #fff;
}

.xeye-slides,
.xeye-slide,
.xeye-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.xeye-slide {
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease;
}

.xeye-slide.active {
    opacity: 1;
    z-index: 2;
}

.xeye-slide-bg img,
.xeye-slide-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xeye-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Layers */
.xeye-common-layer,
.xeye-slide-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.xeye-common-layer {
    z-index: 20;
    /* Keep it above slides */
}

.xeye-layers-grid-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px;
    height: 100%;
    pointer-events: none;
    box-sizing: border-box;
}

@media (max-width: 1920px) and (min-width: 1033px) {
    .xeye-layers-grid-wrapper {
        width: calc(100% - 120px) !important;
    }
}

@media (max-width: 1032px) {
    .xeye-layers-grid-wrapper {
        width: calc(100% - 80px) !important;
    }
}

.xeye-layer-wrap {
    position: absolute;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    max-width: 100%;
}

.xeye-layer-inner {
    width: 100%;
}

.xeye-full-width {
    padding: 0 5%;
}

/* Premium Layer Styles */
.xeye-layer-type-heading h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.xeye-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--xeye-white);
    color: var(--xeye-black);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.xeye-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.xeye-card {
    background: var(--xeye-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--xeye-border);
    padding: 30px;
    border-radius: 20px;
}

/* List Styles */
.xeye-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.xeye-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.4;
}

.xeye-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 0.6em;
    height: 0.6em;
    background-color: currentColor;
    background-image: var(--xeye-bullet);
    background-size: contain;
    background-repeat: no-repeat;
    mask-image: var(--xeye-bullet);
    -webkit-mask-image: var(--xeye-bullet);
    mask-size: contain;
    mask-repeat: no-repeat;
    border-radius: 50%;
    /* Default to circle if no bullet image */
}

/* If it's a truly custom bullet image, don't use mask/border-radius */
.xeye-layer-inner[style*="--xeye-bullet"] .xeye-list li::before {
    background-color: transparent !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    border-radius: 0 !important;
}

/* Navigation Lines */
.xeye-nav-lines {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 30;
}

.xeye-nav-line {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.xeye-nav-line.active {
    background: #fff;
}

.xeye-nav-line:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* No Progress Mode (Legacy / Compatibility) */
.xeye-nav-no-progress .xeye-nav-progress {
    display: none !important;
}

.xeye-nav-type-icons {
    display: flex;
    align-items: center;
}


.xeye-nav-type-icons .xeye-nav-line {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    opacity: 0.5;
}

.xeye-nav-type-icons .xeye-nav-line.active {
    opacity: 1;
    transform: scale(1.2);
}

.xeye-nav-icon {
    display: block;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.xeye-nav-progress {
    width: 0%;
    height: 100%;
    background: var(--xeye-nav-color, #fff);
}

.xeye-nav-line.active .xeye-nav-progress {
    width: 100%;
    transition: width linear;
}

/* Responsive */
@media (max-width: 768px) {
    .xeye-slider-wrapper {
        height: auto !important;
        aspect-ratio: 16/9;
    }
}