* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-image: url('images/wallpaper.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.iphone-container {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    border: none;
}

/* Wallpaper Background */
.wallpaper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Status Bar */
.status-bar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    height: 60px;
    color: white;
    font-size: 20px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
}

.status-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.signal-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.signal-bars .bar {
    width: 3px;
    background: white;
    border-radius: 1px;
}

.signal-bars .bar:nth-child(1) { height: 4px; }
.signal-bars .bar:nth-child(2) { height: 6px; }
.signal-bars .bar:nth-child(3) { height: 8px; }
.signal-bars .bar:nth-child(4) { height: 10px; }

.wifi-icon {
    font-size: 14px;
}

.battery {
    width: 25px;
    height: 12px;
    border: 1px solid white;
    border-radius: 2px;
    position: relative;
}

.battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 3px;
    width: 2px;
    height: 6px;
    background: white;
    border-radius: 0 1px 1px 0;
}

.battery-level {
    background: white;
    height: 100%;
    width: 75%;
    border-radius: 1px;
}

/* App Grid */
.app-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 40px;
    padding: 100px 80px 200px;
    margin-top: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.app-icon , .app-icon a{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 120px;
    text-decoration: none;
    color: white;
}

.app-icon:hover {
    transform: scale(1.05);
}

.icon-content {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.app-label {
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Individual App Styles */
.box {
    background: linear-gradient(84deg, #169449 -13%, #15522f 107.87%);
}

.box .disabled {
    background: linear-gradient(84deg, #919191 -13%, #4a4a4a 107.87%) !important;
}


.box-compass {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-radius: 50%;
    position: relative;
    
}

.box-compass::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 16px;
    height: 16px;
    background: white;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Home Indicator */
.home-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-grid {
        gap: 40px 30px;
        padding: 80px 40px 180px;
        max-width: 700px;
    }
    
    .app-icon {
        width: 100px;
    }
    
    .icon-content {
        width: 75px;
        height: 75px;
        border-radius: 18px;
    }
    
    .dock {
        width: 350px;
        height: 80px;
        gap: 25px;
        bottom: 60px;
    }
    
    .dock-app .icon-content {
        width: 65px;
        height: 65px;
    }
    
    .app-label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .app-grid {
        gap: 20px;
        padding: 40px 20px 20px;
        max-width: 400px;
    }
    
    .icon-content {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }
    
    .dock {
        width: 280px;
        height: 70px;
        gap: 15px;
    }
    
    .dock-app .icon-content {
        width: 50px;
        height: 50px;
    }
    
    .app-label {
        font-size: 12px;
    }
    
    .status-bar {
        padding: 15px 20px;
        height: 50px;
        font-size: 16px;
    }
} 