:root {
    --neon: #ff6b00;
    --phone-bg: #121212;
    --bezel: #222;
}

body {
    background: #050505;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: 'Inter', sans-serif;
    perspective: 2000px; /* High perspective for realistic depth */
}

.phone-scene {
    width: 280px;
    height: 580px;
    transform-style: preserve-3d;
}


.phone-body {
    width: 100%;
    height: 100%;
    background: var(--bezel);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
    transform: rotateX(10deg) rotateY(-10deg); /* Initial float position */
    transition: transform 0.5s ease-out;
    position: relative;
    border: 2px solid #333;
}

/* THE SCREEN */
.screen {
    width: 100%;
    height: 100%;
    background: var(--phone-bg);
    border-radius: 35px;
    position: relative;
    overflow: hidden;
    border: 1px solid #000;
}

/* HOVER INTERACTION */
.phone-scene:hover .phone-body {
    transform: rotateX(0deg) rotateY(0deg) scale(1.05);
}

/* THE GLARE EFFECT */
.glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        115deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.05) 50%, 
        rgba(255,255,255,0) 100%
    );
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.phone-scene:hover .glare {
    transform: translateX(100%);
}

/* DEVICE DETAILS */
.notch {
    width: 120px;
    height: 25px;
    background: #000;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.app-content {
    padding: 40px 20px;
    color: white;
}

.status-bar { font-size: 12px; font-weight: bold; margin-bottom: 20px; }
.app-hero { 
    background: var(--neon); 
    padding: 20px; 
    border-radius: 15px; 
    margin-bottom: 20px;
}
.app-card {
    height: 100px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 15px;
    border-radius: 10px;
}