.screen-section {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
}

.screen-mockup {
    width: 100%;
    max-width: 600px;
}

.screen-mockup__frame {
    background: #0b0b14;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    line-height: 0;
}

.screen-mockup__display {
    width: 100%;
    max-width: 600px;
    line-height: 0;
}

.screen-mockup__media {
    position: relative;
    width: 100%;
    line-height: 0;
}

.screen-mockup__img {
    width: 100%;
    height: auto;
    display: block;
}

.screen-mockup__video-mask {
    position: absolute;
    inset: 0;
    z-index: 2;
    clip-path: url(#lcd-screen-clip);
    -webkit-clip-path: url(#lcd-screen-clip);
    pointer-events: none;
}

.screen-mockup__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screen-mockup__caption-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: url(#lcd-screen-clip);
    -webkit-clip-path: url(#lcd-screen-clip);
    pointer-events: none;
}

.screen-mockup__caption {
    margin: 0;
    padding: 0 10%;
    color: #ffffff;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    
    text-align: center;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

@media (min-width: 769px) {
    .screen-mockup,
    .screen-mockup__display {
        max-width: 860px;
    }
}

@media (max-width: 768px) {
    .screen-mockup__caption {
        font-size: 25px;
    }
}
