/* Add this to your existing styles */
.mobile-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    /* Enable touch scrolling */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
    position: relative;
}

/* Hide scrollbars while keeping scroll functionality */
.mobile-screen::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

#responsiveIframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Remove pointer cursor */
    pointer-events: auto;
    /* Enable smooth scrolling */
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbars */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

#responsiveIframe::-webkit-scrollbar {
    display: none;
}

/* Optional: Add a subtle overlay for touch feedback */
.mobile-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-screen:active::after {
    opacity: 1;
}

/* Update mobile frame for better touch experience */
.mobile-frame {
    position: relative;
    width: 375px;
    height: 760px;
    margin: 0 auto;
    border-radius: 40px;
    background: #1a1a1a;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Prevent frame from being draggable */
    user-select: none;
    -webkit-user-select: none;
}