/* Premium Curve Slider Block Styles */
.curve-slider-block-root.root {
    background-color: var(--section-bg-color, transparent);
    background-image: var(--section-bg-image, radial-gradient(circle at 50% 50%, #e0fcfc 0%, #f7ffff 100%));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--padding-top, 100px) 0 var(--padding-bottom, 40px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-container {
    text-align: center;
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: center center;
    will-change: transform, opacity;
    margin-bottom: 20px;
}

/* FIX 5: Restore correct font sizes from standalone plugin.
   Embedded version had 140px/200px — 2.5x too large, causing the
   oversized heading visible on the frontend screenshot. */
.title-sub {
    font-size: 140px;
    font-weight: 700;
    color: var(--subtitle-color, #1a2b3c);
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
}

.title-main {
    font-size: 200px;
    font-weight: 900;
    color: var(--title-color, #1a2b3c);
    letter-spacing: 4px;
    line-height: 0.9;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    white-space: nowrap;
}

.title-bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(90deg, rgba(160, 210, 255, 0.4) 1px, transparent 1px);
    background-size: 250px 100%;
    background-position: center;
    z-index: -2;
    pointer-events: none;
}

.horizontal-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    border-top: 1px dashed rgba(160, 210, 255, 0.6);
    z-index: -2;
}

.glow-orb-1,
.glow-orb-2 {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.glow-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(160, 230, 255, 0.6) 0%, rgba(160, 230, 255, 0) 70%);
    top: -120px;
    right: -150px;
    animation: pulseOrbCurve 4s infinite alternate ease-in-out;
}

.glow-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 245, 255, 0.5) 0%, rgba(200, 245, 255, 0) 70%);
    bottom: -200px;
    left: -200px;
    animation: pulseOrbCurve 5s infinite alternate ease-in-out reverse;
}

@keyframes pulseOrbCurve {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.slider-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

.stage {
    position: relative;
    width: 100%;
    height: 380px;
    /* FIX 6: overflow must be visible so cards that animate outside the
       stage bounds are not clipped. 'hidden' made all off-centre cards
       disappear on the frontend. */
    overflow: visible;
    z-index: 1;
}

.card {
    position: absolute;
    width: var(--card-width, 250px);
    height: var(--card-height, 330px);
    will-change: transform, opacity;
    top: 0;
    left: 0;
    z-index: 10;
}

.card-inner {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #0f192d;
    border: 3px solid var(--card-border, #fff);
    z-index: 1;
}

.card-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0f192d 0%, rgba(15, 25, 45, 0) 40%);
    z-index: 2;
}

.card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.card-char {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scale(1.1);
    width: 125%;
    height: auto;
    object-fit: contain;
    z-index: 5;
    pointer-events: none;
    /*filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));*/
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card-char {
    transform: translateX(-50%) scale(1.2) translateY(-15px);
}

.card-foot {
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 4px;
    padding: 30px 18px 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 20;
    background: linear-gradient(to top, rgba(15, 25, 45, 0.9) 0%, rgba(15, 25, 45, 0) 100%);
    border-radius: 0 0 24px 24px;
}

.card-label {
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    max-width: 80%;
	transition: all .3s ease-in-out; 
}

.card:hover .card-label {
	color: #26E9FF;
} 

.card:hover .go-btn {
	background: linear-gradient(180deg, #1EA5E9 0%, #26E9FF 100%);
	border-color: #1EA5E9;
}

.go-btn {
    width: 41px;
    height: 41px;
    border-radius: 50%;
    background: var(--accent-color, #1fd6e5);
    border: 1px solid #E1FCFF;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 21;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: rgba(0, 0, 0, var(--overlay-opacity, 0.15));
    transition: opacity 0.3s;
}

.dots {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.dot {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #D9D9D9;
    cursor: pointer;
}

.dot.on {
	width: 17px;
    height: 17px;
    background: #000000;
}

/* ============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================ */
@media (max-width: 1023px) {
    .curve-slider-block-root.root {
        padding: var(--padding-top, 70px) 0 var(--padding-bottom, 30px);
    }

    .title-sub {
        font-size: 80px;
    }

    .title-main {
        font-size: 80px;
    }

    .glow-orb-1 {
        width: 280px;
        height: 280px;
    }

    .glow-orb-2 {
        width: 350px;
        height: 350px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE LARGE (max 768px)
   ============================================ */
@media (max-width: 767px) {
	.curve-slider-block-root.root {
        padding: 0;
    }

    .title-sub {
        font-size: 48px;
    }

	.title-container {
		margin-bottom: 0;
	}
	
    .title-main {
        font-size: 60px;
        letter-spacing: 1px;
        white-space: normal;
        word-break: break-word;
        text-align: center;
    }

    .glow-orb-1 {
        width: 180px;
        height: 180px;
        top: -60px;
        right: -60px;
    }

    .glow-orb-2 {
        width: 220px;
        height: 220px;
        bottom: -80px;
        left: -80px;
    }

    .slider-wrapper {
        overflow: hidden;
    }

    .card-label {
        font-size: 13px;
    }

    .go-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .dots {
        margin-top: 14px;
        gap: 6px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE SMALL (max 480px)
   ============================================ */
@media (max-width: 480px) {

    .glow-orb-1 {
        width: 100px;
        height: 100px;
    }

    .glow-orb-2 {
        width: 120px;
        height: 120px;
    }

    .card-inner {
        border-radius: 16px;
    }

    .card-foot {
        padding: 16px 10px 10px;
    }

    .card-label {
        font-size: 11px;
    }

    .go-btn {
        width: 26px;
        height: 26px;
        font-size: 13px;
	}
}