.css-tablet-mockup {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
}

.tablet-frame {
    position: relative;
    background-color: #1a1a1a;
    border-radius: 28px;
    padding: 16px;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.4s ease;
}

.css-tablet-mockup.tablet-right .tablet-frame {
    transform: rotateY(5deg) rotateX(5deg);
}

.tablet-frame:hover,
.css-tablet-mockup.tablet-right .tablet-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.tablet-screen {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tablet-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.tablet-shadow {
    position: absolute;
    bottom: -20px;
    left: 5%;
    width: 90%;
    height: 20px;
    background: rgba(0, 0, 0, 0.2);
    filter: blur(15px);
    border-radius: 50%;
    z-index: 1;
}