* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container utama mensimulasikan layar HP */
.mobile-container {
    width: 400px;
    height: 790px;
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Status Bar & Header */
header {
    padding: 20px;
    background: #fff;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    color: #333;
}

/* Grid Aplikasi */
.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolom */
    gap: 20px;
    padding: 20px;
    overflow-y: auto;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.app-item:active {
    transform: scale(0.9);
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.app-item span {
    font-size: 12px;
    color: #555;
    font-weight: 500;
}

/* Menghilangkan format default link pada menu aplikasi */
.app-grid a {
    text-decoration: none; /* Hilangkan garis bawah */
    color: inherit;        /* Gunakan warna teks dari parent */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Opsional: Memberikan efek hover agar user tahu ikon bisa diklik */
.app-item:hover .app-icon {
    filter: brightness(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Warna Ikon */
.bg-blue { background: #4a90e2; }
.bg-green { background: #4cd964; }
.bg-purple { background: #5856d6; }
.bg-orange { background: #ff9500; }
.bg-red { background: #ff3b30; }
.bg-dark { background: #444; }
.bg-yellow { background: #ffcc00; }
.bg-cyan { background: #5ac8fa; }