/* 🔹 섹션 전체 스타일 */
.section-reviews {
    background: #ffffff;
    padding: 100px 20px 120px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

/* 배경은 깔끔하게 유지 */

/* 🔹 섹션 내부 중앙 정렬 */
.review-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    gap: 40px;
    position: relative;
}

/* 🟦 왼쪽 텍스트 스타일 */
.review-title {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-width: 360px;
    margin-top: 60px;
}

.review-title .live-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0033cc 0%, #3355ff 100%);
    color: white;
    font-size: 11px;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: -20px;
    height: auto;
    width: fit-content;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(0, 51, 204, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.review-title h2 {
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 8px;
    margin-left: -6px;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #111827;
}

.review-title p {
    color: #4b5563;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.more-link {
    font-weight: 600;
    color: #0033cc;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
}

.more-link:hover {
    color: #001e78;
}

/* 🟦 오른쪽 후기 영역 박스 */
.review-box {
    flex: 1;
    height: 600px;
    overflow: hidden;
    position: relative;
    background: transparent;
    border-radius: 12px;
    padding: 0;
    margin-left: 100px;
}

/* 그라데이션 오버레이 (상단 페이드 아웃) */
.review-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* 그라데이션 오버레이 (하단 페이드 아웃) */
.review-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* 🔄 후기 리스트 스크롤 트랙 */
.review-track {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: scroll-up 80s linear infinite;
}

/* 💬 후기 항목 개별 박스 */
.review-item {
    background: white;
    padding: 22px 24px;
    border-radius: 12px;
    color: #1e293b;
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100px;
    max-width: 500px;
    margin: 0;
    white-space: pre-line;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

/* ⬅️ 왼쪽 정렬 (짝수 리뷰) */
.review-item.left {
    align-self: flex-start;
}

/* ➡️ 오른쪽 정렬 (홀수 리뷰) */
.review-item.right {
    align-self: flex-end;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* ⭐ 별점 표시 */
.review-stars {
    color: #0033cc;
    font-size: 18px;
    margin-top: 12px;
    letter-spacing: 1px;
}

/* 👤 작성자 + 날짜 하단 정렬 */
.review-footer {
    font-size: 14px;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.review-footer .author {
    color: #0033cc;
    font-weight: 600;
}

/* 🔁 위로 자동 스크롤 애니메이션 */
@keyframes scroll-up {
    0% { transform: translateY(0%); }
    100% { transform: translateY(-50%); }
}

/* 🔵 LIVE 반짝이 점 */
.live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    margin-right: 6px;
    animation: blink 1.2s ease-in-out infinite;
    flex-shrink: 0;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* 미디어 쿼리 - 태블릿 이하 */
@media screen and (max-width: 1100px) {
    .review-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .review-title {
        min-width: 0;
        margin-top: 0;
        text-align: center;
        align-items: center;
    }

    .review-box {
        margin-left: 0;
        width: 100%;
    }

    .review-title h2 {
        font-size: 56px;
    }
}

/* 모바일용 */
@media screen and (max-width: 767px) {
    .section-reviews {
        padding: 80px 20px 100px;
    }

    .review-title h2 {
        font-size: 44px;
    }

    .review-item {
        padding: 18px 20px;
    }
}