.carousel-container {
    width: 500px;
    height: 300px;
    margin: 20px auto;
    position: relative;
    outline: 10px solid #000;
    overflow: hidden;
}

.carousel-list {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    z-index: -1;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    opacity: 0.9;
    z-index: 10;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow::before {
    content: "";
    width: 12px;
    height: 12px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    position: absolute;
    transition: all 0.3s ease;
}

.carousel-arrow-left {
    left: 20px;
}

.carousel-arrow-right {
    right: 20px;
}

.carousel-arrow-left::before {
    transform: translateX(4px) rotate(45deg);
}

.carousel-arrow-right::before {
    transform: translateX(-4px) rotate(-135deg);
}

.carousel-arrow:hover::before {
    border-color: #fff;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
}

.indicator {
    display: flex;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.indicator span.active {
    border-color: #fff;
    background: #fff;
}

.indicator span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    margin: 0 3px;
    cursor: pointer;
}

.carousel-item.item-1 {
    background: #c82828;
}

.carousel-item.item-2 {
    background: #d88d2b;
}

.carousel-item.item-3 {
    background: #28c840;
}

.carousel-item {
    height: 100%;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    color: #000;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.carousel-item.item-1::after {
  content: "1";
}
.carousel-item.item-2::after {
  content: "2";
}
.carousel-item.item-3::after {
  content: "3";
}
