/* ===== SHOWCASE SECTION ===== */
.showcase {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    z-index: 1;
}

.showcase__title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #7b2ffc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.showcase__subtitle {
    font-size: 1.15rem;
    color: #8892b0;
    margin-bottom: 48px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== CAROUSEL ===== */
.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #141a26;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
}

/* Текст поверх слайда */
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 35px;
    background: linear-gradient(0deg, rgba(11, 14, 23, 0.92) 0%, transparent 100%);
    text-align: left;
}

.slide-overlay h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.slide-overlay p {
    font-size: 1rem;
    color: #ccd6f6;
    opacity: 0.85;
}

/* ===== КНОПКИ УПРАВЛЕНИЯ ===== */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn--prev {
    left: 18px;
}

.carousel-btn--next {
    right: 18px;
}

.carousel-btn > span {
    width: 15px;
    height: 47px;
    font-size: 30px;
}

/* ===== ИНДИКАТОРЫ (ТОЧКИ) ===== */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2d3548;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: #7b2ffc;
    box-shadow: 0 0 16px rgba(123, 47, 252, 0.5);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: #5a4b8a;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .showcase__title {
        font-size: 2rem;
    }

    .slide-overlay h3 {
        font-size: 1.3rem;
    }

    .slide-overlay p {
        font-size: 0.9rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carousel-btn--prev {
        left: 10px;
    }
    .carousel-btn--next {
        right: 10px;
    }

    .slide-overlay {
        padding: 20px 18px;
    }
}

@media (max-width: 480px) {
    .showcase__title {
        font-size: 1.6rem;
    }

    .carousel-slide {
        aspect-ratio: 4 / 3;
    }

    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}
