﻿
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: radial-gradient(1200px 520px at 15% 15%, rgba(215,179,96,.02), transparent 58%),linear-gradient(135deg, rgba(13,42,29,.98), rgba(27,63,44,.92));
    min-height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.carousel-shell {
    /* width: min(660px,100%);*/
    width: 80%;
    height: 60%;
    position: center;
    color: #f6f1e7;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
}

.carousel-header {
    padding: 1px 4px;
    border-bottom: 3px solid rgba(255,255,255,0.12);
}

    .carousel-header h1 {
        margin: 0 0 8px;
        font-size: clamp(1.6rem, 3vw, 2.4rem);
    }

    .carousel-header p {
        margin: 0;
        color: rgba(255,255,255,0.8);
        line-height: 1.5;
    }

.carousel {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #020617;
    overflow: hidden;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #000;
    }

.caption {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(0,0,0,0.5);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 3;
}

    .nav-btn:hover {
        background: rgba(30, 41, 59, 0.92);
    }

.prev {
    left: 16px;
}

.next {
    right: 16px;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px 20px;
    flex-wrap: wrap;
}

.dots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
}

    .dot.active {
        background: white;
    }

.toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .toolbar button {
        border: none;
        border-radius: 999px;
        padding: 10px 16px;
        cursor: pointer;
        font-weight: 600;
        background: white;
        color: #0f172a;
    }

        .toolbar button.secondary {
            background: transparent;
            color: white;
            border: 1px solid rgba(255,255,255,0.25);
        }

.empty-state {
    padding: 50px 24px;
    text-align: center;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

code {
    background: rgba(255,255,255,0.08);
    padding: 2px 6px;
    border-radius: 6px;
}

