/* iPhone 16 Frame Styling */
.iphone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    margin: 0 auto;
    background-color: #111111;
    border-radius: 45px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 
                inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    padding: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    /* Removed perspective transform to eliminate 3D effect */
}

.iphone-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 
                inset 0 0 0 2px rgba(255, 255, 255, 0.15);
    /* Removed perspective transform from hover as well */
}

.iphone-screen {
    width: 100%;
    height: 100%;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    background-color: #1c1c1e;
}

.iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35px;
}

.iphone-button-silent {
    position: absolute;
    width: 4px;
    height: 30px;
    background-color: #333;
    left: -4px;
    top: 100px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.iphone-button-volume-up {
    position: absolute;
    width: 4px;
    height: 40px;
    background-color: #333;
    left: -4px;
    top: 150px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.iphone-button-volume-down {
    position: absolute;
    width: 4px;
    height: 40px;
    background-color: #333;
    left: -4px;
    top: 200px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.iphone-button-power {
    position: absolute;
    width: 4px;
    height: 40px;
    background-color: #333;
    right: -4px;
    top: 150px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

.phone-glare {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    border-radius: 35px;
    z-index: 5;
    pointer-events: none;
}

/* Animation for the iPhone - removed perspective/3D */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}