*{margin: 0; padding: 0;box-sizing: border-box;}

body{
    min-height: 100vh;
    font-family: 'Segoe UI',sans-serif;
    background: radial-gradient(circle at top left,#00f2ff33,transparent 35%),radial-gradient(circle at bottom right,#7c3cff33,transparent 35%),#05070f;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.gallery-wrapper{
    width:min(1000px, 92%);
    text-align: center;
}

.badge{
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #00f2ff55;
    border-radius: 50px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter:blur(12px);
    color: #00f2ff;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

h1{
    font-size:clamp(32px,6vw,64px);
    margin-bottom: 12px;
    background: linear-gradient(90deg,#fff,#00f2ff,#b388ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle{
    color: #b7c4d8;
    margin-bottom: 35px;
}

.gallery{
    position: relative;
    height: 520px;
    border-radius: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    backdrop-filter:blur(22px);
}

.slide{
    position:absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition: .9s ease;
}

.slide.active{
    opacity: 1;
    transform: scale(1);
    z-index: 2
}

.slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::after{
    content: "";
    position:absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(5,7,15,.85),transparent 55%);
}

.content{
    position: absolute;
    left: 40px;
    bottom: 35px;
    z-index: 5;
    text-align: left;
}
.content span{
    color: #00f2ff;
    font-size: 14px;
    letter-spacing: 2px;
}

.content h2{
    font-size:clamp(26px,4vw,48px);
    margin-top: 8px;
}

.content p{
    max-width: 520px;
    color: #d6e1f2;
    margin-top: 10px;
}

.nav-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .12);
    backdrop-filter:blur(14px);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: .3s ease;
    z-index: 10
}

.nav-btn:hover{
    background: #00f2ff;
    color: #05070f;
    box-shadow: 0 0 30px #00f2ff99;
}

.prev{left: 24px;}
.next{right: 24px;}

.dots{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.dot{
    width: 34px;
    height: 6px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
    transition: .3s;
}

.dot.active{
    width: 58px;
    background: #00f2ff;
    box-shadow: 0 0 18px #00f2ff;
}

.progress{
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    background: #00f2ff;
    z-index: 20;
    animation:progress 5s linear infinite;
}

@keyframes progress{
    from{width: 0}
    to{width: 100%}
}

@media(max-width:700px){

    .gallery{
        height: 420px;
    }

    .content{
        left: 24px;
        bottom: 28px;
        right: 24px;
    }

    .nav-btn{
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
}