.section-shorts {
    padding: 100px 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.shorts-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.shorts-text {
    flex: 1;
    max-width: 600px;
}

.shorts-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 30px;
    margin-bottom: 24px;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.shorts-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e272e;
    line-height: 1.3;
    margin-bottom: 24px;
    font-family: 'Pretendard', sans-serif;
    word-break: keep-all;
}

.shorts-desc {
    font-size: 1.15rem;
    color: #57606f;
    line-height: 1.7;
    font-family: 'Pretendard', sans-serif;
    word-break: keep-all;
}

.shorts-video-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shorts-phone-frame {
    width: 280px;
    height: 560px; /* approximately 1:2 aspect ratio for shorts */
    border-radius: 40px;
    border: 14px solid #1e272e;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    background-color: #000;
}

.shorts-phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 28px;
    background-color: #1e272e;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.movie-box {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shorts-thumbnail-list {
    display: flex;
    gap: 12px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.shorts-thumb {
    width: 120px;
    height: 213px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #000;
}

.shorts-thumb.active, .shorts-thumb:hover {
    border-color: #ff4757;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(255, 71, 87, 0.4);
}

.shorts-thumb img,
.shorts-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.shorts-thumb.active img, 
.shorts-thumb:hover img,
.shorts-thumb.active video, 
.shorts-thumb:hover video {
    opacity: 1;
}

@media (max-width: 991px) {
    .shorts-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .shorts-text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .shorts-thumbnail-list {
        justify-content: center;
    }
    .shorts-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .section-shorts {
        padding: 60px 20px;
    }
    .shorts-title {
        font-size: 1.8rem;
    }
    .shorts-desc {
        font-size: 1rem;
    }
    .shorts-thumbnail-list {
        gap: 12px;
    }
    .shorts-thumb {
        width: 90px;
        height: 160px;
    }
    .shorts-phone-frame {
        width: 240px;
        height: 480px;
    }
}
